Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to detect a change?

Asked by 4 years ago

This is following my previous question. I need to create a function that fires when a script is edited or changed, and then get the date of when it was fired. I currently have

 child.Changed:connect(function(property) --line 19
            if property == "Source" then
                changedate = tostring(table.month .."/".. table.day .."/".. table.year)
            end

But I get the error of PluginTest.lua:19: attempt to concatenate a userdata value

0
What do you mean when a script is changed? What are you trying to do exactly? royaltoe 5144 — 4y
0
Im trying to detect when the source (Or code) inside the script is changed / edited Skippy_Development 59 — 4y

Answer this question