Workshop.codes
Create

Attach Player To Player Last updated April 17, 2026

Description

Locks a player's position and rotation relative to another player, causing them to move as a single unit. The attached player cannot move independently while the attachment is active. Useful for creating carry mechanics, mounts, or tethered movement modes.

Snippet

Attach Player To Player(Event Player, Attacker, Vector(0, 1, 0), True);

Properties

Returns: Void
Parameters: Player, Anchor, Offset, Inherit Rotation

Player
Type: Player, Default: Event Player
The player to attach.

Anchor
Type: Player, Default: Event Player
The player to attach to. The attached player will move with this player.

Offset
Type: Vector, Default: Vector(0, 0, 0)
A positional offset relative to the anchor player's local space.

Inherit Rotation
Type: Boolean, Default: True
If True, the attached player's facing direction also follows the anchor's rotation.

Workshop.codes