04-08-2023, 03:08 AM
Working on a change gold script and need it to also count the gold inside nested backpacks. (Ex, First backpack is 19 slots with 1 backpack inside it and both contain gold because the Looter will open next bp).
local goldCount = itemcount('gold coin')
local platinumsCount = math.floor(goldCount / 100)
say('hi')
wait(800, 1200)
say('change gold')
wait(800, 1200)
say(platinumsCount)
wait(800, 1200)
say('yes')
wait(800, 1200)
say('bye')
wait(800, 1200)