--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
