Upscalefanatic3

Deathrun spam traps

Jan 31st, 2018
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. -- should work for every exploit
  2. -- how to use: execute and press q to spam all traps
  3. -- yes im sure you can just teleport to the finish but this is less obvious
  4. -- i havent seen any other scripts that do this so
  5.  
  6. local event = game:GetService('ReplicatedStorage').Network.Deathrun.Traps.ActivateTrapRequest;
  7. local mouse = game:GetService('Players').LocalPlayer:GetMouse()
  8. local enabled;
  9.  
  10. mouse.KeyDown:connect(function(k)
  11. if k == 'q' then
  12. enabled = not enabled;
  13. warn(enabled)
  14. end
  15. end);
  16.  
  17. while wait(2) do
  18. if enabled then
  19. if workspace:FindFirstChild('CurrentMap') then
  20. for i,v in next, workspace.CurrentMap.Traps:GetChildren() do
  21. if v:FindFirstChild('TrapButton') then
  22. event:FireServer(v, v.TrapButton.Button)
  23. end
  24. end
  25. end
  26. end
  27. end
Add Comment
Please, Sign In to add comment