I noticed that when an object is a handle, its orientation remains constant even if the player spins around. Im trying to make a weapon that fires in the direction of the gun with 0 y and z orientation, but I can't find a way to get the x orientation value of the handle. This is what I have.
local EggX = game.Workspace.DeathLauncher.Handle.Orientation.X
missile.Orientation = Vector3.new(EggX, 0, 0)
(the gun shoots eggs) Maybe I could get the x orientation of the player, but I don't know how to do that. Any help on how to accomplish what I'm going for here?

3 comments
Well, thank you dearly for the reply. I'm not familiar with CFrames and generally try to avoid them. I discovered that my system works some what when I use the Y value instead of the X, but it's shaky and occasionally it seems to go the wrong direction. As a last resort, I will try to use CFrames or just change the remade code more. Thank you for such a specific example very much though.
You're welcome but I would highly recommend learning CFrames, CFrames in general are nothing more than just a Position combined with an Orientation...Whenever you are moving parts CFrame is always the preferred method especially when you are dealing w/ parts that need to do something in a specific direction no matter where they are in the 3D world (you would use lookVector or rightVector of CFrame
I understand. I know CFrames are used constantly in scripting and are very useful. Over time I will become familiar with CFrames and use them more often.