How to make a laser beam kinda like the one from among us (continued)

I don’t think this is what they’re asking for, I think they want a system that can randomly spawn and destroy those rocks, NOT a guide on how to make a custom laser beam

collision

They want something like this: