Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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?

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 Miniller 562 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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

0
Thank You Very Much mkhamster 58 — 5y
Ad

Answer this question