Im making a humvee with a gun. It uses WeldConstraint to connect it. The gun rotates using CFrame. But the whole car rotates with the gun. How can i prevent that
script.Parent.Gun.Base.CFrame = CFrame.new(script.Parent.Gun.Base.Position, Vector3.new(target.PrimaryPart.Position.X,script.Parent.Gun.Base.Position.Y,target.PrimaryPart.Position.Z))