Run it
Copy the script and paste it into your executor.
Rayfield = (:())()
HttpService = :()
Players = :()
Teams = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
GROQ_URL =
GROQ_API_KEY =
lastQuestion =
isRunning =
autoEnabled =
useSmartAI =
autoEmotionEnabled =
selectedEmotion =
judgmentInput = PlayerGui:(, )
answerInput, submitButton
judgmentInput
mainFrame = judgmentInput:(, )
mainFrame
answerInput = mainFrame:(, )
submitButton = mainFrame:(, )
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = PlayerGui
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Active =
MainFrame.Draggable =
MainFrame.Parent = ScreenGui
.(, MainFrame).CornerRadius = .(, )
Credit = .()
Credit.Size = .(, , , )
Credit.Position = .(, , , )
Credit.BackgroundTransparency =
Credit.Text =
Credit.TextColor3 = .(, , )
Credit.TextSize =
Credit.Font = .Font.Gotham
Credit.TextXAlignment = .TextXAlignment.Center
Credit.Parent = MainFrame
UIStroke = .()
UIStroke.Color = .(, , )
UIStroke.Thickness =
UIStroke.Parent = MainFrame
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
TitleCorner = .()
TitleCorner.CornerRadius = .(, )
TitleCorner.Parent = TitleBar
TitleFix = .()
TitleFix.Size = .(, , , )
TitleFix.Position = .(, , , )
TitleFix.BackgroundColor3 = .(, , )
TitleFix.BorderSizePixel =
TitleFix.Parent = TitleBar
TitleLabel = .()
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Text =
TitleLabel.TextColor3 = .(, , )
TitleLabel.TextSize =
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.Parent = TitleBar
CloseBtn = .()
CloseBtn.Size = .(, , , )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.Text =
CloseBtn.TextColor3 = .(, , )
CloseBtn.TextSize =
CloseBtn.Font = .Font.GothamBold
CloseBtn.BorderSizePixel =
CloseBtn.Parent = TitleBar
.(, CloseBtn).CornerRadius = .(, )
CloseBtn.MouseButton1Click:(()
ScreenGui:()
)
QuestionTitle = .()
QuestionTitle.Size = .(, -, , )
QuestionTitle.Position = .(, , , )
QuestionTitle.BackgroundTransparency =
QuestionTitle.Text =
QuestionTitle.TextColor3 = .(, , )
QuestionTitle.TextSize =
QuestionTitle.Font = .Font.GothamBold
QuestionTitle.TextXAlignment = .TextXAlignment.Left
QuestionTitle.Parent = MainFrame
QuestionBox = .()
QuestionBox.Size = .(, -, , )
QuestionBox.Position = .(, , , )
QuestionBox.BackgroundColor3 = .(, , )
QuestionBox.TextColor3 = .(, , )
QuestionBox.TextSize =
QuestionBox.Font = .Font.Gotham
QuestionBox.Text =
QuestionBox.TextWrapped =
QuestionBox.TextXAlignment = .TextXAlignment.Left
QuestionBox.BorderSizePixel =
QuestionBox.Parent = MainFrame
.(, QuestionBox).CornerRadius = .(, )
QPadding = .()
QPadding.PaddingLeft = .(, )
QPadding.PaddingRight = .(, )
QPadding.PaddingTop = .(, )
QPadding.Parent = QuestionBox
AnswerTitle = .()
AnswerTitle.Size = .(, -, , )
AnswerTitle.Position = .(, , , )
AnswerTitle.BackgroundTransparency =
AnswerTitle.Text =
AnswerTitle.TextColor3 = .(, , )
AnswerTitle.TextSize =
AnswerTitle.Font = .Font.GothamBold
AnswerTitle.TextXAlignment = .TextXAlignment.Left
AnswerTitle.Parent = MainFrame
AnswerBox = .()
AnswerBox.Size = .(, -, , )
AnswerBox.Position = .(, , , )
AnswerBox.BackgroundColor3 = .(, , )
AnswerBox.TextColor3 = .(, , )
AnswerBox.TextSize =
AnswerBox.Font = .Font.Gotham
AnswerBox.Text =
AnswerBox.TextWrapped =
AnswerBox.TextXAlignment = .TextXAlignment.Left
AnswerBox.BorderSizePixel =
AnswerBox.Parent = MainFrame
.(, AnswerBox).CornerRadius = .(, )
APadding = .()
APadding.PaddingLeft = .(, )
APadding.PaddingRight = .(, )
APadding.PaddingTop = .(, )
APadding.Parent = AnswerBox
StatusLabel = .()
StatusLabel.Size = .(, -, , )
StatusLabel.Position = .(, , , )
StatusLabel.BackgroundTransparency =
StatusLabel.Text =
StatusLabel.TextColor3 = .(, , )
StatusLabel.TextSize =
StatusLabel.Font = .Font.Gotham
StatusLabel.TextXAlignment = .TextXAlignment.Left
StatusLabel.Parent = MainFrame
(msg, color)
StatusLabel.Text = .. msg
StatusLabel.TextColor3 = color .(, , )
(text)
text
text = text:() text
text = text:(, ):(, )
text = text:(, ):(, )
text = text:(, )
text = text:(, )
(text:())
()
LocalPlayer.Team LocalPlayer.Team.Name ~=
char = LocalPlayer.Character
char
hrp = char:()
hrp
pos = hrp.Position
targetA = .(, , )
targetB
.PlaceId ==
targetB = .(, , )
targetB = .(, , )
(pos - targetA).Magnitude <= (pos - targetB).Magnitude <=
()
.request .request
.request .request
fluxus fluxus.request fluxus.request
(systemPrompt, question)
GROQ_API_KEY == GROQ_API_KEY ==
(, .(, , ))
requestFunc = ()
requestFunc
()
(, .(, , ))
modelToUse = useSmartAI
payload = HttpService:({
model = modelToUse,
max_tokens = ,
temperature = ,
top_p = ,
messages = {
{ role = , content = systemPrompt },
{ role = , content = question }
}
})
success, response = (()
({
Url = GROQ_URL,
Method = ,
Headers = {
[] = .. GROQ_API_KEY,
[] =
},
Body = payload
})
)
success
( .. (response))
(, .(, , ))
(response) ~= response.Body
( .. (response))
(, .(, , ))
ok, decoded = (HttpService.JSONDecode, HttpService, response.Body)
ok
( .. (response.Body))
(, .(, , ))
decoded.error
errMsg = (decoded.error.message decoded.error)
( .. errMsg)
errMsg:():() errMsg:():()
timeRemaining = errMsg:()
( .. timeRemaining, .(, , ))
( .. errMsg, .(, , ))
decoded.choices decoded.choices[] decoded.choices[].message
decoded.choices[].message.content
( .. (response.Body))
(, .(, , ))
BASE_RULES =
SERIOUS_PROMPT =
FUNNY_PROMPT =
AGGRESSIVE_PROMPT =
()
autoEmotionEnabled
BASE_RULES .. .. SERIOUS_PROMPT .. .. FUNNY_PROMPT
selectedEmotion ==
BASE_RULES .. SERIOUS_PROMPT
selectedEmotion ==
BASE_RULES .. AGGRESSIVE_PROMPT
BASE_RULES .. FUNNY_PROMPT
(question)
((), question)
(btn)
btn
firesignal
(btn.MouseButton1Click)
.fire_signal
.(btn.MouseButton1Click)
fluxus fluxus.fire_button
fluxus.(btn)
btn:()
btn:():()
(() btn:() )
(question)
isRunning
isRunning =
()
(, .(, , ))
AnswerBox.Text =
isRunning =
QuestionBox.Text = question
(, .(, , ))
answer = (question)
answer answer ==
isRunning =
answer = (answer)
AnswerBox.Text = answer
(, .(, , ))
ok, err = (()
answerInput submitButton
()
answerInput.Text = answer
.()
(submitButton)
)
ok
( .. (err))
(, .(, , ))
isRunning =
(, .(, , ))
isRunning =
()
questionObj = :(, )
questionObj
(, .(, , ))
(, .(, , ))
questionObj.Changed:((newValue)
autoEnabled
newValue == newValue == lastQuestion
lastQuestion = newValue
.()
(newValue)
)
questionObj.Value ~= autoEnabled
lastQuestion = questionObj.Value
(questionObj.Value)
Window = Rayfield:({
Name = ,
LoadingTitle = ,
LoadingSubtitle = ,
ConfigurationSaving = { Enabled = },
KeySystem = ,
})
SettingsTab = Window:(, )
EmotionTab = Window:(, )
SettingsTab:({
Name = ,
PlaceholderText = ,
RemoveTextAfterFocusLost = ,
Callback = (value)
GROQ_API_KEY = (value ):()
GROQ_API_KEY ~=
(, .(, , ))
(, .(, , ))
,
})
SettingsTab:({
Name = ,
Callback = ()
GROQ_API_KEY == GROQ_API_KEY ==
(, .(, , ))
(, .(, , ))
response = (, )
response
(, .(, , ))
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (value)
autoEnabled = value
value
(, .(, , ))
(, .(, , ))
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (value)
useSmartAI = value
( .. (value ), .(, , ))
,
})
SettingsTab:({
Name = ,
Callback = ()
questionObj = :()
questionObj
(, .(, , ))
question = questionObj.Value
question ==
(, .(, , ))
lastQuestion = question
(question)
,
})
EmotionTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (value)
autoEmotionEnabled = value
value
(, .(, , ))
( .. selectedEmotion .. , .(, , ))
,
})
EmotionTab:({
Name = ,
Options = {, , },
CurrentOption = ,
Flag = ,
Callback = (Option)
emotionStr = (Option) == Option[] (Option)
selectedEmotion = emotionStr
autoEmotionEnabled
( .. selectedEmotion, .(, , ))
,
})
()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu, api.groq.com, robloxscripts.com.
Groq API Integration: Answers questions using Llama-3.3-70B or Llama3-70B-8192. Automatic Question Watching: Detects changes in workspace.Question and auto-submits. Emotion System: Switches between Funny, Serious, and Aggressive personas, with auto-detection for real-world emergencies. Game Access Gate: Verifies player team and specific map coordinates before answering, supporting multiple Place IDs. Custom Rayfield UI: Draggable interface with API key input, testing, auto-answer toggle, and manual force run. Response Cleaning: Strips markdown, quotes, and filler words like "obviously" before submitting. Automated Submission: Uses executor functions (firesignal, etc.) to auto-fill and click the submit button. Strict Prompting: Enforces logical, clear answers without unnecessary exclamations or over-explaining. Not 100% perfect but made to be the best in the game. Also very fast,, found an AI now.

Universal