sum_random_account

Acid spit zombie tracker script

Sep 6th, 2024
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. -- Script made by Artemis
  2.  
  3. local localPlayer = game:GetService("Players").LocalPlayer
  4.  
  5. local function killAllPlayersExceptMe()
  6. local players = game:GetService("Players"):GetPlayers()
  7.  
  8. for _, player in pairs(players) do
  9. if player ~= localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  10. local playerPosition = player.Character.HumanoidRootPart.Position
  11.  
  12. local args = {
  13. [1] = playerPosition,
  14. [2] = playerPosition + Vector3.new(0, 0, 0.1)
  15. }
  16.  
  17. game:GetService("ReplicatedStorage").Remotes.ZombieRelated.AcidSpit:FireServer(unpack(args))
  18.  
  19. wait(0.01)
  20. end
  21. end
  22. end
  23.  
  24. killAllPlayersExceptMe()
Advertisement
Add Comment
Please, Sign In to add comment