DIVINE CHAT BY REXXY
Key Required

DIVINE CHAT BY REXXY

Brookhaven 🏡RPDIVINEREXYDIVINEREXY 3.2K views 355 executesUpdated Jun 14, 2026
Unrated
00
Lua Script•267 lines (9670 chars)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CoreGui = game:GetService("CoreGui")

local LocalPlayer = Players.LocalPlayer or Players.PlayerAdded:Wait()

-- 1. Setup Delta-Safe GUI Container
if CoreGui:FindFirstChild("DivineChatLandscapeGui") then
    CoreGui.DivineChatLandscapeGui:Destroy()
end

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "DivineChatLandscapeGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = CoreGui

-- 2. Setup Secure Network Pipe
local SecurePipe = ReplicatedStorage:FindFirstChild("DivineDataPipe")
if not SecurePipe then
    SecurePipe = Instance.new("RemoteEvent")
    SecurePipe.Name = "DivineDataPipe"
    SecurePipe.Parent = ReplicatedStorage
end

-- 3. Main Modern Chat Frame
local ChatFrame = Instance.new("Frame")
ChatFrame.Name = "ChatFrame"
ChatFrame.Size = UDim2.new(0, 380, 0, 360) -- प्रोफाइल कार्ड के लिए हाइट थोड़ी बढ़ा दी है
ChatFrame.Position = UDim2.new(0.5, -190, 0.4, -180)
ChatFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
ChatFrame.BorderSizePixel = 0
ChatFrame.Active = true
ChatFrame.Draggable = true 
ChatFrame.Visible = true   
ChatFrame.ClipsDescendants = true
ChatFrame.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = ChatFrame

-- [NEW] Anime Girl Background Image
local AnimeBackground = Instance.new("ImageLabel")
AnimeBackground.Name = "AnimeBackground"
AnimeBackground.Size = UDim2.new(1, 0, 1, 0)
AnimeBackground.Position = UDim2.new(0, 0, 0, 0)
AnimeBackground.Image = "rbxassetid://134111326440869" -- हाई-क्वालिटी एनीमे गर्ल एसेट
AnimeBackground.ImageTransparency = 0.75 -- डार्क और ट्रांसपेरेंट ताकि चैट्स साफ़ दिखें
AnimeBackground.ScaleType = Enum.ScaleType.Crop
AnimeBackground.ZIndex = 0 -- इसे सबसे पीछे रखने के लिए
AnimeBackground.Parent = ChatFrame

-- Title Bar
local ChatTitle = Instance.new("TextLabel")
ChatTitle.Size = UDim2.new(1, 0, 0, 35)
ChatTitle.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
ChatTitle.BackgroundTransparency = 0.2 -- बैकग्राउंड इमेज हल्की सी पीछे दिखेगी
ChatTitle.Text = "  Divine Chat [Delta Active]"
ChatTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
ChatTitle.Font = Enum.Font.GothamBold
ChatTitle.TextSize = 14
ChatTitle.TextXAlignment = Enum.TextXAlignment.Left
ChatTitle.ZIndex = 2
ChatTitle.Parent = ChatFrame

local TitleCorner = Instance.new("UICorner")
TitleCorner.CornerRadius = UDim.new(0, 10)
TitleCorner.Parent = ChatTitle

-- Chat Message Scrolling Container
local ChatContainer = Instance.new("ScrollingFrame")
ChatContainer.Size = UDim2.new(1, -20, 1, -160) -- प्रोफाइल और इनपुट के लिए स्पेस सेट किया
ChatContainer.Position = UDim2.new(0, 10, 0, 45)
ChatContainer.BackgroundTransparency = 1
ChatContainer.ScrollBarThickness = 4
ChatContainer.CanvasSize = UDim2.new(0, 0, 0, 0)
ChatContainer.ScrollBarImageColor3 = Color3.fromRGB(120, 110, 140)
ChatContainer.ZIndex = 2
ChatContainer.Parent = ChatFrame

local UIListLayout = Instance.new("UIListLayout")
UIListLayout.Parent = ChatContainer
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 6)

-- [NEW] Executor Profile Card (NameTag & Bio Section)
local ProfileCard = Instance.new("Frame")
ProfileCard.Name = "ProfileCard"
ProfileCard.Size = UDim2.new(1, -20, 0, 55)
ProfileCard.Position = UDim2.new(0, 10, 1, -105)
ProfileCard.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
ProfileCard.BackgroundTransparency = 0.3
ProfileCard.BorderSizePixel = 0
ProfileCard.ZIndex = 2
ProfileCard.Parent = ChatFrame

local CardCorner = Instance.new("UICorner")
CardCorner.CornerRadius = UDim.new(0, 8)
CardCorner.Parent = ProfileCard

-- Fancy Style Font NameTag Generator
local function toDivineStyle(text)
    local replacements = {
        ["D"]="D̵", ["i"]="i̵", ["V"]="V̵", ["e"]="e̵", ["C"]="C̵", ["h"]="h̵", ["A"]="A̵", ["t"]="t̵"
    }
    return "D̵i̵V̵i̵N̵e̵ ̵C̵h̵A̵t̵" -- Direct hardcoded style for accuracy
end

-- Fancy Style Bio Font Generator for Username
local function toBioStyle(text)
    local normal = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
    local fancy  = "𝔞𝔟𝔠𝔡𝔢𝔣𝔤𝔥𝔦𝔧𝔨𝔩𝔪𝔫𝔬𝔭𝔮𝔯𝔰𝔱𝔲𝔳𝔳𝔵𝔶𝔷𝔄𝔅𝔉𝔇𝔈𝔉𝔊𝔧𝔴𝔍𝔎𝔏𝔐𝔝𝔒𝔓𝔔 getℜ𝔖𝔗𝔘𝔙𝔚 villain𝔜ℨ0123456789"
    local result = ""
    for i = 1, #text do
        local char = text:sub(i, i)
        local idx = normal:find(char, 1, true)
        if idx then
            -- Find character index maps
            local fIdx = (idx * 2) - 1
            result = result .. fancy:sub(fIdx, fIdx + 1)
        else
            result = result .. char
        end
    end
    return result
end

local NameTagLabel = Instance.new("TextLabel")
NameTagLabel.Size = UDim2.new(1, -10, 0, 25)
NameTagLabel.Position = UDim2.new(0, 10, 0, 4)
NameTagLabel.BackgroundTransparency = 1
NameTagLabel.Text = toDivineStyle("DivineChat")
NameTagLabel.TextColor3 = Color3.fromRGB(230, 100, 255) -- Neon Purple/Pink vibe
NameTagLabel.Font = Enum.Font.GothamBold
NameTagLabel.TextSize = 15
NameTagLabel.TextXAlignment = Enum.TextXAlignment.Left
NameTagLabel.ZIndex = 3
NameTagLabel.Parent = ProfileCard

local BioLabel = Instance.new("TextLabel")
BioLabel.Size = UDim2.new(1, -10, 0, 20)
BioLabel.Position = UDim2.new(0, 10, 0, 26)
BioLabel.BackgroundTransparency = 1
BioLabel.Text = "𝔅𝔦𝔬: " .. toBioStyle(LocalPlayer.Name)
BioLabel.TextColor3 = Color3.fromRGB(180, 180, 200)
BioLabel.Font = Enum.Font.Gotham
BioLabel.TextSize = 13
BioLabel.TextXAlignment = Enum.TextXAlignment.Left
BioLabel.ZIndex = 3
BioLabel.Parent = ProfileCard

-- Text Input Field
local TextBox = Instance.new("TextBox")
TextBox.Size = UDim2.new(1, -90, 0, 35)
TextBox.Position = UDim2.new(0, 10, 1, -45)
TextBox.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
TextBox.BackgroundTransparency = 0.2
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.PlaceholderText = "Type your message here..."
TextBox.PlaceholderColor3 = Color3.fromRGB(140, 140, 160)
TextBox.Text = ""
TextBox.Font = Enum.Font.Gotham
TextBox.TextSize = 12
TextBox.ClearTextOnFocus = false
TextBox.ZIndex = 2
TextBox.Parent = ChatFrame

local TextCorner = Instance.new("UICorner")
TextCorner.CornerRadius = UDim.new(0, 6)
TextCorner.Parent = TextBox

-- Send Button
local SendButton = Instance.new("TextButton")
SendButton.Size = UDim2.new(0, 70, 0, 35)
SendButton.Position = UDim2.new(1, -80, 1, -45)
SendButton.BackgroundColor3 = Color3.fromRGB(90, 60, 220)
SendButton.Text = "Send"
SendButton.TextColor3 = Color3.fromRGB(255, 255, 255)
SendButton.Font = Enum.Font.GothamBold
SendButton.TextSize = 12
SendButton.ZIndex = 2
SendButton.Parent = ChatFrame

local ButtonCorner = Instance.new("UICorner")
ButtonCorner.CornerRadius = UDim.new(0, 6)
ButtonCorner.Parent = SendButton

-- 4. MOVEABLE TOGGLE BUTTON (On/Off Button)
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ChatToggleButton"
ToggleButton.Size = UDim2.new(0, 100, 0, 35)
ToggleButton.Position = UDim2.new(0, 20, 0.3, 0) 
ToggleButton.BackgroundColor3 = Color3.fromRGB(90, 60, 220)
ToggleButton.Text = "Hide Chat"
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Font = Enum.Font.GothamBold
ToggleButton.TextSize = 12
ToggleButton.Active = true
ToggleButton.Draggable = true 
ToggleButton.Parent = ScreenGui

local ToggleCorner = Instance.new("UICorner")
ToggleCorner.CornerRadius = UDim.new(0, 6)
ToggleCorner.Parent = ToggleButton

-- Toggle Functionality
ToggleButton.MouseButton1Click:Connect(function()
    if ChatFrame.Visible then
        ChatFrame.Visible = false
        ToggleButton.Text = "Show Chat"
        ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
    else
        ChatFrame.Visible = true
        ToggleButton.Text = "Hide Chat"
        ToggleButton.BackgroundColor3 = Color3.fromRGB(90, 60, 220)
    end
end)

-- 5. CHAT SYSTEM LOGIC

-- Helper function to add a chat bubble dynamically
local function createMessageBubble(senderName, messageText)
    local MessageLabel = Instance.new("TextLabel")
    MessageLabel.Size = UDim2.new(1, 0, 0, 0)
    MessageLabel.BackgroundTransparency = 1
    MessageLabel.Text = "<b>[" .. senderName .. "]:</b> " .. messageText
    MessageLabel.TextColor3 = (senderName == LocalPlayer.Name) and Color3.fromRGB(150, 180, 255) or Color3.fromRGB(255, 255, 255)
    MessageLabel.Font = Enum.Font.Gotham
    MessageLabel.TextSize = 13
    MessageLabel.TextWrapped = true
    MessageLabel.RichText = true
    MessageLabel.TextXAlignment = Enum.TextXAlignment.Left
    MessageLabel.ZIndex = 3
    MessageLabel.Parent = ChatContainer
    
    MessageLabel.Size = UDim2.new(1, 0, 0, MessageLabel.TextBounds.Y + 4)
end

-- Auto-scroll setup
UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
    ChatContainer.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y)
    ChatContainer.CanvasPosition = Vector2.new(0, math.max(0, UIListLayout.AbsoluteContentSize.Y - ChatContainer.AbsoluteWindowSize.Y))
end)

local function sendMessage()
    local message = TextBox.Text
    if message ~= "" then
        SecurePipe:FireServer(message)
        createMessageBubble(LocalPlayer.Name, message)
        TextBox.Text = ""
    end
end

SendButton.MouseButton1Click:Connect(sendMessage)
TextBox.FocusLost:Connect(function(enterPressed)
    if enterPressed then
        sendMessage()
    end
end)

SecurePipe.OnClientEvent:Connect(function(sender, message)
    if sender and message and sender ~= LocalPlayer then
        createMessageBubble(sender.Name, tostring(message))
    end
end)

createMessageBubble("System", "Divine Chat Loaded Successfully with Anime Custom Themes!")

Features & Information

Fully optimized for Delta Executor (Mobile & PC) Beautiful Anime Girl Background Theme 🌸 Custom Fancy Font Profile Card (Nametag & Bio) Completely Moveable / Draggable UI and Toggle Button! Secure Custom Chat Pipe Network.

Community Comments (0)

No comments yet for this script.

More Scripts for Brookhaven 🏡RP