Particle emitter position is not updating

I made a simple rain script that makes particles only last until it will hit a part. However, when using the for i = 1,10,1 do then the particles end up overlapping each other, but this shouldn’t happen.
Why is this happening and how can I fix it?
rain.rbxm (6.7 KB)

Could you send your code? If you’re simply using a for loop it will overlap. You’ll need to detect when something is in the way of the rain (I’m asssuming a building for ex.) and you can use RayCasts to achieve this.

AAHHHHHHHHHH I FORGOT TO INCLUDE THE FILE IM SO SORRY
the post should be updated with the file