Esc to clear, Enter to open the best match, click an export to open it in its page
Health & Status

Escorting

A player can grab another player, alive or dead, and move them around. Your resource reads escort state, for example to block an action while someone is being dragged.

Controls

Left Arrow escorts a player who isn't in a vehicle or already escorted; Right Arrow releases them. The escorted player is attached beside the holder, and only their movement is off: they can still look around, open their inventory and chat.

The escort breaks when either player ragdolls (hit by a car, a fall) or disconnects, when the holder dies, or when they're more than 10 m apart.

Reading escort state

The controls use WHIP's own network messages and aren't an API. Read state with the client exports below, or for any player with the statebags:

local isEscorted = Player(serverId).state.whipEscorted     -- boolean
local escortedBy = Player(serverId).state.whipEscortedBy   -- server id of the holder
IsEscorting()CLIENT#

Whether the local player is escorting someone.

Returns: boolean
IsBeingEscorted()CLIENT#

Whether the local player is being escorted. Check it before letting them do anything being dragged along should prevent.

Returns: boolean
GetEscortTarget()CLIENT#

Who the local player is escorting.

Returns: number|nil: the escorted player's server ID, or nil