Game-agnostic Roblox exploit scripting utility library and reference guide.
Battle-tested patterns extracted from real automation projects. Works across executors (MacSploit, Synapse, Fluxus, etc.) and any Roblox game.
| File | Description |
|---|---|
roblox-utils.lua |
All-in-one Lua utility library — drop into any project |
roblox-scripting-guide.md |
Comprehensive reference guide with patterns and pitfalls |
Interaction
clickButton(btn)— 4-method cross-executor GUI clicking (getconnections → firesignal → mousemoveabs → VIM)pressKey(keyCode)/pressE()— VIM key simulationclickWorldPart(part)— aim camera + click a 3D partscrollAt(x, y, direction, scrolls)— VIM mouse wheel
Movement
safeTeleport(hrp, targetCFrame, speed)— stepped walk at walking speed (anti-cheat safe)desyncPause()/desyncResume()/toggleDesync()— server position desync system
Interact Menu (_interactUI)
getInteractButtons()— snapshot all visible menu buttonsmenuHasButton(term)— check if a button existsclickMenuButton(terms)— click first matching buttonwaitForMenuChange(prev, timeout)— verify menu advancedscrollInteractMenu(direction, scrolls)— scroll the menucloseInteractMenu()— dismiss via back button or BackspacefindListFrame(actionName)— find_ListFrame (I_*)selection menusclickListFrameItem(listFrame, itemName)— select an item from a list menu
GUI
createDumpGui(title, content, opts)— full dump window (drag, resize, copy, scroll, close)debugLog(msg)— multi-target logging (executor console + Roblox output + GUI panel)setStatus(feature, text, color)— update feature status labels
Game State
findUIByText(parent, text)— search GUI by text contentwaitForChild(parent, name, timeout)— wait for instance to appearreadBarPercentage(fill)— read stat bar fill percentageisHoldingTool()/discardHeldItem()— held item detectiongetPlayerPlot()/isOnPlot(maxDist)— player plot helpersfindByKeywords(parent, keywords, classFilter)— keyword-based object searchdumpTree(buf, inst, depth, maxDepth)— instance tree dumperisGuiVisible(desc, root)— parent-chain visibility check
Lifecycle
toggleAntiAfk()— VirtualUser anti-AFKstartPopupCloser(parentName, keywords)— auto-close popup framesprotectGui(gui)— executor GUI protectionunloadScript(gui)— clean disconnect + destroy
Concatenation (recommended): prepend roblox-utils.lua before your script. All functions are local but share scope.
Global export: uncomment the _G.RUtils = { ... } block at the bottom to access functions globally.
Using exploit scripts violates Roblox Terms of Service. Use at your own risk.