Alright, so I made this turret, that when you press a, it turns left by doing this:
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
and when you press b, it turns right by doing the same thing but negated. Anyways, the point is, the turret moves, and I have no idea how to keep it steadily positioned on something. Of Course, I could anchor the whole thing, but I was thinking of putting it on a car or something, so the turret needs to be able to turn functionally like I already have done, but stay positioned relative to the object I need. Also, welding the turret to anything isn't an option because if I do, it will move that object with it. Thanks to anyone that can help me, this may seem a little vague, if you need more information just comment and I can get it to you.