
Key Required

local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")
getgenv().StatusManager = getgenv().StatusManager or {
statuses = {},
nextId = 1
}
local StatusManager = getgenv().StatusManager
function StatusManager:CreateStatus(text, color)
local id = self.nextId
self.nextId = self.nextId + 1
local statusNumString = tostring(math.random(10000, 99999)) .. "_" .. tostring(id)
local currentTime = os.date("*t")
local timeString = string.format("%02d:%02d:%02d", currentTime.hour, currentTime.min, currentTime.sec)
self.statuses[id] = {
id = id,
identifier = statusNumString,
timeString = timeString,
text = text or "Status",
color = color or Color3.fromRGB(255, 255, 255),
enabled = true
}
print(statusNumString)
return id
end
function StatusManager:SetText(id, text)
if self.statuses[id] then
self.statuses[id].text = text
end
end
function StatusManager:SetColor(id, color)
if self.statuses[id] then
self.statuses[id].color = color
end
end
function StatusManager:SetEnabled(id, enabled)
if self.statuses[id] then
self.statuses[id].enabled = enabled
end
end
function StatusManager:RemoveStatus(id)
self.statuses[id] = nil
end
task.wait(0.1)
RunService.Heartbeat:Connect(function()
local devConsole = CoreGui:FindFirstChild("DevConsoleMaster")
if not devConsole then return end
local window = devConsole:FindFirstChild("DevConsoleWindow")
if not window or not window.Visible then return end
local clientLog = window:FindFirstChild("DevConsoleUI")
if clientLog then
clientLog = clientLog:FindFirstChild("MainView")
if clientLog then
clientLog = clientLog:FindFirstChild("ClientLog")
end
end
if not clientLog then return end
for _, child in pairs(clientLog:GetChildren()) do
if child.ClassName == "Frame" and child.Name ~= "WindowingPadding" then
local msgLabel = child:FindFirstChild("msg")
if msgLabel then
for id, status in pairs(StatusManager.statuses) do
if status.enabled then
local found = false
if string.find(msgLabel.Text, status.identifier) then
child.Name = "Status_" .. status.identifier
found = true
elseif child.Name == "Status_" .. status.identifier then
found = true
end
if found then
msgLabel.Text = status.timeString .. " -- " .. status.text
msgLabel.TextColor3 = status.color
break
end
end
end
end
end
end
end)
local isailine = StatusManager:CreateStatus("Is AI: Waiting", Color3.fromRGB(255, 255, 0))
local nameline = StatusManager:CreateStatus("Name: Waiting", Color3.fromRGB(255, 255, 0))
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local OpponentInfoEvent = ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("OpponentInfoEvent")
game.StarterGui:SetCore("SendNotification", {Text="Open up the console! The lines will auto update :)", Title="Kayla Hub"})
OpponentInfoEvent.OnClientEvent:Connect(function(data)
if typeof(data) ~= "table" then
StatusManager:SetText(isailine, "Is AI: Invalid data")
StatusManager:SetText(nameline, "Name: Invalid data")
StatusManager:SetColor(isailine, Color3.fromRGB(255, 0, 0))
StatusManager:SetColor(nameline, Color3.fromRGB(255, 0, 0))
return
end
local isAI = data.isAI == true
local name = data.name or "Unknown"
local displayName = data.displayName or "Unknown"
StatusManager:SetText(isailine, "Is AI: " .. tostring(isAI))
StatusManager:SetColor(isailine, isAI and Color3.fromRGB(255, 100, 100) or Color3.fromRGB(100, 255, 100))
StatusManager:SetEnabled(isailine, true)
StatusManager:SetText(nameline, "Name: " .. name .. " (" .. displayName .. ")")
StatusManager:SetColor(nameline, Color3.fromRGB(0, 255, 255))
StatusManager:SetEnabled(nameline, true)
end)

Nice
UR MOBILE