i'm scripting a gun for my game and it has a local script that fires a remote event with game.Workspace.CurrentCamera.CFrame
as the parameter which is processed serverside with :ToEulerAnglesXYZ(Vector3).Unit
before being used in a raycast, but i keep getting the error ToEulerAnglesXYZ is not a valid member of Player "Players.[my username]"
. oddly enough i remember having it work properly after manually running the command print(game.Workspace.CurrentCamera.CFrame)