Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. variables:
  2. {balance::%player%} = 0
  3. {Kills::%player%} = 0
  4. {Deaths::%player%} = 0
  5. {Escapes::%player%} = 0
  6. {keys::%player%} = 0
  7.  
  8. every 1 second:
  9. loop all players:
  10. wipe loop-player's sidebar
  11. set name of sidebar of loop-player to "&8» &5&lCITYESCAPE &8«"
  12. set score "&1" in sidebar of loop-player to 12
  13. set score "&5Player:" in sidebar of loop-player to 11
  14. set score "&5- &dUsername &8|&7 %loop-player%" in sidebar of loop-player to 10
  15. set score "&5- &dRank &8|&7 %loop-player's prefix%" in sidebar of loop-player to 9
  16. set score "&5- &dBalance &8|&7 %{balance::%loop-player%}%" in sidebar of loop-player to 8
  17. set score "&2" in sidebar of loop-player to 7
  18. set score "&5Stats:" in sidebar of loop-player to 6
  19. set score "&5- &dKills &8|&7 %{Kills::%loop-player%}%" in sidebar of loop-player to 5
  20. set score "&5- &dDeaths &8|&7 %{Deaths::%loop-player%}%" in sidebar of loop-player to 4
  21. set score "&5- &dEscapes &8|&7 %{Escapes::%loop-player%}%" in sidebar of loop-player to 3
  22. set score "&5" in sidebar of loop-player to 2
  23. set score "&7&oCityEscape.minehut.gg" in sidebar of loop-player to 1
  24.  
  25. command /spawn:
  26. trigger:
  27. send player title "&5&lTELEPORTING" with subtitle "&d3."
  28. wait 1 second
  29. send player title "&5&lTELEPORTING" with subtitle "&d2."
  30. wait 1 second
  31. send player title "&5&lTELEPORTING" with subtitle "&d1."
  32. wait 1 second
  33. send player title "&5&lTELEPORTING" with subtitle "&d0...."
  34. teleport player to {spawnloc}
  35.  
  36. command /crates:
  37. trigger:
  38. wait 3 ticks
  39. open chest with 3 rows named "&5&lCrates &d%{keys::%player%}%" to player
  40. format slot 0 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  41. format slot 8 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  42. format slot 9 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  43. format slot 17 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  44. format slot 26 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  45. format slot 18 of player with arrow named "&cClose" with lore "&7&oR-Click" to close
  46. format slot 0 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  47. format slot 1 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  48. format slot 2 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  49. format slot 3 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  50. format slot 4 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  51. format slot 5 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  52. format slot 6 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  53. format slot 7 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  54. format slot 19 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  55. format slot 20 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  56. format slot 21 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  57. format slot 22 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  58. format slot 23 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  59. format slot 24 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  60. format slot 25 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
  61.  
  62. command /announce [<text>]:
  63. permission: skript.announce
  64. trigger:
  65. broadcast ""
  66. broadcast "&5&lANNOUNCEMENT &8| &7%arg-1%"
  67. broadcast ""
  68. send players title "&5%player%" with subtitle "&d%arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement