Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. every 1 second in "world":
  2. loop all players in "world":
  3. if {form::activated::%loop-player's uuid%} is true:
  4. if {form::selected::%loop-player's uuid%} is "&eKaioKen &bx&c1":
  5. set {form::maintain::%loop-player's uuid%} to 20
  6. loop 20 times:
  7. wait 1 second
  8. subtract 1 from {form::maintain::%loop-player's uuid%}
  9. wipe loop-player's sidebar
  10. set name of sidebar of loop-player to "&b&lTest"
  11. set score "&c&lForm: &eKaioKen &bx&c1" in sidebar of loop-player to 4
  12. set score "&bForm Time Remaining:" in sidebar of loop-player to 3
  13. set score "&d%{form::maintain::%loop-player's uuid%}%" in sidebar of loop-player to 2
  14. set score "&c%{form::activated::%loop-player's uuid%}%" in sidebar of loop-player to 1
  15. set the maximum health of the loop-player to 11
  16. apply strength 1 to loop-player for 1 second
  17. apply resistance 1 to loop-player for 1 second
  18.  
  19. loop 1 time:
  20. set {loopdebug::%loop-player's uuid%} to true
  21. stop loop
  22. every 1 second in "world":
  23. loop all players in "world":
  24. if {loopdebug::%loop-player's uuid%} is true:
  25. set {loopdebug::%loop-player's uuid%} to false
  26. message "test" to loop-player
  27. set {form::maintain::%loop-player's uuid%} to 20
  28. set {form::activated::%loop-player's uuid%} to false
  29. wipe loop-player's sidebar
  30. execute console command "ppo %loop-player% remove 1"
  31. execute console command "ppo %loop-player% remove 2"
  32. execute console command "ppo %loop-player% remove 3"
  33. execute console command "ppo %loop-player% remove 4"
  34. execute console command "ppo %loop-player% remove 5"
  35. execute console command "ppo %loop-player% remove 6"
  36. execute console command "ppo %loop-player% remove 7"
  37. execute console command "ppo %loop-player% remove 8"
  38. execute console command "ppo %loop-player% remove 9"
  39. execute console command "ppo %loop-player% remove 10"
  40. set the maximum health of the loop-player to 10
  41. remove strength from loop-player
  42. remove resistance from loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement