ServerScript doesn't see ModuleScripts

The first one:

  14:58:08.398   ▼  {
                    ["BuyArm"] = "function",
                    ["BuyEffect"] = "function",
                    ["EquipArm"] = "function",
                    ["EquipEffect"] = "function",
                    ["RemoveArm"] = "function",
                    ["RemoveEffect"] = "function"
                 }  -  Server - BodyCustomization:99

And the second one:

  15:00:50.169   ▼  {
                    ["BuyArm"] = "function",
                    ["BuyEffect"] = "function",
                    ["EquipArm"] = "function",
                    ["EquipEffect"] = "function",
                    ["RemoveArm"] = "function",
                    ["RemoveEffect"] = "function"
                 }  -  Server - BodyCustomization:102

It basically says the exact same thing

Does line 83 still error though?

It doesn’t but now there’s just no functionality

It just doesn’t give any error anymore. It just doesn’t work. It doesn’t take my fallpoints, and it doesn’t buy the arm

But now there’s no error anymore

I just realized, this is basically the same as doing this.

ModuleScript(plr,...,Settings)

Are you sure you are not supposed to be calling a function or something?

Modules[Module].activate(plr,...,Settings)

I don’t know but I don’t think so. I didn’t make that line of code, it was the scripter I hired. Anyways, I could try that:

No, I don’t think activate is an actual function of the module script, why dont you check what’s inside each of the module scripts? And can you also tell me if there are any similarities between them?

Nope. It says:
15:09:23.983 ServerScriptService.BodyCustomization:104: attempt to index function with 'activate'

Oohh. Okay. That explains the error

Oh, I guess you actually need to do

this then. Because the modules actually return a function, I thought they returned a table of functions.

1 Like

They’re all very similar. They’re just Buying, Equipping and Removing. For arms and effects

Sorry, but I guess you’re own your own now as I don’t really know how to help you anymore.

Alright. Thank you very much for your patience and help

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.