The last Bug was a tower.
In heaven/spirit(?) realm, all those who reached the peak of deity (the highest form of deity) are allowed to enter the tower to reached another realm as they know but all of this was a lie.
Inside the tower, it was like a rpg game setting where everyone started at level 1 and fights against monster to raise their level. Once they reached the last level, they will have to test their demon heart where most of the players, I mean deity, will be trapped in the illusion.
Second, the test where similar to plants vs zombie. They are the zombie and their enemies are the plants. Their sunflower who will give energy to the dying plants (?) Making the plants invincible etc etc.
After this, there are some sort of shadow(?)? I am not sure about this shadow since I can no longer remember but after fighting against the shadow, they will saw the light or gate of light (something like that) as the entry to the next realm (or so what they thought). They will be entranced by the light. They will forget who they are and what are they doing, they were hypnotized by the light and only the mc was not affected, even her master was hypnotized.
Once they enter the light, just like in the game, they will be reset. Everything about them will be deleted. Identity, feelings, and such just like a robot with nothing to do.
To stop her master being reset, MC talk or got angry with realm spirit. Then he gives her the power to control the world? I can't remember how their talk happens but MC saved her master before he was reset and pull him back from the light.
Anyways, MC as the full controller, she destroyed the tower while realm spirit sleep in deep slumber (maybe just like a machine, his battery is low so he needed to sleep(?), I'm sorry, I can't remember this part).
MC told everyone who enters the tower about the reset thingy if I remember it correctly and she puts some kind of police to capture those who break the laws she made, like no killings and such, to prevent more bugs that might destroy the world.
After that, she, her master and yue ying were traveling back and forth to her original world and to this world since she is now the controller and the controller of earth was a boyfriend of her best friend. They even needed some kind of passport to be allowed to travel, if i remember correctly