Idled (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Added. |
>Tenal No edit summary |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Event|name = Idled | |||
|arguments = [[Number]] ''time'' | |||
name = Idled | |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. | ||
|arguments = [[ | |object = Player | ||
|description = Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. | }}</onlyinclude> | ||
|object = | |||
{{clear floats}} | |||
|} | |||
{{Example|<pre> | |||
game.Players.Player.Idled:connect(function() | |||
print("Idling") | |||
end) | |||
</pre>}} | |||
[[Category:Events]] |