It printed Q in the output, but it didn't print "Combo"
elseif input.KeyCode == Enum.KeyCode.Q then
print("Q")
module.Punch(player)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
print("Couter")
module.Combo(player)
end

8 comments
It's because it runs only one time, it can't be Q and the mouse button at the same time.
is there a way to make a combo with Q and mouse button
I guess you could have two .InputBegan events each for one input and use tick() to detect if they have been pressed one after the another.
ill try that
it still doesnt work
You CANNOT put the check for the mousebuttom input under the Q input, because as I said, .InputBegan is called one time, with only ONE input. Try putting it as another elseif after the Q check.
I updated, but it still doesnt work. Canyou give me an exmaple
I posted an answer. Try it out.