local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "TuffGUI" screenGui.ResetOnSpawn = false local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 300, 0, 180) mainFrame.Position = UDim2.new(0.5, -150, 0.5, -90) mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Position = UDim2.new(0, 0, 0, 0) title.BackgroundColor3 = Color3.fromRGB(30, 30, 30) title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Text = "TUFFGUI" title.Font = Enum.Font.GothamBold title.TextSize = 16 title.Parent = mainFrame local textBox = Instance.new("TextBox") textBox.Size = UDim2.new(0.9, -10, 0, 30) textBox.Position = UDim2.new(0.05, 0, 0.2, 0) textBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60) textBox.TextColor3 = Color3.fromRGB(255, 255, 255) textBox.PlaceholderText = "Enter name or all" textBox.Font = Enum.Font.Gotham textBox.TextSize = 14 textBox.Parent = mainFrame local flingButton = Instance.new("TextButton") flingButton.Size = UDim2.new(0.7, 0, 0, 30) flingButton.Position = UDim2.new(0.15, 0, 0.45, 0) flingButton.BackgroundColor3 = Color3.fromRGB(220, 60, 60) flingButton.TextColor3 = Color3.fromRGB(255, 255, 255) flingButton.Text = "FLING" flingButton.Font = Enum.Font.GothamBold flingButton.TextSize = 14 flingButton.Parent = mainFrame local autoButton = Instance.new("TextButton") autoButton.Size = UDim2.new(0.7, 0, 0, 25) autoButton.Position = UDim2.new(0.15, 0, 0.7, 0) autoButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) autoButton.TextColor3 = Color3.fromRGB(255, 255, 255) autoButton.Text = "AUTO: OFF" autoButton.Font = Enum.Font.Gotham autoButton.TextSize = 12 autoButton.Parent = mainFrame local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(0.9, 0, 0, 20) statusLabel.Position = UDim2.new(0.05, 0, 0.9, 0) statusLabel.BackgroundTransparency = 1 statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) statusLabel.Text = "Tip: Type all to fling everyone" statusLabel.Font = Enum.Font.Gotham statusLabel.TextSize = 12 statusLabel.Parent = mainFrame local autoEnabled = false local function findClosestPlayer(input) if not input or input == "" then return nil end local players = Players:GetPlayers() local matches = {} local lowerInput = input:lower() for _, playerObj in ipairs(players) do if playerObj ~= Players.LocalPlayer then if playerObj.Name:lower():find(lowerInput, 1, true) or playerObj.DisplayName:lower():find(lowerInput, 1, true) then table.insert(matches, playerObj) end end end return matches[1] end local function flingAllPlayers() local players = Players:GetPlayers() local flung = 0 local total = 0 for _, playerObj in ipairs(players) do if playerObj ~= Players.LocalPlayer and playerObj.Character then total = total + 1 end end if total == 0 then statusLabel.Text = "No players found" return end statusLabel.Text = "Flinging all players" for _, playerObj in ipairs(players) do if playerObj ~= Players.LocalPlayer and playerObj.Character then for i = 1, 10 do local args = { "Default", playerObj.Character, Vector3.new(math.random(5,500), math.random(5,500), math.random(5,500)) } pcall(function() ReplicatedStorage:WaitForChild("Events"):WaitForChild("Slap"):FireServer(unpack(args)) end) end flung = flung + 1 wait(0.05) end end statusLabel.Text = "Flung " .. flung .. " players" delay(3, function() statusLabel.Text = "Tip: Type all to fling everyone" end) end local function flingPlayer() local inputName = textBox.Text if not inputName or inputName == "" then statusLabel.Text = "Please enter a name" return end if inputName:lower() == "all" then flingAllPlayers() return end local targetPlayer = Players:FindFirstChild(inputName) or findClosestPlayer(inputName) if not targetPlayer or not targetPlayer.Character then return end for i = 1, 10 do local args = { "Default", targetPlayer.Character, Vector3.new(math.random(5,500), math.random(5,500), math.random(5,500)) } pcall(function() ReplicatedStorage:WaitForChild("Events"):WaitForChild("Slap"):FireServer(unpack(args)) end) end statusLabel.Text = "Flung " .. targetPlayer.Name delay(3, function() statusLabel.Text = "Tip: Type all to fling everyone" end) end flingButton.MouseButton1Click:Connect(flingPlayer) textBox.FocusLost:Connect(function(enterPressed) if enterPressed then flingPlayer() end end) autoButton.MouseButton1Click:Connect(function() autoEnabled = not autoEnabled autoButton.Text = "AUTO: " .. (autoEnabled and "ON" or "OFF") autoButton.BackgroundColor3 = autoEnabled and Color3.fromRGB(60, 220, 60) or Color3.fromRGB(60, 60, 60) while autoEnabled do if textBox.Text ~= "" then flingPlayer() end wait(0.1) end end) local dragging = false local dragStart, startPos title.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position local connection = game:GetService("UserInputService").InputChanged:Connect(function(moveInput) if dragging and (moveInput.UserInputType == Enum.UserInputType.Touch or moveInput.UserInputType == Enum.UserInputType.MouseMovement) then local delta = moveInput.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) game:GetService("UserInputService").InputEnded:Connect(function(endInput) if endInput.UserInputType == Enum.UserInputType.Touch or endInput.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false connection:Disconnect() end end) end end) screenGui.Parent = playerGui