--// All global vars will be wiped/replaced except script


return function(data)
	local playergui = service.PlayerGui
	local localplayer = service.Players.LocalPlayer
	local toggle = script.Parent.Parent.Toggle
	
	--if client.UI.Get("Chat") then
	--	toggle.Position = UDim2.new(1, -(45+40),1, -45)
	--end
	
	toggle.MouseButton1Down:connect(function()
		local found = client.UI.Get("UserPanel",nil,true)
		if found then
			found.Object:Destroy()
		else
			client.UI.Make("UserPanel",{})
		end
	end)
	
	gTable:Ready()
end
