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 holderWhether the local player is escorting someone.
booleanWhether the local player is being escorted. Check it before letting them do anything being dragged along should prevent.
booleanWho the local player is escorting.
number|nil: the escorted player's server ID, or nil