Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 10 seconds:
- loop all players:
- if {%loop-player%.random} = true:
- give loop-player a random element of all items
- wait 1 tick
- command /togglerandomitems:
- trigger:
- if {%player%.random} = true:
- set {%player%.random} to false
- message "&7You have disabled random items" to player
- else:
- set {%player%.random} to true
- message "&7You have enabled random items" to player
Advertisement
Add Comment
Please, Sign In to add comment