Running (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Fixed args and added example |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Event | |||
|name = Running | |||
|arguments = [[Float]]] ''speed'' | |arguments = [[Float]]] ''speed'' | ||
|description = Fired when player is running. | |description = Fired when player is running. | ||
|object = | |object = Humanoid | ||
}}</onlyinclude> | |||
{{clear floats}} | |||
{{Example|<pre> | {{Example|<pre> | ||
game.Workspace.Player.Humanoid.Running:connect(function() | game.Workspace.Player.Humanoid.Running:connect(function() | ||
Line 11: | Line 13: | ||
end) | end) | ||
</pre>}} | </pre>}} | ||
This event is fired when the humanoid's health is changed. Either by losing, or gaining health. |