I'm currently working on an avatar system but I don't know how do I check if the player respawned!
For this you'll need to utilize the PlayerAdded and CharacterAdded event on the server end to achieve this.
Here's an example.
1 | local Players = game:GetService( "Players" ) |
2 |
3 | Players.PlayerAdded:Connect( function (AddedPlr) |
4 | AddedPlr.CharacterAdded:Connect( function () |
5 | print (AddedPlr.Name, 'has spawned!.' ) |
6 | end ) |
7 | end ) |
Hope this could be any help for you.