Does anyone know how to do this?

Does anyone know how to make it so the player constantly moves forward without them pushing any buttons and it just makes them move forward by itself?

2 Likes

there are lots of different ways depending on what you want, probably some I’m missing

1 Like

Use
Character:MoveTo( Character.HumanoidRootPart.CFrame.lookVector * 1000 )
1000 stands for 1000 studs ( You can change it to your will accordingly )

1 Like

i used the humanoid:moveto() method and it seemed to work for me, as it moves the player to the target position as i wanted, thanks for the advice :+1:

This one instantly teleports the player to the target position which isnt really what i want, but i didnt know this type of :moveto() could be used to teleport people (i only started developing games last year) so thanks for the advice as well :+1:

If i can ask one more question, how can i make it so it continously moves to the part and only stops until it reaches its target? Since the player eventually stops moving to the part during its path to it

Hello, when using Humanoid:MoveTo(), use Humanoid.MoveToFinished. This event fires when the humanoid completes its move. If you’re still learning how to code, it might be easier to use Humanoid.WalkToPart.

Humanoid.WalkToPart = workspace.Part

If you want to explore other options, you can refer to the Roblox documentation on Humanoid.
Remember to research before posting your questions to ensure they’ve not been answered already. :slight_smile:

sorry I meant Humanoid:MoveTo()