Basically, I’m trying to string a whole script inside another script and check if it contains stuff by using the string.find, but after trying to get the script code, I get an error: lacking permission. Why would it lack permission when they are both server scripts? How can I turn the script into a string in any way? Or is it possible?
my current code
local scriptCopy = script2:Clone()
local source = scriptCopy.Source
if string.find(source, "33") then
print("The script contains '33'!")
end
scriptCopy:Destroy()```