How do you detect if a module script's module is changed?

Hey Everyone!

I was working on a game, I figured out a way to use a Module Script for storing tables for central data. Now I’m wondering how to detect if the module script’s data table is changed. Is there any way to do this, and can it be possible to use this function:

GetPropertyChangedSignal

Thanks,
Astraltempus

3 Likes

Do you mean .Changed thing at tables?
You should learn Metatables | Roblox Creator Documentation .
It’s has a powerful method named __newindex for detect a table variable is changed.

8 Likes

I see, let me try to see if it works. I will come back and mark you if it works, thanks.

1 Like