hello, I’m new here and I don’t know how to work very well with the DevForum I would like to know how I can Rotation the Weld.C0 in 360 degrees With the TweenService would you be able to tell me how?
tweening takes the shortest path from A to B, so because 0 and 360 are the same, it doesnt move
assuming you need to use tweens, I’d separate it into 3 tweens with each doing 120° that wait for the previous to complete vefore ping the next
otherwise, I’d just constantly set the cframe inside a function connected to RunService.Stepped or .Heartbeat like:
Rate = 360/5 -- 360° per 5 seconds
Rotation = 0 -- the current rotation
Connection = RunService.Stepped:Connect(function(timeSinceLastStep)
increment the Rotation by (timeSinceLastStep * Rate)
if Rotation is >= 360
set rotation to 360
disconnect the connection
end
set cframe
end)