Hi, I am making a fighting technique for a game, and I was wondering how I could make the fighting technique not run if the player is in the air. So, how would I make a condition like this?
I tried using the code
1 | if character.Humanoid.FreeFalling then return end |
but the player wouldn't be able to run the fighting technique at all with this condition
I think there is an event called freefalling try something like this:
1 | char.Humanoid.FreeFalling:connect( function () |
2 | --code in here |
3 | end ) |
sorry if im wrong lol