This is literally all of it, lol
LightingService = require(11524158202)
The only other thing inside is just the comments showing the functions
This is literally all of it, lol
LightingService = require(11524158202)
The only other thing inside is just the comments showing the functions
I think you requiring wrong id. I just checked that id what you gave in topic and it says TweenServiceModule. When i opened your profile in creations i saw LightingService and it id is
11516981017
Check it you are requiring wrong id
This Code is directly from LightingService
, LightingServiceModule
is the item i’m trying to require
(Forgot to save the name, LOL)
Well as i see you are requiring wrong id. Here is what you requiring:
And what is LightingService whis is everyone can use(i saw your topic in Model Review and you gived direct link to it there)
Im sure im not
Looking at the URL
https://www.roblox.com/library/11524158202/LightingServiceModule
And Script:
LightingService = require(11524158202)
I am sure
Once again,
LightingServiceModule
is the item i’m trying to require
LightingService
is the script requiring it
Okay seems i found out what was the problem. You sure your module script which is LightingServiceModule named MainModule? Or else this will print out this error. I just did the same thing. Created empty module added print function, required it when it was named ModuleScript and boom i got a error. Then i renamed it to MainModule and it works fine.
Try renaming module to MainModule and then try requiring it
EDIT: Here is a video which shows that
It gives you a completely different error if the Name is different
Im Sure its named that
(I Put inside a Folder):
Oh yeah you are right, i just didn’t realise to read error lol. Literally sorry i have no more idea how to help you. I was only get this error when my module got banned. Maybe because you are trying just to require it without calling any function, Idk
Try saving and requiring it without folder maybe that would help. Like straight upload module
That’s what i did, still same error
Well if you wanna upload with folder, i found some information on this topic
Try using InsertService instead of require
No, I just added the folder so i can find the scripts easily
Okay as i checked topic i posted on previous message it seems like this is roblox glitch, try using insertService even for module that could help you. Also from where you running this require code? Also as one in that topic said try making module on sale, that help sometimes
Im testing on another game, It works, but it doesnt work on the game i want it to work on?
Yeah it seems like this is roblox engine bug if you can use it in different place, try reporting it in devforum bugs, because i can’t help you with that.
@PhantomGame_Youtube I might as well just use the ModuleScript itself, thanks for help tho, if you have a Solution, feel free to say so, ill leave this open
Modules that are on the website need to be on-sale to require. Otherwise, it won’t work.
I feel like an idiot for this, thank you
Edit:
@GibusWielder
Why does it work on Baseplates but not on Published games? it was working then
Probably something related to the experience itself not being published or public. That’s all I can think of.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.