Why does it say MouseButton1Click is not a valid member of ClickDetector?
When I test out my group owner only door; in the output it says MouseButton1Click is not a valid member of ClickDetector. I have no clue how to fix this.
03 | script.Parent.ClickDetector.MouseButton 1 Click:connect( function (p) |
04 | if p:GetRankInGroup( 3348123 ) = = 255 then |
05 | if script.Parent.Transparency = = 0 then |
06 | script.Parent.Transparency = 1 |
07 | script.Parent.CanCollide = false |
09 | script.Parent.Transparency = 0 |
10 | script.Parent.CanCollide = true |
Please help me, thank you!