
- Keyless
- Mobile untested

Advertisement
Advertisement
Real AI Agent Ultimate — In-Game AI Assistant with Tool Calling for Roblox
A full-featured, open-source AI assistant that lives inside your Roblox executor. Powered by DeepSeek or OpenAI, it doesn't just chat — it executes actions in-game via function calling (tools): moves your character, flies, noclips, copies builds, sends keyboard/mouse input, and runs custom Luau code on demand.
No external servers, no proxies — direct API calls from the client with your own key.
Real AI Agent Ultimate is a chat-driven automation layer for Roblox. You type or dictate what you want — the AI decides which tool to call and executes it. Under the hood it's a proper agentic loop: the model receives a list of tools, picks one, returns a tool_call, the script runs it in-game, feeds the result back, and iterates until it can answer.
This isn't a wrapper around a chat endpoint. It's a tool-calling agent runtime built on top of the OpenAI-compatible API.
AI Providers
DeepSeek (deepseek-chat + deepseek-reasoner for reasoning mode)
OpenAI (gpt-4o-mini)
Auto-fallback, per-provider API keys, persistent storage via writefile (falls back to in-memory if no fs)
Reasoning mode — uses the reasoner model, strips <thinking> tags from final output
Player Control Tools
The AI can directly control your character through tool calls:
set_walkspeed — change movement speed
set_jumppower — change jump height
set_gravity — modify workspace gravity
teleport — move to XYZ coordinates
toggle_fly — WASD flight with configurable speed
toggle_noclip — walk through anything
toggle_godmode — HP regen lock
toggle_esp — highlight + name/distance/HP billboards
Input Simulation Tools
Full virtual input layer for automating the client:
click_at — LMB/RMB at absolute screen coords
hold_key / press_key — send keypresses via VirtualInputManager or keypress/keyrelease
move_mouse — relative cursor movement
scroll_mouse — wheel scrolling
click_ui_button — find a TextButton/ImageButton by name in PlayerGui/CoreGui and click its center
Build Copy Tools (BABFT)
copy_build — snapshot another player's base block-by-block
paste_build — reconstruct the copied base on your own plot with correct relative CFrames
Code Execution
execute_luau — the AI can write and run arbitrary Luau in your environment (loadstring + pcall), with markdown-fence stripping
UI / UX
Custom RayField-free native GUI (ScreenGui) — dark theme, sidebar with chat list, draggable, resizable-friendly
Multi-chat — create, switch, and delete conversations; persisted to file per provider
Markdown rendering — code blocks are extracted into syntax-styled TextBox frames with a Copy button; text is wrapped in chat bubbles (left = AI, right = user)
Mode toggles — 🌐 Search, 🧠 Reason, 🖼️ Vision (per-message toggles in the bottom bar)
⚡ Features panel — all player controls, fly speed, ESP, BABFT copy/paste as clickable buttons
⚙ Settings panel — provider switcher, API key input, custom rules (injected into system prompt), save/delete
Vision support — pass an image URL with your message (OpenAI provider only)
Clipboard copy — setclipboard / toclipboard support on every code block
System Prompt
Configurable, in Russian, with a clear rule set:
Be brief, use Russian, never write code in chat when a tool exists, obey custom user rules, use <thinking> when Reasoning is on.
You can override it entirely from the Settings → Правила для ИИ field.
Agent loop
text
user message → append to messages
→ call_model(messages, tools_payload)
→ if response.tool_calls: for each call:
run_tool(name, arguments_json)
append { role="tool", tool_call_id, content=result }
loop again
→ else: strip <thinking>, print, done
(max 15 iterations)Tool schema
Every tool is registered via addTool(name, desc, properties, required, handler) and serialized into OpenAI's tools array format (type: "function", function: { name, description, parameters }). Note the ["function"] bracket-access on tool_calls and tools entries — because function is a reserved word in Luau.
Input abstraction
Falls back gracefully across executors:
VirtualInputManager:SendKeyEvent → keypress/keyrelease → keyclick
mousemoveabs / mousemoverel / mouse1click / mouse2click / mousescroll
iswindowactive() guard so actions don't fire when Roblox is unfocused
Persistence
Keys: real_ai_<provider>.key (or genv.RealAI_KeyStore)
Chats: real_ai_chats.json
Uses syn.request / http.request / request for HTTP, whichever the executor exposes
lua
loadstring(game:HttpGet("YOUR_RAW_URL_HERE"))()Then:
Open ⚙ Settings → pick provider → paste API key → Save
(Optional) write custom rules in the same panel
Type in the input box — or use ⚡ Features for direct buttons
Examples:
"взлети и поставь скорость 100" → toggle_fly + set_walkspeed
"телепортируй меня на 0, 50, 0" → teleport
"скопируй базу у Steve и поставь на мою" → copy_build + paste_build
"включи ESP и покажи дистанцию" → toggle_esp
"напиши скрипт, который крутит камеру и запусти его" → execute_luau
Requires request — syn.request, http.request, or request must exist (asserted at top)
Roblox must be focused for input tools to work (iswindowactive guard)
Kill ESP heuristic uses name matching only
BABFT tools only work in Build A Boat For Treasure (workspace.Blocks must exist)
Vision mode currently only routes through OpenAI — DeepSeek does not support image inputs in this config
No streaming — responses arrive whole
Token usage — the agent loop can burn through tokens fast with many tool calls (15-iteration cap protects you)
API keys are stored in plaintext on disk if writefile is available — treat them as you would any local config
The execute_luau tool gives the AI arbitrary code execution in your client. It is powerful and dangerous:
The AI can only run what the model produces — but it can produce anything
Keep custom rules tight if you're worried ("never run execute_luau unless I say 'run'")
Don't paste untrusted images/URLs in Vision mode
Every tool is opt-in via the model's own decision — you see results in chat
This script is not for use on accounts you care about. Same as any executor — assume the risk.
Add a new tool in 6 lines:
lua
addTool("my_tool", "What it does.",
{ arg1 = { type = "string" } }, { "arg1" },
function(a)
-- do stuff
return "result string"
end)The tool is auto-registered in the payload on the next call. The AI picks it up immediately — no restart required.
Fully open source. Fork it, strip the system prompt, swap providers, add tools — whatever you need.
Made for executors with request support. Tested on Real / Synapse-class environments.
4.7out of 5 stars
1.9K reviews
100K+
Downloads
Tap a chip for community notes
Share what works, ask questions, or report an issue.
No comments yet. Be the first to share your experience with this script.
10 lines · 452 B
Advertisement