Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Wait(Delay(1))
- local AllPlayers = worldInfo:GetAllPlayersInRange(worldInfo,100000)
- for _,player in pairs(AllPlayers) do
- RunAsync(function()
- while true do
- local payload = Wait(Event(player.Died))
- if (payload:GetKiller() ~= player) then
- player:Respawn()
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement