AutoChatConfig CHATWINDOWCONFIGURATION
Key RequiredUniversal

AutoChatConfig CHATWINDOWCONFIGURATION

Universal ScriptIrfannnnnIrfannnnn 2.9K views 123 executesUpdated Feb 2, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•78 lines (2471 chars)
-- // Services
local CoreGui = game:GetService("CoreGui")
local TextChatService = game:GetService("TextChatService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

-- // Chat Configuration
local ChatConfig = TextChatService:FindFirstChild("ChatWindowConfiguration")

-- Modify your custom config here
if ChatConfig then
    ChatConfig.HeightScale = 2
    ChatConfig.WidthScale = 2
    ChatConfig.TextSize = 13
    ChatConfig.Enabled = true
else
    warn("ChatWindowConfiguration not found.")
    return
end

-- // GUI Elements
local ScreenGui = Instance.new("ScreenGui")
local HideButton = Instance.new("TextButton")
local UIStroke = Instance.new("UIStroke")
local UICorner = Instance.new("UICorner")

-- // GUI Setup
ScreenGui.Parent = CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

HideButton.Parent = ScreenGui
HideButton.Position = UDim2.new(0.9, 0, 0.1, 0)
HideButton.Size = UDim2.new(0, 100, 0, 40)
HideButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
HideButton.Text = "Hide Chat"
HideButton.TextColor3 = Color3.fromRGB(255, 255, 255)
HideButton.Font = Enum.Font.GothamBold
HideButton.TextSize = 14
HideButton.AutoButtonColor = true

UICorner.Parent = HideButton
UICorner.CornerRadius = UDim.new(0, 10)

UIStroke.Parent = HideButton
UIStroke.Thickness = 2
UIStroke.Color = Color3.fromRGB(0, 170, 255)
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

-- // Draggable Button
local dragging, dragStart, startPos

HideButton.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = HideButton.Position
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
        local delta = input.Position - dragStart
        HideButton.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
end)

-- // Toggle Chat Visibility
local function toggleChat()
    ChatConfig.Enabled = not ChatConfig.Enabled
    HideButton.Text = ChatConfig.Enabled and "Hide Chat" or "Show Chat"
end

HideButton.MouseButton1Click:Connect(toggleChat)

Features & Information

AutoChatConfig (CHATWINDOWCONFIGURATION) Able to control ChatWindow from TextChatService. Original Config (Default Config): HeightScale = 1 WidthScale = 1 TextSize = 14 Enabled = true (ON) AutoChatConfig (Modified Config): HeightScale = 2 WidthScale = 2 TextSize = 12 Enabled true/false (ON or OFF) (Min HeightScale & WidthScale = 1, Max HeightScale & WidthScale = 2) [Added] Hide/Show Button (Draggable) [+] ResetOnSpawn = false (CoreGui, safe) (I Will Add New Config Into The Script SOON & I Will Make This Script Able Run Once not Twice)
#AutoChatConfig#CHATWINDOWCONFIGURATION#HideShow#CustomizableChatWindow#ChatWindow

Community Comments (4)

e85663866e85663866Feb 4, 2025(edited)

chat you size 100?

IrfannnnnIrfannnnnFeb 5, 2025(edited)

@e85663866 no, you can't set it too 100 or more than 2, because roblox set the limit is 2 only.

e85663866e85663866Feb 6, 2025(edited)

Why

e85663866e85663866Feb 10, 2025(edited)

WHY ME 😭😭😭😭😭😭😭😭😭😭

More Scripts for Universal Scripts