Everyone has their own path to God, and has chances to get to know God.
What's great about agnostic, it means open and curious,
and what's great about God:
Matthew 7:7: "Ask and it will be given to you; seek and you will find; knock and the door will be opened to you."
Seek the truth, you only benefit from it, because once you know the truth, the decisions you make are fully yours.
Babies and kids don't go to hell, God absolutely loves all his kids and gives them time to grow and decide who they want to be (good person or bad person).