Hi, I have been trying to make a Tag with the Tag Editor plugin and it seems that only one of the Tagged objects can do the Tween can anyone help me with this?
local CollectionService = game:GetService(“CollectionService”)
local TaggedParts = CollectionService:GetTagged(“SpinningObject”)
for _, TaggedPart in pairs(TaggedParts) do
TweenService = game:GetService("TweenService")
spininfo = TweenInfo.new(2,Enum.EasingStyle.Linear)
Spin1 = TweenService:Create(TaggedPart,spininfo,{CFrame = TaggedPart.CFrame * CFrame.Angles(0,math.rad(120),0)})
Spin2 = TweenService:Create(TaggedPart,spininfo,{CFrame = TaggedPart.CFrame * CFrame.Angles(0,math.rad(240),0)})
Spin3 = TweenService:Create(TaggedPart,spininfo,{CFrame = TaggedPart.CFrame * CFrame.Angles(0,math.rad(360),0)})
Spin1:Play()
Spin1.Completed:Connect(function()Spin2:Play() end)
Spin2.Completed:Connect(function()Spin3:Play() end)
Spin3.Completed:Connect(function()Spin1:Play() end)
end