SunAI - Roblox AI Chatbot [UNIVERSAL]
Description
🤖 SunAI — Roblox AI Chatbot
SunAI is a smart Roblox AI chatbot that generates short, natural conversations in-game using the OpenRouter API. It listens to chat messages, understands nearby players, and responds dynamically while triggering character emotes for immersive interactions.
✨ Features
🤖 AI Chat Responses
SunAI listens to player chat and generates quick, natural responses using AI models.
📡 Proximity Awareness
The bot detects nearby players and only responds when players are within a configurable radius.
🧠 Context-Aware Conversations
Nearby players and distances are included in the AI prompt so responses feel more natural.
💃 AI Emote System
The AI can trigger animations like:
[WAVE] [DANCE] [DANCE2] [DANCE3] [LAUGH] [POINT] [CHEER]
When these appear in a reply, the script automatically plays the animation on your character.
💬 Conversation Memory
SunAI stores recent messages so the AI remembers context and maintains a flowing conversation.
🚫 Roblox Chat Filter Awareness
If Roblox filters a message (####), the AI is informed and will adjust wording in future responses.
🔒 Private AI Chat Mode
Talk to the AI privately through the UI without sending messages to the public game chat.
🎭 Fully Customizable Personality
Edit the system prompt to control how the AI behaves, talks, and reacts.
🖥 Built-In Control Panel
Powered by Rayfield UI with settings for:
Enable / Disable bot
Response cooldown
Detection radius
Temperature
Max tokens
Memory clearing
🔁 API Error Handling
Automatic retry logic for rate limits, downtime, or model overload.
⚙️ Requirements
🔑 OpenRouter API Key
🌐 Roblox executor with HTTP requests enabled
🚀 Setup 1️⃣ Get an API Key
Create an account at https://openrouter.ai and generate an API key.
2️⃣ Run the Script
Execute the script in Roblox with your preferred executor.
3️⃣ Configure the Bot
Open the Personality tab and paste your API key.
4️⃣ Start Chatting
Enable the bot in the Controls tab and interact with players.
🧩 Example Interaction
Player:
hey sun whats up
SunAI:
Just vibin in the server 😎 [WAVE]
🛠 Customization
You can easily modify:
AI personality
response length
temperature (creativity)
chat radius
cooldown time
All directly from the built-in UI.
If you have any questions or concerns, I am unable to help you as I do not have a Discord server or anything.
Comments
No comments yet
Be the first to share your thoughts!