How to set a value in table with a function

OP do you mean like the issue is firing a remote event from a module or what cuz its confusing