Idled (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Example added |
>Tenal No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Event|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. | ||
|object = | |object = Player | ||
}}</onlyinclude> | |||
{{clear floats}} | |||
{{Example|<pre> | {{Example|<pre> | ||
game.Players.Player.Idled:connect(function() | game.Players.Player.Idled:connect(function() | ||
Line 11: | Line 12: | ||
end) | end) | ||
</pre>}} | </pre>}} | ||
[[Category:Events]] |