I have a rotating part done by TweenService. I have other parts that need to be Tweened with it to, I have tried welding every part to it but that doesn’t appear to work.
Any help would be highly appreciated.
local TweenService = game:GetService("TweenService")
local part = script.Parent
local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false)
local properties = {
Rotation = Vector3.new(0,360,0)
}
local tween = game:GetService("TweenService"):Create(part,info,properties)
tween:Play()
I tried that and the part didn’t rotate, but it would make more sense to use CFrame. I’m trying to basically weld it but I searched for it and couldn’t find anything about welding an object to a tweening part. (I have welded each part to the spinning object)
I have had this problem a ton and the solution I use is having a While wait() do function running to change the position of the part to the position of the tweened part plus 15 on the Y axis to change the position to where you want it to be.
Thank you, I had code like this before but I didn’t think I could change how fast it goes but I can change the amount that it rotates for a slower effect.