Hi, its the first time im posting here.
local Players = game:GetService("Players") local frame = script.Parent local CameraPlayer = game.Players.LocalPlayer game:GetService("Teams").Ingame.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() if player.Name == CameraPlayer.Name then frame.Visible = false CameraPlayer.CameraMode = Enum.CameraMode.LockFirstPerson return end end) end) game:GetService("Teams").Lobby.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() if player.Name == CameraPlayer.Name then frame.Visible = true CameraPlayer.CameraMode = Enum.CameraMode.Classic return end end) end)
so when the team is assigned the gui is not going visible / not visible this is made on a localscript i debugged a bit and all looks correct (know that camera player stuff are working)