Running (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Fixed
>Camoy
Fixed args and added example
Line 1: Line 1:
{|
{|
|<onlyinclude>{{Event|name = Running
|<onlyinclude>{{Event|name = Running
|arguments = [[Bool]] ''Active''
|arguments = [[Float]]] ''speed''
|description = Fired when player is running, to show the running animation.
|description = Fired when player is running.
|object = [[Humanoid]]
|object = [[Humanoid]]
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}
{{Example|<pre>
game.Workspace.Player.Humanoid.Running:connect(function()
  print("Running")
end)
</pre>}}

Revision as of 16:02, 29 August 2010

Running ( Float] speed )
Description Fired when player is running.
Member of: [[RBX.lua.Humanoid (Object)|Humanoid]]
Example
game.Workspace.Player.Humanoid.Running:connect(function()
  print("Running")
end)