local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local StarterGui = game:GetService("StarterGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "ScriptSpammerGui" screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") screenGui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 450) frame.Position = UDim2.new(0.5, -150, 0.5, -225) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 10) uiCorner.Parent = frame local uiStroke = Instance.new("UIStroke") uiStroke.Thickness = 2 uiStroke.Color = Color3.fromRGB(0, 0, 0) uiStroke.Transparency = 0.8 uiStroke.Parent = frame local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 30) titleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 20) titleBar.BorderSizePixel = 0 titleBar.Parent = frame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -10, 1, 0) titleLabel.Position = UDim2.new(0, 5, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Script Spammer" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 16 titleLabel.Font = Enum.Font.SourceSansBold titleLabel.Parent = titleBar local scriptSelector = Instance.new("TextButton") scriptSelector.Size = UDim2.new(0.9, 0, 0, 30) scriptSelector.Position = UDim2.new(0.05, 0, 0.1, 0) scriptSelector.BackgroundColor3 = Color3.fromRGB(40, 40, 40) scriptSelector.TextColor3 = Color3.fromRGB(255, 255, 255) scriptSelector.Text = "Script 1" scriptSelector.TextSize = 14 scriptSelector.Font = Enum.Font.SourceSans scriptSelector.Parent = frame local selectorCorner = Instance.new("UICorner") selectorCorner.CornerRadius = UDim.new(0, 5) selectorCorner.Parent = scriptSelector local delayBox = Instance.new("TextBox") delayBox.Size = UDim2.new(0.9, 0, 0, 30) delayBox.Position = UDim2.new(0.05, 0, 0.18, 0) delayBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) delayBox.TextColor3 = Color3.fromRGB(255, 255, 255) delayBox.TextSize = 14 delayBox.Font = Enum.Font.SourceSans delayBox.Text = "0.1" delayBox.PlaceholderText = "Delay (seconds)" delayBox.Parent = frame local delayBoxCorner = Instance.new("UICorner") delayBoxCorner.CornerRadius = UDim.new(0, 5) delayBoxCorner.Parent = delayBox local textBox = Instance.new("TextBox") textBox.Size = UDim2.new(0.9, 0, 0.55, 0) textBox.Position = UDim2.new(0.05, 0, 0.27, 0) textBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) textBox.TextColor3 = Color3.fromRGB(255, 255, 255) textBox.TextSize = 14 textBox.Font = Enum.Font.SourceSans textBox.MultiLine = true textBox.ClearTextOnFocus = false textBox.TextXAlignment = Enum.TextXAlignment.Left textBox.TextYAlignment = Enum.TextYAlignment.Top textBox.Parent = frame local textBoxCorner = Instance.new("UICorner") textBoxCorner.CornerRadius = UDim.new(0, 5) textBoxCorner.Parent = textBox local textBoxStroke = Instance.new("UIStroke") textBoxStroke.Thickness = 1 textBoxStroke.Color = Color3.fromRGB(60, 60, 60) textBoxStroke.Parent = textBox local executeButton = Instance.new("TextButton") executeButton.Size = UDim2.new(0.9, 0, 0, 40) executeButton.Position = UDim2.new(0.05, 0, 0.85, 0) executeButton.BackgroundColor3 = Color3.fromRGB(0, 120, 215) executeButton.TextColor3 = Color3.fromRGB(255, 255, 255) executeButton.Text = "Execute Script" executeButton.TextSize = 16 executeButton.Font = Enum.Font.SourceSansBold executeButton.Parent = frame local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 5) buttonCorner.Parent = executeButton local scripts = { {name = "Script 1", code = "", running = false, coroutine = nil}, {name = "Script 2", code = "", running = false, coroutine = nil}, {name = "Script 3", code = "", running = false, coroutine = nil} } local currentScriptIndex = 1 local function executeScript(scriptData) local scriptText = scriptData.code local success, func = pcall(loadstring, scriptText) if success and func then func() else warn("Script execution failed: Invalid Lua code in " .. scriptData.name) end end local function updateUI() scriptSelector.Text = scripts[currentScriptIndex].name textBox.Text = scripts[currentScriptIndex].code executeButton.Text = scripts[currentScriptIndex].running and "Stop Execution" or "Execute Script" executeButton.BackgroundColor3 = scripts[currentScriptIndex].running and Color3.fromRGB(200, 50, 50) or Color3.fromRGB(0, 120, 215) end textBox:GetPropertyChangedSignal("Text"):Connect(function() scripts[currentScriptIndex].code = textBox.Text end) scriptSelector.MouseButton1Click:Connect(function() currentScriptIndex = (currentScriptIndex % #scripts) + 1 updateUI() end) executeButton.MouseButton1Click:Connect(function() local scriptData = scripts[currentScriptIndex] if scriptData.running then scriptData.running = false if scriptData.coroutine then coroutine.close(scriptData.coroutine) scriptData.coroutine = nil end else scriptData.running = true scriptData.coroutine = coroutine.create(function() while scriptData.running do executeScript(scriptData) local delay = tonumber(delayBox.Text) or 0.1 task.wait(math.max(0.1, delay)) end end) coroutine.resume(scriptData.coroutine) end updateUI() end) UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) if not gameProcessedEvent and input.KeyCode == Enum.KeyCode.LeftControl then screenGui.Enabled = not screenGui.Enabled end end) pcall(function() StarterGui:SetCore("SendNotification", { Title = "Script Spammer", Text = "Thanks for using Script Spammer", Duration = 3 }) wait(1) StarterGui:SetCore("SendNotification", { Title = "Script Spammer", Text = "Enjoy skid lmao", Duration = 3 }) end) screenGui.Enabled = true updateUI()