Detect a player if he leaves the game

is there any method to detect a player who leaves the game in verse?

Sure, you can use the following : (needs to be called inside a creative device)

GetPlayspace().PlayerRemovedEvent().Subscribe(OnPlayerLeft) #OnPlayerLeft would be your function
2 Likes

thanks, i will try it