my script
local part = script.Parent part.Touched:Connect(function() part.BrickColor = "Cyan" end)
part.BrickColor == "Cyan"
What you gave was a string, it expects for you to give it a BrickColor to fix this script you should change it to
part.BrickColor == BrickColor.new("Cyan")