I would like this script so only people in a certain group and/or team can click this, but not everyone that's in the game, but I can't seem to figure it out. I'm drawing a blank. xD
Door = script.Parent.Parent.Door
function onClicked()
Door.Transparency = 1
Door.CanCollide = false
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
