I need a help by scripting a rotation


But here’s my solution

local object = script.Parent

while true do
	object:PivotTo( object:GetPivot() * CFrame.fromEulerAnglesXYZ(0, math.rad(15), 0) )
	wait(0.5)
end

though this won’t work if script.Parent isn’t a PVInstance, I can’t tell whether it is because of lack of information.