MoveTo (Method)/humanoid: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess No edit summary |
>ArceusInator example |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Method||name = MoveTo | <onlyinclude>{{Method||name = MoveTo | ||
|arguments = [[Vector3]] | |arguments = [[Vector3]] ''location'', [[Part]] ''part'' | ||
|returns = [[nil]] | |returns = [[nil]] | ||
|description = Causes the character of the humanoid to walk to the location. | |description = Causes the character of the humanoid to walk to the location. | ||
|object = Humanoid | |object = Humanoid | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{Example|This [[Script]] will make the [[LocalPlayer]]'s [[Character]] walk to the origin.<pre> | |||
game.Players.LocalPlayer.Character.Humanoid:MoveTo( Vector3.new( 0, 0, 0 ) )</pre>}} | |||
[[Category:Methods]] | [[Category:Methods]] |