client=nil cPcall=nil Pcall=nil Routine=nil service=nil gTable=nil return function(U)if not U.Question then return end local j=U.gTable local H=script.Parent.Parent.BaseClip local A=U.Duration or U.Timeout local Q=H.Frame Q.Parent=H Q.Position=UDim2.new(.5,-210,0,-Q.Size.Y.Offset)Q.Visible=true local u=Q:WaitForChild("\066\111\100\121")local Y=u:WaitForChild("\079\112\116\105\111\110\115")local z=Y:WaitForChild("\067\111\110\102\105\114\109")local G=Y:WaitForChild("\067\097\110\099\101\108");(u:WaitForChild("\067\111\109\109\097\110\100")).Text=U.Subtitle and" "u.Ques.Text=U.Question and"\085\110\107\110\111\119\110"Q.Top.Title.Text=U.Title and"\089\101\115\047\078\111 \080\114\111\109\112\116"u.Options.Cancel.Text=U.No and"\078\111"u.Options.Confirm.Text=U.Yes and"\089\101\115"j:Ready()local c=nil function j.CustomDestroy()j.CustomDestroy=nil j.ClearEvents()if c==nil then c=U.No and"\078\111"end pcall(function()Q:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(U)if U==Enum.TweenStatus.Completed then Q:Destroy()end end)wait(.3)end)j:Destroy()end Q:TweenPosition(UDim2.new(.5,-210,.5,-70),"\079\117\116","\081\117\105\110\116",.3,true)local g=nil g=j.BindEvent(z.MouseButton1Click,function()g:Disconnect()Q:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(U)if U==Enum.TweenStatus.Completed then Q:Destroy()end end)c=U.Yes and"\089\101\115"wait(.3)j:Destroy()end)local o=nil o=j.BindEvent(G.MouseButton1Click,function()o:Disconnect()Q:TweenPosition(UDim2.new(.5,-210,1,0),"\079\117\116","\081\117\105\110\116",.3,true,function(U)if U==Enum.TweenStatus.Completed then Q:Destroy()end end)c=U.No and"\078\111"wait(.3)j:Destroy()end)local D=tick()while true do wait()if c~=nil then break end if A and A<tick()-A then break end end if c==nil then c=false end return nil end
-- Decompiled with the Synapse X Luau decompiler.

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
