game.Players.PlayerAdded:connect(function(p)
--p is the player lold
if p.TeamColor==game.Teams['Lobby'].TeamColor then
game.StarterPlayer.CameraMaxZoomDistance=15--Original was 400
game.StarterPlayer.CameraMinZoomDistance=0.5--Make this a Script!
-- or this way
game.StarterPlayer.CameraMode="Camera"
--Lobby stuff here
p.Changed:connect(function(val)
if val=='Character' then
if p.Character==nil then repeat wait() until p.Character~=nil end
--This is for when they die...
end
end)
elseif p.TeamColor==game.Teams['Bright green'].TeamColor then
game.StarterPlayer.CameraMaxZoomDistance=0.5--Original was 400
game.StarterPlayer.CameraMinZoomDistance=0.5--Make this a Script!
-- or this way
game.StarterPlayer.CameraMode="LockFirstPerson"
--Non-lobby stuff here
p.Changed:connect(function(val)
if val=='Character' then
if p.Character==nil then repeat wait() until p.Character~=nil end
--This is for when they die...
end
end)
end
end)
For whatever reason it works for the Lobby team but for the Green team it uses the settings from the lobby team.

6 comments
try having them in separate Scripts.
Still does the same thing
instead of using Elseif try, Else (have the other teams FPS settings): Use an else
Else just creates more errors
Are you sure the teams actually have different colors?
Yes