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