Mimic breaking effect in glue by using a script

Hello, since Roblox removed their old physics engine (which included the glue breaking when achieved under pressure), I wanted to mimic that breaking effect in glues onto the new physics engine. Is there some way to achieve that in a script?