Complex sentence: As the satisfied Billy returns to his grave, Thackery dies freeing his soul, thanking Max, Dani and Allison for help, and bids farewell to them, before he and Emily walk into the afterlife.
Split into simpler sentences: As the satisfied Billy returns to his grave, Thackery dies, freeing his soul. He thanks Max, Dani and Allison for their help, and bids farewell to them, before he and Emily walk into the afterlife.