Unfortunately no, as Roblox really loves leaving a lot of things undocumented (especially the core stuff). I really only noticed this when instancing a crap ton of parts into my own character (with a server script) and reseting.
The thing is you know that you’re deleting the 50k instances of garbage, because you, yourself end up completely freezing, but everyone else in the game doesn’t experience the same lag and the server isn’t straight up dying.
From that, I put two and two together and just tied the delete-anything-in-character behavior to reseting/dying.
code to test out (run thru command line in dev console):
the reseting behavior (you lag like hell):
for i = 1,50000 do
Instance.new(“Part”,game:GetService"Players"[“NAME”].Character)
end
game:GetService"Players"[“NAME”].Character.Humanoid.Health = 0
having the server delete all this garbage (server lags like hell):
for i = 1,50000 do
Instance.new(“Part”,game:GetService"Players"[“NAME”].Character)
end
game:GetService"Players"[“NAME”].Character:ClearAllChildren()