SCRIPT FEATURES & REQUIREMENTS

Real ai(Open Source)

Game unspecifiedListing updated Nov 22, 2026
SOURCE TEXT

Script source file

Open the script file to view its code, then compare the features and requirements below.

https://rscripts.net/raw/real-aiopen-source_1795356864674_y4k15j7ibS.txt

Open source file ↗

Creator description

Real AI Agent Ultimate — In-Game AI Assistant with Tool Calling for RobloxA 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.🎯 What it isReal 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.✨ FeaturesAI ProvidersDeepSeek (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 outputPlayer Control ToolsThe AI can directly control your character through tool calls:set_walkspeed — change movement speedset_jumppower — change jump heightset_gravity — modify workspace gravityteleport — move to XYZ coordinatestoggle_fly — WASD flight with configurable speedtoggle_noclip — walk through anythingtoggle_godmode — HP regen locktoggle_esp — highlight + name/distance/HP billboardsInput Simulation ToolsFull virtual input layer for automating the client:click_at — LMB/RMB at absolute screen coordshold_key / press_key — send keypresses via VirtualInputManager or keypress/keyreleasemove_mouse — relative cursor movementscroll_mouse — wheel scrollingclick_ui_button — find a TextButton/ImageButton by name in PlayerGui/CoreGui and click its centerBuild Copy Tools (BABFT)copy_build — snapshot another player's base block-by-blockpaste_build — reconstruct the copied base on your own plot with correct relative CFramesCode Executionexecute_luau — the AI can write and run arbitrary Luau in your environment (loadstring + pcall), with markdown-fence strippingUI / UXCustom RayField-free native GUI (ScreenGui) — dark theme, sidebar with chat list, draggable, resizable-friendlyMulti-chat — create, switch, and delete conversations; persisted to file per providerMarkdown 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/deleteVision support — pass an image URL with your message (OpenAI provider only)Clipboard copy — setclipboard / toclipboard support on every code blockSystem PromptConfigurable, 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.🛠 How it works (technical)Agent looptextuser 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 schemaEvery 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 abstractionFalls back gracefully across executors:VirtualInputManager:SendKeyEvent → keypress/keyrelease → keyclickmousemoveabs / mousemoverel / mouse1click / mouse2click / mousescrolliswindowactive() guard so actions don't fire when Roblox is unfocusedPersistenceKeys: real_ai_<provider>.key (or genv.RealAI_KeyStore)Chats: real_ai_chats.jsonUses syn.request / http.request / request for HTTP, whichever the executor exposes📖 Usagelualoadstring(game:HttpGet("YOUR_RAW_URL_HERE"))()Then:Open ⚙ Settings → pick provider → paste API key → Save(Optional) write custom rules in the same panelType in the input box — or use ⚡ Features for direct buttonsExamples:"взлети и поставь скорость 100" → toggle_fly + set_walkspeed"телепортируй меня на 0, 50, 0" → teleport"скопируй базу у Steve и поставь на мою" → copy_build + paste_build"включи ESP и покажи дистанцию" → toggle_esp"напиши скрипт, который крутит камеру и запусти его" → execute_luau⚠️ Limitations & notesRequires 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 onlyBABFT 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 configNo streaming — responses arrive wholeToken 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🔒 SafetyThe 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 anythingKeep custom rules tight if you're worried ("never run execute_luau unless I say 'run'")Don't paste untrusted images/URLs in Vision modeEvery tool is opt-in via the model's own decision — you see results in chatThis script is not for use on accounts you care about. Same as any executor — assume the risk.🧩 Extending itAdd a new tool in 6 lines:luaaddTool("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.