-- ██████╗░░█████╗░███╗░░██╗████████╗  ░██████╗████████╗███████╗░█████╗░██╗░░░░░ -- ██╔══██╗██╔══██╗████╗░██║╚══██╔══╝  ██╔════╝╚══██╔══╝██╔════╝██╔══██╗██║░░░░░ -- ██║░░██║██║░░██║██╔██╗██║░░░██║░░░  ╚█████╗░░░░██║░░░█████╗░░███████║██║░░░░░ -- ██║░░██║██║░░██║██║╚████║░░░██║░░░  ░╚═══██╗░░░██║░░░██╔══╝░░██╔══██║██║░░░░░ -- ██████╔╝╚█████╔╝██║░╚███║░░░██║░░░  ██████╔╝░░░██║░░░███████╗██║░░██║███████╗ -- ╚═════╝░░╚════╝░╚═╝░░╚══╝░░░╚═╝░░░  ╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝╚══════╝ -- ! -- █ ▀█▀ █▀   █▀▄▀█ █▄█   █▀▀ █ █▀█ █▀ ▀█▀   █▀ █▀▀ █▀█ █ █▀█ ▀█▀   ░ ░ ░ -- █ ░█░ ▄█   █░▀░█ ░█░   █▀░ █ █▀▄ ▄█ ░█░   ▄█ █▄▄ █▀▄ █ █▀▀ ░█░   ▄ ▄ ▄ local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local TextChatService = game:GetService("TextChatService") local Players = game:GetService("Players") local player = Players.LocalPlayer local pGui = player:WaitForChild("PlayerGui") local textChannel = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXGeneral") -- poop local currentMessage = "/e poo" local targetInterval = 0.05 -- 50ms local timeAccumulator = 0 local loopConnection = nil local screenGui = Instance.new("ScreenGui") screenGui.Name = "MacroConfigMenu" screenGui.ResetOnSpawn = false screenGui.Parent = pGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 250, 0, 130) mainFrame.Position = UDim2.new(0.1, 0, 0.1, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true -- Allows the window to be moved around the screen mainFrame.Parent = screenGui local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 30) titleLabel.BackgroundTransparency = 1 titleLabel.Text = " spam by epic_lemon303" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 14 titleLabel.Parent = mainFrame local inputBox = Instance.new("TextBox") inputBox.Size = UDim2.new(0, 220, 0, 35) inputBox.Position = UDim2.new(0, 15, 0, 40) inputBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) inputBox.BorderSizePixel = 0 inputBox.Text = currentMessage inputBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputBox.Font = Enum.Font.SourceSans inputBox.TextSize = 14 inputBox.ClearTextOnFocus = false inputBox.Parent = mainFrame local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(1, 0, 0, 30) statusLabel.Position = UDim2.new(0, 0, 0, 85) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Status: Idle | [ñ] Start | [ç] Stop" statusLabel.TextColor3 = Color3.fromRGB(180, 180, 180) statusLabel.Font = Enum.Font.SourceSansItalic statusLabel.TextSize = 12 statusLabel.Parent = mainFrame -- Updates the tracked text string whenever the user finishes typing in the box inputBox.FocusLost:Connect(function(enterPressed) currentMessage = inputBox.Text end) local function startLoop() if loopConnection then return end statusLabel.Text = "Status: RUNNING..." statusLabel.TextColor3 = Color3.fromRGB(0, 255, 100) -- Read the latest state of the text box immediately upon execution currentMessage = inputBox.Text loopConnection = RunService.Heartbeat:Connect(function(deltaTime) timeAccumulator = timeAccumulator + deltaTime if timeAccumulator >= targetInterval then timeAccumulator = timeAccumulator - targetInterval -- Sends whatever is currently typed in the UI text box textChannel:SendAsync(currentMessage) end end) end local function stopLoop() if loopConnection then loopConnection:Disconnect() loopConnection = nil timeAccumulator = 0 statusLabel.Text = "Status: Idle | [ñ] Start | [ç] Stop" statusLabel.TextColor3 = Color3.fromRGB(180, 180, 180) end end UserInputService.InputBegan:Connect(function(input, gameProcessed) -- If the user is currently typing inside the menu's TextBox or the game chat, ignore keybinds if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Semicolon then -- 'ñ' keycap position startLoop() elseif input.KeyCode == Enum.KeyCode.BackSlash then -- 'ç' keycap position stopLoop() end end) -- Fires a public chat notification instantly when the script is loaded if textChannel then textChannel:SendAsync("script by epic_lemon303") end