JacobRoblox

Untitled

Sep 23rd, 2020
1,238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. --// Don't bully i made this thing 1.2 years ago
  2. local Functions = {}
  3. for i,v in pairs(getreg()) do
  4. if type(v) == "function" then
  5. for i2,v2 in pairs(getfenv(v)) do
  6. if type(v2) == "function" then
  7. Functions[tostring(i2)] = v2
  8. end
  9. end
  10. end
  11. end
  12.  
  13. function GetLocalWeapon()
  14. return getfenv(Functions.usethatgun).gun
  15. end
  16.  
  17. game:GetService("RunService"):BindToRenderStep("gunmodsarecool", 1, function()
  18. getfenv(Functions.usethatgun).currentspread = 0 -- NoSpread
  19.  
  20. getfenv(Functions.usethatgun).recoil = 0 -- NoRecoil
  21.  
  22. if GetLocalWeapon() ~= "none" and GetLocalWeapon():FindFirstChild("Ammo") then -- Inf Ammo
  23. debug.setupvalue(Functions["updateInventory"], 3, GetLocalWeapon():FindFirstChild("Ammo").Value)
  24. end
  25.  
  26. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") and game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then -- RapidFire
  27. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health ~= 0 and game.Players.LocalPlayer.Character:FindFirstChild("Spawned") then
  28. pcall(function()
  29. Functions.firebullet(true)
  30. end)
  31. end
  32. end
  33. end)
Add Comment
Please, Sign In to add comment