Use the arrow keys to move the cupcake around and avoid the spikes.
I used my platforming script from my platformer game.I just backpacked it,that is all.That script was made from @djpro's project, https://scratch.mit.edu/projects/34429446/