|
| 25 Jun 2013 07:39 PM |
does anyone know how to use the Idled event?
I can't figure it out from the wiki... |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2013 07:41 PM |
It explained it pretty clearly. It even gave you example code.
game.Players.Player.Idled:connect(function() print("Idling") end) |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2013 07:42 PM |
| well how about to check how long someone has been idle? that's the part that's puzzling me. |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2013 07:43 PM |
game.Players.Player.Idled:connect(function(time) print("Idling (for "..time..")") end) |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2013 07:43 PM |
Idled ( Number time )
I am assuming it's in seconds.
game.Players.Player.Idled:connect(function(Time) print("Idling") print(Time) end) |
|
|
| Report Abuse |
|
|
| |
|