Elisonpp

Bladeballbydarker9898

Feb 4th, 2025 (edited)
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.78 KB | None | 0 0
  1. -- Criar uma ScreenGui (interface principal)
  2. local ScreenGui = Instance.new("ScreenGui")
  3. ScreenGui.Parent = game.CoreGui -- Garante que a interface não seja removida ao morrer
  4.  
  5. -- Criar a Janela de Key
  6. local KeyFrame = Instance.new("Frame")
  7. KeyFrame.Size = UDim2.new(0, 250, 0, 150)
  8. KeyFrame.Position = UDim2.new(0.5, -125, 0.5, -75)
  9. KeyFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  10. KeyFrame.BorderSizePixel = 0
  11. KeyFrame.Parent = ScreenGui
  12.  
  13. -- Criar um TextBox para inserir a Key
  14. local KeyInput = Instance.new("TextBox")
  15. KeyInput.Size = UDim2.new(0, 200, 0, 40)
  16. KeyInput.Position = UDim2.new(0.5, -100, 0.5, -20)
  17. KeyInput.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  18. KeyInput.Text = ""
  19. KeyInput.TextColor3 = Color3.fromRGB(255, 255, 255)
  20. KeyInput.Parent = KeyFrame
  21.  
  22. -- Criar botão de verificar Key
  23. local CheckKeyButton = Instance.new("TextButton")
  24. CheckKeyButton.Size = UDim2.new(0, 200, 0, 40)
  25. CheckKeyButton.Position = UDim2.new(0.5, -100, 0.8, 0)
  26. CheckKeyButton.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
  27. CheckKeyButton.Text = "Verificar"
  28. CheckKeyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  29. CheckKeyButton.Parent = KeyFrame
  30.  
  31. -- Criar a Janela Principal (inicialmente invisível)
  32. local MainFrame = Instance.new("Frame")
  33. MainFrame.Size = UDim2.new(0, 300, 0, 250)
  34. MainFrame.Position = UDim2.new(0.5, -150, 0.5, -125)
  35. MainFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  36. MainFrame.Visible = false -- Inicialmente escondido até inserir a Key
  37. MainFrame.Parent = ScreenGui
  38.  
  39. -- Criar um texto no topo da Janela Principal
  40. local TitleLabel = Instance.new("TextLabel")
  41. TitleLabel.Size = UDim2.new(1, 0, 0, 25)
  42. TitleLabel.Position = UDim2.new(0, 0, 0, -25)
  43. TitleLabel.BackgroundTransparency = 1
  44. TitleLabel.Text = "BY darker 9898"
  45. TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  46. TitleLabel.TextScaled = true
  47. TitleLabel.Font = Enum.Font.GothamBold
  48. TitleLabel.Parent = MainFrame
  49.  
  50. -- Criar botão de Auto Parry
  51. local AutoParryButton = Instance.new("TextButton")
  52. AutoParryButton.Size = UDim2.new(0, 280, 0, 50)
  53. AutoParryButton.Position = UDim2.new(0.5, -140, 0.4, -25)
  54. AutoParryButton.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
  55. AutoParryButton.Text = "Auto Parry"
  56. AutoParryButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  57. AutoParryButton.Parent = MainFrame
  58.  
  59. -- Criar botão de Auto Spam
  60. local AutoSpamButton = Instance.new("TextButton")
  61. AutoSpamButton.Size = UDim2.new(0, 280, 0, 50)
  62. AutoSpamButton.Position = UDim2.new(0.5, -140, 0.7, -25)
  63. AutoSpamButton.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
  64. AutoSpamButton.Text = "Auto Spam"
  65. AutoSpamButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  66. AutoSpamButton.Parent = MainFrame
  67.  
  68. -- Criar botão toggle separado
  69. local ToggleButton = Instance.new("TextButton")
  70. ToggleButton.Size = UDim2.new(0, 50, 0, 30)
  71. ToggleButton.Position = UDim2.new(0.5, -25, 0.9, 0)
  72. ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
  73. ToggleButton.Text = "Show"
  74. ToggleButton.Visible = false -- Apenas visível após inserir a key
  75. ToggleButton.Parent = ScreenGui
  76.  
  77. -- Verificar a Key
  78. CheckKeyButton.MouseButton1Click:Connect(function()
  79. if KeyInput.Text == "key_dark9898" then
  80. KeyFrame:Destroy() -- Remove a janela de Key
  81. MainFrame.Visible = true
  82. ToggleButton.Visible = true
  83. else
  84. KeyInput.Text = "Key Inválida!"
  85. wait(1)
  86. KeyInput.Text = ""
  87. end
  88. end)
  89.  
  90. -- Sistema de abrir e fechar com animação
  91. local isOpen = true
  92. ToggleButton.MouseButton1Click:Connect(function()
  93. if isOpen then
  94. MainFrame:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
  95. wait(0.5)
  96. MainFrame.Visible = false
  97. ToggleButton.Text = "Show"
  98. else
  99. MainFrame.Visible = true
  100. MainFrame:TweenSize(UDim2.new(0, 300, 0, 250), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
  101. ToggleButton.Text = "Hide"
  102. end
  103. isOpen = not isOpen
  104. end)
  105.  
  106. -- 🛠️ **Onde colocar seu script de Auto Parry**
  107. -- Substitua o print abaixo pelo seu código de Auto Parry
  108. AutoParryButton.MouseButton1Click:Connect(function()
  109. print("Auto Parry ativado!") --[[
  110. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  111. ]]
  112. -- credit to dendenzzz
  113.  
  114. getgenv().autoparry = true
  115.  
  116. local VirtualManager =
  117. game:GetService("VirtualInputManager")
  118. local Stats = game:GetService('Stats')
  119. local Players = game:GetService('Players')
  120. local Player = Players.LocalPlayer or Players.PlayerAdded:Wait()
  121. local RunService = game:GetService('RunService')
  122. local parry_helper = loadstring(game:HttpGet("https://raw.githubusercontent.com/TripleScript/TripleHub/main/helper_.lua"))()
  123.  
  124. local ero = false
  125.  
  126. task.spawn(function()
  127. RunService.PreRender:Connect(function()
  128. if not getgenv().autoparry then
  129. return
  130. end
  131.  
  132. local par = parry_helper.FindTargetBall()
  133. if not par then
  134. return
  135. end
  136.  
  137. local hat = par.AssemblyLinearVelocity
  138. if par:FindFirstChild('zoomies') then
  139. hat = par.zoomies.VectorVelocity
  140. end
  141.  
  142. local i = par.Position
  143. local j = Player.Character.PrimaryPart.Position
  144. local kil = (j - i).Unit
  145. local l = Player:DistanceFromCharacter(i)
  146. local m = kil:Dot(hat.Unit)
  147. local n = hat.Magnitude
  148.  
  149. if m > 0 then
  150. local o = l - 5
  151. local p = o / n
  152.  
  153. if parry_helper.IsPlayerTarget(par) and p <= 0.75 and not ero then
  154. VirtualManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
  155. wait(0.01)
  156. ero = true
  157. end
  158. else
  159. ero = false
  160. end
  161. end)
  162. end)
  163. end)
  164.  
  165. -- 🛠️ **Onde colocar seu script de Auto Spam**
  166. -- Substitua o print abaixo pelo seu código de Auto Spam
  167. AutoSpamButton.MouseButton1Click:Connect(function()
  168. print("Auto Spam ativado!") --[[
  169. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  170. ]]
  171. local VirtualInputManager = game:GetService("VirtualInputManager")
  172.  
  173. local function get_plr()
  174. return game.Players.LocalPlayer
  175. end
  176.  
  177. local function get_plrChar()
  178. local plrChar = get_plr().Character
  179. if plrChar then
  180. return plrChar
  181. end
  182. end
  183.  
  184. local function get_plrRP()
  185. local plrRP = get_plrChar():FindFirstChild("HumanoidRootPart")
  186. if plrRP then
  187. return plrRP
  188. end
  189. end
  190.  
  191. local function playerJump()
  192. pcall(function()
  193. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  194. end)
  195. end
  196.  
  197. local function get_PlayersNumber()
  198. local Alive = workspace:WaitForChild("Alive", 20):GetChildren()
  199. local PlayersNumber = 0
  200. for _,v in pairs(Alive) do
  201. if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 100 then
  202. PlayersNumber = PlayersNumber + 1
  203. end
  204. end
  205. return PlayersNumber
  206. end
  207.  
  208. local function get_ProxyPlayer()
  209. local Players = workspace:WaitForChild("Alive"):GetChildren()
  210. local Distance = math.huge
  211. local plr = game.Players.LocalPlayer
  212. local plrRP = plr.Character:FindFirstChild("HumanoidRootPart")
  213. local Player = nil
  214.  
  215. for _,plr1 in pairs(Players) do
  216. if plr1.Name ~= plr.Name and plrRP and plr1:FindFirstChild("HumanoidRootPart") and plr1:FindFirstChild("Humanoid") and plr1.Humanoid.Health > 100 then
  217. local magnitude = (plr1.HumanoidRootPart.Position - plrRP.Position).Magnitude
  218. if magnitude <= Distance then
  219. Distance = magnitude
  220. Player = plr1
  221. end
  222. end
  223. end
  224. return Player
  225. end
  226.  
  227. local function Click_Button()
  228. task.spawn(function()
  229. local plr = game.Players.LocalPlayer
  230. local plrFind = workspace.Alive:FindFirstChild(plr.Name)
  231. if plrFind then
  232. local plrs = 0
  233. for _,v in pairs(workspace:WaitForChild("Alive", 10):GetChildren()) do
  234. plrs = plrs + 1
  235. end
  236. if plrs > 1 then
  237. VirtualInputManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
  238. end
  239. end
  240. end)
  241. end
  242.  
  243. task.spawn(function()
  244. while task.wait() do
  245. if getgenv().SpamClickA then
  246. Click_Button()
  247. end
  248. end
  249. end)
  250.  
  251. local function DetectSpam()
  252. local Balls = workspace:WaitForChild("Balls", 20)
  253.  
  254. local OldPos = Vector3.new()
  255. local OldTick1 = tick()
  256.  
  257. local OldBall = Balls
  258. local TargetPlayer = ""
  259. local SpamNum = 0
  260. local BallSpeed = 0
  261. local BallDistance = 0
  262.  
  263. task.spawn(function()
  264. local OldTick = tick()
  265. local OldPos = Vector3.new()
  266. while getgenv().DetectSpam do task.wait()
  267. local plrRP = get_plrRP()
  268. local Ball = Balls:FindFirstChildOfClass("Part")
  269. if plrRP and Ball then
  270. BallDistance = (plrRP.Position - Ball.Position).Magnitude
  271. BallSpeed = (OldPos - Ball.Position).Magnitude
  272. if tick() - OldTick >= 1/60 then
  273. OldTick = tick()
  274. OldPos = Ball.Position
  275. end
  276. end
  277. end
  278. end)
  279.  
  280. while getgenv().DetectSpam do task.wait()
  281. local Ball = Balls:FindFirstChildOfClass("Part")
  282. local plrRP = get_plrRP()
  283. local ProxyPlayer = get_ProxyPlayer()
  284.  
  285. if not Ball then
  286. getgenv().SpamClickA = false
  287. end
  288.  
  289. if Ball and Ball:GetAttribute("realBall") and OldBall ~= Ball then
  290.  
  291. Ball.Changed:Connect(function()task.wait()
  292. local Ball = Balls:FindFirstChildOfClass("Part")
  293.  
  294. if Ball then
  295. TargetPlayer = Ball:GetAttribute("target")
  296.  
  297. if ProxyPlayer and TargetPlayer == ProxyPlayer.Name or get_plr() and TargetPlayer == get_plr().Name then
  298. SpamNum = SpamNum + 1
  299. else
  300. SpamNum = 0
  301. end
  302.  
  303. local args = ProxyPlayer and ProxyPlayer:FindFirstChild("HumanoidRootPart")
  304. local HL1 = ProxyPlayer and ProxyPlayer:FindFirstChild("Highlight")
  305. local HL2 = get_plrChar() and get_plrChar():FindFirstChild("Highlight")
  306.  
  307. if plrRP and HL1 and args or plrRP and HL2 and args then
  308. local DistancePlayer = (ProxyPlayer.HumanoidRootPart.Position - plrRP.Position).Magnitude
  309. local DistanceBall = (Ball.Position - plrRP.Position).Magnitude
  310.  
  311. if get_PlayersNumber() < 3 then
  312. if DistancePlayer <= 80 and DistanceBall <= 65 and SpamNum >= 2 then
  313. getgenv().SpamClickA = true
  314. else
  315. getgenv().SpamClickA = false
  316. end
  317. else
  318. if DistancePlayer <= 80 and DistanceBall <= 65 and SpamNum >= 3 then
  319. getgenv().SpamClickA = true
  320. else
  321. getgenv().SpamClickA = false
  322. end
  323. end
  324. else
  325. getgenv().SpamClickA = false
  326. end
  327. end
  328. end)
  329. OldBall = Ball
  330. end
  331. end
  332. end
  333.  
  334. getgenv().DetectSpam = true
  335. DetectSpam()
  336. end)
Advertisement
Add Comment
Please, Sign In to add comment