WalkSpeed (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Flurite
No edit summary
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
 
(4 intermediate revisions by 2 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 can walk. The default value is 16.
|description          = How quickly a humanoid can walk. The default value is 16.
|object              = Humanoid
|object              = Humanoid
Line 9: Line 9:


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