ParaPlayer.Die

Declaration

public void Die()

Descriptions

The player dies

local player = ParaPlayerService.GetLocalPlayer()
player:OnStateChanged(function(stateOld, stateNew)
    print(stateOld)
    print(stateNew)
end)
player:Die()