ParaPlayer.OnDied

Declaration

public void OnDied(Action callback)

Descriptions

This event fires when the player dies

local player = ParaPlayerService.GetLocalPlayer()
player:OnDied(function()
    print("OnDied")
end)
player:Die()