I found a working "key (enter) pressed" block in my Scratch editor's backpack tool. I don't remember who made it, though. Might've accidentally put it in a long time ago:/
Credits to whoever made it...