I've seen people implement double jumping by detecting if they're flying. It would end up something like this:
You can let players in survival fly by using <player>:SetCanFly(true)
Code:
if (player is flying) then
stop player from flying
set Y speed to make the player go upwards.