Advertisement
NSKuber

Exercise 2 Bonus 1

Mar 31st, 2021
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. Wait(Delay(1))
  2.  
  3. local player = worldInfo:GetClosestLivingPlayer(worldInfo,100000)
  4. --player : CPlayerPuppetEntity
  5. while true do
  6.   Wait(Event(player.Died))
  7.   player:Respawn()
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement