-- Decompiled with the Synapse X Luau decompiler.


client = nil;
cPcall = nil;
Pcall = nil;
Routine = nil;
service = nil;
return function(p1)
	local l__Player__1 = service.Player;
	local l__Toggle__2 = script.Parent.Parent.Toggle;
	if client.Core.Get("Chat") then
		l__Toggle__2.Position = UDim2.new(1, -85, 1, -45);
	end;
	l__Toggle__2.MouseButton1Down:Connect(function()
		local v3 = client.Core.Get("UserPanel", nil, true);
		if not v3 then
			client.Core.Make("UserPanel", {});
			return;
		end;
		v3.Object:Destroy();
	end);
	script.Parent.Parent.Parent = service.PlayerGui;
end;
