Workshop.codes
Create

Set Max Health Last updated November 26, 2024

Description

Sets the max health of one or more players as a percentage of their max health. This action will ensure that a player's current health will not exceed the new max health.

Snippet

Set Max Health(Event Player, 0);

Properties

Returns: Void
Parameters: Player, Health Percent

Player
Type: Player | Array (Player), Default: Event Player
The player or players whose max health will be set.

Health Percent
Type: Float, Default: Number
The percentage of raw max health to which the player or players will set their max health.

Workshop.codes