-- Created by Sedhorn


local team = script.Parent.Team
local frame = script.Parent.Parent
local player = game.Players.LocalPlayer



script.Parent.MouseButton1Click:connect(function()
	frame.Visible = false
		player.Team = team.Value
		
end)
