Idled (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Shortened link |
>Camoy Example added |
||
Line 1: | Line 1: | ||
{| | {| | ||
|<onlyinclude>{{Event| | |<onlyinclude>{{Event|name = Idled | ||
name = Idled | |||
|arguments = [[Number]] ''time'' | |arguments = [[Number]] ''time'' | ||
|description = Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. ''time'' is the time in seconds that the user has been idle. | |description = Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. ''time'' is the time in seconds that the user has been idle. | ||
Line 7: | Line 6: | ||
|}}</onlyinclude> | |}}</onlyinclude> | ||
|} | |} | ||
{{Example|<pre> | |||
game.Players.Player.Idled:connect(function() | |||
print("Idling") | |||
end) | |||
</pre>}} |
Revision as of 14:50, 29 August 2010
Example
game.Players.Player.Idled:connect(function() print("Idling") end)