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

2 comments
What do you mean when a script is changed? What are you trying to do exactly?
Im trying to detect when the source (Or code) inside the script is changed / edited