Roblox UtilitiesDevlHub Roblox Documentation

Class

SkateboardPlatform

Deprecated
Memory category
BaseParts

A SkateboardPlatform can be used to create a skateboard. When characters get on a skateboard, they are stuck to it until they press the escape key. Until then, the character uses skateboard animations and travels faster than a walking character.

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

A SkateboardPlatform can be used to create a skateboard. When characters get on a skateboard, they are stuck to it until they press the escape key. Until then, the character uses skateboard animations and travels faster than a walking character.

Properties 5#

ControllerSkateboardControllerThe SkateboardPlatform's active SkateboardController.ReadSafeDeprecatedReadOnlyNotReplicated
ControllingHumanoidHumanoidThe Humanoid that is controlling the SkateboardPlatform.ReadSafeDeprecatedReadOnlyNotReplicated
SteerintThe direction of movement, tied to the keys A and D. Must be 1 (right), 0 (straight), or -1 (left). Will refresh back to 0 unless constantly set.ReadSafeDeprecated
StickyWheelsbooleanIf true, wheels won't roll without user input.ReadSafeDeprecated
ThrottleintThe direction of movement, tied to the keys W and S. Must be an integer 1 (forward), 0 (null), or -1 (reverse). Will refresh back to 0 unless constantly set.ReadSafeDeprecated

Controller: SkateboardController#

ReadOnlyNotReplicatedReadSafeDeprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

The SkateboardPlatform's active SkateboardController.

ControllingHumanoid: Humanoid#

ReadOnlyNotReplicatedReadSafeDeprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

The Humanoid that is controlling the SkateboardPlatform.

Steer: int#

ReadSafeDeprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

The direction of movement, tied to the keys A and D. Must be 1 (right), 0 (straight), or -1 (left). Will refresh back to 0 unless constantly set.

StickyWheels: boolean#

ReadSafeDeprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

If true, wheels won't roll without user input.

Throttle: int#

ReadSafeDeprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

The direction of movement, tied to the keys W and S. Must be an integer 1 (forward), 0 (null), or -1 (reverse). Will refresh back to 0 unless constantly set.

Methods 1#

ApplySpecificImpulseAdds ''impulseWorld'' to the SkateboardPlatform's BasePart.Velocity.Deprecated

ApplySpecificImpulse(impulseWorld: Vector3): ()#

Deprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

Adds ''impulseWorld'' to the SkateboardPlatform's BasePart.Velocity.

NameTypeDefaultDescription
impulseWorldVector3
Returns
  • ()

Events 5#

EquippedFired when the skateboard is equipped.Deprecated
equippedDeprecated
MoveStateChangedFired when the SkateboardPlatform's SkateboardPlatform.ControllingHumanoid changes the force being used on the SkateboardPlatform.Deprecated
UnequippedFired whenever the skateboard is unequipped.Deprecated
unequippedDeprecated

Equipped(humanoid: Instance, skateboardController: Instance)#

Deprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

Fired when the skateboard is equipped.

NameTypeDefaultDescription
humanoidInstanceThe Humanoid associated with the character equipping the skateboard.
skateboardControllerInstanceThe SkateboardController.

equipped(humanoid: Instance, skateboardController: Instance)#

DeprecatedDeprecated

Deprecated. This deprecated event is a variant of SkateboardPlatform.Equipped which has also been deprecated. Neither event should be used in new work.

NameTypeDefaultDescription
humanoidInstance
skateboardControllerInstance

MoveStateChanged(newState: MoveState, oldState: MoveState)#

Deprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

Fired when the SkateboardPlatform's SkateboardPlatform.ControllingHumanoid changes the force being used on the SkateboardPlatform.

NameTypeDefaultDescription
newStateMoveStateThe new MoveState.
oldStateMoveStateThe old MoveState.

Unequipped(humanoid: Instance)#

Deprecated

Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the VehicleSeat object can be used to quickly create simple vehicles.

Fired whenever the skateboard is unequipped.

NameTypeDefaultDescription
humanoidInstanceThe Humanoid associated with the character that unequipped the skateboard.

unequipped(humanoid: Instance)#

DeprecatedDeprecated

Deprecated. This deprecated event is a variant of SkateboardPlatform.Unequipped which has also been deprecated. Neither event should be used in new work.

NameTypeDefaultDescription
humanoidInstance

Inherited members#

Inherited from Part 1
Properties (1)

Shape

Inherited from FormFactorPart 2
Properties (2)

FormFactor, formFactor

Inherited from BasePart 106
Inherited from PVInstance 4
Properties (2)

Origin, Pivot Offset

Methods (2)

GetPivot, PivotTo

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed