Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MainBP = "backpack of holding"
- local StackBP = "jewelled backpack"
- local ItemBP = "Deepling Backpack"
- local GoldBP = "golden backpack"
- local PotionBP = "zaoan chess box"
- local AmmoBP = "green backpack"
- local numberOfBackpacks = 6
- Module('Alarm Containers', function(mod)
- if #Container.GetAll() < numberOfBackpacks and Self.isInPz() == false then
- print('Containers fucked up, stopping to reset BPs')
- setWalkerEnabled(false)
- Targeting.Stop()
- Looter.Stop()
- Self.CloseContainers()
- Self.OpenMainBackpack(true):OpenChildren({StackBP, true}, {ItemBP, true}, {GoldBP, true}, {PotionBP, true}, {AmmoBP, true})
- wait(200, 500)
- setWalkerEnabled(true)
- Targeting.Start()
- Looter.Start()
- end
- mod:Delay(2000)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement