I made a script that onClick player clicks the gui, then the gui should change colors but when i checked it has 5100,5100,5100 black color heres the script: It just doesn't change to the wanted colors i chosen it changes to gray
function onClick()
wait(.1)
script.Parent.Parent.ImageColor3 = Color3.new(122, 36, 38)
wait(.2)
script.Parent.Parent.ImageColor3 = Color3.new(200, 59, 63)
end
script.Parent.MouseButton1Click:connect(onClick)
what is wrong ???
i tried with localscript and script, both didn't work and happened the same...

2 comments
Thank you! :)
No problem.