so
goat child finds human child
human child dies
goat child takes human child's corpse through the barrier using their SOUL
humans don't like that
goat child hobbles his way back through the barrier and dies
goat child is buried
flower grows over goat child
five more children show up underground
they die
magic reset goop is taken from their souls
magic reset goop is injected into the flower that grew over the dead goat child
flower is alive, soulless and can reset (bonus suicidal thoughts)
seventh child shows up
flower lures all of child 7's friends into the throne room
flower kidnaps all of child 7's friends
flower steals all of the human souls (and all of the monster souls)
flower turns back into goat
child 7 fights goat (now a god)
child 7 wins with the power of friendship
wooaoooooh story of undertale