Advertisement
BINO2002

Untitled

Aug 27th, 2019
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local mt = getrawmetatable(game)
  2. setreadonly(mt,false)
  3. local backup = mt.__newindex
  4. mt.__newindex = function(tbl,idx,val)
  5. if checkcaller() then return backup(tbl,idx,val) end
  6. if idx == "Text" and tbl.Name == "StamAmount" then
  7. local l = debug.getlocals(2)
  8. debug.setlocal(2,"JumpPower",100)
  9. debug.setlocal(2,"CanAttack",true)
  10. debug.setlocal(2,"WalkSpeed",30)
  11. debug.setlocal(2,"SprintSpeed",100)
  12. debug.setlocal(2,"swimspeed",30)
  13. debug.setlocal(2,"CrouchSpeed",15)
  14. debug.setlocal(2,"MaxStam",math.huge)
  15. debug.setlocal(2,"Stam",math.huge)
  16. debug.setlocal(2,"MaxThirst",math.huge)
  17. debug.setlocal(2,"MaxHunger",math.huge)
  18. debug.setlocal(2,"Hunger",math.huge)
  19. debug.setlocal(2,"Thirst",math.huge)
  20. debug.setlocal(2,"MaxOx",math.huge)
  21. debug.setlocal(2,"Ox",math.huge)
  22. end
  23. return backup(tbl,idx,val)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement