Auto Parry
Key Required

Auto Parry

Combat WarriorsBlutoBluto 26.4K views 208 executesUpdated Oct 9, 2024
1.7/ 5(3 votes)
1233% Positive
Lua Script•65 lines (1712 chars)
local lp = game.Players.LocalPlayer

local animationInfo = {}

function getInfo(id)
  local success, info = pcall(function()
      return game:GetService("MarketplaceService"):GetProductInfo(id)
  end)
  if success then
      return info
  end
  return {Name=''}
end
function block(player)
  keypress(0x46)
  wait()
  keyrelease(0x46)
end

local AnimNames = {
  'Slash',
  'Swing',
  'Sword'
}

function playerAdded(v)
    local function charadded(char)
      local humanoid = char:WaitForChild("Humanoid", 5)
      if humanoid then
          humanoid.AnimationPlayed:Connect(function(track)
              local info = animationInfo[track.Animation.AnimationId]
              if not info then
                  info = getInfo(tonumber(track.Animation.AnimationId:match("%d+")))
                  animationInfo[track.Animation.AnimationId] = info
              end
             
              if (lp.Character and lp.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Head")) then
                  local mag = (v.Character.Head.Position - lp.Character.Head.Position).Magnitude
                  if mag < 15  then
                     
                      for _, animName in pairs(AnimNames) do
                          if info.Name:match(animName) then
                              pcall(block, v)
                          end
                      end
                     
                  end
              end
          end)
      end
  end
 
  if v.Character then
      charadded(v.Character)
  end
  v.CharacterAdded:Connect(charadded)
end

for i,v in pairs(game.Players:GetPlayers()) do
   if v ~= lp then
       playerAdded(v)
   end
end

game.Players.PlayerAdded:Connect(playerAdded)

Features & Information

Add me on discord if u want any scripts made btw @vbn_1 for free too

Community Comments (7)

Bi2_BlackSunBi2_BlackSunOct 9, 2024(edited)

so bad.

BlutoBlutoOct 9, 2024(edited)

@Bi2_BlackSun ok before go talkin bad about other people scripts how about u make one right now and ill cashapp u 100 dollars no 50

drdocdrdocOct 9, 2024(edited)

you don't need to be able to make a script to judge if someone else's script is * or no and well this one is bad.

homelessdudehomelessdudeOct 9, 2024(edited)

@drdoc facts

promethazinepromethazineOct 9, 2024(edited)

dookie script

error251109error251109Oct 10, 2024(edited)

it doesnt work bruh

fake script boo

More Scripts for Combat Warriors