I have a movement script and it works. However i cant get it working to move based on the players head orientation. I have looked through other posts and tried my own solutions. Absolutely nothing works. Please help, heres a code sample:
if MoveBackwards ~= 0 then
game.Workspace.StandPoint.CFrame = game.Workspace.StandPoint.CFrame * CFrame.new(0, 0, MoveBackwards)
Cam.CoordinateFrame = StandPoint.CFrame * CFrame.new(0,4.5,0)
end
if MoveLeft ~= 0 then
game.Workspace.StandPoint.CFrame = game.Workspace.StandPoint.CFrame * CFrame.new(-MoveLeft, 0, 0)
Cam.CoordinateFrame = StandPoint.CFrame * CFrame.new(0,4.5,0)
end