-- Decompiled with the Synapse X Luau decompiler.


client = nil;
service = nil;
return function(p1)
	local v1 = client.UI.Make("Window", {
		Name = "Credits", 
		Title = "Credits", 
		Icon = client.MatIcons.Grade, 
		Size = { 280, 300 }, 
		AllowMultiple = false
	});
	local v2 = v1:Add("TabFrame", {
		Size = UDim2.new(1, -10, 1, -10), 
		Position = UDim2.new(0, 5, 0, 5)
	});
	for v3, v4 in ipairs({ v2:NewTab("Main", {
			Text = "Main"
		}), v2:NewTab("GitHub", {
			Text = "Contributors"
		}), (v2:NewTab("Misc", {
			Text = "Everyone Else"
		})) }) do
		local v5 = v4:Add("ScrollingFrame", {
			List = {}, 
			ScrollBarThickness = 3, 
			BackgroundTransparency = 1, 
			Position = UDim2.new(0, 5, 0, 30), 
			Size = UDim2.new(1, -10, 1, -35)
		});
		local v6 = v4:Add("TextBox", {
			Position = UDim2.new(0, 5, 0, 5), 
			Size = UDim2.new(1, -10, 0, 20), 
			BackgroundTransparency = 0.25, 
			BorderSizePixel = 0, 
			TextColor3 = Color3.new(1, 1, 1), 
			Text = "", 
			PlaceholderText = "Search", 
			TextStrokeTransparency = 0.8
		});
		v6:Add("ImageLabel", {
			Image = client.MatIcons.Search, 
			Position = UDim2.new(1, -20, 0, 2), 
			Size = UDim2.new(0, 16, 0, 16), 
			ImageTransparency = 0.2, 
			BackgroundTransparency = 1
		});
		local function v7()
			local v8 = 1;
			local l__Text__9 = v6.Text;
			v5:ClearAllChildren();
			for v10, v11 in ipairs(require(client.Shared.Credits)[v4.Name]) do
				if v11.Text:sub(1, #l__Text__9):lower() == l__Text__9:lower() or v4.Name == "GitHub" and v11.Text:sub(9, 8 + #l__Text__9):lower() == l__Text__9:lower() then
					local v12 = {
						Text = "  " .. v11.Text .. " ", 
						ToolTip = v11.Desc
					};
					if v8 % 2 == 0 then
						local v13 = 0;
					else
						v13 = 0.2;
					end;
					v12.BackgroundTransparency = v13;
					v12.Size = UDim2.new(1, 0, 0, 30);
					v12.Position = UDim2.new(0, 0, 0, 30 * (v8 - 1));
					v12.TextXAlignment = "Left";
					v5:Add("TextLabel", v12);
					v8 = v8 + 1;
				end;
			end;
			v5:ResizeCanvas(false, true, false, false, 5, 0);
		end;
		v6:GetPropertyChangedSignal("Text"):Connect(v7);
		v7();
	end;
	v1:Ready();
end;
