How to make Breakable door or windows

how I can create breakable door like hitting many times door in the game rust and zombie panic source engine Left 4 Dead-Style slowly break door by piece? example [Lua] Slashers : breakable doors - YouTube
sincerely
Bela