|
| 26 Jun 2012 02:35 PM |
| I made this place called "Exploration," and I need help with a rain script. When I use others they eitjher don't work or they mke my level explode! |
|
|
| Report Abuse |
|
|
3lex33
|
  |
| Joined: 08 Oct 2008 |
| Total Posts: 5220 |
|
|
| 26 Jun 2012 02:37 PM |
| What is the problem with rain script? Clone rain parts, put them around players, make them go down and get deleted after colliding or waiting 4-6 seconds. |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2012 02:39 PM |
| They just make my level collapse! |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2012 02:40 PM |
Then post the script you are using.
~Leave me in the city with 50 bucks and watch me come back a millionaire~ |
|
|
| Report Abuse |
|
|
ComBatPro
|
  |
| Joined: 27 Dec 2010 |
| Total Posts: 205 |
|
|
| 26 Jun 2012 02:56 PM |
Not sure if this will work but make a clone of the rain then make the position Vector3.new(math.random(pos near area),200,math.random(pos near area) |
|
|
| Report Abuse |
|
|
| |
|
ComBatPro
|
  |
| Joined: 27 Dec 2010 |
| Total Posts: 205 |
|
|
| 26 Jun 2012 03:00 PM |
It'd be something like while wait(4) do
Rain = game.Lighting.RainDrops:Clone()
Rain.Parent = workspace
Rainn = Rain:GetChildren()
Rainn.Position = Vector3.new(math.random(1,500), 200, math.random(1,500))
wait(7)
Rain:Remove()
end |
|
|
| Report Abuse |
|
|
ComBatPro
|
  |
| Joined: 27 Dec 2010 |
| Total Posts: 205 |
|
|
| 26 Jun 2012 03:01 PM |
| Doubt my script will work, I rushed it... |
|
|
| Report Abuse |
|
|
3lex33
|
  |
| Joined: 08 Oct 2008 |
| Total Posts: 5220 |
|
|
| 26 Jun 2012 04:22 PM |
| CombatPro, dont remove the raindrops in the while loop. Use it only to spawn new parts. After either put them to debris, either put a script in created parts(easier if you have a script, making rain go down using cframe, just put a command there). |
|
|
| Report Abuse |
|
|