client=nil cPcall=nil Pcall=nil Routine=nil service=nil gTable=nil return function(d)if not d.Question then return end local M=d.gTable local b=script.Parent.Parent.BaseClip local f=d.Duration or d.Timeout local t=b.Frame t.Parent=b t.Position=UDim2.new(.5,-210,0,-t.Size.Y.Offset)t.Visible=true local v=t:WaitForChild("\066\111\100\121")local w=v:WaitForChild("\079\112\116\105\111\110\115")local h=w:WaitForChild("\067\111\110\102\105\114\109")local n=w:WaitForChild("\067\097\110\099\101\108");(v:WaitForChild("\067\111\109\109\097\110\100")).Text=d.Subtitle and" "v.Ques.Text=d.Question and"\085\110\107\110\111\119\110"t.Top.Title.Text=d.Title and"\089\101\115\047\078\111 \080\114\111\109\112\116"v.Options.Cancel.Text=d.No and"\078\111"v.Options.Confirm.Text=d.Yes and"\089\101\115"M:Ready()local C=nil function M.CustomDestroy()M.CustomDestroy=nil M.ClearEvents()if C==nil then C=d.No and"\078\111"end pcall(function()t:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(d)if d==Enum.TweenStatus.Completed then t:Destroy()end end)wait(.3)end)M:Destroy()end t:TweenPosition(UDim2.new(.5,-210,.5,-70),"\079\117\116","\081\117\105\110\116",.3,true)local E=nil E=M.BindEvent(h.MouseButton1Click,function()E:Disconnect()t:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(d)if d==Enum.TweenStatus.Completed then t:Destroy()end end)C=d.Yes and"\089\101\115"wait(.3)M:Destroy()end)local r=nil r=M.BindEvent(n.MouseButton1Click,function()r:Disconnect()t:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(d)if d==Enum.TweenStatus.Completed then t:Destroy()end end)C=d.No and"\078\111"wait(.3)M:Destroy()end)local H=tick()while true do wait()if C~=nil then break end if f and f<tick()-f then break end end if C==nil then C=false end return nil end


client = nil;
cPcall = nil;
Pcall = nil;
Routine = nil;
service = nil;
gTable = nil;
return function(p1)
	if not p1.Question then
		return;
	end;
	local l__gTable__1 = p1.gTable;
	local l__BaseClip__2 = script.Parent.Parent.BaseClip;
	local v3 = p1.Duration or p1.Timeout;
	local l__Frame__4 = l__BaseClip__2.Frame;
	l__Frame__4.Parent = l__BaseClip__2;
	l__Frame__4.Position = UDim2.new(0.5, -210, 0, -l__Frame__4.Size.Y.Offset);
	l__Frame__4.Visible = true;
	local l__Body__5 = l__Frame__4:WaitForChild("Body");
	local l__Options__6 = l__Body__5:WaitForChild("Options");
	local l__Confirm__7 = l__Options__6:WaitForChild("Confirm");
	local l__Cancel__8 = l__Options__6:WaitForChild("Cancel");
	l__Body__5:WaitForChild("Command").Text = p1.Subtitle and " ";
	l__Body__5.Ques.Text = p1.Question and "Unknown";
	l__Frame__4.Top.Title.Text = p1.Title and "Yes/No Prompt";
	l__Body__5.Options.Cancel.Text = p1.No and "No";
	l__Body__5.Options.Confirm.Text = p1.Yes and "Yes";
	l__gTable__1:Ready();
	local u1 = nil;
	function l__gTable__1.CustomDestroy()
		l__gTable__1.CustomDestroy = nil;
		l__gTable__1.ClearEvents();
		if u1 == nil then
			u1 = p1.No and "No";
		end;
		pcall(function()
			l__Frame__4:TweenPosition(UDim2.new(0.5, -210, 1, 0), "Out", "Quint", 0.3, true, function(p2)
				if p2 == Enum.TweenStatus.Completed then
					l__Frame__4:Destroy();
				end;
			end);
			wait(0.3);
		end);
		l__gTable__1:Destroy();
	end;
	l__Frame__4:TweenPosition(UDim2.new(0.5, -210, 0.5, -70), "Out", "Quint", 0.3, true);
	local u2 = nil;
	u2 = l__gTable__1.BindEvent(l__Confirm__7.MouseButton1Click, function()
		u2:Disconnect();
		l__Frame__4:TweenPosition(UDim2.new(0.5, -210, 1, 0), "Out", "Quint", 0.3, true, function(p3)
			if p3 == Enum.TweenStatus.Completed then
				l__Frame__4:Destroy();
			end;
		end);
		u1 = p1.Yes and "Yes";
		wait(0.3);
		l__gTable__1:Destroy();
	end);
	local u3 = nil;
	u3 = l__gTable__1.BindEvent(l__Cancel__8.MouseButton1Click, function()
		u3:Disconnect();
		l__Frame__4:TweenPosition(UDim2.new(0.5, -210, 1, 0), "Out", "Quint", 0.3, true, function(p4)
			if p4 == Enum.TweenStatus.Completed then
				l__Frame__4:Destroy();
			end;
		end);
		u1 = p1.No and "No";
		wait(0.3);
		l__gTable__1:Destroy();
	end);
	local v9 = tick();
	while true do
		wait();
		if u1 ~= nil then
			break;
		end;
		if v3 and v3 < tick() - v3 then
			break;
		end;	
	end;
	if u1 == nil then
		u1 = false;
	end;
	return nil;
end;
