iFlank
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 23 |
|
|
| 09 Apr 2014 11:40 AM |
Hi,
So i'm trying to make a alarm that will only show for one team.
So what do i do? This is the script i'm using now, so when you click a button a hint comes up:-
function onClicked() local m = Instance.new("Hint") m.Parent = game.Workspace m.Text = "Code Red!" wait(5) m.Text = "All units to battle possitions!" wait (5) m:Remove() end script.Parent.ClickDetector.MouseClick:connect(onClicked)
What i would like is only my police team sees that hint (Bright Blue). So how would i do it?
Please help.
~iFlank/archie229 |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2014 12:01 PM |
loop through all the players, find which ones are on the Bright Blue team and then insert the hint into their playergui.
#nerdsunited |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 09 Apr 2014 12:48 PM |
| Or use a gui, and not have to rely on a hacky way. |
|
|
| Report Abuse |
|
|
YlemIvory
|
  |
| Joined: 30 Jan 2012 |
| Total Posts: 151 |
|
| |
|