local TextChatService = game:GetService("TextChatService") local Players = game:GetService("Players") local HttpService = game:GetService("HttpService") local LocalPlayer = Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui")) ScreenGui.Name = "ChatEnhancementSuite" ScreenGui.ResetOnSpawn = false local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Size = UDim2.new(0, 400, 0, 300) MainFrame.Position = UDim2.new(0.5, -200, 0.5, -150) MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true local Title = Instance.new("TextLabel", MainFrame) Title.Size = UDim2.new(1, 0, 0, 30) Title.Text = "AXIN.CC绕过聊天系统" Title.TextColor3 = Color3.new(1, 1, 1) Title.BackgroundColor3 = Color3.fromRGB(50, 50, 50) local ScrollingFrame = Instance.new("ScrollingFrame", MainFrame) ScrollingFrame.Size = UDim2.new(0.95, 0, 0.6, 0) ScrollingFrame.Position = UDim2.new(0.025, 0, 0.15, 0) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 5, 0) ScrollingFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) local UIList = Instance.new("UIListLayout", ScrollingFrame) UIList.SortOrder = Enum.SortOrder.LayoutOrder local InputBox = Instance.new("TextBox", MainFrame) InputBox.Size = UDim2.new(0.75, 0, 0.1, 0) InputBox.Position = UDim2.new(0.025, 0, 0.85, 0) InputBox.PlaceholderText = "输入发送内容" InputBox.Text = "" InputBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60) InputBox.TextColor3 = Color3.new(1, 1, 1) local SendBtn = Instance.new("TextButton", MainFrame) SendBtn.Size = UDim2.new(0.2, 0, 0.1, 0) SendBtn.Position = UDim2.new(0.775, 0, 0.85, 0) SendBtn.Text = "发送" SendBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0) local function fakeTranslate(text) return "[翻译: " .. text .. " (CN),of(UN)]" end local function addMessageToUI(sender, text, isTranslated) local msgLabel = Instance.new("TextLabel", ScrollingFrame) msgLabel.Size = UDim2.new(1, 0, 0, 25) msgLabel.BackgroundTransparency = 1 msgLabel.TextSize = 14 msgLabel.TextXAlignment = Enum.TextXAlignment.Left if isTranslated then msgLabel.Text = " [LOG] " .. sender .. ": " .. text msgLabel.TextColor3 = Color3.fromRGB(200, 255, 200) else msgLabel.Text = " " .. sender .. ": " .. text msgLabel.TextColor3 = Color3.new(1, 1, 1) end end TextChatService.OnIncomingMessage = function(message) if message.TextSource then local senderName = message.TextSource.Name local originalText = message.Text addMessageToUI(senderName, originalText, false) if senderName ~= LocalPlayer.Name then local translated = fakeTranslate(originalText) addMessageToUI(senderName, translated, true) end end return nil end local function forceSendMessage() local content = InputBox.Text if content ~= "" then local channel = TextChatService.TextChannels.RBXGeneral channel:SendAsync(content) InputBox.Text = "" end end SendBtn.MouseButton1Click:Connect(forceSendMessage) InputBox.FocusLost:Connect(function(enterPressed) if enterPressed then forceSendMessage() end end)