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.
Game Page
Just a baseplate.
- Views
- 47.4K+
- Likes
- 1
- Dislikes
- 3
- Posted
- 5mo ago
- Key System
- No
- Mobile
- Not tested





Comments
Join the discussion about this script.
Aura_Monster
Not working anymore so i had to dislike
EyesHD
The API key is fine, when the API bot wants to talk, it says error 404. Unless you fix this, I will remove my dislike, and like it.