client=nil service=nil return function(F)local D={Name="\086\111\116\101";Title="\086\111\116\101";Size={300,200};AllowMultiple=false}local t=nil function D.OnClose()if not t then t=false end end local O=client.UI.Make("\087\105\110\100\111\119",D)local y=O:Add("\084\101\120\116\076\097\098\101\108",{Text=F.Question,TextScaled=true,TextWrapped=true;Size=UDim2.new(1,-10,0,50),BackgroundTransparency=1})local k=O:Add("\083\099\114\111\108\108\105\110\103\070\114\097\109\101",{Size=UDim2.new(1,-10,1,-60);Position=UDim2.new(0,5,0,55)})for F,D in next,F.Answers do local y={Text=F..("\046 "..D),Size=UDim2.new(1,-10,0,25);Position=UDim2.new(0,5,0,25*(F-1));TextXAlignment="\076\101\102\116"}local J={}function J.MouseButton1Click()O:Close()t=D end y.Events=J k:Add("\084\101\120\116\066\117\116\116\111\110",y)end k:ResizeCanvas()local J=O.gTable O:Ready()while true do wait()if t then break end if not J.Active then break end end return nil end


client = nil;
service = nil;
return function(p1)
	local v1 = {
		Name = "Vote", 
		Title = "Vote", 
		Size = { 300, 200 }, 
		AllowMultiple = false
	};
	local u1 = nil;
	function v1.OnClose()
		if not u1 then
			u1 = false;
		end;
	end;
	local v2 = client.UI.Make("Window", v1);
	local v3 = v2:Add("TextLabel", {
		Text = p1.Question, 
		TextScaled = true, 
		TextWrapped = true, 
		Size = UDim2.new(1, -10, 0, 50), 
		BackgroundTransparency = 1
	});
	local v4 = v2:Add("ScrollingFrame", {
		Size = UDim2.new(1, -10, 1, -60), 
		Position = UDim2.new(0, 5, 0, 55)
	});
	for v5, v6 in next, p1.Answers do
		local v7 = {
			Text = v5 .. ". " .. v6, 
			Size = UDim2.new(1, -10, 0, 25), 
			Position = UDim2.new(0, 5, 0, 25 * (v5 - 1)), 
			TextXAlignment = "Left"
		};
		local v8 = {};
		function v8.MouseButton1Click()
			v2:Close();
			u1 = v6;
		end;
		v7.Events = v8;
		v4:Add("TextButton", v7);
	end;
	v4:ResizeCanvas();
	local l__gTable__9 = v2.gTable;
	v2:Ready();
	while true do
		wait();
		if u1 then
			break;
		end;
		if not l__gTable__9.Active then
			break;
		end;	
	end;
	return nil;
end;
