Need help with naturally generated terrain. and caves

I have a simpler tilemap system in my checkpoint example,
I’ll need to make a full example later for the easier verions later.
Flowlab Game Creator - Advance Checkpoint

Here’s the post for advance tilemaps, it alows for more complex tilemap structures
but is a bit more complex to set up:
Tile Map System - JR 01