Roblox
Roblox scripting
Luau scripts for the Roblox overlay: draw over the game, read players and parts, add menu tabs and react to keys.
Luau0.748
ScriptsDocuments\evasive roblox\scripts
Start here
Getting startedWhere scripts live, the Scripts tab and its three pages, the editor, running and stopping scripts, autoexec.Your first scriptA walk-through from a single print to a live health readout on screen.How scripts runThe tick rate, waiting, threads, RunService events, errors, the time budget, and when scripts stop.PermissionsThe "Allow unsafe Luau" switch and the limits that are always on.
Tutorials
Drawing on screenThe Drawing library, step by step up to a box ESP with names and health bars.Reading the gameServices, players, characters, parts, searching the map, attributes and events.RaycastingRays, filters, a visibility check and what a ray can hit.Making your own menu tabThe UI library, sections, every widget, keybinds and saved values.Built-in tabs and sub-tabsPut your widgets into evasive's own tabs, add pages to Visuals and Misc, and give your own tabs a sub-tab bar.HUD panelsSmall on-screen panels in the style of the keybind list and the watermark, which the user can drag and which keep their place.Input and keybindsReading keys and the mouse, key events, rebindable keys, and sending input to Roblox.Files and HTTPThe workspace folder, saving settings as JSON, logging, and web requests.Using an AI assistantTurning on the local MCP server and letting a coding assistant write and test scripts.
Examples
Box ESP with teams and distanceBoxes, names and distance, coloured by team.Tracers with a visibility checkLines to every player, green when a ray reaches them.Name tags with a settings tabText over heads, set up from a menu tab with a keybind.Player list overlayA panel listing everyone, closest first, with team, health and distance.Crosshair and FOV circleA centred crosshair and a circle that follows the cursor.Join and leave alertsNotifications and a log file when players come and go.Aim target readoutA line and label to the aim assist's current target.Saved waypointsDrop markers with a key and keep them per place in a JSON file.
Advanced
Memory and the Lua heapGetbase, memory_read, memory_write, getgc, setgc and applygc, with the 2^53 limit and the safety rules.What works differently hereEngine and game behaviour that differs from Roblox's own Luau.What isn't availableThe functions that cannot work from outside the game, and why.
API reference
Globals and librariesThe functions every script has, the console, waiting and threads, and the Lua base library.InputKeyboard and mouse state, and input sent to Roblox.Files and HTTPThe workspace folder and web requests.Memory and the Lua heapReading and writing the client's memory and its Luau tables.Instances and partsEvery Roblox object, parts, models and value objects.The game and its servicesgame, Workspace, players, characters, the camera and the services scripts use.GUI objectsOn-screen GUI elements of the game.SignalsEvents and their connections.RaycastingRays, their options and their results.Data typesVectors, CFrames, colours, GUI sizes and enums.Drawing2D drawings over the Roblox window, and every drawing kind.Menu tabs (UI)Tabs of your own, sections in the built-in tabs, sub-tabs, widgets and HUD panels.