Part = script.Parent function Touced Part.BrickColor = BrickColor.new("Really black") end
Were you trying to make it so the brick changed color on touch? If so, then you need to add an event listener, so that the script knows when to run (when it is touched).
Part = script.Parent function Touched() Part.BrickColor = BrickColor.new("Really black") end Part.Touched:connect(Touched)
You forgot to add parentheses after the function.
Part = script.Parent function Touced() -- This is the problem Part.BrickColor = BrickColor.new("Really black") end Touced() -- If you want it to make this part black when you start up the game