Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. -- this script basically survives on people holding guns. if no one is holding a gun then it won't work
  2. -- note: it doesn't have to be you that is holding a gun. if literally anyone is holding a gun this will work
  3. -- game link: - https://www.roblox.com/games/3281536839/Site-91-RP
  4.  
  5. remotes = {}
  6. local g = false
  7. -- make it true if you want to kill just people holding guns.
  8.  
  9. for i,player in pairs(game.Players:GetPlayers()) do
  10. for a,yeet in pairs(player.Character:GetChildren()) do
  11. if yeet:IsA("Tool") then
  12. local remote = yeet:FindFirstChildOfClass("RemoteEvent")
  13. if remote then
  14. if g then
  15. for i = 20,1,-1 do remote:FireServer("Fire",player.Character.Head) end
  16. else
  17. table.insert(remotes, remote)
  18. end
  19. end
  20. end
  21. end
  22. end
  23.  
  24. for i,v in pairs(remotes) do
  25. for a,player in pairs(game.Players:GetPlayers()) do
  26. if not (player.Name == "asd") then
  27. spawn(function() for i=20,0,-1 do v:FireServer("Fire", player.Character.Head) wait() end end)
  28. end
  29. end
  30. end
  31.  
  32. if #remotes == 0 then print("No Remotes!") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement