WalkSpeed (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
nifty menu
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
 
(14 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
<onlyinclude>{{Property
|name                = WalkSpeed
|type            = int
|description          = How quickly a humanoid can walk. The default value is 16.
|object              = Humanoid
}}</onlyinclude>


{{Property|
{{clear floats}}
name                = WalkSpeed
 
|property            =  
{{Example|Use this in a LocalScript:
|description          = Changes how quickly a humanoid walks. Default value 16.
<syntaxhighlight lang="lua">
|object              = [[RBX.lua.Humanoid (Object)|Humanoid]]
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150
|}}
</syntaxhighlight>}}


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 06:16, 27 April 2023

WalkSpeed
Type int
Description How quickly a humanoid can walk. The default value is 16.
Member of Humanoid


Example
Use this in a LocalScript:
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150