local ge = game local rs = ge:GetService("ReplicatedStorage") local pl = ge:GetService("Players").LocalPlayer local ca = pl:WaitForChild("PlayerGui") local ev = rs:WaitForChild("Event"):WaitForChild("SendMessage") local function cc() local sc = Instance.new("ScreenGui") sc.Name = "GG" sc.Parent = ca sc.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local tg = Instance.new("TextButton") tg.Name = "TG" tg.Text = "Chat Spam" tg.Size = UDim2.new(0.18, 0, 0.05, 0) tg.Position = UDim2.new(0.01, 0, 0.01, 0) tg.BackgroundColor3 = Color3.fromRGB(50, 50, 50) tg.BackgroundTransparency = 0.1 tg.BorderSizePixel = 0 tg.TextColor3 = Color3.new(1, 1, 1) tg.Font = Enum.Font.SourceSansBold tg.TextSize = 20 tg.Parent = sc local ug1 = Instance.new("UICorner") ug1.CornerRadius = UDim.new(0, 8) ug1.Parent = tg local ui1 = Instance.new("UIGradient") ui1.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 180, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(150, 0, 255)) }) ui1.Parent = tg local fr = Instance.new("Frame") fr.Name = "FR" fr.Size = UDim2.new(0.35, 0, 0.1, 0) fr.Position = UDim2.new(0.325, 0, 0.85, 0) fr.BackgroundColor3 = Color3.fromRGB(20, 20, 20) fr.BackgroundTransparency = 0.2 fr.BorderSizePixel = 0 fr.ClipsDescendants = true fr.Parent = sc local ug = Instance.new("UICorner") ug.CornerRadius = UDim.new(0, 10) ug.Parent = fr local ui = Instance.new("UIGradient") ui.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 200, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(150, 0, 255)) }) ui.Parent = fr local ti = Instance.new("TextBox") ti.Name = "TT" ti.PlaceholderText = "Type message here... (Multi-line enabled)" ti.Text = "احم" ti.Size = UDim2.new(0.7, 0, 1, 0) ti.Position = UDim2.new(0, 0, 0, 0) ti.BackgroundColor3 = Color3.fromRGB(30, 30, 30) ti.BackgroundTransparency = 0.1 ti.BorderSizePixel = 0 ti.TextColor3 = Color3.new(1, 1, 1) ti.TextSize = 16 ti.Font = Enum.Font.SourceSans ti.MultiLine = true ti.Parent = fr local se = Instance.new("TextButton") se.Name = "SS" se.Text = "Send" se.Size = UDim2.new(0.15, 0, 1, 0) se.Position = UDim2.new(0.7, 0, 0, 0) se.BackgroundColor3 = Color3.fromRGB(0, 150, 255) se.BorderSizePixel = 0 se.TextColor3 = Color3.new(1, 1, 1) se.Font = Enum.Font.SourceSansBold se.Parent = fr local sp = Instance.new("TextButton") sp.Name = "SM" sp.Text = "Spam" sp.Size = UDim2.new(0.15, 0, 1, 0) sp.Position = UDim2.new(0.85, 0, 0, 0) sp.BackgroundColor3 = Color3.fromRGB(255, 50, 100) sp.BorderSizePixel = 0 sp.TextColor3 = Color3.new(1, 1, 1) sp.Font = Enum.Font.SourceSansBold sp.Parent = fr fr.Visible = false end local function sf(tx) if ev then ev:FireServer(tx) end end local function st() local gg = ca:FindFirstChild("GG") if not gg then return end local fr = gg:FindFirstChild("FR") local tg = gg:FindFirstChild("TG") local ti = fr.TT local se = fr.SS local sp = fr.SM local co = nil local mo = ge:GetService("UserInputService") local dr = false local ps = nil local function ds(ob) ob.InputBegan:Connect(function(ip) if ip.UserInputType == Enum.UserInputType.MouseButton1 or ip.UserInputType == Enum.UserInputType.Touch then dr = true ps = mo:GetMouseLocation() end end) ob.InputEnded:Connect(function(ip) if ip.UserInputType == Enum.UserInputType.MouseButton1 or ip.UserInputType == Enum.UserInputType.Touch then dr = false ps = nil end end) mo.InputChanged:Connect(function(ip) if dr and ip.UserInputType == Enum.UserInputType.MouseMovement then local de = mo:GetMouseLocation() - ps fr.Position = fr.Position + UDim2.new(0, de.X, 0, de.Y) ps = mo:GetMouseLocation() end end) end ds(fr) tg.MouseButton1Click:Connect(function() fr.Visible = not fr.Visible end) se.MouseButton1Click:Connect(function() sf(ti.Text) end) sp.MouseButton1Click:Connect(function() if co then co:Disconnect() co = nil sp.Text = "Spam" sp.BackgroundColor3 = Color3.fromRGB(255, 50, 100) else sp.Text = "Stop" sp.BackgroundColor3 = Color3.fromRGB(50, 200, 50) co = ge:GetService("RunService").Heartbeat:Connect(function() sf(ti.Text) wait(0.1) end) end end) end cc() st()