It might be 32. However, that's irrelevant because UserInputService is better. Here's a script you can steal from me that prints 'Hello World!' whenever you press Spacebar in game. --Insert this into a LocalScript in StarterGui
local UIS = game:GetService('UserInputService')
UIS.InputBegan:connect(function(input, gameProcessedEvent)
if not gameProcessedEvent then
if input.KeyCode = Enum.KeyCode.Space then
print('Hello World!')
end
end
end) |