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
if Player:GetRankInGroup(GROUPID) == Rank then
.Touched
Workspace.Part.Touched:connect(function(otherPart) print(otherPart) end)
http://wiki.roblox.com/index.php?title=Touched_(Event)
MouseButton1Click
gui.MouseButton1Click:connect(function() print("Button1 click.") end)
http://wiki.roblox.com/index.php?title=MouseButton1Click_(Event)