Advertisement
Guest User

prison life

a guest
Jul 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. local reg = (getreg or debug.getregistry)
  2. local get = (debug.getupvalues or secret953)
  3. local client = game:GetService("Players").LocalPlayer
  4. local render = game:GetService('RunService').RenderStepped
  5.  
  6. function start()
  7. local function fakeStats()
  8. function change(t)
  9. local myStats = {
  10. ReloadTime = 0,
  11. FireRate = 0,
  12. AutoFire = true,
  13. StoredAmmo = math.huge,
  14. MaxAmmo = math.huge,
  15. CurrentAmmo = math.huge,
  16. }
  17.  
  18. for name, fake in next, myStats do
  19. t[name] = fake
  20. end
  21. end
  22.  
  23. for k, v in next, reg() do
  24. if type(v) == "function" then
  25. local upvals = get(v)
  26. if upvals and upvals.GunStates then
  27. change(upvals.GunStates)
  28. end
  29. end
  30. end
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. end
  38.  
  39. client.Backpack.ChildAdded:connect(function(child)
  40. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  41. client.Character.Humanoid:EquipTool(child)
  42.  
  43. render:wait()
  44. fakeStats()
  45. render:wait()
  46.  
  47. client.Character.Humanoid:UnequipTools()
  48. end
  49. end)
  50.  
  51. for _, child in next, client.Backpack:GetChildren() do
  52. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  53. client.Character.Humanoid:EquipTool(child)
  54.  
  55. render:wait()
  56. fakeStats()
  57. render:wait()
  58.  
  59. client.Character.Humanoid:UnequipTools()
  60. end
  61. end
  62. end
  63.  
  64. start()
  65.  
  66. client.CharacterAdded:connect(start)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement