Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 19 Jun 2015 11:45 PM |
| Do we have a script that only shows a gui to the group? |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2015 11:48 PM |
When a character is added, check their team and if its the right team, clone the gui over.
OR
Put the gui in starter gui and at the top of the script, do what I said up there^ but make it visible if its the right team
red solo cup, lets have a party // R$141 // Trade with me: http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=3495457 |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 19 Jun 2015 11:51 PM |
| I put the gui into teams then? Sorry I am not the best at this |
|
|
| Report Abuse |
|
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 19 Jun 2015 11:56 PM |
Cubes read that wrong. I'm guessing he meant to but group.
so put this LOCAL SCRIPT in the SCREEN GUI:
wait(1) local player = game.Players.LocalPlayer local frame = script.Parent.FRAMENAME if player:IsInGroup(GroupId)then frame.Visible = true else frame.Visible = false end |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
| |
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
| |
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 19 Jun 2015 11:59 PM |
| I make another local script and add it to said gui? |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 20 Jun 2015 12:05 AM |
| I did this, and tested out as a guest still not working, you you help me a little more? Please and thank you. |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 20 Jun 2015 12:09 AM |
-GUI --LocalScript --Frame ---Anything inside frame |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 20 Jun 2015 12:10 AM |
local frame = script.Parent.FRAMENAME <-- Replace that with the name of the frame under the GUI if player:IsInGroup(Put_Group_ID_Here)then
Simplified it for you |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 20 Jun 2015 12:14 AM |
| None of the guis have frames. |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
| |
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 20 Jun 2015 12:16 AM |
| Its just a click for uniform gui that I would like raiders to not have. |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 20 Jun 2015 12:17 AM |
Ok so name the stuff under the gui.
-GUI --What goes here? |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 20 Jun 2015 12:19 AM |
| You're gonna have to dumb it down for me. Name everything that says frame tothat? |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 20 Jun 2015 12:19 AM |
No. Name the next child to the GUI.
What makes up the GUI? Is it a button? |
|
|
| Report Abuse |
|
|
Urtor
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 755 |
|
|
| 20 Jun 2015 12:21 AM |
| Its just a button, so whats the next child mean, like |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 20 Jun 2015 12:22 AM |
wait(1) local player = game.Players.LocalPlayer local TextButton = script.Parent.SarpaUniform if player:IsInGroup(0)then TextButton.Visible = true else TextButton.Visible = false end |
|
|
| Report Abuse |
|
|