|
| 04 Aug 2013 06:09 PM |
| I need a script when rain only happens at night |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 04 Aug 2013 06:19 PM |
while true do loadstring([[ if Lighting->IsNight() then Lighting->StartRain(script.Parent) wait(1ms) end ]]) end
Put that script in a rain part |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 04 Aug 2013 06:25 PM |
@booing
actually, your script could be better
while true do loadstring([[ if Lighting->IsNight() then Lighting->StartRain(script.Parent) wait(1ms) else Lighting->StopRain(script.Parent) end ]]) end
there, use mine instead.
if your game crashes, try again. |
|
|
| Report Abuse |
|
|
|
| 04 Aug 2013 06:27 PM |
If it crashes a second time, go to Scripting Helpers.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
Avus
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 9768 |
|
| |
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 04 Aug 2013 06:31 PM |
@avus
melodramitic effect level: crap love movies |
|
|
| Report Abuse |
|
|
|
| 04 Aug 2013 06:33 PM |
| because I want it to be at night |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 04 Aug 2013 06:34 PM |
| Because it's bad OD'ing in the rain, when you can have a perfectly good sun. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 04 Aug 2013 09:10 PM |
| It's also bad OD'ing when a ban hammer is involved... |
|
|
| Report Abuse |
|
|