How to constantly rotate a welded object using AlignOrientation

This is a support category for asking questions about how to get something done on the Roblox websites or how to do something on Roblox applications such as Roblox Studio.

I wanted to rotate this part that’s welded to a player using a tween. I can get the intended result, but when I do it means if other players look at the character they don’t see the character moving at all.

Is there any way to do this with tweening or alignorientation and not break the character on other people’s screens?

I tried AlignOrientation but I can’t find a way to make it constantly spin.

No. You change Weld.C0 instead.

It works fine, but now I’m trying to tween the Weld C0 to rotate the way it did in the clip. Right now, it only goes side to side and other stuff.

The code I’m using:

                local TweenInformation = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, true, 0)
				local TweenProperties = {
					C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(1),0)
				}
				local Tween = TweenService:Create(marker.Center.Weld, TweenInformation, TweenProperties)
				Tween:Play()

nevermind, just found out how to using the tween. thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.