sorry but your function is bad, player can't jump with your function.