How to destroy child actors on client logout

when client leaves server, logout destroys only the parent pawn not its child actors. i have tried to call event to game mode with rpcs but no luck. also tried event to call the remove only from server inside pawn and game mode but same thing, only pawn gets destroyed and child actors stay floating. i used event destroyed on these. what could be a proper way to do this, should i use playercontroller or state with this?

found solution, there is “end play” node what does it correctly instead of “event destroyed”.