You move right automatically Space key to change the color of your skin. Press any key to jump. If you're the same color of the spike you're touching, nothing happens, you just keep on moving right. Otherwise, you have restart the level Please give feedback on what I should improve!
@xamuil2 for player movement script (modified by me)