How can I change a table with a module script?

In my game I have client hitboxes and it sends a table of everything detected by that hitbox to the server. I then call a module script and pass the table to that module script to do sanity checks for the anti cheat. I want to make it so I can remove certain values from the table if they dont pass the sanity checks however if I remove something from the table in the module script it wont transfer over to the table in the server script. How can I make it so I can modify the table being passed through?

You could transfer it over to the server script if you change the table inside of the module script and then just return the new, edited table.

1 Like

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