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 » Scripters
Home Search
 

How do you make a specific gui to be only for the specific

Previous Thread :: Next Thread 
blotq is not online. blotq
Joined: 25 Feb 2016
Total Posts: 66
31 Jul 2017 04:44 PM
Ok, so i have a spectate gui.
The only think is, i want it to be only for specific teams. How do u do it?
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
31 Jul 2017 04:45 PM
in the spectate script change it from going through all of the players just do go through
game.Players.LocalPlayer.Team:GetPlayers()
Report Abuse
Flubberlutsch is not online. Flubberlutsch
Joined: 27 Sep 2016
Total Posts: 188
31 Jul 2017 04:46 PM
So basically, don't put the GUI under StarterGui, but somewhere else where a serverscript can handle it. Put the local handler into the GUI as a LocalScript, and to start off, just clone the GUI to your target players; You can also remove the GUIs from them later.

[your gui]:Clone().Parent = [your player].PlayerGui
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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