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
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
Yes, But how do I find out which player touched it ._.
Touched...Clicked...
Click the accept button right after the little "Edited by Estomac" if you're satisfied with the answer ;]
You should really change it too >= Rank# Since it will only do that rank, and I suppose he is using this for a coffee group..