People told me to use UserinputService. Thing is, I never used it before. So instead of just telling me to use that, show me how you would use it. Please.
Is it possible to convert this to work?:
inputService = game:GetService("UserInputService")
inputService.InputBegan:connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.Slash then
print("/ key has been pressed!")
end
end
end)

1 comment
Didn't know it was that easy -.- Facepalm