Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

why isn't my BrickColor changing?

my script

local part = script.Parent

part.Touched:Connect(function()

part.BrickColor = "Cyan"

end)

1 comment

0

change part.BrickColor = "Cyan" to part.BrickColor = BrickColor.new("Cyan")

1 answer

✓ Accepted answer
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")

1 comment

0

oops typo

This discussion is preserved as it was. New answers, comments, and votes are closed.