Workshop.codes
Create

Eject Player From Hero Last updated April 23, 2026

Description

Instantly removes a player from their current hero, spawning them in a default unarmed state at their current position with a configurable amount of health. The player remains in this state until a hero is reassigned via Allow Hero or a respawn occurs.

Snippet

Eject Player From Hero(Event Player, 50);

Properties

Returns: Void
Parameters: Player, Health

Player
Type: Player, Default: Event Player
The player to eject from their hero.

Health
Type: Number, Default: 100
The amount of health the player has in their ejected state.

Workshop.codes