Advertisement
Guest User

ehhhh

a guest
Jun 12th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local reg = (getreg or debug.getregistry)
  2.  
  3. local get = (debug.getupvalues or secret953)
  4.  
  5. local client = game:GetService("Players").LocalPlayer
  6.  
  7. local render = game:GetService('RunService').RenderStepped
  8.  
  9.  
  10.  
  11. function start()
  12.  
  13. local function fakeStats()
  14.  
  15. function change(t)
  16.  
  17. local myStats = {
  18.  
  19. ReloadTime = 0,
  20.  
  21. FireRate = 0,
  22.  
  23. AutoFire = true,
  24.  
  25. StoredAmmo = math.huge,
  26.  
  27. MaxAmmo = math.huge,
  28.  
  29. CurrentAmmo = math.huge,
  30.  
  31. }
  32.  
  33.  
  34.  
  35. for name, fake in next, myStats do
  36.  
  37. t[name] = fake
  38.  
  39. end
  40.  
  41. end
  42.  
  43.  
  44.  
  45. for k, v in next, reg() do
  46.  
  47. if type(v) == "function" then
  48.  
  49. local upvals = get(v)
  50.  
  51. if upvals and upvals.GunStates then
  52.  
  53. change(upvals.GunStates)
  54.  
  55. end
  56.  
  57. end
  58.  
  59. end
  60.  
  61. end
  62.  
  63.  
  64.  
  65. client.Backpack.ChildAdded:connect(function(child)
  66.  
  67. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  68.  
  69. client.Character.Humanoid:EquipTool(child)
  70.  
  71.  
  72.  
  73. render:wait()
  74.  
  75. fakeStats()
  76.  
  77. render:wait()
  78.  
  79.  
  80.  
  81. client.Character.Humanoid:UnequipTools()
  82.  
  83. end
  84.  
  85. end)
  86.  
  87.  
  88.  
  89. for _, child in next, client.Backpack:GetChildren() do
  90.  
  91. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  92.  
  93. client.Character.Humanoid:EquipTool(child)
  94.  
  95.  
  96.  
  97. render:wait()
  98.  
  99. fakeStats()
  100.  
  101. render:wait()
  102.  
  103.  
  104.  
  105. client.Character.Humanoid:UnequipTools()
  106.  
  107. end
  108.  
  109. end
  110.  
  111. end
  112.  
  113.  
  114.  
  115. start()
  116.  
  117.  
  118.  
  119. client.CharacterAdded:connect(start)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement