Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1.  
  2. command /reset [<offline player>]:
  3. if {permissionLevel.%loop-player%} >= 20:
  4. trigger:
  5. if arg 1 is set:
  6. set {kills.%uuid of arg 1%} to 0
  7. set {deaths.%uuid of arg 1%} to 0
  8. set {killstreak.%uuid of arg 1%} to 0
  9. set {playtime.%uuid of arg 1%} to 0
  10. set {ratio.%uuid of arg 1%} to 1
  11. send "&aNextMC&8> &7You're &bstats &7have been &breset
  12. else:
  13. set {kills.%uuid of player%} to 0
  14. set {deaths.%uuid of player%} to 0
  15. set {killstreak.%uuid of player%} to 0
  16. set {playtime.%uuid of player%} to 0
  17. set {ratio.%uuid of player%} to 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement