I need help! you see I want to create a spectating button and I want the lobby team to see it and not the rest, I have created a spectating GUI and I don't know where do I put it either a new local script or the current local script please can somebody answer my 2 questions. Also when I was testing my new shooter game, the players that are playing can see the other players in the use of the spectate button, I want only the lobby team to see the spectate button.
Your first question, you can always check if a player is on a team by using the following:
if game.Players.LocalPlayer.Team == game.Teams.Lobby then --script end
Also, for if you want to put the GUI in the first or a new script, it can be either, as long as the gui doesn't require anything from the first script, or if there is any key variables that interfere with the gui script.