So I am making a union strobe from blue to orange using Tweening. However I am not the best at Tweening so naturally my script failed. I don’t know what to fix because there was no error in the output, it just didn’t work. Can someone tell me what I did wrong so I can fix it?
local TweenService = game:GetService(“TweenService”)
local part = script.Parent.Color
local Orange = Color3.fromRGB(186, 115, 0)
local Blue = Color3.fromRGB(0, 141, 222)
local TI = TweenInfo.new(
30,
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut,
-1,
true,
0
)
local Anim = TweenService:Create(part, TI, Orange)
local TweenService = game:GetService("TweenService")
local part = script.Parent
local Orange = Color3.fromRGB(186, 115, 0)
local Blue = Color3.fromRGB(0, 141, 222)
local TI = TweenInfo.new(
30,
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut,
-1,
true,
0
)
local Anim = TweenService:Create(part, TI, {
Color = Orange
})
Anim:Play()