UserInputService.InputBegan:Connect(function(Input) if Input.KeyCode == Enum.KeyCode.X then local bomb = Instance.new("Explosion", Char.Exo) end end)
I just want to understand what is that "Input" in parenthesis for.
'Input' in this case, represents the input object, e.g keyboard key x, controller button y, anything that can be properly detected.
this parameter is used to check if an input object is equal to something and then can allow you to execute something. (just like in ur code)