Help with fixing rotation

What do you want to achieve? To fix the rotation

What is the issue? The rotation is broke

I’m trying to make that the tower look at the enemy(with bodyGyro) but the rotation is broke please help

I don’t know if it’s a problem with the script or with the tower model

local targetCFrame = CFrame.lookAt(newTower.HumanoidRootPart.Position,target.HumanoidRootPart.Position)
newTower.HumanoidRootPart.BodyGyro.CFrame = targetCFrame

here i’m creating the bodyGyro

local bodyGyro ="BodyGyro")
bodyGyro.MaxTorque =, math.huge, math.huge)
bodyGyro.D = 0
bodyGyro.CFrame = newTower.HumanoidRootPart.CFrame
bodyGyro.Parent = newTower.HumanoidRootPart