-- Chat Bypasser V4
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
if PlayerGui:FindFirstChild("ChatSenderGui") then
PlayerGui.ChatSenderGui:Destroy()
end
-- GUI Setup
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ChatSenderGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = PlayerGui
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 280, 0, 140)
MainFrame.Position = UDim2.new(0.5, -140, 0.4, -70)
MainFrame.BackgroundColor3 = Color3.fromRGB(22, 24, 32)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Parent = ScreenGui
local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 8) Corner.Parent = MainFrame
local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(0, 170, 255) Stroke.Thickness = 1.5 Stroke.Parent = MainFrame
-- Nadpis
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, -30, 0, 28)
Title.Position = UDim2.new(0, 12, 0, 4)
Title.BackgroundTransparency = 1
Title.Text = "CHAT BYPASSER V4"
Title.TextColor3 = Color3.fromRGB(0, 170, 255)
Title.TextSize = 11
Title.Font = Enum.Font.GothamBold
Title.TextXAlignment = Enum.TextXAlignment.Left
Title.Parent = MainFrame
-- Zavřít (X)
local CloseBtn = Instance.new("TextButton")
CloseBtn.Size = UDim2.new(0, 22, 0, 22)
CloseBtn.Position = UDim2.new(1, -26, 0, 6)
CloseBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50)
CloseBtn.Text = "✕"
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.TextSize = 11
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.Parent = MainFrame
local CC = Instance.new("UICorner") CC.CornerRadius = UDim.new(0, 4) CC.Parent = CloseBtn
-- Textové pole pro napsání zprávy
local TextBox = Instance.new("TextBox")
TextBox.Size = UDim2.new(1, -20, 0, 36)
TextBox.Position = UDim2.new(0, 10, 0, 38)
TextBox.BackgroundColor3 = Color3.fromRGB(35, 40, 52)
TextBox.Text = "fuck this shit"
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 12
TextBox.Font = Enum.Font.Gotham
TextBox.ClearTextOnFocus = false
TextBox.Parent = MainFrame
local TBC = Instance.new("UICorner") TBC.CornerRadius = UDim.new(0, 6)
TBC.Parent = TextBox
-- Tlačítko SEND
local SendBtn = Instance.new("TextButton")
SendBtn.Size = UDim2.new(1, -20, 0, 32)
SendBtn.Position = UDim2.new(0, 10, 0, 84)
SendBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
SendBtn.Text = "SEND TO CHAT 💬"
SendBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
SendBtn.TextSize = 11
SendBtn.Font = Enum.Font.GothamBold
SendBtn.Parent = MainFrame
local SBC = Instance.new("UICorner") SBC.CornerRadius = UDim.new(0, 6) SBC.Parent = SendBtn
-----------------------------------------------------------
-- FUNKCE ODESLÁNÍ DO CHATU
-----------------------------------------------------------
local function sendChatMessage(msg)
if msg == "" then return end
pcall(function()
-- 1. Moderní TextChatService (nový Roblox chat)
if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
local channels = TextChatService:FindFirstChild("TextChannels")
if channels then
local general = channels:FindFirstChild("RBXGeneral")
if general then
general:SendAsync(msg)
return
end
end
end
-- 2. Starý Classic Chat / RemoteEvent fallback
local defaultChatSystemChatEvents = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
if defaultChatSystemChatEvents then
local sayMessageRequest = defaultChatSystemChatEvents:FindFirstChild("SayMessageRequest")
if sayMessageRequest then
sayMessageRequest:FireServer(msg, "All")
return
end
end
end)
end
SendBtn.MouseButton1Click:Connect(function()
sendChatMessage(TextBox.Text)
-- Efekt po kliknutí
SendBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 90)
SendBtn.Text = "SENT! ✅"
task.wait(0.5)
SendBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
SendBtn.Text = "SEND TO CHAT 💬"
end)
CloseBtn.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
-- Přetahování okna
local dragging, dragStart, startPos
MainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true dragStart = input.Position startPos = MainFrame.Position
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)0 views