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