Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. -- This script was 95% made by Burrgundy. PeaceNSaviour ("Peace & Tranquility") claims more like 80%.
  2.  
  3. warn("script made near purely by burrgundy")
  4.  
  5. local activated = false
  6. local weapon = ""
  7. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
  8. if k == 'z' and activated == false then
  9. activated = true
  10. while wait(0.5) do
  11. if activated == true then
  12. for i,v in pairs(game.workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  13. if v.ClassName == "Accessory" then
  14. for u,w in pairs(v:GetChildren()) do
  15. if w.Name == 'swing' then
  16. weapon = v.Name
  17. end
  18.  
  19. end
  20. end
  21. end
  22. local Event = game:GetService("Workspace")[game.Players.LocalPlayer.Name][weapon].swing
  23. Event:FireServer()
  24. end
  25. end
  26. else
  27. activated = false
  28. end
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement