Syr0nix Chat Spy And Custom Chat Box
Key RequiredUniversal

Syr0nix Chat Spy And Custom Chat Box

Universal ScriptRedfoxRedfox 113.6K views 376 executesUpdated Jul 31, 2024
5.0/ 5(2 votes)
20100% Positive
Lua Script•152 lines (5378 chars)
local ChatGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local LogPanel = Instance.new("ScrollingFrame")
local Close = Instance.new("TextButton")
local Mini = Instance.new("TextButton")
local Log = Instance.new("TextButton")
local title = Instance.new("TextLabel")
local UIListLayoutt = Instance.new("UIListLayout", LogPanel)
UIListLayoutt.VerticalAlignment = "Bottom"
UIListLayoutt.Padding = UDim.new(0, 0) 
ChatGui.Name = "ChatGui"
ChatGui.Parent = game.Players.LocalPlayer.PlayerGui
ChatGui.ResetOnSpawn = false
Frame.Parent = ChatGui
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.0278396439, 0, 0.565217376, 0)
Frame.Size = UDim2.new(0, 600, 0, 400) 
Frame.Active = true
Frame.Draggable = true
LogPanel.Name = "LogPanel"
LogPanel.Parent = Frame
LogPanel.BackgroundColor3 = Color3.new(0, 0, 0)
LogPanel.BorderColor3 = Color3.new(0.223529, 0.223529, 0.223529)
LogPanel.Position = UDim2.new(0, 0, 0.0625, 0) 
LogPanel.Size = UDim2.new(1, 0, 0.875, 0) 
LogPanel.ScrollBarThickness = 5
LogPanel.ScrollingEnabled = true
LogPanel.CanvasSize = UDim2.new(2, 0, 100, 0)
Close.Name = "Close"
Close.Parent = Frame
Close.BackgroundColor3 = Color3.new(1, 1, 1)
Close.BackgroundTransparency = 1
Close.Position = UDim2.new(0.823979557, 0, 0, 0) 
Close.Size = UDim2.new(0.176020443, 0, 0.0625, 0) 
Close.Font = Enum.Font.SourceSans
Close.Text = "Close"
Close.TextColor3 = Color3.new(1, 1, 1)
Close.TextSize = 14
Mini.Name = "Mini"
Mini.Parent = Frame
Mini.BackgroundColor3 = Color3.new(1, 1, 1)
Mini.BackgroundTransparency = 1
Mini.Position = UDim2.new(0.647959173, 0, 0, 0)
Mini.Size = UDim2.new(0.176020443, 0, 0.0625, 0) 
Mini.Font = Enum.Font.SourceSans
Mini.Text = "Minimize"
Mini.TextColor3 = Color3.new(1, 1, 1)
Mini.TextSize = 14
Log.Name = "Log"
Log.Parent = Frame
Log.BackgroundColor3 = Color3.new(1, 1, 1)
Log.BackgroundTransparency = 1
Log.Position = UDim2.new(0.293367326, 0, 0, 0) 
Log.Size = UDim2.new(0.354591837, 0, 0.0625, 0) 
Log.Font = Enum.Font.SourceSans
Log.Text = "Log Chat [ON]"
Log.TextColor3 = Color3.new(1, 1, 1)
Log.TextSize = 14
title.Name = "title"
title.Parent = Frame
title.BackgroundColor3 = Color3.new(1, 1, 1)
title.BackgroundTransparency = 1
title.Size = UDim2.new(0.293367326, 0, 0.0625, 0)
title.Font = Enum.Font.SourceSans
title.Text = "Syr0nix Chat GUI"
title.TextColor3 = Color3.new(1, 1, 1)
title.TextSize = 14
title.TextXAlignment = Enum.TextXAlignment.Left
local ChatBox = Instance.new("TextBox")
ChatBox.Name = "ChatBox"
ChatBox.Parent = Frame
ChatBox.Size = UDim2.new(1, 0, 0.0625, 0) 
ChatBox.Position = UDim2.new(0, 0, 0.9375, 0) 
ChatBox.PlaceholderText = "Type your message here..."
ChatBox.ClearTextOnFocus = false
ChatBox.Font = Enum.Font.SourceSans
ChatBox.TextSize = 14
ChatBox.TextColor3 = Color3.new(1, 1, 1)
ChatBox.BackgroundTransparency = 0.5
ChatBox.BackgroundColor3 = Color3.new(0, 0, 0)
ChatBox.BorderSizePixel = 0
local logging = true
local minimized = false
Log.MouseButton1Down:Connect(function()
    logging = not logging
    if logging then Log.Text = "Log Chat [ON]" else Log.Text = "Log Chat [OFF]" end
end)
Mini.MouseButton1Down:Connect(function()
    if minimized then
        LogPanel:TweenSize(UDim2.new(0, 600, 0, 350), "InOut", "Sine", 0.5, false, nil)
    else
        LogPanel:TweenSize(UDim2.new(0, 600, 0, 0), "InOut", "Sine", 0.5, false, nil)
    end
    minimized = not minimized
end)
Close.MouseButton1Down:Connect(function()
    ChatGui:Destroy()
end)
local prevOutputPos = 0
function output(plr, msg)
    if not logging then return end
    local colour = Color3.fromRGB(255, 255, 255)
    if string.sub(msg, 1, 1) == ":" or string.sub(msg, 1, 1) == ";" then
        colour = Color3.fromRGB(255, 0, 0)
    elseif string.sub(msg, 1, 2) == "/w" or string.sub(msg, 1, 7) == "/whisper" or string.sub(msg, 1, 5) == "/team" or string.sub(msg, 1, 2) == "/t" then
        colour = Color3.fromRGB(0, 0, 255)
    else
        colour = Color3.fromRGB(255, 255, 255)
    end
    local o = Instance.new("TextLabel", LogPanel)
    o.Text = plr.Name .. ": " .. msg
    o.Size = UDim2.new(0.5, 0, .003, 0)
    o.Position = UDim2.new(0, 0, .007 + prevOutputPos, 0)
    o.Font = Enum.Font.SourceSansSemibold
    o.TextColor3 = colour
    o.TextStrokeTransparency = 0
    o.BackgroundTransparency = 0
    o.BackgroundColor3 = Color3.new(0, 0, 0)
    o.BorderSizePixel = 0
    o.BorderColor3 = Color3.new(0, 0, 0)
    o.FontSize = "Size14"
    o.TextXAlignment = Enum.TextXAlignment.Left
    o.ClipsDescendants = true
    prevOutputPos = prevOutputPos + 0.003
end
for i, v in pairs(game.Players:GetChildren()) do
    v.Chatted:Connect(function(msg)
        output(v, msg)
    end)
end
game.Players.ChildAdded:Connect(function(plr)
    if plr:IsA("Player") then
        plr.Chatted:Connect(function(msg)
            output(plr, msg)
        end)
    end
end)
ChatBox.FocusLost:Connect(function(enterPressed)
    if enterPressed then
        local message = ChatBox.Text
        ChatBox.Text = "" 
        game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
    end
end)

-- Focus ChatBox when / key is pressed
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.Slash and not gameProcessed then
        ChatBox:CaptureFocus()
    end
end)

Features & Information

Sure! Here are all the features of the script: 1. **Chat GUI Creation**: The script creates a custom chat GUI with a frame, log panel, close button, minimize button, log button, title, and chat box. 2. **Draggable Frame**: The main frame of the chat GUI is draggable, allowing the player to move it around the screen. 3. **Log Panel**: A scrolling frame that displays chat messages. It has a vertical alignment set to "Bottom" and a padding of 0. 4. **Close Button**: A button that closes the chat GUI when clicked. 5. **Minimize Button**: A button that minimizes the log panel when clicked. Clicking it again restores the log panel to its original size. 6. **Log Button**: A button that toggles chat logging on and off. When logging is enabled, the button text shows "Log Chat [ON]", and when logging is disabled, it shows "Log Chat [OFF]". 7. **Title**: A label that displays the title "Syr0nix Chat GUI". 8. **Chat Box**: A text box where players can type their messages. It has a placeholder text "Type your message here..." and clears the text when focused. 9. **Chat Logging**: The script logs chat messages from all players in the game. It displays the player's name and message in the log panel. 10. **Message Color Coding**: The script color-codes messages based on their content: - Red for commands starting with `:` or `;` - Blue for whispers and team messages (`/w`, `/whisper`, `/team`, `/t`) - White for regular messages 11. **Player Chat Detection**: The script connects to the `Chatted` event of each player to log their messages. It also connects to the `ChildAdded` event of the `Players` service to detect new players and log their messages. 12. **Chat Box Submission**: When the player presses Enter after typing a message in the chat box, the script sends the message to the default chat system and clears the chat box. 13. **Focus Chat Box with `/` Key**: The script focuses the chat box when the `/` key is pressed, allowing the player to start typing immediately. These features work together to provide a comprehensive chat logging system with a user-friendly interface.

Community Comments (9)

vxstyvxstyJul 31, 2024(edited)

vro used chatgpt for the script features 💔

RedfoxRedfoxAug 2, 2024(edited)

wtf no i use ROBLOX studio cause i was board and made this as a joke

RedfoxRedfoxAug 2, 2024(edited)

but it ended up working for all games so >:)

phonkytown000phonkytown000Aug 30, 2024(edited)

It doesn't work anymore which is the new script of September ?

RedfoxRedfoxNov 26, 2024(edited)

working on new script soon need to bypass there new anti cheat witch use a client handler and they remade all the remotes

RedfoxRedfoxNov 26, 2024(edited)

also it waS BING AI L LOSER XD.

RedfoxRedfoxNov 26, 2024(edited)

and if it works who gives a * also for gpt and bing you have to have a base code before it will just make random exploits

ibisnosaj49ibisnosaj49Jul 4, 2025

Can you please make it for the new chat? Thank you if you ever will

villavainillavillavainillaJun 6, 2026

the chatgpt at the first line of description is frying me

More Scripts for Universal Scripts