Ok, I'm trying to finish my rain script but I don't know where to put a repeat script. Here is the script:
game.Workspace.Rainpart.Transparency = 1
game.Workspace.Rainpart.ParticleEmitter.Enabled = false
wait(5) -- This is how much time before the initial clouds form.
do game.Workspace.Rainpart.Transparency = 0.5 -- This is the transparency of the initial cloud
game.Workspace.Rainpart.ParticleEmitter.Enabled = false -- Don't change this!
wait(2.5) -- When changing this...change the number in between 2 and 5.
game.Workspace.Rainpart.Transparency = 0 -- This shows the transparency of the main cloud.
game.Workspace.Rainpart.ParticleEmitter.Enabled = true
game.Workspace.Rainpart.ParticleEmitter.Acceleration = 0,-20,0
game.Workspace.Rainpart.ParticleEmitter.Lifetime = 10,20
game.Workspace.Rainpart.ParticleEmitter.Rate = 50
game.Workspace.Rainpart.ParticleEmitter.Speed = 5
wait(7.5)
game.Workspace.Rainpart.Transparency = 1
game.Workspace.Rainpart.ParticleEmitter.Enabled = false
wait(5)
end
All I need to finish this is where to put a repeat script. Does anyone know where I should put a repeat script?

1 comment
Looping your script would be very "inefficient". This is because you'll have to loop the edits in properties even when it's not necessary! Enabled particles means the "rain" in your case will contiguously fall. Disabled will stop the spawning of more particles, the ones that exist will stay until lifetime ends!