script.Parent.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then part = game.Workspace["Change1"] part.BrickColor = BrickColor.new("Navy Blue") end end)
script.Parent.Touched:connect(function(hit) 2 if hit.Parent:findFirstChild("Humanoid") then 3 part = game.Workspace["Change1"] 4 part.BrickColor = BrickColor.Random() 5 end 6 end)
^Tip for above, If you hover over the code, two icons appear. One of them is to copy. That might help you so you dont have 2 or 3 or 4, 5, 6..