isDead

Description

Checks if the player is either dead or in last stand mode.

Parameters

  • None

Return Value

  • Returns true if player is dead or in last stand.

Example Use Case

if ps.isDead() then
    print("Player cannot perform actions.")
end

Last updated