Neon Velocity - Bug

Here is the game:

What I need help with is, I need the Textsprite2 variable to text whatever your selection is in the inventory/toolbox. I have tried multiple times, and failed, so I will be very happy and grateful if any of y’all fix the bug. Thank you!

Controls:

Up-jump

Left/Right-move

Z/X-change inventory/toolbox selection

(this is for testing after editing. I’m not releasing the game.)

The item you collect doesn’t even enter your inventory, so we can’t reach the bug to fix it.

Oh, sorry for not being clear enough.

Ok, I completely changed how the inventory works, and this version works!