local h=(game:GetService("\080\108\097\121\101\114\115")).LocalPlayer local i=h.Character or h.CharacterAdded:Wait()local a=i:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local M=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121")M.Parent=a local r=nil local H=i:WaitForChild("\072\117\109\097\110\111\105\100")local v=false canjump=10 local function w()r=H:GetState()if r~=Enum.HumanoidStateType.Freefall then M.MaxForce=Vector3.new(0,0,0)M.Velocity=a.Velocity v=false return end M.MaxForce=Vector3.new(5000,0,5000)if not v then M.Velocity=M.Velocity*1.25 v=true end M.Velocity=M.Velocity+H.MoveDirection*1 end;(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:Connect(function()w()canjump=math.clamp(canjump-1,0,10)end)H.UseJumpPower=true;(game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")).JumpRequest:Connect(function()if canjump==0 then H.JumpPower=40 else H.JumpPower=0 end canjump=10 end)H.Died:Connect(function()M:Destroy()end)


local l__LocalPlayer__1 = game:GetService("Players").LocalPlayer;
local v2 = l__LocalPlayer__1.Character or l__LocalPlayer__1.CharacterAdded:Wait();
local l__HumanoidRootPart__3 = v2:WaitForChild("HumanoidRootPart");
local v4 = Instance.new("BodyVelocity");
v4.Parent = l__HumanoidRootPart__3;
local u1 = nil;
local l__Humanoid__2 = v2:WaitForChild("Humanoid");
local u3 = false;
canjump = 10;
local function u4()
	u1 = l__Humanoid__2:GetState();
	if u1 ~= Enum.HumanoidStateType.Freefall then
		v4.MaxForce = Vector3.new(0, 0, 0);
		v4.Velocity = l__HumanoidRootPart__3.Velocity;
		u3 = false;
		return;
	end;
	v4.MaxForce = Vector3.new(5000, 0, 5000);
	if not u3 then
		v4.Velocity = v4.Velocity * 1.25;
		u3 = true;
	end;
	v4.Velocity = v4.Velocity + l__Humanoid__2.MoveDirection * 1;
end;
game:GetService("RunService").RenderStepped:Connect(function()
	u4();
	canjump = math.clamp(canjump - 1, 0, 10);
end);
l__Humanoid__2.UseJumpPower = true;
game:GetService("UserInputService").JumpRequest:Connect(function()
	if canjump == 0 then
		l__Humanoid__2.JumpPower = 40;
	else
		l__Humanoid__2.JumpPower = 0;
	end;
	canjump = 10;
end);
l__Humanoid__2.Died:Connect(function()
	v4:Destroy();
end);


