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

How do you disable scrolling the camera with I and O?

Asked by
c_odez 20
3 years ago

I'm trying to make a game with a system that lets you change keybinds, but I'm having an issue where if the player uses I or O as a keybind, then gameprocessed will always be true. Any ideas?

game:GetService("UserInputService").InputBegan:Connect(function(k, gp)
    if gp or k.KeyCode ~= Enum.KeyCode.I then return end
    print("I pressed!")
end)
0
I don't think you can disable this, use another key AnasBahauddin1978 715 — 3y

Answer this question