How To Add Time

I want to ask how to add time? such as every 1 second will bring up a randoma object or call a code?

Use timers => Timers [GDevelop wiki]

Find the “Objects Timers” project in the GDevelop examples.
There you can understand what the timer is.

There’s also an extension that might be useful to you:
https://wiki.gdevelop.io/gdevelop5/extensions/repeat-every-xseconds/reference#repeat_every_x_seconds