Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Color changing brick?

When you step on it, the brick changes color. Is it correct?

H = game.Workspace.Part

function onTouch(Part)
H.BrickColor.new("Bright red")
end

script.Parent.Touched:connect(onTouch)

1 answer

✓ Accepted answer

Include BrickColor.

H = game.Workspace.Part

function onTouch(Part)
H.BrickColor = BrickColor.new("Bright red")
end

H.Touched:connect(onTouch)

This discussion is preserved as it was. New answers, comments, and votes are closed.