The output says something about BrickColor needing to be a string or something. Not really sure what it means.
local B1 = workspace.Deathrun.Button1
local walk = workspace.Deathrun.walk1
local walk2 = workspace.Deathrun.walk2
function onClick()
B1.BrickColor = 'Really red'
walk2.CanCollide = false
walk.CanCollide = false
print 'off'
wait(10)
print 'on'
walk2.CanCollide = true
walk.CanCollide = true
wait(7)
B1.BrickColor = 'Lime green'
end
B1.ClickDetector.MouseClick:connect(onClick)

4 comments
This did not work. It says parenthesis where needed in areas and that textcolor3 is not a valid member of 'part'
Explain. A plain answer only goes as far as fixing the script, and not everyone learns easily.
This could work without parenthesis.
This could be done in two different ways. One with the double strings and parenthesis B1.BrickColor=BrickColor.new("Really red") or one without the double strings and parenthesis B1.BrickColor=BrickColor.new'Really red' You can check out a list full of brickcolor codes for roblox parts, Here at: http://wiki.roblox.com/index.php?title=BrickColor_codes