client=nil service=nil return function(l)local G=client.UI.Make("\087\105\110\100\111\119",{Name="\083\101\116\116\105\110\103\115";Title="\083\101\116\116\105\110\103\115",Size={225;200};AllowMultiple=false})local M={{Text="\075\101\121\098\105\110\100\115\058 ",Desc="- \069\110\097\098\108\101\100\047\068\105\115\097\098\108\101\115 \075\101\121\098\105\110\100\115",Entry="\066\111\111\108\101\097\110";Value=client.Variables.KeybindsEnabled,Function=function(l,G)client.Variables.KeybindsEnabled=l G.Text="\083\097\118\105\110\103\046\046"client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\075\101\121\098\105\110\100\115\069\110\097\098\108\101\100",l)G.Text=G.Text end},{Text="\085\073 \075\101\101\112 \065\108\105\118\101\058 ";Desc="- \080\114\101\118\101\110\116\115 \065\100\111\110\105\115 \085\073 \100\101\108\101\116\105\111\110 \111\110 \100\101\097\116\104",Entry="\066\111\111\108\101\097\110",Value=client.Variables.UIKeepAlive;Function=function(l,G)client.Variables.UIKeepAlive=l G.Text="\083\097\118\105\110\103\046\046"client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\085\073\075\101\101\112\065\108\105\118\101",l)G.Text=G.Text end},{Text="\080\097\114\116\105\099\108\101 \069\102\102\101\099\116\115\058 ";Desc="- \069\110\097\098\108\101\115\047\068\105\115\097\098\108\101\115 \099\101\114\116\097\105\110 \065\100\111\110\105\115 \109\097\100\101 \101\102\102\101\099\116\115 \108\105\107\101 \115\112\097\114\107\108\101\115",Entry="\066\111\111\108\101\097\110";Value=client.Variables.ParticlesEnabled;Function=function(l,G)client.Variables.ParticlesEnabled=l G.Text="\083\097\118\105\110\103\046\046"client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\080\097\114\116\105\099\108\101\115\069\110\097\098\108\101\100",l)G.Text=G.Text end};{Text="\067\097\112\101\115\058 ",Desc="- \065\108\108\111\119\115 \121\111\117 \116\111 \100\105\115\097\098\108\101 \097\108\108 \112\108\097\121\101\114 \099\097\112\101\115 \108\111\099\097\108\108\121";Entry="\066\111\111\108\101\097\110",Value=client.Variables.CapesEnabled;Function=function(l,G)client.Variables.CapesEnabled=l G.Text="\083\097\118\105\110\103\046\046"client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\067\097\112\101\115\069\110\097\098\108\101\100",l)G.Text=G.Text end},{Text="\067\111\110\115\111\108\101 \075\101\121\058 ",Desc="\075\101\121 \117\115\101\100 \116\111 \111\112\101\110 \116\104\101 \099\111\110\115\111\108\101",Entry="\066\117\116\116\111\110",Value=client.Variables.CustomConsoleKey or client.Remote.Get("\083\101\116\116\105\110\103","\067\111\110\115\111\108\101\075\101\121\067\111\100\101");Function=function(l)l.Text="\087\097\105\116\105\110\103\046\046\046"local G=nil while true do wait()if G then break end end client.Variables.CustomConsoleKey=G;(service.UserInputService.InputBegan:connect(function(l)if not service.UserInputService:GetFocusedTextBox()and rawequal(l.UserInputType,Enum.UserInputType.Keyboard)then G=l.KeyCode.Name end end)):Disconnect()l.Text="\083\097\118\105\110\103\046\046"client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\067\117\115\116\111\109\067\111\110\115\111\108\101\075\101\121",client.Variables.CustomConsoleKey)l.Text=G end},{Text="\084\104\101\109\101\058 ",Desc="- \065\108\108\111\119\115 \121\111\117 \116\111 \115\101\116 \116\104\101 \065\100\111\110\105\115 \085\073 \116\104\101\109\101",Entry="\068\114\111\112\068\111\119\110";Setting="\067\117\115\116\111\109\084\104\101\109\101",Function=function(l)local G=gui.ThemePicker.Frame local M=gui.ThemePicker.Entry local C=gui.ThemePicker local s=l.TextButton local function k()G:ClearAllChildren()local l={"\068\101\102\097\117\108\116"}local k=0 for G,M in pairs(client.Deps.UI:GetChildren())do table.insert(l,M.Name)end for l,w in pairs(l)do local W=M:Clone()W.Text=w W.Position=UDim2.new(0,0,0,20*k)W.Parent=G W.Visible=true W.MouseButton1Click:connect(function()service.Debounce("\067\108\105\101\110\116\083\101\108\101\099\116\105\110\103\084\104\101\109\101",function()C.Visible=false s.Text=w client.Variables.CustomTheme=w if w=="\068\101\102\097\117\108\116"then client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\067\117\115\116\111\109\084\104\101\109\101",nil)return end client.Remote.Get("\085\112\100\097\116\101\067\108\105\101\110\116","\067\117\115\116\111\109\084\104\101\109\101",w)end)end)k=k+1 end C.Position=UDim2.new(0,s.AbsolutePosition.X,0,s.AbsolutePosition.Y)C.Visible=true end s.MouseButton1Click:connect(function()service.Debounce("\067\108\105\101\110\116\068\105\115\112\108\097\121\084\104\101\109\101\115",function()if C.Visible then C.Visible=false return end k()end)end)if not client.Variables.CustomTheme then s.Text="\068\101\102\097\117\108\116"return end s.Text=client.Variables.CustomTheme end}}if G then local l=G:Add("\084\097\098\070\114\097\109\101",{Size=UDim2.new(1,-10,1,-10),Position=UDim2.new(0,5,0,5)})local C=l:NewTab("\067\108\105\101\110\116",{Text="\067\108\105\101\110\116"})local s=l:NewTab("\071\097\109\101",{Text="\071\097\109\101"})for l,G in next,M do if G.Entry=="\066\111\111\108\101\097\110"then(C:Add("\084\101\120\116\076\097\098\101\108",{Size=UDim2.new(1,-10,0,25),Position=UDim2.new(0,5,0,25*(l-1));TextXAlignment="\076\101\102\116";Enabled=G.Value,Text=G.Text,ToolTip=G.Desc})):Add("\066\111\111\108\101\097\110",{Size=UDim2.new(0,100,0,20);Position=UDim2.new(1,-100,0,0);Enabled=G.Value,OnToggle=function(l,G)print("\084\111\103\103\108\101\100 \116\104\105\110\103\101\114")end})end end C:ResizeCanvas(false,true)local k=G.gTable G:Ready()end end


client = nil;
service = nil;
return function(p1)
	local v1 = client.UI.Make("Window", {
		Name = "Settings", 
		Title = "Settings", 
		Size = { 225, 200 }, 
		AllowMultiple = false
	});
	local v2 = { {
			Text = "Keybinds: ", 
			Desc = "- Enabled/Disables Keybinds", 
			Entry = "Boolean", 
			Value = client.Variables.KeybindsEnabled, 
			Function = function(p2, p3)
				client.Variables.KeybindsEnabled = p2;
				p3.Text = "Saving..";
				client.Remote.Get("UpdateClient", "KeybindsEnabled", p2);
				p3.Text = p3.Text;
			end
		}, {
			Text = "UI Keep Alive: ", 
			Desc = "- Prevents Adonis UI deletion on death", 
			Entry = "Boolean", 
			Value = client.Variables.UIKeepAlive, 
			Function = function(p4, p5)
				client.Variables.UIKeepAlive = p4;
				p5.Text = "Saving..";
				client.Remote.Get("UpdateClient", "UIKeepAlive", p4);
				p5.Text = p5.Text;
			end
		}, {
			Text = "Particle Effects: ", 
			Desc = "- Enables/Disables certain Adonis made effects like sparkles", 
			Entry = "Boolean", 
			Value = client.Variables.ParticlesEnabled, 
			Function = function(p6, p7)
				client.Variables.ParticlesEnabled = p6;
				p7.Text = "Saving..";
				client.Remote.Get("UpdateClient", "ParticlesEnabled", p6);
				p7.Text = p7.Text;
			end
		}, {
			Text = "Capes: ", 
			Desc = "- Allows you to disable all player capes locally", 
			Entry = "Boolean", 
			Value = client.Variables.CapesEnabled, 
			Function = function(p8, p9)
				client.Variables.CapesEnabled = p8;
				p9.Text = "Saving..";
				client.Remote.Get("UpdateClient", "CapesEnabled", p8);
				p9.Text = p9.Text;
			end
		}, {
			Text = "Console Key: ", 
			Desc = "Key used to open the console", 
			Entry = "Button", 
			Value = client.Variables.CustomConsoleKey or client.Remote.Get("Setting", "ConsoleKeyCode"), 
			Function = function(p10)
				p10.Text = "Waiting...";
				local u1 = nil;
				while true do
					wait();
					if u1 then
						break;
					end;				
				end;
				client.Variables.CustomConsoleKey = u1;
				service.UserInputService.InputBegan:connect(function(p11)
					if not service.UserInputService:GetFocusedTextBox() and rawequal(p11.UserInputType, Enum.UserInputType.Keyboard) then
						u1 = p11.KeyCode.Name;
					end;
				end):Disconnect();
				p10.Text = "Saving..";
				client.Remote.Get("UpdateClient", "CustomConsoleKey", client.Variables.CustomConsoleKey);
				p10.Text = u1;
			end
		}, {
			Text = "Theme: ", 
			Desc = "- Allows you to set the Adonis UI theme", 
			Entry = "DropDown", 
			Setting = "CustomTheme", 
			Function = function(p12)
				local l__Frame__2 = gui.ThemePicker.Frame;
				local l__Entry__3 = gui.ThemePicker.Entry;
				local l__gui_ThemePicker__4 = gui.ThemePicker;
				local l__TextButton__5 = p12.TextButton;
				local function u6()
					l__Frame__2:ClearAllChildren();
					local v3 = { "Default" };
					local v4 = 0;
					for v5, v6 in pairs(client.Deps.UI:GetChildren()) do
						table.insert(v3, v6.Name);
					end;
					for v7, v8 in pairs(v3) do
						local v9 = l__Entry__3:Clone();
						v9.Text = v8;
						v9.Position = UDim2.new(0, 0, 0, 20 * v4);
						v9.Parent = l__Frame__2;
						v9.Visible = true;
						v9.MouseButton1Click:connect(function()
							service.Debounce("ClientSelectingTheme", function()
								l__gui_ThemePicker__4.Visible = false;
								l__TextButton__5.Text = v8;
								client.Variables.CustomTheme = v8;
								if v8 == "Default" then
									client.Remote.Get("UpdateClient", "CustomTheme", nil);
									return;
								end;
								client.Remote.Get("UpdateClient", "CustomTheme", v8);
							end);
						end);
						v4 = v4 + 1;
					end;
					l__gui_ThemePicker__4.Position = UDim2.new(0, l__TextButton__5.AbsolutePosition.X, 0, l__TextButton__5.AbsolutePosition.Y);
					l__gui_ThemePicker__4.Visible = true;
				end;
				l__TextButton__5.MouseButton1Click:connect(function()
					service.Debounce("ClientDisplayThemes", function()
						if l__gui_ThemePicker__4.Visible then
							l__gui_ThemePicker__4.Visible = false;
							return;
						end;
						u6();
					end);
				end);
				if not client.Variables.CustomTheme then
					l__TextButton__5.Text = "Default";
					return;
				end;
				l__TextButton__5.Text = client.Variables.CustomTheme;
			end
		} };
	if v1 then
		local v10 = v1:Add("TabFrame", {
			Size = UDim2.new(1, -10, 1, -10), 
			Position = UDim2.new(0, 5, 0, 5)
		});
		local v11 = v10:NewTab("Client", {
			Text = "Client"
		});
		local v12 = v10:NewTab("Game", {
			Text = "Game"
		});
		for v13, v14 in next, v2 do
			if v14.Entry == "Boolean" then
				v11:Add("TextLabel", {
					Size = UDim2.new(1, -10, 0, 25), 
					Position = UDim2.new(0, 5, 0, 25 * (v13 - 1)), 
					TextXAlignment = "Left", 
					Enabled = v14.Value, 
					Text = v14.Text, 
					ToolTip = v14.Desc
				}):Add("Boolean", {
					Size = UDim2.new(0, 100, 0, 20), 
					Position = UDim2.new(1, -100, 0, 0), 
					Enabled = v14.Value, 
					OnToggle = function(p13, p14)
						print("Toggled thinger");
					end
				});
			end;
		end;
		v11:ResizeCanvas(false, true);
		local l__gTable__15 = v1.gTable;
		v1:Ready();
	end;
end;
