Can I call a module script from another module script?

I made this currency handler for my game. I made it a module script as it also has a data-store that saves the currency, I’m trying to add a job Value to this data-store from another module that has all the job data, Can I do this and if I can how can i go about doing this?
Also if I don’t make any logical sense its 5 am here I have no sleep so sorry for any mistakes!

Yes you can call modules from other modules. Be aware that the error stack trace can become rather confusing though.


Ok thanks! How can I call it tho is it as simple as Module.Value?

You just use require in the module.

--// Module 1


return ... --// data you want to return when Module1 is required. 

Ok thank you needed the help! :smiley: