Guest User

ddd

a guest
Nov 1st, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. plr = game:service'Players'.LocalPlayer
  2. char = plr.Character
  3. mouse = plr:GetMouse()
  4. on = false
  5.  
  6. mouse.KeyDown:connect(function(key)
  7. if key == "e" then
  8. on = true
  9. end
  10. end)
  11.  
  12. mouse.KeyUp:connect(function(key)
  13. if key == "e" then
  14. on = false
  15. end
  16. end)
  17.  
  18. while wait(0.1) do
  19. for i, b in pairs(game.Players:GetChildren()) do
  20. if b.Name ~= plr.Name and not b:IsFriendsWith(plr.UserId) and on then
  21. for i = 1, 10 do
  22. game.ReplicatedStorage.meleeEvent:FireServer(b)
  23. end
  24. end
  25. end
  26. end
Add Comment
Please, Sign In to add comment