evasivedocs
Roblox scriptingLuau 0.748 · 24 guides · 385 API entries
Advanced

What isn't available

evasive reads Roblox from outside the game process and never runs code inside it. That is a deliberate choice, and it rules out a few things for good. This page lists them with the reason, so you know not to look for a workaround that cannot exist.

Most of these names still exist, so scripts written for other tools load and fail in a clear way. Calling one raises an error that says why, or returns an empty answer. A member that does not exist at all raises "X is not a valid member of ...".

Creating and changing game objects

What What happens Why
Instance.new(class) raises an error A new object would have to be created by the game's own code. evasive can only read and change objects that already exist.
obj:Destroy(), obj:Clone() raise "not a valid member" Same reason: these change the game's object tree, which only code inside the game can do safely.
Setting Parent raises "Property is read only" Same.
Most property writes raise "Property is read only" Only a short list of properties can be written from outside without breaking the game. Permissions lists them.

Talking to the server

What What happens Why
RemoteEvent:FireServer(...) raises an error Sending a message to the server means calling the game's network code from inside the game.
RemoteFunction:InvokeServer(...), InvokeFunction(...) raise an error Same reason.
firetouchinterest(a, b, state) raises an error Touch events are run by the game's physics code inside the game.
fireclickdetector(detector) raises an error Same: it would have to call into the game.
fireproximityprompt(prompt) raises an error Same.
cancallserver() returns false There is no mode that runs code inside the game.

These functions still check their arguments first, so a typo shows up as a normal argument error.

Reading script code

What What happens Why
decompile(script) prints the reason and returns "" The game keeps script bytecode in a protected, compressed form, and this build cannot unpack it.
getscriptbytecode(script) raises an error Same.
getscripthash(script) raises an error The hash is taken over the bytecode, which cannot be read.

getscripts() still works. It lists the script objects, and you can read their names and where they sit in the game.

Other things

What What happens Why
setfastflag / getfastflag do nothing / return 0 evasive does not change fast flags. The two names exist so scripts that call them still load.
Game events not listed in How scripts run, like Touched, Changed, ChildAdded or Died raise "not a valid member" evasive cannot hook the game's events. It polls for the few it offers. Poll for anything else yourself, for example by checking humanoid.Health in a loop.
Methods of services not covered here, like Create on TweenService raise "not a valid member" Those run inside the game. The services themselves can still be found and read.
require(moduleScript) raises an error require loads files from your scripts folder. A ModuleScript's code inside the game cannot be read or run.
Raycasts against Terrain the ray passes through evasive casts against its own copy of the map's parts, and Terrain is not part of that copy.

When you hit one of these

The error message tells you which function and why. If you are porting a script from somewhere else, look for another way to get the same result:

  • Instead of creating a part to mark a spot, draw on screen with the Drawing library.
  • Instead of a Touched event, check distances or cast a ray each frame.
  • Instead of a GUI made with Instance.new, add a menu tab with the UI library.