local p=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local g=nil local F=nil local s=false local r=false local u=nil local n=game.Players.LocalPlayer local m=script:WaitForChild("\068\111\117\098\108\101\074\117\109\112")function onJumpRequest()if g then if F then if g:IsDescendantOf(workspace)then if F:GetState()==Enum.HumanoidStateType.Dead then else if s then if not r then r=true F.JumpPower=u*1.2 F:ChangeState(Enum.HumanoidStateType.Jumping);(n.Character.Humanoid:LoadAnimation(m)):Play()end end return end end end end end local function R(p)g=p F=p:WaitForChild("\072\117\109\097\110\111\105\100")r=false s=false u=F.JumpPower F.StateChanged:connect(function(p,g)if g==Enum.HumanoidStateType.Landed then s=false r=false F.JumpPower=u return end if g==Enum.HumanoidStateType.Freefall then wait(.2)s=true end end)end if n.Character then R(n.Character)end n.CharacterAdded:connect(R)p.JumpRequest:connect(onJumpRequest)


local l__UserInputService__1 = game:GetService("UserInputService");
local u1 = nil;
local u2 = nil;
local u3 = false;
local u4 = false;
local u5 = nil;
local l__LocalPlayer__6 = game.Players.LocalPlayer;
local l__DoubleJump__7 = script:WaitForChild("DoubleJump");
function onJumpRequest()
	if u1 then
		if u2 then
			if u1:IsDescendantOf(workspace) then
				if u2:GetState() == Enum.HumanoidStateType.Dead then
					
				else
					if u3 then
						if not u4 then
							u4 = true;
							u2.JumpPower = u5 * 1.2;
							u2:ChangeState(Enum.HumanoidStateType.Jumping);
							l__LocalPlayer__6.Character.Humanoid:LoadAnimation(l__DoubleJump__7):Play();
						end;
					end;
					return;
				end;
			end;
		end;
	end;
end;
local function v2(p1)
	u1 = p1;
	u2 = p1:WaitForChild("Humanoid");
	u4 = false;
	u3 = false;
	u5 = u2.JumpPower;
	u2.StateChanged:connect(function(p2, p3)
		if p3 == Enum.HumanoidStateType.Landed then
			u3 = false;
			u4 = false;
			u2.JumpPower = u5;
			return;
		end;
		if p3 == Enum.HumanoidStateType.Freefall then
			wait(0.2);
			u3 = true;
		end;
	end);
end;
if l__LocalPlayer__6.Character then
	v2(l__LocalPlayer__6.Character);
end;
l__LocalPlayer__6.CharacterAdded:connect(v2);
l__UserInputService__1.JumpRequest:connect(onJumpRequest);
