|
| 06 Dec 2011 02:55 PM |
while true do wait(0.05) game.Lighting.Ambient = Vector3.new(-12; -12; -12) wait(0.05) game.Lighting.Ambient = Vector3.new(-13; -13; -13) end
I think it should work... |
|
|
| Report Abuse |
|
|
|
| 06 Dec 2011 03:04 PM |
Everything looks fine, I'm not much of a scripter but it shouldn't have any problems.
Try
while true do wait(0.1) game.Lighting.Ambient = Vector3.new(-12; -12; -12) wait(0.1) game.Lighting.Ambient = Vector3.new(-13; -13; -13) end
Doubt that would be the problem though. |
|
|
| Report Abuse |
|
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 06 Dec 2011 03:08 PM |
This will work, I tested it:
while true do wait(0.05) game.Lighting.Ambient = Color3.new(-12, -12, -12) wait(0.05) game.Lighting.Ambient = Color3.new(-13, -13, -13) end
~How munched it that birdy in the window? ~ |
|
|
| Report Abuse |
|
|
|
| 06 Dec 2011 03:12 PM |
@TheWisest
Awesome, it works thanks!
but can you tell me what I did wrong? I saw that "end" changed colors despite already being spelled correctly |
|
|
| Report Abuse |
|
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 06 Dec 2011 03:18 PM |
Sure.
'Vector3' is most commonly used for positioning, and Color3 is used for, well, coloring on the RBG scale. All you had to do is switch 'Vector3' to 'Color3' and you'd been fine. :)
~How munched it that birdy in the window? ~ |
|
|
| Report Abuse |
|
|
|
| 06 Dec 2011 03:20 PM |
| Ok thanks, that was usefull information I'll use later on :D |
|
|
| Report Abuse |
|
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 06 Dec 2011 03:24 PM |
Not a problem. :D
Oh by the way, The 'SwordQuest' thing you're working looks AWESOME! Can't wait for it to come out, I even joined the group. :D
~How munched it that birdy in the window? ~ |
|
|
| Report Abuse |
|
|
|
| 06 Dec 2011 03:36 PM |
Thanks for helping me Prince, not sure if the ascript works though. But, sorry I couldn't help you out, I mean, I'm not a scripter, it looked proper though.
*currently learning scripting* |
|
|
| Report Abuse |
|
|