Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Hey Guys! Is It Posible To Force A Player To Move Somewhere But Lock The WASD Movement?

So For Example I Want The Player Character To Move To A Block But I Don't Want Him To Move With WASD, Is It Posible?

1 comment

0

Of course it is. I don't want to give you bad hint as I didn't coded that before, but it's possible

1 answer

✓ Accepted answer

While i dont know how to do the freezeing of movements you can use this to do that https://developer.roblox.com/api-reference/property/Player/DevTouchMovementMode and https://developer.roblox.com/api-reference/property/Player/DevComputerMovementMode

As for making the player move to a certain position you can use:

Player.Character.Humanoid:MoveTo()

All info on this can be found here: https://developer.roblox.com/api-reference/function/Humanoid/MoveTo

Sorry I didn't help stright up

1 comment

0

Thank You Very Much

This discussion is preserved as it was. New answers, comments, and votes are closed.