Boxing Beta Script | AUTO DODGE

[ad_1]

Created by Anyx

Features:

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 dodge(player)
keypress(0x46)
wait()
keyrelease(0x46)
end

function dodge_left(player)
keypress(0x51)
wait()
keyrelease(0x51)
end


function dodge_right(player)
keypress(0x45)
wait()
keyrelease(0x45)
end


local AnimNames = {
 'LeftHook',
 'LeftJab',
 'RightHook',
 'RightJab',
 'Uppercut',
}

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") and v) then
                 local mag = (v.Character.Head.Position - lp.Character.Head.Position).Magnitude
                 if mag < 15  then
                   
                     for _, animName in pairs(AnimNames) do
if string.lower(info.Name):find('left') and not string.lower(info.Name):find('dodge') then
pcall(dodge_right,v)
print('right')
elseif string.lower(info.Name):find('right') and not string.lower(info.Name):find('dodge') then
pcall(dodge_left,v)
print('left')
elseif string.lower(info.Name):find('upper')  then
pcall(dodge,v)
print('dodge')
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)

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

[ad_2]

123movies 123movie thesoap2day soap 2 day 123movies movies123 123movies