tsutitire2

Untitled

May 29th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Variables:
  2. {%player%.afksec} = 0
  3. {afk.place} = 0
  4. every seconds:
  5. loop all playres:
  6. set {%loop-player%.afksec} to {%loop-player%.afksec} + 1
  7. if {%loop-player%.afksec} is more than 600:
  8. teleport loop-player to {afk.place}
  9. on any movement:
  10. set {%player%.afksec} to 0
  11. command /afkp:
  12. trigger:
  13. set {afk.place} to player's location
  14. permission: skript.admin
  15. every 12 minutes:
  16. loop all players:
  17. give a dirt of flame 100 to loop-player
Add Comment
Please, Sign In to add comment