WalkSpeed (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Trappingnoobs
Removed 'Changes' - It's an integer not a function so the term seems a bit off. It was correct, but it just sounded incorrect, if you know what I mean.
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{Property
<onlyinclude>{{Property
|name                = WalkSpeed
|name                = WalkSpeed
|property             = [[Integer]] WalkSpeed
|type             = int
|description          = How quickly a humanoid walks. Default value 16.
|description          = How quickly a humanoid can walk. The default value is 16.
|object              = Humanoid
|object              = Humanoid
}}</onlyinclude>
}}</onlyinclude>
Line 8: Line 8:
{{clear floats}}
{{clear floats}}


{{Example|<pre>
{{Example|Use this in a LocalScript:
<nowiki>game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150</nowiki>
<syntaxhighlight lang="lua">
</pre>}}
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