Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init start
- local HealthName = getuseroption('HealthName')
- local MinHealth = tonumber(getuseroption('MinHealth'))
- local ManaName = getuseroption('ManaName')
- local MinMana = tonumber(getuseroption('MinMana'))
- local AmmoName = getuseroption('AmmoName')
- local MinAmmo = tonumber(getuseroption('MinAmmo'))
- local MinCap = tonumber(getuseroption('MinCap'))
- init end
- auto(1000)
- if $wptsection == "Spawn" and not $trapped then
- if (itemcount(HealthName) <= MinHealth) or (itemcount(ManaName) <= MinMana) or (itemcount(AmmoName) <= MinAmmo) or ($stamina <= tonumber(getuseroption("StaminaCheck")) *60) or ($cap <= MinCap) then
- if $posz == 12 then
- onlyiftrapped("yes")
- stopattack()
- setlooting("no")
- setsetting("Alerts/PlayerOnScreen/PlaySound", "no")
- gotolabel(0, "Leave Spawn")
- wait(10000)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement