Meliodas0_0

spam punch JB

Mar 28th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. function Spam(bool)
  2. _G.PunchSpam = bool
  3.  
  4. repeat wait()
  5.  
  6. if _G.PunchSpam == true then
  7. if not game.Workspace:FindFirstChild(game:GetService("Players").LocalPlayer.Name):FindFirstChild("InVehicle") then
  8.  
  9. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = function() return 0/0 end
  10. if isrbxactive() then
  11. keypress(0x46)
  12. wait(0.05)
  13. keyrelease(0x46)
  14. else
  15. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = tick
  16. end
  17. end
  18. else
  19. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript).tick = tick
  20. end
  21.  
  22. until _G.PunchSpam == false
  23. end
  24.  
  25. -- Turned on punch spam
  26. Spam(true)
  27.  
  28. -- Wait 3 seconds
  29. wait(3)
  30.  
  31. -- Turned off punch spam
  32. Spam(false)
Add Comment
Please, Sign In to add comment