How to make player move sideways

Hey guys.
So for my upcoming Pokemon, I want my players in some instances, only to be able to move sideways (while still facing forwards).

Like so:
https://gyazo.com/6a5103272df39d9af9b694b05a035311


(the gyazo vid is not laggy…)

I basically want the same functionality (kind of) as if a player is in first person and only uses “A” and “D” to move the character.

If you guys have any more questions, please feel free to ask.

I tried using BodyVelocity this:

local Root = player.Character.HumanoidRootPart
local BV = Instance.new("BodyVelocity")
BV.MaxForce = Vector3.new(0, 0, 40000)
BV.Velocity = Vector3.new(0,0,0)
BV.Parent = Root

However, that made the player not walk forwards or backwards (as I want) but the player could turn around etc.

I want it as I described above:

I basically want the same functionality (kind of) as if a player is in first person and only uses “A” and “D” to move the character.

Thanks for any help!

You’ll need to set the P property to some value (which represents the force to exert on the BodyVelocity part).

1 Like