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
 

Re: Clan Overhead Logo Ranks: Help with this please

Previous Thread :: Next Thread 
AlaxanderTheGreat is not online. AlaxanderTheGreat
Joined: 12 Feb 2011
Total Posts: 596
01 May 2012 09:54 PM
You know how Vortex Security has overhead logos at their base? What I want to know is what script makes it get rid of the lower groups over your head.

Here's what I mean.

You enter the game, you are in Vortex Security High Ranks group

The original logo everyone has over their head is not over your head, it's replaced with the high ranked one.

What script makes it do this? Putting two overhead scripts causes the logos to overlap each other, since your both in the original group, and the high rank group.

Please show a script that may do such a thing like this? I would very much appreciate it.

~Alaxander
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
01 May 2012 09:56 PM
Make an if statement that checks if you're in the main group, or a division.

If you're in the main group, you get the logo,

if you're in the division, you get the division logo.

You'd do (this isn't real syntax, except for the ifs and end)

if inClan then
--logo
elseif inDivision then
--division logo
end
Report Abuse
AlaxanderTheGreat is not online. AlaxanderTheGreat
Joined: 12 Feb 2011
Total Posts: 596
01 May 2012 09:59 PM
Thank you! I'm a bit new to scripting, all I can do is edit them.. if you can also tell how I can make this work (what to do with that script) That would be great.. but if not it is fine. I can somehow find a way to get this to work.

~Alaxander
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
01 May 2012 10:02 PM
game.Players.PlayerAdded:connect(function(player)
if player:IsInGroup(GROUPID) then
--billboard GUI with imagelabel with logo
elseif player:IsInGroup(DIVISIONID) then
--billboard GUI with imagelabel with division logo
end
end)
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
01 May 2012 10:03 PM
Look for the line that makes the billboard gui's decal into the clan logo, and then add an if statement:

if Player:IsInGroup(GroupID) then

Then, just copy the billboard gui decal line and change the decal id to your clan.

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance.
Report Abuse
AlaxanderTheGreat is not online. AlaxanderTheGreat
Joined: 12 Feb 2011
Total Posts: 596
01 May 2012 10:34 PM
Took my a while to figure out.. now I'm getting to know the elseif .. Thank you guys very much!

~Alaxander
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