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: Hint only for a team.

Previous Thread :: Next Thread 
iFlank is not online. 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
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
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 is not online. 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 is not online. YlemIvory
Joined: 30 Jan 2012
Total Posts: 151
09 Apr 2014 01:17 PM
^Agreed
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