Player = game.Players.LocalPlayer
function Close()
	local Play = script.Parent
	Play.Visible = false
	local cam = game.Workspace.CurrentCamera
	cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
	cam.CameraType = "Custom"
	script.Parent.Parent.Parent.Camera.Disabled = true
	Player.TeamColor = BrickColor.new("Really red")
	Player:LoadCharacter()
end
script.Parent.MouseButton1Click:connect(Close)

Tried to make a team changer gui, however it doesnt work

any ideas?

2 comments

0

Errors?

0

Try setting the CameraType before the CameraSubject. That might work.