Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a part spin infinetly with tween service?

Is it possible to make a part spin infinetly with tween service?

1 comment

0

try using math.huge in the time parameter

1 answer

✓ Accepted answer

I know this isn't TweenService, but you have to use CFrame.fromEulerAnglesXYZ().

while wait() do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, 00.1, 0)
end

If you want it to rotate on all axises, do this:

while wait() do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, 00.1, 0)
end

It's useful for things like a nuclear core.

This discussion is preserved as it was. New answers, comments, and votes are closed.