Thanks for playing it!
It was a line renderer with some script. It's not my idea, If you want to know how to make it yourself, check out a Yt channel called "BlackThornProd" he made a video about procedural animations.