local CD = script.Parent -- Where is the Click Detector?
function onMouseClick(player)--He is clicking!
wait(2)
Workspace.BoyGirl.BrickColor = BrickColor.new(math.random(21,23))-- Red or blue?
wait(2)
Workspace.BoyGirl.BrickColor = BrickColor.new(194) -- Grey!
end
CD.MouseClick:connect(onMouseClick)-- For the connect!
I have tried to make a brick that will either show Red or blue, however i can't make it work. do anyone of you have a solution how to make a brick that will show me Red or Blue whenever i click it?
(As you might see, i want the Brick to return to its Colour, Grey after it has shown either Red or Blue)
any answers are helpfull! Thank you in advance.
