FreeFalling (Event): Difference between revisions

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

Revision as of 15:43, 29 January 2011

FreeFalling ( Bool active )
Description Fired when player is free falling.
Member of: [[RBX.lua.Humanoid (Object)|Humanoid]]


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