ModuleScript returns nil instead table and function

  1. What I want to achieve?
  1. Issue
  1. What I tried so far?
  • Checked if I got required(~ModuleScript’s Place~) - There is!
  • Checked if any missed sample in ModuleScript - All - function, tables and brackets - seems fine, no saying “error” anywhere.
  1. Other script has connection to ModuleScript

Sincerely,
NoxSorce.

1 Like

Your tables in the ModuleScript aren’t created correctly. It should be structured like this:

local table = {
   -- content
}

Not like:

local table {
    -- this would be trying to call a function
}

The error isn’t saying that the module is nil, it’s saying that the function it’s trying to call is nil

1 Like

Thanks man, I’m angry at myself right now but relieved at same time.
How could I haven’t seen this simple “=” problem.

Thanks again! :slight_smile: