I Wanna make A Baseplate that turns A Random Color so I Did this
B = math.random(1,2)
if B == 2 then
local b = Script.Parent
b.BrickColor = BrickColor.new("Pastel Blue")
else do
local b = Script.Parent
b.BrickColor = BrickColor.new("Bright Green")
end
end
Its not Working Please Help

3 comments
Bebee2 supports. Example would be "script.Parent.BrickColor = BrickColor.random()"
@theamazemanII, M39a9am3R did change this, but didn't point it out explicitly - there should not be a "do" right after an "else" statement.
Oops, did I? I'll fix it real quick.