Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Criar uma ScreenGui (interface principal)
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.CoreGui -- Garante que a interface não seja removida ao morrer
- -- Criar a Janela de Key
- local KeyFrame = Instance.new("Frame")
- KeyFrame.Size = UDim2.new(0, 250, 0, 150)
- KeyFrame.Position = UDim2.new(0.5, -125, 0.5, -75)
- KeyFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- KeyFrame.BorderSizePixel = 0
- KeyFrame.Parent = ScreenGui
- -- Criar um TextBox para inserir a Key
- local KeyInput = Instance.new("TextBox")
- KeyInput.Size = UDim2.new(0, 200, 0, 40)
- KeyInput.Position = UDim2.new(0.5, -100, 0.5, -20)
- KeyInput.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- KeyInput.Text = ""
- KeyInput.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyInput.Parent = KeyFrame
- -- Criar botão de verificar Key
- local CheckKeyButton = Instance.new("TextButton")
- CheckKeyButton.Size = UDim2.new(0, 200, 0, 40)
- CheckKeyButton.Position = UDim2.new(0.5, -100, 0.8, 0)
- CheckKeyButton.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
- CheckKeyButton.Text = "Verificar"
- CheckKeyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CheckKeyButton.Parent = KeyFrame
- -- Criar a Janela Principal (inicialmente invisível)
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 300, 0, 250)
- MainFrame.Position = UDim2.new(0.5, -150, 0.5, -125)
- MainFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- MainFrame.Visible = false -- Inicialmente escondido até inserir a Key
- MainFrame.Parent = ScreenGui
- -- Criar um texto no topo da Janela Principal
- local TitleLabel = Instance.new("TextLabel")
- TitleLabel.Size = UDim2.new(1, 0, 0, 25)
- TitleLabel.Position = UDim2.new(0, 0, 0, -25)
- TitleLabel.BackgroundTransparency = 1
- TitleLabel.Text = "BY darker 9898"
- TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TitleLabel.TextScaled = true
- TitleLabel.Font = Enum.Font.GothamBold
- TitleLabel.Parent = MainFrame
- -- Criar botão de Auto Parry
- local AutoParryButton = Instance.new("TextButton")
- AutoParryButton.Size = UDim2.new(0, 280, 0, 50)
- AutoParryButton.Position = UDim2.new(0.5, -140, 0.4, -25)
- AutoParryButton.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
- AutoParryButton.Text = "Auto Parry"
- AutoParryButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- AutoParryButton.Parent = MainFrame
- -- Criar botão de Auto Spam
- local AutoSpamButton = Instance.new("TextButton")
- AutoSpamButton.Size = UDim2.new(0, 280, 0, 50)
- AutoSpamButton.Position = UDim2.new(0.5, -140, 0.7, -25)
- AutoSpamButton.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
- AutoSpamButton.Text = "Auto Spam"
- AutoSpamButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- AutoSpamButton.Parent = MainFrame
- -- Criar botão toggle separado
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Size = UDim2.new(0, 50, 0, 30)
- ToggleButton.Position = UDim2.new(0.5, -25, 0.9, 0)
- ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
- ToggleButton.Text = "Show"
- ToggleButton.Visible = false -- Apenas visível após inserir a key
- ToggleButton.Parent = ScreenGui
- -- Verificar a Key
- CheckKeyButton.MouseButton1Click:Connect(function()
- if KeyInput.Text == "key_dark9898" then
- KeyFrame:Destroy() -- Remove a janela de Key
- MainFrame.Visible = true
- ToggleButton.Visible = true
- else
- KeyInput.Text = "Key Inválida!"
- wait(1)
- KeyInput.Text = ""
- end
- end)
- -- Sistema de abrir e fechar com animação
- local isOpen = true
- ToggleButton.MouseButton1Click:Connect(function()
- if isOpen then
- MainFrame:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
- wait(0.5)
- MainFrame.Visible = false
- ToggleButton.Text = "Show"
- else
- MainFrame.Visible = true
- MainFrame:TweenSize(UDim2.new(0, 300, 0, 250), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
- ToggleButton.Text = "Hide"
- end
- isOpen = not isOpen
- end)
- -- 🛠️ **Onde colocar seu script de Auto Parry**
- -- Substitua o print abaixo pelo seu código de Auto Parry
- AutoParryButton.MouseButton1Click:Connect(function()
- print("Auto Parry ativado!") --[[
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
- ]]
- -- credit to dendenzzz
- getgenv().autoparry = true
- local VirtualManager =
- game:GetService("VirtualInputManager")
- local Stats = game:GetService('Stats')
- local Players = game:GetService('Players')
- local Player = Players.LocalPlayer or Players.PlayerAdded:Wait()
- local RunService = game:GetService('RunService')
- local parry_helper = loadstring(game:HttpGet("https://raw.githubusercontent.com/TripleScript/TripleHub/main/helper_.lua"))()
- local ero = false
- task.spawn(function()
- RunService.PreRender:Connect(function()
- if not getgenv().autoparry then
- return
- end
- local par = parry_helper.FindTargetBall()
- if not par then
- return
- end
- local hat = par.AssemblyLinearVelocity
- if par:FindFirstChild('zoomies') then
- hat = par.zoomies.VectorVelocity
- end
- local i = par.Position
- local j = Player.Character.PrimaryPart.Position
- local kil = (j - i).Unit
- local l = Player:DistanceFromCharacter(i)
- local m = kil:Dot(hat.Unit)
- local n = hat.Magnitude
- if m > 0 then
- local o = l - 5
- local p = o / n
- if parry_helper.IsPlayerTarget(par) and p <= 0.75 and not ero then
- VirtualManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
- wait(0.01)
- ero = true
- end
- else
- ero = false
- end
- end)
- end)
- end)
- -- 🛠️ **Onde colocar seu script de Auto Spam**
- -- Substitua o print abaixo pelo seu código de Auto Spam
- AutoSpamButton.MouseButton1Click:Connect(function()
- print("Auto Spam ativado!") --[[
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
- ]]
- local VirtualInputManager = game:GetService("VirtualInputManager")
- local function get_plr()
- return game.Players.LocalPlayer
- end
- local function get_plrChar()
- local plrChar = get_plr().Character
- if plrChar then
- return plrChar
- end
- end
- local function get_plrRP()
- local plrRP = get_plrChar():FindFirstChild("HumanoidRootPart")
- if plrRP then
- return plrRP
- end
- end
- local function playerJump()
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.Jump = true
- end)
- end
- local function get_PlayersNumber()
- local Alive = workspace:WaitForChild("Alive", 20):GetChildren()
- local PlayersNumber = 0
- for _,v in pairs(Alive) do
- if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 100 then
- PlayersNumber = PlayersNumber + 1
- end
- end
- return PlayersNumber
- end
- local function get_ProxyPlayer()
- local Players = workspace:WaitForChild("Alive"):GetChildren()
- local Distance = math.huge
- local plr = game.Players.LocalPlayer
- local plrRP = plr.Character:FindFirstChild("HumanoidRootPart")
- local Player = nil
- for _,plr1 in pairs(Players) do
- if plr1.Name ~= plr.Name and plrRP and plr1:FindFirstChild("HumanoidRootPart") and plr1:FindFirstChild("Humanoid") and plr1.Humanoid.Health > 100 then
- local magnitude = (plr1.HumanoidRootPart.Position - plrRP.Position).Magnitude
- if magnitude <= Distance then
- Distance = magnitude
- Player = plr1
- end
- end
- end
- return Player
- end
- local function Click_Button()
- task.spawn(function()
- local plr = game.Players.LocalPlayer
- local plrFind = workspace.Alive:FindFirstChild(plr.Name)
- if plrFind then
- local plrs = 0
- for _,v in pairs(workspace:WaitForChild("Alive", 10):GetChildren()) do
- plrs = plrs + 1
- end
- if plrs > 1 then
- VirtualInputManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
- end
- end
- end)
- end
- task.spawn(function()
- while task.wait() do
- if getgenv().SpamClickA then
- Click_Button()
- end
- end
- end)
- local function DetectSpam()
- local Balls = workspace:WaitForChild("Balls", 20)
- local OldPos = Vector3.new()
- local OldTick1 = tick()
- local OldBall = Balls
- local TargetPlayer = ""
- local SpamNum = 0
- local BallSpeed = 0
- local BallDistance = 0
- task.spawn(function()
- local OldTick = tick()
- local OldPos = Vector3.new()
- while getgenv().DetectSpam do task.wait()
- local plrRP = get_plrRP()
- local Ball = Balls:FindFirstChildOfClass("Part")
- if plrRP and Ball then
- BallDistance = (plrRP.Position - Ball.Position).Magnitude
- BallSpeed = (OldPos - Ball.Position).Magnitude
- if tick() - OldTick >= 1/60 then
- OldTick = tick()
- OldPos = Ball.Position
- end
- end
- end
- end)
- while getgenv().DetectSpam do task.wait()
- local Ball = Balls:FindFirstChildOfClass("Part")
- local plrRP = get_plrRP()
- local ProxyPlayer = get_ProxyPlayer()
- if not Ball then
- getgenv().SpamClickA = false
- end
- if Ball and Ball:GetAttribute("realBall") and OldBall ~= Ball then
- Ball.Changed:Connect(function()task.wait()
- local Ball = Balls:FindFirstChildOfClass("Part")
- if Ball then
- TargetPlayer = Ball:GetAttribute("target")
- if ProxyPlayer and TargetPlayer == ProxyPlayer.Name or get_plr() and TargetPlayer == get_plr().Name then
- SpamNum = SpamNum + 1
- else
- SpamNum = 0
- end
- local args = ProxyPlayer and ProxyPlayer:FindFirstChild("HumanoidRootPart")
- local HL1 = ProxyPlayer and ProxyPlayer:FindFirstChild("Highlight")
- local HL2 = get_plrChar() and get_plrChar():FindFirstChild("Highlight")
- if plrRP and HL1 and args or plrRP and HL2 and args then
- local DistancePlayer = (ProxyPlayer.HumanoidRootPart.Position - plrRP.Position).Magnitude
- local DistanceBall = (Ball.Position - plrRP.Position).Magnitude
- if get_PlayersNumber() < 3 then
- if DistancePlayer <= 80 and DistanceBall <= 65 and SpamNum >= 2 then
- getgenv().SpamClickA = true
- else
- getgenv().SpamClickA = false
- end
- else
- if DistancePlayer <= 80 and DistanceBall <= 65 and SpamNum >= 3 then
- getgenv().SpamClickA = true
- else
- getgenv().SpamClickA = false
- end
- end
- else
- getgenv().SpamClickA = false
- end
- end
- end)
- OldBall = Ball
- end
- end
- end
- getgenv().DetectSpam = true
- DetectSpam()
- end)
Advertisement
Add Comment
Please, Sign In to add comment