Jumping (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Camoy
Example added
Line 1: Line 1:
{|
{|
|<onlyinclude>{{Event
|<onlyinclude>{{Event|name = Jumping
|name = Jumping
|arguments = [[Bool]] ''active''
|arguments = [[Bool]] ''Active''
|description = Fired when player is jumping.
|description = Fired when player is jumping, to show the jumping animation.
|object = [[Humanoid]]
|object = [[Humanoid]]
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}
{{Example|<pre>
game.Workspace.Player.Humanoid.Jumping:connect(function()
  print("Jumping")
end)
</pre>}}

Revision as of 14:56, 29 August 2010

Jumping ( Bool active )
Description Fired when player is jumping.
Member of: [[RBX.lua.Humanoid (Object)|Humanoid]]
Example
game.Workspace.Player.Humanoid.Jumping:connect(function()
  print("Jumping")
end)