|
| 03 Dec 2014 05:56 PM |
while true do wait(30) -- waits 30 seconds to boost stats game.Lighting.Elf.Config.Damage.Value = game.Lighting.Elf.Config.Damage.Value + 15 wait(.1) end
Why wont this work? Whenever the script on my Wave Spawner gets to the line that looks like "game.Lighting.Elf.Config.Damage.Value = game.Lighting.Elf.Config.Damage.Value + 15" it freezes the script?
I also tried just "game.Lighting.Elf.Config.Damage.Value = 15" but neither work.
Any help on this available? I need it! Thanks in advance! |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 05:57 PM |
Help Need this for my game! |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 03 Dec 2014 05:58 PM |
| Attempt to index a nil value? |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 05:58 PM |
don't use Lighting ever
but that's irrelevant |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 06:00 PM |
What is the error?
Also, to say what's on everyone's mind, why are you using Lighting? That is for lighting. There's this whole object called ServerStorage dedicated to this use. Please use it.
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 06:06 PM |
My elfs auto-die on spawn when I use serverstorage so
I don't need the help anymore, i figured it out!
Thanks for advice and stuff |
|
|
| Report Abuse |
|
|