If you share some blocks (as a png of jpg) image) of what you tried, perhaps someone will help.
I assume you have a sprite called ball.png . You are going to have to have a timer in the Clock telling to add a ball every five seconds... 5 seconds is equivalent to 5000 ms, so you will have to set the interval trigger for the Clock to set Clock.TimerInterval to 5000 . Then you will have to put some code in the when Clock.Timer do block to place a new ball on the screen.
Hints: You will probably use the ImageSprite blocks a lot.... for instance to image Image.Sprite.Visible to true or false to make a new ball appear or disappear, You will use ImageSprite.MoveTo and other controls.
Unless someone posts an example, you will have to figure out the details yourself. You can get ideas from some of the games in the App Inventor Gallery
http://gallery.appinventor.mit.edu/#page%3DHome ; these apps include source code (although many are AI Classic).. Write a simple app with only the sprite actions in it and experiment. It is how experienced programmers figure out how to do things they have never done before.
Others may provide additional suggestions or code; I hope this will get you started. I have not tried to do what you want to do, but it certainly seems possible.
Regards,
Steve