Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i detect if Player is Falling?

im trying to detect if player is falling, and when player is falling it prints "Player is Falling" but none of the script i make works. How do u Detect when player is falling then prints "Player is falling"? (Thanks in Advance)

1 answer

✓ Accepted answer

The Humanoid has an Event for falling.

SCRIPT

game.Players.PlayerAdded:Connect(function(Player)
   Player.CharacterAdded:Connect(function(Character)
      Character.Humanoid.FreeFalling:Connect(function(Active)
         if Active then
            print("Player is falling")
         end
      end)
   end)
end)

Humanoid

2 comments

0

thx! ill test it if it works

0

it works

This discussion is preserved as it was. New answers, comments, and votes are closed.