local wall = game.Workspace.zed
wall.BrickColor = BrickColor.new("Really red")
script.Parent.ClickDetector.MouseHoverLeave:Connect(function(pryc)
wall.BrickColor = BrickColor.new("Medium green")
end)
if wall.BrickColor == BrickColor.new("Medium green") then print("Hi it is green")
end
-- This is my script but it isn't working. When my mouse leaves the wall it turns green, but it doesn't print hi it is green. Thanks

1 comment
Please put your code into a code blob or it'll be difficult to comprehend.