Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 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. end
  32.  
  33. client.Backpack.ChildAdded:connect(function(child)
  34. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  35. client.Character.Humanoid:EquipTool(child)
  36.  
  37. render:wait()
  38. fakeStats()
  39. render:wait()
  40.  
  41. client.Character.Humanoid:UnequipTools()
  42. end
  43. end)
  44.  
  45. for _, child in next, client.Backpack:GetChildren() do
  46. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  47. client.Character.Humanoid:EquipTool(child)
  48.  
  49. render:wait()
  50. fakeStats()
  51. render:wait()
  52.  
  53. client.Character.Humanoid:UnequipTools()
  54. end
  55. end
  56. end
  57.  
  58. start()
  59.  
  60. client.CharacterAdded:connect(start)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement