local _Character = game:GetService('Players').LocalPlayer.Character
local _Humanoid = _Character:WaitForChild('Humanoid')
_Character:WaitForChild('HumanoidRootPart')
game:GetService('Players')
game:GetService('Workspace')
local function u12(p3, p4, p5)
local u6 = nil
pcall(function()
local v7 = p3
local v8, v9, v10 = pairs(v7:GetChildren())
while true do
local v11
v10, v11 = v8(v9, v10)
if v10 == nil then
break
end
if v11.Name == p4 and v11:IsA(p5) then
u6 = v11
break
end
end
end)
return u6
end
local u13 = false
local _RunService = game:GetService('RunService')
local _Stepped = _RunService.Stepped
local _Heartbeat = _RunService.Heartbeat
local _RenderStepped = _RunService.RenderStepped
local _LocalPlayer = game.Players.LocalPlayer
local u19 = true
spawn(function()
local v20 = nil
local v21 = nil
local v22 = 0.1
while u19 do
_Heartbeat:Wait()
if u13 then
while u13 and (u19 and not (v20 and (v20.Parent and (v21 and v21.Parent)))) do
_Heartbeat:Wait()
v20 = _LocalPlayer.Character
v21 = u12(v20, 'HumanoidRootPart', 'BasePart') or (u12(v20, 'Torso', 'BasePart') or u12(v20, 'UpperTorso', 'BasePart'))
end
if u19 and u13 then
local _Velocity = v21.Velocity
v21.Velocity = _Velocity * 100 + Vector3.new(10000, 10000, 0)
v21.CFrame = v21.CFrame * CFrame.new(0, 0.001, 0)
_RenderStepped:Wait()
if v20 and (v20.Parent and (v21 and v21.Parent)) then
v21.Velocity = _Velocity
end
_Stepped:Wait()
if v20 and (v20.Parent and (v21 and v21.Parent)) then
v21.Velocity = _Velocity + Vector3.new(0, v22, 0)
v22 = v22 * -1
end
end
end
end
end)
if game.Players.LocalPlayer.Character.Humanoid.RigType ~= Enum.HumanoidRigType.R15 then
AnimationId = '218504594'
else
AnimationId = '674871189'
end
local _Animation = Instance.new('Animation')
_Animation.AnimationId = 'rbxassetid://' .. AnimationId
local u25 = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(_Animation)
local _Tool = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
_Tool.RequiresHandle = false
_Tool.Name = 'Punch Fling'
_Tool.TextureId = 'rbxassetid://3836615692'
_Tool.Activated:Connect(function()
u25:Play()
u13 = true
wait(2)
u13 = false
end)
_Humanoid.Died:Connect(function()
u19 = false
_Tool:Destroy()
_Animation:Destroy()
end)