When I first started scripting, the scripting book said that this script will change the brickcolor of a part or wedgepart:
WP = Instance.new("WedgePart", game.Workspace) -- This will insert a WedgePart into the workspace.
WP.BrickColor = BrickColor.new("Really Red") -- This will change the WedgePart's brickcolor to Really Red.
or if I have already inserted a wedgepart into the workspace:
game.Workspace.WedgePart.BrickColor = BrickColor.new("Really Red")
I just don't know what is wrong because this script doesn't change the color of the brick. Could anyone fix the script?

4 comments
It's because Really Red doesn't exist, therefore the script will default it to the default grey color. Lua IS CASE SENSITIVE. I can not stress that enough. You would want to use Really red since that color actually exists. Also, make sure there are no other parts named WedgePart in Workspace. Otherwise the script will just pick the first WedgePart it sees.
So really the red has to be lowercase or the script will not function correctly?
The BrickColor must be "Really red". Not "really red" and not "Really Red". Just "Really red".
thanks this worked perfectly