So I am trying to make a Open/Close Owner Only Door for my Robloxian Rebearth Tycoon and for others. I have got this close button so far but there is an error.
function onClicked()
script.Parent.Parent.OwnerOnlyDoor, OwnerOnlyDoor2, OwnerOnlyDoor3, OwnerOnlyDoor4.BrickColor= Really red
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
There is a red line under end in the script on studio, and when I click the button it doesn't change the color either when I click it. I have multiple Owner Only Doors so its like bars also. Please help!

1 comment
This is not working...