hi, i have 2 teams in my game already (Lobby and Playing) and 2 sounds which are numbered Sound1 and Sound2. i need Sound1 to play to players who are in the Lobby team and Sound 2 to play to players in the Playing team.
this is a script i thought could be a start:
game.Players.LocalPlayer.Team = "Lobby"
Sound1:Play()
Sound2:Stop()
end
thanks in advance from poopypigeon245

2 comments
i put Playing and Lobby in "marks because they were underlined in blue. i changed sound1location and sound2location to game.Workspace.Sound1/Sound2. i put a remotefunction in ServerStorage and changed REMOTEEVENTLOCATION to game.ServerStorage.RemoteEvent but it still didnt work (both the script and the localscript are in workspace)
ok i edited this script ,don't forget to put localscript in replicated storage and if you get any errors be sure to tell me