Whenever I run this code, it clones big amounts of bombs simultaneously. Also, the random seconds’ min and max values sometimes changes and sometimes not. What’s the issue ?
Your code makes bombs when your variable equals 1.
There’s no code to stop or count the making bombs when variable is 1.
If your Ready program runs at 60 frames a second and the variables value is 1 for 0.3 secs then that would make 20 clones approx.
You could make another variable called BOMBCOUNT.
So code to only create a bomb if the BOMBCOUNT variable is less than 6 (if you want a max of 5 bombs onscreen at a time)
Each time a bombs created add 1 to BOMBCOUNT.
Each time a bombs destroyed minus 1 from BOMBCOUNT