I did this but the color doenst change only to black and white?
local playing = false
local function Error()
if playing == false then
playing = true
local label = script.Parent
label.BackgroundColor3 = (Color3.new(0, 0, 0))
wait(0.5)
label.BackgroundColor3 = (Color3.new(255, 1, 5))
wait(0.5)
label.BackgroundColor3 = (Color3.new(0, 0, 0))
wait(0.5)
label.BackgroundColor3 = (Color3.new(255, 1, 5))
wait(0.5)
label.BackgroundColor3 = (Color3.new(0, 0, 0))
wait(0.5)
label.BackgroundColor3 = (Color3.new(255, 1, 5))
wait(0.5)
label.BackgroundColor3 = (Color3.new(0, 0, 0))
playing = false
end
end

1 comment
Why are you wrapping Color3 in extra brackets? Unnecessary. You’re not performing math, remove them.