Hello,
I have made an Alarm based on a surface GUI, how do I make it so only people in a Certain group with a certain rank can click the button?
Thank you, -dev
1 | if Player:GetRankInGroup(GROUPID) = = Rank then |
.Touched
1 | Workspace.Part.Touched:connect( function (otherPart) |
2 | print (otherPart) |
3 | end ) |
http://wiki.roblox.com/index.php?title=Touched_(Event)
MouseButton1Click
1 | gui.MouseButton 1 Click:connect( function () |
2 | print ( "Button1 click." ) |
3 | end ) |
http://wiki.roblox.com/index.php?title=MouseButton1Click_(Event)