Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » Mon May 17, 2021 12:38 pm
Umm... you don't have a Luna.lua file. That's why.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » 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?
|
|
|
|
|
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » 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.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » 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
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....
|
|
|
|
|
|
|
|
|
-
ShadowXeldron
- Snifit

- Posts: 232
- Joined: Sun Dec 08, 2019 8:21 am
- Flair: phpBB > ProBoards
- Pronouns: He/Him
-
Contact:
Postby ShadowXeldron » 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
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.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » Wed May 19, 2021 10:56 am
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.
|
|
|
|
|
|
|
|
|
-
ShadowXeldron
- Snifit

- Posts: 232
- Joined: Sun Dec 08, 2019 8:21 am
- Flair: phpBB > ProBoards
- Pronouns: He/Him
-
Contact:
Postby ShadowXeldron » 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.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » Thu May 20, 2021 11:35 am
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.....
|
|
|
|
|
|
|
|
|
-
ShadowXeldron
- Snifit

- Posts: 232
- Joined: Sun Dec 08, 2019 8:21 am
- Flair: phpBB > ProBoards
- Pronouns: He/Him
-
Contact:
Postby ShadowXeldron » 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.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » 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 
|
|
|
|
|
|
|
|
|
-
ShadowXeldron
- Snifit

- Posts: 232
- Joined: Sun Dec 08, 2019 8:21 am
- Flair: phpBB > ProBoards
- Pronouns: He/Him
-
Contact:
Postby ShadowXeldron » Fri May 21, 2021 11:43 am
Redownload the lightning.lua script and delete the one you have. Do not delete the luna.lua.
|
|
|
|
|
|
|
|
|
-
Chilly14
- Snifit

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
Postby Chilly14 » 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.
|
|
|
|
|
|
|
|
|
-
newgamer762
- Swooper

- Posts: 54
- Joined: Fri Apr 02, 2021 1:08 pm
- Pronouns: he
Postby newgamer762 » Sat May 22, 2021 5:54 am
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. 
|
|
|
|
|
Return to “LunaLua”
Users browsing this forum: No registered users and 4 guests
|