Advertisement
NSKuber

Exercise 2

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