-- Zeta Chat 🤯😈 [ULTIMATE PRO VERSION - Ares Killer] local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer -- Auto Set Brookhaven RP Name to "Zeta Chat 🤯😈" pcall(function() local RE = ReplicatedStorage:FindFirstChild("RE") if RE and RE:FindFirstChild("1RPNam1e") then RE["1RPNam1e"]:FireServer("ZetaChatName", "Zeta Chat 🤯😈") end end) -- Remove old GUI if exists if CoreGui:FindFirstChild("ZetaChatGUI") then CoreGui.ZetaChatGUI:Destroy() end ---------------------------------------------------- -- 0. EXECUTED PLAYERS ONLY NETWORK ENGINE ---------------------------------------------------- local GlobalFolder = ReplicatedStorage:FindFirstChild("ZetaExecutedNetwork") if not GlobalFolder then GlobalFolder = Instance.new("Folder") GlobalFolder.Name = "ZetaExecutedNetwork" GlobalFolder.Parent = ReplicatedStorage end local RemoteChatEvent = GlobalFolder:FindFirstChild("ZetaRemoteEvent") if not RemoteChatEvent then RemoteChatEvent = Instance.new("RemoteEvent") RemoteChatEvent.Name = "ZetaRemoteEvent" RemoteChatEvent.Parent = GlobalFolder end ---------------------------------------------------- -- 1. GUI & ULTIMATE PRO STYLING ---------------------------------------------------- local ScreenGui = Instance.new("ScreenGui", CoreGui) ScreenGui.Name = "ZetaChatGUI" ScreenGui.ResetOnSpawn = false -- Bottom Right Notification Container local NotifContainer = Instance.new("Frame", ScreenGui) NotifContainer.Name = "NotifContainer" NotifContainer.BackgroundTransparency = 1 NotifContainer.Position = UDim2.new(1, -290, 1, -210) NotifContainer.Size = UDim2.new(0, 270, 0, 200) local NotifLayout = Instance.new("UIListLayout", NotifContainer) NotifLayout.SortOrder = Enum.SortOrder.LayoutOrder NotifLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom NotifLayout.Padding = UDim.new(0, 6) -- Floating Toggle Button local ToggleButton = Instance.new("TextButton", ScreenGui) ToggleButton.Name = "FloatingToggle" ToggleButton.BackgroundColor3 = Color3.fromRGB(15, 15, 22) ToggleButton.BorderColor3 = Color3.fromRGB(0, 162, 255) ToggleButton.Position = UDim2.new(0.02, 0, 0.4, 0) ToggleButton.Size = UDim2.new(0, 120, 0, 42) ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Text = "💬 Zeta Chat 😈" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 13 ToggleButton.Active = true ToggleButton.Draggable = true Instance.new("UICorner", ToggleButton).CornerRadius = UDim.new(0, 8) -- Main Chat Frame local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Name = "MainFrame" MainFrame.BackgroundColor3 = Color3.fromRGB(14, 14, 20) MainFrame.BorderColor3 = Color3.fromRGB(80, 80, 120) MainFrame.Position = UDim2.new(0.3, 0, 0.2, 0) MainFrame.Size = UDim2.new(0, 400, 0, 340) MainFrame.Visible = false MainFrame.Active = true MainFrame.Draggable = true Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 10) -- Title Bar with Gradient feel local TitleBar = Instance.new("Frame", MainFrame) TitleBar.BackgroundColor3 = Color3.fromRGB(22, 22, 32) TitleBar.BorderSizePixel = 0 TitleBar.Size = UDim2.new(1, 0, 0, 38) Instance.new("UICorner", TitleBar).CornerRadius = UDim.new(0, 10) local TitleLabel = Instance.new("TextLabel", TitleBar) TitleLabel.BackgroundTransparency = 1 TitleLabel.Position = UDim2.new(0, 14, 0, 0) TitleLabel.Size = UDim2.new(1, -60, 1, 0) TitleLabel.Font = Enum.Font.GothamBold TitleLabel.Text = "Zeta Chat 🤯😈 [PRO]" TitleLabel.TextColor3 = Color3.fromRGB(0, 162, 255) TitleLabel.TextSize = 14 TitleLabel.TextXAlignment = Enum.TextXAlignment.Left -- Close Button local CloseBtn = Instance.new("TextButton", TitleBar) CloseBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50) CloseBtn.Position = UDim2.new(1, -32, 0, 8) CloseBtn.Size = UDim2.new(0, 22, 0, 22) CloseBtn.Font = Enum.Font.GothamBold CloseBtn.Text = "X" CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CloseBtn.TextSize = 12 Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0, 5) CloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = false end) -- Scrolling Area local ChatScroll = Instance.new("ScrollingFrame", MainFrame) ChatScroll.BackgroundColor3 = Color3.fromRGB(10, 10, 15) ChatScroll.BorderSizePixel = 0 ChatScroll.Position = UDim2.new(0, 12, 0, 48) ChatScroll.Size = UDim2.new(1, -24, 0, 235) ChatScroll.CanvasSize = UDim2.new(0, 0, 0, 0) ChatScroll.ScrollBarThickness = 6 Instance.new("UICorner", ChatScroll).CornerRadius = UDim.new(0, 6) local UIListLayout = Instance.new("UIListLayout", ChatScroll) UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 6) -- Input Box & Button local SendInput = Instance.new("TextBox", MainFrame) SendInput.BackgroundColor3 = Color3.fromRGB(20, 20, 30) SendInput.BorderColor3 = Color3.fromRGB(70, 70, 100) SendInput.Position = UDim2.new(0, 12, 0, 292) SendInput.Size = UDim2.new(0, 290, 0, 36) SendInput.Font = Enum.Font.Gotham SendInput.PlaceholderText = "Type message or /help for commands..." SendInput.Text = "" SendInput.TextColor3 = Color3.fromRGB(255, 255, 255) SendInput.TextSize = 12 SendInput.ClearTextOnFocus = false Instance.new("UICorner", SendInput).CornerRadius = UDim.new(0, 6) local SendButton = Instance.new("TextButton", MainFrame) SendButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255) SendButton.Position = UDim2.new(0, 310, 0, 292) SendButton.Size = UDim2.new(0, 78, 0, 36) SendButton.Font = Enum.Font.GothamBold SendButton.Text = "Send 🚀" SendButton.TextColor3 = Color3.fromRGB(255, 255, 255) SendButton.TextSize = 13 Instance.new("UICorner", SendButton).CornerRadius = UDim.new(0, 6) ---------------------------------------------------- -- RAINBOW COLOR EFFECT (Owner Tag & Announcement) ---------------------------------------------------- local rainbowLabels = {} RunService.RenderStepped:Connect(function() local hue = (tick() % 4) / 4 local rainbowColor = Color3.fromHSV(hue, 1, 1) for _, lbl in ipairs(rainbowLabels) do if lbl and lbl.Parent then lbl.TextColor3 = rainbowColor end end end) ---------------------------------------------------- -- NOTIFICATION POPUP FUNCTION ---------------------------------------------------- local function ShowNotification(username, bodyText, accentColor) local NotifBox = Instance.new("Frame", NotifContainer) NotifBox.BackgroundColor3 = Color3.fromRGB(18, 18, 26) NotifBox.BorderColor3 = accentColor or Color3.fromRGB(0, 162, 255) NotifBox.Size = UDim2.new(1, 0, 0, 54) NotifBox.BackgroundTransparency = 1 Instance.new("UICorner", NotifBox).CornerRadius = UDim.new(0, 8) local UserLabel = Instance.new("TextLabel", NotifBox) UserLabel.BackgroundTransparency = 1 UserLabel.Position = UDim2.new(0, 10, 0, 4) UserLabel.Size = UDim2.new(1, -20, 0, 16) UserLabel.Font = Enum.Font.GothamBold UserLabel.Text = username UserLabel.TextColor3 = accentColor or Color3.fromRGB(0, 162, 255) UserLabel.TextSize = 11 UserLabel.TextXAlignment = Enum.TextXAlignment.Right local BodyLabel = Instance.new("TextLabel", NotifBox) BodyLabel.BackgroundTransparency = 1 BodyLabel.Position = UDim2.new(0, 10, 0, 20) BodyLabel.Size = UDim2.new(1, -70, 0, 26) BodyLabel.Font = Enum.Font.GothamMedium BodyLabel.Text = bodyText BodyLabel.TextColor3 = Color3.fromRGB(240, 240, 240) BodyLabel.TextSize = 11 BodyLabel.TextXAlignment = Enum.TextXAlignment.Left BodyLabel.TextWrapped = true local TimeLabel = Instance.new("TextLabel", NotifBox) TimeLabel.BackgroundTransparency = 1 TimeLabel.Position = UDim2.new(1, -65, 0, 30) TimeLabel.Size = UDim2.new(0, 55, 0, 18) TimeLabel.Font = Enum.Font.Gotham TimeLabel.Text = os.date("%I:%M %p") TimeLabel.TextColor3 = Color3.fromRGB(150, 150, 180) TimeLabel.TextSize = 10 TimeLabel.TextXAlignment = Enum.TextXAlignment.Right TweenService:Create(NotifBox, TweenInfo.new(0.2), {BackgroundTransparency = 0.05}):Play() task.delay(2.0, function() if NotifBox and NotifBox.Parent then local tweenOut = TweenService:Create(NotifBox, TweenInfo.new(0.2), {BackgroundTransparency = 1}) tweenOut:Play() tweenOut.Completed:Connect(function() NotifBox:Destroy() end) end end) end ---------------------------------------------------- -- HELPER FUNCTIONS & CHAT LOGIC ---------------------------------------------------- local function FindPlayerByShortName(shortName) if not shortName or shortName == "" then return nil end local searchName = string.lower(shortName) for _, player in ipairs(Players:GetPlayers()) do if string.sub(string.lower(player.Name), 1, #searchName) == searchName or string.sub(string.lower(player.DisplayName), 1, #searchName) == searchName then return player end end return nil end local function ClearChat() for _, child in ipairs(ChatScroll:GetChildren()) do if child:IsA("Frame") then child:Destroy() end end end local function AddMessage(senderName, text, isOwner, replyTarget, isPrivate, targetUser, isOwnerAnnouncement) if isPrivate and (senderName ~= LocalPlayer.Name and targetUser ~= LocalPlayer.Name) then return end local MsgContainer = Instance.new("Frame", ChatScroll) MsgContainer.BackgroundTransparency = 1 MsgContainer.Size = UDim2.new(1, -10, 0, 0) local totalHeight = 0 if replyTarget and replyTarget ~= "" then local ReplyLabel = Instance.new("TextLabel", MsgContainer) ReplyLabel.BackgroundTransparency = 1 ReplyLabel.Size = UDim2.new(1, 0, 0, 14) ReplyLabel.Font = Enum.Font.Gotham ReplyLabel.Text = "┌─ Replying to @" .. replyTarget ReplyLabel.TextColor3 = Color3.fromRGB(150, 150, 180) ReplyLabel.TextSize = 10 ReplyLabel.TextXAlignment = Enum.TextXAlignment.Left totalHeight = totalHeight + 14 end local MsgLabel = Instance.new("TextLabel", MsgContainer) MsgLabel.BackgroundTransparency = 1 MsgLabel.Position = UDim2.new(0, 0, 0, totalHeight) MsgLabel.Size = UDim2.new(1, 0, 0, 22) MsgLabel.Font = Enum.Font.GothamMedium MsgLabel.TextSize = 13 MsgLabel.TextXAlignment = Enum.TextXAlignment.Left MsgLabel.TextWrapped = true if isOwnerAnnouncement then MsgLabel.Text = text MsgLabel.Font = Enum.Font.GothamBold table.insert(rainbowLabels, MsgLabel) elseif isPrivate then MsgLabel.Text = "[🔒 Private] " .. senderName .. ": " .. text MsgLabel.TextColor3 = Color3.fromRGB(220, 130, 255) elseif isOwner then MsgLabel.Text = "[Owner] " .. senderName .. ": " .. text table.insert(rainbowLabels, MsgLabel) else MsgLabel.Text = senderName .. ": " .. text MsgLabel.TextColor3 = Color3.fromRGB(240, 240, 240) end totalHeight = totalHeight + 22 MsgContainer.Size = UDim2.new(1, -10, 0, totalHeight) ChatScroll.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + 15) ChatScroll.CanvasPosition = Vector2.new(0, UIListLayout.AbsoluteContentSize.Y) if senderName ~= LocalPlayer.Name then if isPrivate then ShowNotification("@" .. senderName .. " (Private)", text, Color3.fromRGB(220, 130, 255)) else ShowNotification("@" .. senderName, text, Color3.fromRGB(0, 162, 255)) end end end ToggleButton.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) ---------------------------------------------------- -- COMMANDS & SEND LOGIC ---------------------------------------------------- local function BroadcastToExecutedUsers(eventType, text, replyTarget, isPrivate, targetUser, isOwnerAnnounce) pcall(function() RemoteChatEvent:FireServer(eventType, LocalPlayer.Name, text, replyTarget, isPrivate, targetUser, isOwnerAnnounce) end) AddMessage(LocalPlayer.Name, text, true, replyTarget, isPrivate, targetUser, isOwnerAnnounce) end local function SendMsg() local input = SendInput.Text if input ~= "" and input:match("%S") then if input == "/clear" then ClearChat() elseif input == "/help" then AddMessage("System", "Commands: /private , /reply , /mention , /role , /clear", false, nil, false, nil, false) elseif string.sub(input, 1, 9) == "/private " then local args = string.split(string.sub(input, 10), " ") local targetPlayer = FindPlayerByShortName(args[1]) if targetPlayer then table.remove(args, 1) BroadcastToExecutedUsers("MESSAGE", table.concat(args, " "), nil, true, targetPlayer.Name, false) end elseif string.sub(input, 1, 7) == "/reply " then local args = string.split(string.sub(input, 8), " ") local targetPlayer = FindPlayerByShortName(args[1]) if targetPlayer then table.remove(args, 1) BroadcastToExecutedUsers("MESSAGE", "@" .. targetPlayer.Name .. " " .. table.concat(args, " "), targetPlayer.Name, false, nil, false) end elseif string.sub(input, 1, 9) == "/mention " then local args = string.split(string.sub(input, 10), " ") local targetPlayer = FindPlayerByShortName(args[1]) if targetPlayer then table.remove(args, 1) BroadcastToExecutedUsers("MESSAGE", "@" .. targetPlayer.Name .. " " .. table.concat(args, " "), nil, false, nil, false) end elseif string.sub(input, 1, 6) == "/role " then local targetPlayer = FindPlayerByShortName(string.sub(input, 7)) if targetPlayer then BroadcastToExecutedUsers("COMMAND", "[CMD]: Assigned Role to " .. targetPlayer.Name, nil, false, nil, false) end else BroadcastToExecutedUsers("MESSAGE", input, nil, false, nil, false) end SendInput.Text = "" end end SendButton.MouseButton1Click:Connect(SendMsg) SendInput.FocusLost:Connect(function(e) if e then SendMsg() end end) RemoteChatEvent.OnClientEvent:Connect(function(senderName, messageText, replyTarget, isPrivate, targetUser, isOwnerAnnounce) if senderName ~= LocalPlayer.Name then AddMessage(senderName, messageText, false, replyTarget, isPrivate, targetUser, isOwnerAnnounce) end end) BroadcastToExecutedUsers("JOIN", "👑 nikhil owner joined the chat you cant understand the vibe 😋😋", nil, false, nil, true) ShowNotification("Zeta Chat 🤯😈", "PRO Version Activated! Type /help", Color3.fromRGB(255, 215, 0))