Why won't my script detect this ModuleScript function?
I'm making something quite confusing: a client script that calls a RemoteEvent that in turn calls a ModuleScript function. The client script and the RemoteEvent work fine, but once I introduce the line calling the ModuleScript function, it all breaks.
This is essentially what the ModuleScript is (some irrelevant parts have been omitted):
03 | function Convert.CellToPosition(player,cell) |
07 | function Convert.PositionToCell(player,position) |
This is how I call it from another script:
2 | Convert.CellToPosition(player,cell) |
This is the error that I get:
CellToPosition is not a valid member of ModuleScript
Any attempts of debugging the script have failed. Whenever I try to print something anywhere in the script, it doesn't appear.