local W=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local S=nil local v=nil local G=false local A=false local R=nil local f=game.Players.LocalPlayer local N=script:WaitForChild("\068\111\117\098\108\101\074\117\109\112")function onJumpRequest()if S then if v then if S:IsDescendantOf(workspace)then if v:GetState()==Enum.HumanoidStateType.Dead then else if G then if not A then A=true v.JumpPower=R*1.2 v:ChangeState(Enum.HumanoidStateType.Jumping);(f.Character.Humanoid:LoadAnimation(N)):Play()end end return end end end end end local function a(W)S=W v=W:WaitForChild("\072\117\109\097\110\111\105\100")A=false G=false R=v.JumpPower v.StateChanged:connect(function(W,S)if S==Enum.HumanoidStateType.Landed then G=false A=false v.JumpPower=R return end if S==Enum.HumanoidStateType.Freefall then wait(.2)G=true end end)end if f.Character then a(f.Character)end f.CharacterAdded:connect(a)W.JumpRequest:connect(onJumpRequest)
-- Decompiled with the Synapse X Luau decompiler.

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)
