Elisonpp

Rage ball manual spam

Apr 26th, 2025 (edited)
85
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. -- Dois botões grandes + um botão menor de Manual Spam funcionando separados
  2.  
  3. -- Serviços
  4. local VirtualInput = game:GetService("VirtualInputManager")
  5. local Players = game:GetService("Players")
  6. local player = Players.LocalPlayer
  7.  
  8. -- Criar GUI
  9. local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  10. screenGui.Name = "ManualSpamGui"
  11. screenGui.ResetOnSpawn = false
  12.  
  13. -- Função para criar um botão de spam
  14. local function createSpamButton(name, positionX, sizeX, sizeY)
  15. local button = Instance.new("TextButton", screenGui)
  16. button.Size = UDim2.new(0, sizeX, 0, sizeY)
  17. button.Position = UDim2.new(0.5, positionX, 0.85, 0)
  18. button.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  19. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  20. button.Text = name.." OFF"
  21. button.TextScaled = true
  22. button.Font = Enum.Font.SourceSansBold
  23. button.BorderSizePixel = 2
  24.  
  25. local isSpamming = false
  26. local clickDelay = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -- Rapidez do spam
  27.  
  28. button.MouseButton1Click:Connect(function()
  29. isSpamming = not isSpamming
  30. button.Text = isSpamming and (name.." ON") or (name.." OFF")
  31. end)
  32.  
  33. -- Loop de spam individual
  34. task.spawn(function()
  35. while true do
  36. if isSpamming then
  37. VirtualInput:SendMouseButtonEvent(0, 0, 0, true, game, 0)
  38. VirtualInput:SendMouseButtonEvent(0, 0, 0, false, game, 0)
  39. end
  40. task.wait(clickDelay)
  41. end
  42. end)
  43. end
  44.  
  45. -- Criar dois botões grandes
  46. createSpamButton("Spam 1", -140, 120, 40) -- Esquerda
  47. createSpamButton("Spam 2", 0, 120, 40) -- Centro
  48.  
  49. -- Criar um botão menor do lado direito
  50. createSpamButton("Spam 3", 140, 80, 30) -- Direita (menor)
Advertisement
Comments
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment