I have it set so that when a player respawns, it checks if they are on the right team, and then changes their camera but its not working?
local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local character = player.CharacterAdded or player.CharacterAdded:Wait()
player.CharacterAdded:Connect(function()
if player.Team == game.Teams.Coremen then
player.CameraAssist.Value = true
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = workspace.CoremenCamera.CFrame
end
end)
