Hello! I was trying to make a script which has tween changing color hsv value by random. This is what I made:
local ts = game:GetService("TweenService")
local handle = script.Parent
while wait() do
local info = TweenInfo.new(5,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0)
local goal = {Color = Color3.fromHSV(math.random(0,359),103,255)}
local twen = ts:Create(handle,info,goal)
twen:Play()
wait(5)
local info = TweenInfo.new(5,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0)
local goal = {Color = Color3.fromHSV(math.random(0,359),103,255)}
local twen = ts:Create(handle,info,goal)
twen:Play()
wait(5)
end
So this script literally should slowly change Hue value at part’s color, but everytime I launch test, it doesn’t work well. This is how it works:
https://gyazo.com/3e1bd218cc724cbfc9eb13f65f06ce85
As you can see, it looks like tween changes colors very fast, or I don’t know. Output doesn’t say anything, so I’m really confused. What could I do to fix it?