generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Team Change Gui Help?

Previous Thread :: Next Thread 
QuarterTerm is not online. QuarterTerm
Joined: 29 Jun 2013
Total Posts: 6795
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
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
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
calebpwns1002 is not online. calebpwns1002
Joined: 29 Mar 2013
Total Posts: 521
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
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
22 Jun 2014 01:35 PM
take out the second if and the second then, and itll work @caleb
Report Abuse
calebpwns1002 is not online. calebpwns1002
Joined: 29 Mar 2013
Total Posts: 521
22 Jun 2014 01:37 PM
@island sorry, lol, i just woke up.
thanks bud
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image