|
| 22 Jun 2014 01:29 PM |
function Click(mouse) if script.Parent.Parent.Parent.Parent.Parent:IsInGroup(1123136) then script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright red") end end
script.Parent.MouseButton1Down:connect(Click)
Instead of being in the group. I want a certain rank and above that have access to change to that team. Help?
Rank Number: 220 & Greater
You just got Quarter-Term'd |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 01:32 PM |
http://wiki.roblox.com/index.php?title=GetRankInGroup_(Method) http://wiki.roblox.com/index.php?title=API:Class/Player/GetRankInGroup |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 01:33 PM |
function Click(mouse) if script.Parent.Parent.Parent.Parent.Parent:if GetRankInGroup(1123136) == 220 then then script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright red") end end
script.Parent.MouseButton1Down:connect(Click)
|
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 01:35 PM |
| take out the second if and the second then, and itll work @caleb |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 01:37 PM |
@island sorry, lol, i just woke up. thanks bud |
|
|
| Report Abuse |
|
|