[FMX] Help with duck/dodge game

New here! I want to make a sidescrolling game where random objects come at you and you either jump or duck to avoid them (no moving left or right). Every 60 frames I want to spawn either a powerup, a low brick, or a high brick. Can anyone help? I’d greatly appreciate it.^^