function Click() local b = game.Workpsace.Block b.BrickColor = BrickColor.Red() end script.Parent.MouseButton1Click:connect(Click)
Help please with this script!!!
On line 2, you spelled workspace wrong.
Also, you used the function to change brick color wrong
Your script should look like this,
function Click() local b = game.Workspace.Block b.BrickColor = BrickColor.new("Really red") end script.Parent.MouseButton1Click:connect(Click)
Or, possibly,
function Click() local b = game.Workspace.Block b.BrickColor.Red()--Might not work end script.Parent.MouseButton1Click:connect(Click)
The first should work, the second is a guess.
Good Luck!
You are Using BrickColor.red()
You have to get a new brickcolor so you use BrickColor.new("Red")