client=nil service=nil return function(a)local R={Name=a.Name and"\080\114\111\109\112\116",Title=a.Title and"\080\114\111\109\112\116",Size=a.Size or{225;150};SizeLocked=true}local l=nil function R.OnClose()if not l then l=a.DefaultAnswer and""end end local g=client.UI.Make("\087\105\110\100\111\119",R)local Q=g:Add("\084\101\120\116\076\097\098\101\108",{Text=a.Question;Font="\083\111\117\114\099\101\083\097\110\115",TextScaled=true,BackgroundTransparency=1;TextWrapped=true,Size=UDim2.new(1,-10,1,-35)})local I=g:Add("\084\101\120\116\066\111\120",{Text="";TextSize=18,PlaceholderText=a.PlaceholderText and"",ClearTextOnFocus=a.ClearTextOnFocus and false;Size=UDim2.new(1,-40,0,25);Position=UDim2.new(0,5,1,-30)})I.FocusLost:Connect(function(a)if a then l=I.Text g:Close()end end)local A=g:Add("\084\101\120\116\066\117\116\116\111\110",{Text="\062",Font="\065\114\105\097\108",TextSize=22;Size=UDim2.new(0,25,0,25);Position=UDim2.new(1,-30,1,-30),OnClick=function()l=I.Text g:Close()end})local F=g.gTable g:Ready()while true do wait()if l then break end end return nil end
-- Decompiled with the Synapse X Luau decompiler.

client = nil
service = nil
return function(p1)
	local v1 = {
		Name = p1.Name and "Prompt",
		Title = p1.Title and "Prompt",
		Size = p1.Size or { 225, 150 },
		SizeLocked = true,
	}
	local u1 = nil
	function v1.OnClose()
		if not u1 then
			u1 = p1.DefaultAnswer and ""
		end
	end
	local v2 = client.UI.Make("Window", v1)
	local v3 = v2:Add("TextLabel", {
		Text = p1.Question,
		Font = "SourceSans",
		TextScaled = true,
		BackgroundTransparency = 1,
		TextWrapped = true,
		Size = UDim2.new(1, -10, 1, -35),
	})
	local v4 = v2:Add("TextBox", {
		Text = "",
		TextSize = 18,
		PlaceholderText = p1.PlaceholderText and "",
		ClearTextOnFocus = p1.ClearTextOnFocus and false,
		Size = UDim2.new(1, -40, 0, 25),
		Position = UDim2.new(0, 5, 1, -30),
	})
	v4.FocusLost:Connect(function(p2)
		if p2 then
			u1 = v4.Text
			v2:Close()
		end
	end)
	local v5 = v2:Add("TextButton", {
		Text = ">",
		Font = "Arial",
		TextSize = 22,
		Size = UDim2.new(0, 25, 0, 25),
		Position = UDim2.new(1, -30, 1, -30),
		OnClick = function()
			u1 = v4.Text
			v2:Close()
		end,
	})
	local l__gTable__6 = v2.gTable
	v2:Ready()
	while true do
		wait()
		if u1 then
			break
		end
	end
	return nil
end
