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