PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

PlatformStand

Humanoid

bool

PlatformStand describes whether the Humanoid is currently in the PlatformStanding Enum/HumanoidStateType. When true, the Humanoid is in a state where it is free-falling and cannot move. This state behaves similar to sitting, except that jumping does not free the humanoid from the state.

The now-deprecated SkateboardPlatform puts the Humanoid into this state, much like how a Seat causes a sitting state.


Code Samples


Putting a Player into the PlatformStand State

The code below enables the Players/LocalPlayer|localplayer's Humanoid/PlatformStand state, essentially freezing the player in place.

local player = game.Players.LocalPlayer
local character = player.CharacterAdded:wait()
local humanoid = character.Humanoid

humanoid.PlatformStand = true