Heartbeat (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
>Tenal No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 21: | Line 21: | ||
|output= | |output= | ||
The function | The function returned: 0.033333335071802 | ||
The function | The function returned: 0.033333335071802 | ||
The function | The function returned: 0.033333335071802 | ||
The function | The function returned: 0.033333335071802 | ||
The function | The function returned: 0.033333335071802 | ||
}} | }} | ||
[[Category:Events]] |
Latest revision as of 03:30, 7 February 2012
![]() | |
Description | This event fires every frame in which Lua is ran. The step argument tells you how much time has passed between frames. This is usually around 1/30th of a second. |
---|---|
Member of: | RunService |
The following code would be put in a Script. The script can be placed in the Workspace.