I'm having problems with my depositing scripts. The bot just deposit my stackable items, wait and then leave depot. Without depositing my non-stack items such as WH. Btw I don't know why HP is in non-stack.

Here is my script:

--[ Depositer ]--

local stack = {'Poisonous Slime','Turtle Shell','Thorn', 'white pearl', 'black pearl'} -- Stackables items to deposite
local nonstack = {'War Hammer, health potion'} -- Non-Stackables items to deposite

setsettings('Settings\\CaveBot\\Pathfinding\\WalkT hroughPlayers','no')
setsettings('Settings\\CaveBot\\Settings\\OpenNext Bp','no')
closewindow(goldBP)
wait(2000,3000)
closewindow(lootBP)
wait(2000,3000)

while windowcount(mainBP) == 0 do
wait(2000,3000)
openitem(mainBP, 'back')
wait(2000,3000)
resizewindows()
wait(2000,3000)
end
while windowcount(lootBP) == 0 and windowcount(mainBP) == 1 do
wait(2000,3000)
openitem(lootBP,mainBP,true)
wait(2000,3000)
resizewindows()
wait(2000,3000)
end

if windowcount() ~= 2
then gotolabel(wpt.id-1)
end

minimizewindows('equip')

reachgrounditem("depot")
wait(2000,4000)
openitem("depot")
wait(2000,3000)
openitem(3502, "locker")
wait(2000,3000)
openitem(depotBP, "depot chest")
wait(2000,3000)
resizewindow(depotBP,100)
wait(2000,3000)
depotdeposit(stackableBP,unpack(stack))
wait(1000,2000)
depotdeposit(nonstackableBP,unpack(nonstack))
wait(1000,2000)
openitem(lootBP,lootBP,false)
wait(1000,2000)
depotdeposit(stackableBP,unpack(stack))
wait(1000,2000)
depotdeposit(nonstackableBP,unpack(nonstack))
wait(1000,2000)
closewindow(depotBP)
wait(1000,2000)

setsettings('Settings\\CaveBot\\Pathfinding\\WalkT hroughPlayers','yes')
setsettings('Settings\\CaveBot\\Settings\\OpenNext Bp','if cavebot enabled')