I'd like to know if there's a way to check if my table was changed without using a loop
local run = game:GetService("RunService")
local Storage = {}
-- this is the table that i want to check if changed
local Server = {}
if run:IsServer() then
print("server")
function Add()
return "hi"
end
end
return Storage

1 comment
Metatables my good sir. Though I don't know much about it yet, I saved a thread once. This might help you: https://scriptinghelpers.org/questions/30136/how-would-you-check-if-a-table-was-changed