Open Infraction7 opened 9 months ago
me when vm antitamper
To be specific, the AntiTamper step (this has nothing to do with the VM) relies on debug.getinfo
, which doesn't exist in the LuaU library. LuaU does have debug.info
, which works slightly differently. I might make a PR soon to support this difference
Turns out fixing this is harder than I thought, since AntiTamper will avoid hard erroring if debug.sethook doesn't exist, but requires it to exist so that we don't become invalid anwyays. We should probably either just not try specific anti tamper logic if missing the functions it depends on or check beforehand and give a clear error message if missing stuff to avoid future issues like these
no because that opens a loophole to bypass it
Adding the --LuaU command line option should in theory disable the parts of anti-tamper, that are not compatible with Roblox LuaU.
So the bug is pretty weird so when trying to run obfuscated with strong preset script in roblox env it fails with error:
attempt to call a nil value
Steps to reproduce:
Screenshot: [Host]
Source script that is being obfuscated: (don't mind im obfuscating random things that shouldn't be obfuscated im just playing around)