local SpinAmount = 0
local MaxAmount = 10 -- Change this to whatever you want it to stop at
script.Parent.Triggered:Connect(function()
while true do
local Delta = task.wait()
workspace.Stabilizer.CFrame *= CFrame.Angles(SpinAmount, 0, 0)
SpinAmount += Delta
if SpinAmount >= MaxAmount then break end
end
end)