How can I tween 360 degree continuously?

If I use math.rad(360) it just won’t tween at all. Tweening twice is possible but isn’t there a better solution to this?

1 Like

Do you actually need to use TweenService for this? Could you get away with something like this?

local angle = 0
local rotPerSecond = 2

local function Update(angle)
	-- e.g.
	workspace.Part.CFrame = CFrame.Angles(0, angle, 0)
end

game:GetService("RunService").Stepped:Connect(function(time, dt)
	-- check my math:
	angle = angle + 2 * math.pi * rotPerSecond * dt
	Update(angle)
end)
1 Like

If you need TweenService specifically, you might want to do something like this:

1 Like