Air Jump
This is a module for double jumping as much as you would like.
Example code:
-- in a LocalScript in StarterPlayerScripts
local AirJump = require(script.AirJump)
AirJump.AirJumped:Connect(function(currentAirJumps)
print("Jumped while in the air. Current air jumps: "..currentAirJumps)
end)
AirJump.Landed:Connect(function()
print("Landed")
end)
AirJump.LeftTheGround:Connect(function()
print("Left the ground")
end)
AirJump:Start()
Showcase (using example code):
Pastebin (code has commented documentation): AirJump - Pastebin.com
Roblox model: https://www.roblox.com/library/7292071706/Air-Jump