Page 2 of 2
Re: lightning.lua: Thunder effect - by Elf
Posted: Mon May 17, 2021 12:38 pm
by Chilly14
Umm... you don't have a Luna.lua file. That's why.
Re: lightning.lua: Thunder effect - by Elf
Posted: Mon May 17, 2021 1:50 pm
by newgamer762
Chilly14 wrote: ↑Mon May 17, 2021 12:38 pm
Umm... you don't have a Luna.lua file. That's why.
So um... what should I do?
Re: lightning.lua: Thunder effect - by Elf
Posted: Mon May 17, 2021 2:48 pm
by Chilly14
newgamer762 wrote: ↑Mon May 17, 2021 1:50 pm
Chilly14 wrote: ↑Mon May 17, 2021 12:38 pm
Umm... you don't have a Luna.lua file. That's why.
So um... what should I do?
Paste the contents of your .lua file into that file.
Re: lightning.lua: Thunder effect - by Elf
Posted: Tue May 18, 2021 11:41 am
by newgamer762
Chilly14 wrote: ↑Mon May 17, 2021 2:48 pm
newgamer762 wrote: ↑Mon May 17, 2021 1:50 pm
Chilly14 wrote: ↑Mon May 17, 2021 12:38 pm
Umm... you don't have a Luna.lua file. That's why.
So um... what should I do?
Paste the contents of your .lua file into that file.

I paste everything in the"lightning" file to the new file but...

an error appeared....
Re: lightning.lua: Thunder effect - by Elf
Posted: Tue May 18, 2021 3:47 pm
by ShadowXeldron
newgamer762 wrote: ↑Tue May 18, 2021 11:41 am
Chilly14 wrote: ↑Mon May 17, 2021 2:48 pm
newgamer762 wrote: ↑Mon May 17, 2021 1:50 pm
So um... what should I do?
Paste the contents of your .lua file into that file.

I paste everything in the"lightning" file to the new file but...

an error appeared....
The contents of lightning.lua do NOT go in the luna.lua. Remove every line from luna.lua (but leave lightning.lua alone) and only include "local lightning = require(lightning)"
If it doesn't work, redownload the original lightning.lua and replace the one that you have.
Re: lightning.lua: Thunder effect - by Elf
Posted: Wed May 19, 2021 10:56 am
by newgamer762
Dragon0307 wrote: ↑Tue May 18, 2021 3:47 pm
newgamer762 wrote: ↑Tue May 18, 2021 11:41 am
Chilly14 wrote: ↑Mon May 17, 2021 2:48 pm
Paste the contents of your .lua file into that file.

I paste everything in the"lightning" file to the new file but...

an error appeared....
The contents of lightning.lua do NOT go in the luna.lua. Remove every line from luna.lua (but leave lightning.lua alone) and only include "local lightning = require(lightning)"
If it doesn't work, redownload the original lightning.lua and replace the one that you have.
t's still not working....

This is the beginning of the two files.
Re: lightning.lua: Thunder effect - by Elf
Posted: Wed May 19, 2021 11:12 am
by ShadowXeldron
I made a spelling error, replace local lightning = require(lightning) with local lightning = require("lightning"). Keep the speech marks.
Re: lightning.lua: Thunder effect - by Elf
Posted: Thu May 20, 2021 11:35 am
by newgamer762
Dragon0307 wrote: ↑Wed May 19, 2021 11:12 am
I made a spelling error, replace local lightning = require(lightning) with local lightning = require("lightning"). Keep the speech marks.

An error appeared.....
Re: lightning.lua: Thunder effect - by Elf
Posted: Thu May 20, 2021 11:47 am
by ShadowXeldron
Delete the "local lightning = require("lightning")" from the lightning.lua file. It should only be in your luna.lua file.
Re: lightning.lua: Thunder effect - by Elf
Posted: Fri May 21, 2021 11:19 am
by newgamer762
Dragon0307 wrote: ↑Thu May 20, 2021 11:47 am
Delete the "local lightning = require("lightning")" from the lightning.lua file. It should only be in your luna.lua file.
New error

Re: lightning.lua: Thunder effect - by Elf
Posted: Fri May 21, 2021 11:43 am
by ShadowXeldron
Redownload the lightning.lua script and delete the one you have. Do not delete the luna.lua.
Re: lightning.lua: Thunder effect - by Elf
Posted: Fri May 21, 2021 11:44 am
by Chilly14
newgamer762 wrote: ↑Fri May 21, 2021 11:19 am
Dragon0307 wrote: ↑Thu May 20, 2021 11:47 am
Delete the "local lightning = require("lightning")" from the lightning.lua file. It should only be in your luna.lua file.
New error
Okay, try redownloading the .zip file. You then must put "local lightning = require("lightning")" in your luna.lua file. And do NOT add the contents of lightning.lua to luna.lua.
Re: lightning.lua: Thunder effect - by Elf
Posted: Sat May 22, 2021 5:54 am
by newgamer762
Chilly14 wrote: ↑Fri May 21, 2021 11:44 am
newgamer762 wrote: ↑Fri May 21, 2021 11:19 am
Dragon0307 wrote: ↑Thu May 20, 2021 11:47 am
Delete the "local lightning = require("lightning")" from the lightning.lua file. It should only be in your luna.lua file.
New error
Okay, try redownloading the .zip file. You then must put "local lightning = require("lightning")" in your luna.lua file. And do NOT add the contents of lightning.lua to luna.lua.
OK,now it's working, thanks for your patience.
