Workshop.codes
Create

Set Passive Health Regen Last updated April 01, 2026

Description

Assigns a continuous health regeneration rate to a player, restoring a flat amount of health per second outside of combat. The regeneration pauses for a configurable delay after the player takes damage, matching the behavior of natural out-of-combat healing.

Snippet

Set Passive Health Regen(Event Player, 25, 2);

Properties

Returns: Void
Parameters: Player, Health Per Second, Damage Delay

Player
Type: Player, Default: Event Player
The player who will receive passive health regeneration.

Health Per Second
Type: Number, Default: 10
The amount of health restored each second. Set to 0 to disable regeneration.

Damage Delay
Type: Number, Default: 3
The number of seconds after taking damage before regeneration resumes.

Workshop.codes