local function s(s)local P=Enum.UserInputType.MouseButton1 local m=Enum.UserInputType.Touch if s.UserInputType==P or s.UserInputType==m then dlg.Visible=false end end
-- Close win dialog
local function closeDlg(input)
	local mouse = Enum.UserInputType.MouseButton1
	local touch = Enum.UserInputType.Touch

	if input.UserInputType == mouse or input.UserInputType == touch then
		dlg.Visible = false
	end
end
