return function(T,g)if g then setfenv(1,g)end local b=service.PlayerGui local R=service.Players.LocalPlayer local G=service.New("\083\099\114\101\101\110\071\117\105")local Y=service.New("\073\109\097\103\101\066\117\116\116\111\110",G)local a=service.New("\070\114\097\109\101",G)local C=Instance.new("\085\073\067\111\114\110\101\114")C.CornerRadius=UDim.new(0,6)C.Parent=a local v=Instance.new("\085\073\067\111\114\110\101\114")v.CornerRadius=UDim.new(0,6)v.Parent=Y local K=client.UI.Register(G)if client.UI.Get("\072\101\108\112\066\117\116\116\111\110",G,true)then G:Destroy()K:Destroy()return nil end K.Name="\072\101\108\112\066\117\116\116\111\110"K.CanKeepAlive=false Y.Name="\084\111\103\103\108\101"a.Name="\082\111\117\110\100\070\114\097\109\101"a.BackgroundColor3=Color3.fromRGB(17,17,17)Y.BackgroundTransparency=1 a.Position=UDim2.new(1,-45,1,-45)Y.Position=UDim2.new(1,-42,1,-38)Y.Size=UDim2.new(0,33,0,33)Y.ZIndex=67 a.Size=UDim2.new(0,40,0,40)Y.Image="\104\116\116\112\115\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\104\101\097\100\115\104\111\116-\116\104\117\109\098\110\097\105\108\047\105\109\097\103\101\063\117\115\101\114\073\100\061"..(R.UserId.."\038\119\105\100\116\104\061\052\050\048\038\104\101\105\103\104\116\061\052\050\048\038\102\111\114\109\097\116\061\112\110\103")Y.ImageTransparency=0 Y.MouseButton1Down:Connect(function()local T=client.UI.Get("\085\115\101\114\080\097\110\101\108",nil,true)if T then T.Object:Destroy()else client.UI.Make("\085\115\101\114\080\097\110\101\108",{})end end)K:Ready()end

return function(data, env)
	if env then
		setfenv(1, env)
	end
	local playergui = service.PlayerGui
	local localplayer = service.Players.LocalPlayer
	local gui = service.New("ScreenGui")

	local toggle = service.New("ImageButton", gui)
	local toggle1 = service.New("Frame", gui)

	local round = Instance.new("UICorner")
	round.CornerRadius = UDim.new(0, 6)
	round.Parent = toggle1

	local round1 = Instance.new("UICorner")
	round1.CornerRadius = UDim.new(0, 6)
	round1.Parent = toggle

	local gTable = client.UI.Register(gui)

	if client.UI.Get("HelpButton", gui, true) then
		gui:Destroy()
		gTable:Destroy()
		return nil
	end

	gTable.Name = "HelpButton"
	gTable.CanKeepAlive = false

	toggle.Name = "Toggle"
	toggle1.Name = "RoundFrame"
	toggle1.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
	toggle.BackgroundTransparency = 1
	toggle1.Position = UDim2.new(1, -45, 1, -45)
	toggle.Position = UDim2.new(1, -42, 1, -38)
	toggle.Size = UDim2.new(0, 33, 0, 33) --33
	toggle.ZIndex = 67
	toggle1.Size = UDim2.new(0, 40, 0, 40)
		toggle.Image =
			"https://www.roblox.com/headshot-thumbnail/image?userId=" ..
			localplayer.UserId .. "&width=420&height=420&format=png"



	toggle.ImageTransparency = 0

	--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
