local H={}local i={}function i.WaitForInput(H)local i=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")local X X=UserInputService.InputBegan:Connect(function(u,E)if u.UserInputType==H then X:Disconnect()i:Fire()end end)i.Event:Wait()end return i
--Var
local WaitingInputs = {}

local UIS = {}

function UIS.WaitForInput(inputType)
	local Event = Instance.new("BindableEvent")
	local uisCon
	uisCon = UserInputService.InputBegan:Connect(function(input, gp)
		if input.UserInputType == inputType then
			uisCon:Disconnect()
			Event:Fire()
		end
	end)

	Event.Event:Wait()
end

return UIS
