Galera meu setup e esse

-- Backpack Setup:
MainBP = "Pirate Backpack" --
PotionsBP = "Yellow Backpack" --
LootBP = "Demon Backpack" --
GoldBP = "Brocade Backpack" --
MainDPBP = "Orange Backpack" --
StackableDPBP = "beach Backpack" --
LootDPBP = "Backpack" --

-- Potions Setup:
MPname = "mana potion" --
Mpprice = 50 --
MPtobuy = 800 --
Mptoback = 25 --
HPname = "Ultimate Health Potion" --
HPprice = 310 --
HPtobuy = 100 --
HPtoback = 5 --

-- Hunt:
Captoback = 120 --



e aki ta
deposit gold e buy manas

local mana = positive(MPtobuy - itemcount(MPname))*Mpprice
local health = positive(HPtobuy - itemcount(HPname))*Hpprice
local Total = mana + health + 100

say("hi")
wait(1500,2500)
npcsay("deposit all")
wait(200,300)
npcsay("yes")
wait(500, 1000)
wait(1000)


if Total > 0 then
npcsay("withdraw "..Total)
wait(200,300)
npcsay("yes")
wait(200,300)
npcsay("balance")
wait(200,400)
closewindows()
end
de comprar potions

PHP Code:
say('hi')

wait(500,900)

opentrade()

wait(800,1400)

sellflasks()

wait(800,1400)

buyitemsupto(MPname, Mptobuy,itemcount(MPname))

wait(500,900)

buyitemsupto(HPname, Hptobuy,itemcount(HPname))

wait(500,900)

npcsay('Bye')

wait(500,900)


nao sei oq deu ele nao fala hi pro npc que tira o dinhero :S nao sei se e algo no setup ajudem aeww