Seems like one of your first projects.
You should consider resetting the game after you win. You can do this by using LoadScene
In your character controller or rigidbody you can freeze the Z position so the player can't just fall out of the map.
itch.io is an open marketplace for independent game creators. It's completely free to upload your content. Read more about what we're trying to accomplish and the features we provide.