idk what you mean by 'adds a custom item' but you can check the location of all players every minute and compare it to their old location
if its the same as their old location you can set a timestamp - if that timestamp is 5 minutes or greater then you can mark them as afk (assuming you're not going for the box/gen afk bound approach)
#how do i make an afk system for every 5 mins it adds a custom item
1 messages · Page 1 of 1 (latest)
so whats the problem
i wanna give players this every 5 mins
what it do?
it runs code periodically
so if you wanted to give all players an item every 5 minutes you'd use that event
can u just send me the skript?
pls
alr ig
yes?
room as in bound?
like an area where you detect where the player enters and leaves?
yes i need to add the afk skript to it idk how
create a bound with skbee (https://github.com/ShaneBeee/SkBee/wiki/Bounds) (you can put this into an on script load)
then u can check when the player enters or exits the bound