FreeFalling (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>NXTBoy
Undo revision 45600 by Emess (Talk) Really?
Line 9: Line 9:


{{Example|<pre>
{{Example|<pre>
game.Workspace.Player.Humanoid.FreeFalling:connect(function(active)
game.Workspace.Player.Humanoid.FreeFalling:connect(function()
  repeat wait() until not active
   print("Free falling")
   print("You landed!")
end)
end)
</pre>}}
</pre>}}


[[Category:Events]]
[[Category:Events]]

Revision as of 22:22, 24 July 2011

FreeFalling ( Bool active )
Description Fired when player is free falling.
Member of: Humanoid


Example
game.Workspace.Player.Humanoid.FreeFalling:connect(function()
  print("Free falling")
end)