Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mt = getrawmetatable(game)
- setreadonly(mt,false)
- local backup = mt.__newindex
- mt.__newindex = function(tbl,idx,val)
- if checkcaller() then return backup(tbl,idx,val) end
- if idx == "Text" and tbl.Name == "StamAmount" then
- local l = debug.getlocals(2)
- debug.setlocal(2,"JumpPower",100)
- debug.setlocal(2,"CanAttack",true)
- debug.setlocal(2,"WalkSpeed",30)
- debug.setlocal(2,"SprintSpeed",100)
- debug.setlocal(2,"swimspeed",30)
- debug.setlocal(2,"CrouchSpeed",15)
- debug.setlocal(2,"MaxStam",math.huge)
- debug.setlocal(2,"Stam",math.huge)
- debug.setlocal(2,"MaxThirst",math.huge)
- debug.setlocal(2,"MaxHunger",math.huge)
- debug.setlocal(2,"Hunger",math.huge)
- debug.setlocal(2,"Thirst",math.huge)
- debug.setlocal(2,"MaxOx",math.huge)
- debug.setlocal(2,"Ox",math.huge)
- end
- return backup(tbl,idx,val)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement