how i can make a collision of a trail?

You’re along the right lines! Switch those to box collisions and set the right length based on how often you’re spawning them and you’re on your way!