ModuleScript Debugging Pt2: Module Script not recognising tables?

Does anyone know why ModuleScript tables (of any sort) are not working for me?

Something a simple as:


Will just print “nil”.

Likewise when I do this:


I get the nil then the attempt to index nil

Every table in the modulescript ends up returning nil for reasons unknown… I’ve confirmed that the module does load correctly, and in full, so long as you don’t attempt to index nil or actually do anything with all the nil.

Even a basic string won’t work:
Capture d’écran 2025-07-24 à 09.51.08
This gives me “nil”.

It’s probably fairly basic, but what am I doing wrong? How could I fix it?

(In case you’re wondering what part 2 means, for Part 1 see here. It’s not very interesting.)

Update: I haven’t changed anything noticeable but the prints have now decided to work. Will report back if solved.

What is a BankSystem?
How do you initiate it?

Also for future please build that inside {} brackets dirrectly to avoid overhead and so it will allocate just enough space.

Youre probally initializing this script wrong.
Can you send me fully your module script?

1 Like