MoveTo (Method)/humanoid: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy fixed code |
>Camoy fixed code |
(No difference)
|
Revision as of 13:56, 31 December 2010
MoveTo( Vector3 location, Part part ) | |
Returns | nil |
Description: | Causes the character of the humanoid to walk to the location. |
Member of: | Humanoid |
Example
This LocalScript will make the LocalPlayer's Character walk to a Part.local part = game.Workspace.Part game.Players.LocalPlayer.Character.Humanoid:MoveTo(part.Position, part)