WalkSpeed (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">"
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">"
Tags: mobile web edit mobile edit
Line 9: Line 9:


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


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

Revision as of 05:26, 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