Advertisement
Tarna256

Random Items

Jul 14th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. command /items:
  2. trigger:
  3. if {items::*} contains player:
  4. remove player from {items::*}
  5. send "Items Disabled"
  6. else:
  7. add player to {items::*}
  8. send "Items Enabled"
  9.  
  10. every 10 seconds:
  11. loop all players:
  12. if {items::*} contains loop-player:
  13. give a random item out of all items to the loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement