local k={}local h={}function h.WaitForInput(k)local h=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")local M M=UserInputService.InputBegan:Connect(function(c,Z)if c.UserInputType==k then M:Disconnect()h:Fire()end end)h.Event:Wait()end return h

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
