Help with jumping question

Hello, I’m not too good at physics so I thought I’d try asking this question here. I would like to be able to calculate the max possible time in which a character can move upwards when jumping. I would like some sort of equation which takes into account the jumping power of a character and workspace gravity from which I calculate this, if possible. Thanks.

EDIT: In other words, I want to calculate the time it will take for a mass which has had a force applied to it to reach maximum height in a parabolic trajectory.

Not sure exactly if this is what you mean but yeah…

You can try adding a counter and let it start as soon as they dont touch an object.

for example:

local timer = o

while inAir = true do
   timer += 1 
   print(timer)
   wait(1)
end

all you need to do is find if inAir is true.

Hope this was helpful

I thank you for your response but this is not what I am looking for. I am looking for a way to mathematically calculate theoretical max air time. Not to calculate for one particular instance of a jump using Roblox specific methods.

well the value of the timer will be equal to the air time. But i’m sure someone else can help.