I am trying to rotate my model with `model:PivotTo()`

. However, it doesn’t go past 90 degrees specifically on `Y-axis`

.

The script:

```
local RunService = game:GetService("RunService")
local bigRing = script.Parent:WaitForChild("Ring")
RunService.Stepped:Connect(function(t, dt)
local primPart = bigRing.PrimaryPart
local rotation = primPart.Rotation
local newCFrame = CFrame.new(primPart.Position)
bigRing:PivotTo(newCFrame *
CFrame.Angles(
math.rad(rotation.X),
math.rad(rotation.Y+(script:GetAttribute("speed")*10)),
math.rad(rotation.Z)
)
)
end)
```

I found this post but `SetPrimaryPartCFrame`

is deprecated.