Roblox script injectors operate by inserting a file into the game's memory. This allows the user to run arbitrary client-side scripts that can manipulate game mechanics that the platform normally restricts.

"Το Roblox Injector": Understanding Script Exploits and Safety

Some tools manipulate the Lua virtual machine to execute code by exploiting runtime vulnerabilities.