Atrocious code I wrote for LD54

For LD54, we made Unsquished, a 2-minute arcade rhythm-ish game where you punch the walls that are closing in on you! I learned Godot for this jam and wrote some pretty unmaintainable code. Find it all below:
We wanted to spawn spike traps at the player position, but add small random offset to not be completely determined. This random offset for x and y has a distribution equivalent to rolling 5 d41 dice that have faces from -20 to 20:

For spawning special trap formations right before beat drops in the song (the spawn time is 2 seconds):

Spike trap warning blink and SFX before spawning (please don't cancel me):

Manually setting the z-index changes the metal walls

to spawn looking like this:

instead of this:

The entire leaderboard is in one text box!


See the source code for yourself here: https://github.com/Compsciler/Unsquished