Weird rotation issue

So I was just messing around in studio when I came across this issue:

Both of the parts are anchored, and here is the extremely simple code:

local part = script.Parent
local spring = part.SpringConstraint

while wait() do
	part.Orientation +=,0,0)

1 Like

What is the issue?. That it stops?

I guess im also confused why this is defined and never used in the script?

well I used it in another script so that I copied from but its disabled
and yes, that it stops

Try this:

local RunService = game:GetService("RunService")

local part = script.Parent

	part.CFrame = part.CFrame * CFrame.Angles(math.rad(-1) * deltaTime * 60, 0, 0)

And are you wanting to control the spinning part using script as the post above by @A4ONYM ?
Or control the spinning using the constraint?