Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

UserImputType is not a valid member of InputObject?

Asked by 3 years ago
local userimputservice = game:GetService("UserInputService")

userimputservice.InputBegan:Connect(function(imput)
    if imput.UserImputType == Enum.UserInputType.Keyboard then
        print("Success")
    end
end)

It is in a local script inside of StarterGUI Please help

3
Well first of all its UserInputService. Input is spelled with an "N" not an "M." ToastyWarmBread 54 — 3y
0
Well whoops tonio5024 -5 — 3y

Answer this question