Advertisement
Hsuwan

Untitled

Aug 31st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. on respawn:
  2. wait 1 tick
  3. if {對決.座標.%player%} is set:
  4. stop
  5. if {競技參賽者::%player%} is set:
  6. stop
  7. if {對決::%player%} isn't player:
  8. apply CONFUSION 1 to player for 5 seconds
  9. stop
  10. if {玩家資料::%player%} isn't set:
  11. stop
  12. if {玩家資料.%player%::重生點} is set:
  13. teleport player to {玩家資料.%player%::重生點}
  14. wait 2 ticks
  15. play midi "offline" to player
  16. set {復活手續.%player%} to location of player
  17. if {玩家資料.%player%::VIP} is set:
  18. apply invisibility 1 to player for 5 seconds
  19. apply blindness 1 to player for 5 seconds
  20. else:
  21. apply invisibility 1 to player for 15 seconds
  22. apply blindness 1 to player for 15 seconds
  23. set {_Number} to floor(360 / 10)
  24. set {_Number.2} to floor(360 / 0)
  25. set {_Current} to 0
  26. loop 5000 times:
  27. loop {_Number} times:
  28. spawn 1 of particle flame at location of {_location}
  29. wait 100 tick
  30. if player doesn't have blindness:
  31. exit loop
  32. if {復活手續.%player%} isn't set:
  33. exit loop
  34. if player doesn't have blindness:
  35. exit loop
  36. if {復活手續.%player%} isn't set:
  37. exit loop
  38. wait 0.2 seconds
  39. remove invisibility from player
  40. play raw sound "random.levelup" at player with pitch 2 volume 0.2
  41. send "&b復活完畢。"
  42. if {玩家資料.%player%::重生點} is set:
  43. teleport player to {玩家資料.%player%::重生點}
  44. delete {復活手續.%player%}
  45. wait 1 tick
  46. apply CONFUSION 1 to player for 15 seconds
  47. every 10 seconds:
  48. loop all players:
  49. if {復活手續.%loop-player%} is set:
  50. set {_abc} to location of loop-player
  51. if {_abc} isn't {復活手續.%loop-player%}:
  52. teleport loop-player to {復活手續.%loop-player%}
  53. on damage:
  54. if {競技參賽者::%attacker%} is set:
  55. stop
  56. if {玩家資料::%attacker%} isn't set:
  57. stop
  58. if {玩家資料::%victim%} isn't set:
  59. stop
  60. if attacker is a player:
  61. if attacker has CONFUSION:
  62. remove CONFUSION from attacker
  63. if victim is a player:
  64. if victim has CONFUSION:
  65. cancel event
  66. on inventory click:
  67. if {競技參賽者::%player%} is set:
  68. stop
  69. "%inventory name of player's current inventory%" is "container.crafting"
  70. set {_slot} to slot
  71. if {_slot} is 36:
  72. cancel event
  73. send "已禁止背包點擊裝備欄。"
  74. if {_slot} is 37:
  75. cancel event
  76. send "已禁止背包點擊裝備欄。"
  77. if {_slot} is 38:
  78. cancel event
  79. send "已禁止背包點擊裝備欄。"
  80. if {_slot} is 39:
  81. cancel event
  82. send "已禁止背包點擊裝備欄。"
  83. wait 1 ticks
  84. loop 4 times:
  85. if slot (40 - loop-number) of player isn't air:
  86. give slot (40 - loop-number) of player to player
  87. set slot (40 - loop-number) of player to air
  88. send "已禁止背包點擊裝備欄。"
  89. #玩家背包的名稱container.crafting 箱子名稱Chest
  90. on right click:
  91. wait 1 ticks
  92. loop 4 times:
  93. if slot (40 - loop-number) of player isn't air:
  94. set player's tool to slot (40 - loop-number) of player
  95. set slot (40 - loop-number) of player to air
  96. send "善用裝備指令。"
  97. on quit:
  98. delete {復活手續.%player%}
  99. delete {冷卻.%player%::*}
  100. on join:
  101. delete {復活手續.%player%}
  102. delete {冷卻.%player%::*}
  103. on command:
  104. if {復活手續.%player%} is set:
  105. cancel event
  106. send "&7你還沒復活,無法使用手機跟大眾交流"
  107. stop
  108. command is "spawn"
  109. if {玩家資料.%player%::重生點} is set:
  110. teleport player to {玩家資料.%player%::重生點}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement