Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script made by Artemis
- local localPlayer = game:GetService("Players").LocalPlayer
- local function killAllPlayersExceptMe()
- local players = game:GetService("Players"):GetPlayers()
- for _, player in pairs(players) do
- if player ~= localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- local playerPosition = player.Character.HumanoidRootPart.Position
- local args = {
- [1] = playerPosition,
- [2] = playerPosition + Vector3.new(0, 0, 0.1)
- }
- game:GetService("ReplicatedStorage").Remotes.ZombieRelated.AcidSpit:FireServer(unpack(args))
- wait(0.01)
- end
- end
- end
- killAllPlayersExceptMe()
Advertisement
Add Comment
Please, Sign In to add comment