script.Parent.SelectionBox.Color = script.Parent.SelectionBox.Color.Random()
COMMUNITY QUESTION
Why does this selectionBox Script not work?
1 answer
Run the script and look at the Output window to see the error you get:
14:57:44.837 - Random is not a valid member
You should be using BrickColor.Random() instead.
script.Parent.SelectionBox.Color = BrickColor.Random()
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It works, but my script Which was for a plugin,ended up breaking it.