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 4 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 — 4y
0
Well whoops tonio5024 -5 — 4y

Answer this question