This is my script so far (im VERY new to scripting)
function onClicked() script.Parent.Parent.Gate.Transparency = 1 script.Parent.Parent.Gate.CanCollide = false wait(.001) end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
I am completly lost on how to make it so let say my group and rank 123 can click this button for it to function
