Hex Chat
Key RequiredUniversal

Hex Chat

Universal ScriptTeam_R4DTeam_R4D 45 views 306 executesUpdated Jul 14, 2026
Unrated
00
Lua Script•303 lines (10827 chars)
-- [[ RXN ELITE CHAT HACKER - CUSTOM BOT JOIN EDITION ]]
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local RunService = game:GetService("RunService")
local ChatService = game:GetService("Chat")

local playerGui = player:WaitForChild("PlayerGui")
if playerGui:FindFirstChild("RXN_Elite_Chat") then playerGui.RXN_Elite_Chat:Destroy() end

local sg = Instance.new("ScreenGui", playerGui)
sg.Name = "RXN_Elite_Chat"
sg.ResetOnSpawn = false

-- تظبيط الألقاب والرتب الفخمة
local RANKS = {
    ["Satoro_Dosha"] = "👑 [FOUNDER]",
    ["NADA"] = "✨ [MAZYOUNA]",
    ["mikeysano2019"] = "🛡️ [CO-LEADER]",
    [player.Name] = "🛠️ [CREATOR HEX]"
}

local ALLOWED_CREATORS = {
    ["Satoro_Dosha"] = true, 
    ["NADA"] = true,
    ["mikeysano2019"] = true,
    [player.Name] = true
}

local BannedUsers = {} 
local GlobalLockUntil = 0 
local currentPrivateTarget = nil
local RainbowLabels = {}

-- UI الرئيسي (الشات)
local main = Instance.new("Frame", sg)
main.Size = UDim2.new(0, 280, 0, 260)
main.Position = UDim2.new(0.5, -230, 0.4, -130)
main.BackgroundColor3 = Color3.fromRGB(12, 12, 12)
main.BackgroundTransparency = 0.2
main.Active = true
main.Draggable = true
main.ZIndex = 5
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 8)

local mainStroke = Instance.new("UIStroke", main)
mainStroke.Thickness = 2
mainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

-- الشات العام (مع السكرول التلقائي)
local scroll = Instance.new("ScrollingFrame", main)
scroll.Size = UDim2.new(0.92, 0, 0.7, 0)
scroll.Position = UDim2.new(0.04, 0, 0.04, 0)
scroll.BackgroundTransparency = 1
scroll.ScrollBarThickness = 4
scroll.ZIndex = 6
local layout = Instance.new("UIListLayout", scroll)
layout.VerticalAlignment = Enum.VerticalAlignment.Top
layout.SortOrder = Enum.SortOrder.LayoutOrder

-- التكست بوكس (فاضي ونظيف تماماً)
local input = Instance.new("TextBox", main)
input.Size = UDim2.new(0.92, 0, 0, 35)
input.Position = UDim2.new(0.04, 0, 0.8, 0)
input.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
input.TextColor3 = Color3.new(1, 1, 1)
input.Text = "" 
input.PlaceholderText = "" 
input.Font = Enum.Font.Gotham
input.TextSize = 13
input.ZIndex = 6
Instance.new("UICorner", input).CornerRadius = UDim.new(0, 6)

-- [[ لائحة الأكواد الجانبية ]]
local sidebar = Instance.new("Frame", sg)
sidebar.Size = UDim2.new(0, 220, 0, 260)
sidebar.Position = UDim2.new(0.5, 60, 0.4, -130)
sidebar.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
sidebar.BackgroundTransparency = 0.2
sidebar.Active = true
sidebar.Visible = ALLOWED_CREATORS[player.Name]
sidebar.ZIndex = 5
Instance.new("UICorner", sidebar).CornerRadius = UDim.new(0, 8)

local sideStroke = Instance.new("UIStroke", sidebar)
sideStroke.Thickness = 1.5
sideStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

local creditsLabel = Instance.new("TextLabel", sidebar)
creditsLabel.Size = UDim2.new(1, 0, 0, 22)
creditsLabel.Position = UDim2.new(0, 0, 0, 6)
creditsLabel.Text = "🛠️ Made By Russian Hex 🛠️"
creditsLabel.TextColor3 = Color3.fromRGB(0, 255, 150)
creditsLabel.Font = Enum.Font.GothamBold
creditsLabel.TextSize = 12
creditsLabel.BackgroundTransparency = 1
creditsLabel.ZIndex = 6

local sideTitle = Instance.new("TextLabel", sidebar)
sideTitle.Size = UDim2.new(1, 0, 0, 22)
sideTitle.Position = UDim2.new(0, 0, 0, 28)
sideTitle.Text = "⚡ ADMIN PANEL ⚡"
sideTitle.TextColor3 = Color3.fromRGB(255, 85, 85)
sideTitle.Font = Enum.Font.GothamBold
sideTitle.TextSize = 13
sideTitle.BackgroundTransparency = 1
sideTitle.ZIndex = 6

-- إضافة الأكواد مباشرة ومثبتة في الـ Sidebar
local codes = {
    {cmd = "vip", desc = "سبام الـ VIP الفخم", pos = 60},
    {cmd = "er", desc = "إنذار الهاكرز وسبام Error", pos = 95},
    {cmd = "R / GR", desc = "تكرير الضحكه الأسطورية", pos = 130},
    {cmd = "kama", desc = "طرد الكل من السكربت 5د", pos = 165},
    {cmd = "hk [Name]", desc = "طرد شخص محدد 30د", pos = 200}
}

for _, data in ipairs(codes) do
    local lbl = Instance.new("TextLabel", sidebar)
    lbl.Size = UDim2.new(0.92, 0, 0, 30)
    lbl.Position = UDim2.new(0.04, 0, 0, data.pos)
    lbl.BackgroundTransparency = 0.85
    lbl.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    lbl.Text = "  <b>" .. data.cmd .. "</b> -> " .. data.desc
    lbl.RichText = true
    lbl.TextColor3 = Color3.fromRGB(255, 255, 255)
    lbl.Font = Enum.Font.GothamBold
    lbl.TextSize = 11
    lbl.TextXAlignment = Enum.TextXAlignment.Left
    lbl.ZIndex = 7
    Instance.new("UICorner", lbl).CornerRadius = UDim.new(0, 4)
end

-- زر الـ Toggle المشترك
local btn = Instance.new("ImageButton", sg)
btn.Size = UDim2.new(0, 50, 0, 50)
btn.Position = UDim2.new(0.02, 0, 0.35, 0)
btn.Image = "rbxassetid://13426743939"
btn.Active = true
btn.Draggable = true
btn.ZIndex = 10
Instance.new("UICorner", btn).CornerRadius = UDim.new(1, 0)

local btnStroke = Instance.new("UIStroke", btn)
btnStroke.Thickness = 2

btn.MouseButton1Click:Connect(function() 
    local targetVisibility = not main.Visible
    main.Visible = targetVisibility 
    if ALLOWED_CREATORS[player.Name] then 
        sidebar.Visible = targetVisibility 
    end
end)

-- سيستم الرينبو السريع
RunService.RenderStepped:Connect(function()
    local rainbow = Color3.fromHSV(tick() % 4 / 4, 1, 1)
    mainStroke.Color = rainbow
    btnStroke.Color = rainbow
    sideStroke.Color = rainbow
    
    for i = #RainbowLabels, 1, -1 do
        local lbl = RainbowLabels[i]
        if lbl and lbl.Parent then
            lbl.TextColor3 = rainbow
        else
            table.remove(RainbowLabels, i)
        end
    end
end)

local function checkAccess()
    if os.time() < GlobalLockUntil and not ALLOWED_CREATORS[player.Name] then return false end
    if BannedUsers[player.Name] and os.time() < BannedUsers[player.Name] and not ALLOWED_CREATORS[player.Name] then return false end
    return true
end

-- دالة الشات المتقدمة
local function addLog(sender, msg, customColor, isBotJoin, joinName)
    if not checkAccess() then return end
    local textButton = Instance.new("TextButton", scroll)
    textButton.Size = UDim2.new(1, 0, 0, 24)
    textButton.BackgroundTransparency = 1
    textButton.TextXAlignment = Enum.TextXAlignment.Left
    textButton.Font = Enum.Font.GothamBold
    textButton.TextSize = 12
    textButton.ZIndex = 7
    textButton.RichText = true
    
    if isBotJoin and joinName then
        -- كلمة (Bot) بالذهبي، اسمك بالريمبو، وبعدها Has Joined! بالذهبي
        textButton.Text = "<font color='rgb(255,215,0)'>(Bot): </font>" .. joinName .. "<font color='rgb(255,215,0)'> Has Joined!</font>"
        table.insert(RainbowLabels, textButton) 
    else
        local rankPrefix = RANKS[sender] or ""
        if rankPrefix ~= "" then
            textButton.Text = rankPrefix .. " (" .. sender .. "): " .. msg
        else
            textButton.Text = "(" .. sender .. "): " .. msg
        end
        
        if customColor then
            textButton.TextColor3 = customColor
        elseif currentPrivateTarget then
            textButton.Text = "🔒 [PRIVATE] " .. (RANKS[sender] or "") .. " (" .. sender .. "): " .. msg
            textButton.TextColor3 = Color3.fromRGB(255, 85, 255)
        else
            if ALLOWED_CREATORS[sender] or sender == player.Name then
                table.insert(RainbowLabels, textButton)
            elseif sender == "SYSTEM" then
                textButton.TextColor3 = Color3.fromRGB(220, 40, 40)
            else
                textButton.TextColor3 = Color3.fromRGB(255, 255, 255)
            end
        end
    end
    
    textButton.MouseButton1Click:Connect(function()
        if currentPrivateTarget == sender then
            currentPrivateTarget = nil
        else
            if sender ~= "Bot" and sender ~= "SYSTEM" then
                currentPrivateTarget = sender
            end
        end
    end)
    
    scroll.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 12)
    scroll.CanvasPosition = Vector2.new(0, layout.AbsoluteContentSize.Y)
end

local longLaugh = "هـ" .. string.rep("هـ", 1200)

input.FocusLost:Connect(function(enter)
    if enter and input.Text ~= "" then
        local text = input.Text
        
        if ALLOWED_CREATORS[player.Name] then
            if text:lower() == "kama" then
                GlobalLockUntil = os.time() + 300
                addLog("SYSTEM", "تم طرد الجميع من السكريبت لمدة 5 دقائق!", Color3.fromRGB(255, 50, 50))
                input.Text = ""
                return
            elseif text:sub(1, 2):lower() == "hk" then
                local target = text:sub(4)
                BannedUsers[target] = os.time() + 1800
                addLog("SYSTEM", "تم حظر " .. target .. " من السكريبت لمدة 30 دقيقة!", Color3.fromRGB(255, 50, 50))
                input.Text = ""
                return
            elseif text:lower() == "vip" then
                input.Text = ""
                task.spawn(function()
                    for i = 1, 30 do
                        local msg = "👑 RXN ELITE IS HERE 👑"
                        addLog(player.Name, msg, nil)
                        ChatService:Chat(player.Character.Head, msg, Enum.ChatColor.White)
                        task.wait(0.1)
                    end
                end)
                return
            elseif text:lower() == "er" then
                input.Text = ""
                task.spawn(function()
                    for i = 1, 30 do
                        local msg
                        local hkrColor
                        
                        if i % 2 == 0 then
                            hkrColor = Color3.fromRGB(0, 255, 0)
                        else
                            hkrColor = Color3.fromRGB(0, 100, 0)
                        end
                        
                        if i <= 3 then
                            msg = "1x1x1x1 & c00lkid Has Joined And Gonna Kick You!"
                        else
                            msg = "E R R O R 404: D I G I N I T Y N O T F O U N D"
                        end
                        
                        addLog(player.Name, msg, hkrColor)
                        ChatService:Chat(player.Character.Head, msg, Enum.ChatColor.Green)
                        task.wait(0.1)
                    end
                end)
                return
            end
        end
        
        if text == "R" or text == "GR" or text == "r" or text == "gr" then
            text = longLaugh
        end
        
        addLog(player.Name, text, nil)
        
        if not currentPrivateTarget and player.Character and player.Character:FindFirstChild("Head") then
            ChatService:Chat(player.Character.Head, text, Enum.ChatColor.White)
        end
        
        input.Text = ""
    end
end)

-- تشغيل ترحيب الدخول المطور باسمك أول ما تفتح السكربت
addLog("Bot", "", nil, true, player.Name)

Features & Information

Chat Script Without Roblox tags
#idk

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts