FreeFalling (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Emess No edit summary |
||
Line 9: | Line 9: | ||
{{Example|<pre> | {{Example|<pre> | ||
game.Workspace.Player.Humanoid.FreeFalling:connect(function() | game.Workspace.Player.Humanoid.FreeFalling:connect(function(active) | ||
print(" | repeat wait() until not active | ||
print("You landed!") | |||
end) | end) | ||
</pre>}} | </pre>}} | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 22:20, 24 July 2011
FreeFalling ( Bool active ) | |
Description | Fired when player is free falling. |
---|---|
Member of: | Humanoid |
Example
game.Workspace.Player.Humanoid.FreeFalling:connect(function(active) repeat wait() until not active print("You landed!") end)