FreeFalling (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Formatted, added example
>MrNicNac
No edit summary
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Event
|<onlyinclude>{{Event|name = FreeFalling
|name = FreeFalling
|arguments = [[Bool]] ''active''
|arguments = [[Bool]] ''active''
|description = Fired when player is free falling.
|description = Fired when player is falling.
|object = [[Humanoid]]
|object = Humanoid
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
game.Workspace.Player.Humanoid.FreeFaling:connect(function()
game.Workspace.Player.Humanoid.FreeFalling:connect(function()
   print("Free falling")
   print("Free falling")
end)
end)
</pre>}}
</pre>}}
[[Category:Events]]

Latest revision as of 15:31, 25 July 2011

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


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