28.12.2017, 08:56
you should atleast have a bool to check if player is afk or not
you should also save players health and return it back when they comeback from afk
you should also save players health and return it back when they comeback from afk