TweenService makes part "flicker"

Small epilepsy warning

local TweenService = game:GetService("TweenService")
local part = script.Parent

local Info = TweenInfo.new(
	5, --Time animating
	Enum.EasingStyle.Sine, --Easing style
	Enum.EasingDirection.Out, --Easing direction
	0, --Repetitions
	false, --Reverse post tween?
	0 --Delay time
)

local Goal = {
	
	Size = Vector3.new(15,15,15); --Size is a Vector3 value
	Transparency = 0.5; --You can put any properties you want in here
	Color = Color3.new(255,255,255)
}

local BigBlackCube = TweenService:Create(part, Info, Goal)

wait(2)
BigBlackCube:play()

Try changing it from Color3.new to Color3.fromRGB

Color3.new uses numbers from 0 to 1
meanwhile Color3.fromRGB uses numbers from 0 to 255

1 Like

This fixed it, thanks for you help and the explanation