How do I get a moveDirection from WASD with no humanoid?

Pretty self-explanatory, do you know any way of achieving this?

‘W’ produces Vector3.new(0, 0, -1), ‘S’ produces Vector3.new(0, 0, 1), ‘A’ produces Vector3.new(-1, 0, 0), ‘D’ produces Vector3.new(0, 0, 1).

‘MoveDirection’ is dependent on the camera’s rotation so angle calculations will be required for greater specificity.

I notice that the move direction is relative to the camera in humanoids, any way you know of to replicate that?

I don’t have the player module either dhdjdhfjdidididii whoops misread ur reply srry