|
| 10 Aug 2014 01:07 AM |
My TimeOfDay (tod) script is simple, though long; about 57 lines approx.
Is there a different way to reduce this length of code and still work, instead of doing:
TimeOfDay = game.Lighting.TimeOfDay
while looped do() wait(7.5) TimeOfDay = "15:00:00" wait(7.5) TimeOfDay = "16:00:00" wait(7.5) TimeOfDay = "17:00:00" end |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Aug 2014 01:13 AM |
Cannot name a property, you`d have to do
Lighting = game.Lighting
Lighting.TimeOfDay = "15:00:00" |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2014 01:14 AM |
@EPICJAKEISCOOL
Oops. Still do you know something? |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2014 01:15 AM |
?
Yeah, I know a lot about scripting... |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2014 01:18 AM |
| Is that your signature, or are you just acting rude... |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2014 01:20 AM |
@EPICJAKEISCOOL
Neither... I just needed to find a simplified script meant for this topic... |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Aug 2014 01:26 AM |
while true do TimeOfDay = TimeOfDay + 1000 wait(7.5) end
Im not sure how much to add that is = to an hour so just mess with it if it works
Just add your varible at the top |
|
|
| Report Abuse |
|
|