Custom move direction?

How do I make an attachment face where the player is trying to walk in first person? So if the player is pressing W, then the attachment should face where the camera is facing (on the y axis). If the player is pressing A, then the attachment faces left of the camera’s y axis. How do I do that?

Well in First person you can probably just use this

https://create.roblox.com/docs/reference/engine/classes/Humanoid#MoveDirection

Sorry I forgot to mention it’s for non-humanoid character but I figured it out

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.