Advertisement
SUUKIDIS_69

Script Star Simulator Beta Free Builds Open Source

Apr 9th, 2022
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local mt = getrawmetatable(game)
  2.  
  3. local old = mt.__namecall
  4. setreadonly(mt, false)
  5. mt.__namecall =
  6. newcclosure(
  7. function(remote, ...)
  8. args = {...}
  9. method = tostring(getnamecallmethod())
  10. if method == "FireServer" and tostring(remote) == "UseMoney" and tonumber(args[3]) then
  11. args[3] = 0
  12. return old(remote, unpack(args))
  13. end
  14. return old(remote, ...)
  15. end
  16. )
  17. setreadonly(mt, true)
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement