Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on respawn:
- wait 1 tick
- if {對決.座標.%player%} is set:
- stop
- if {競技參賽者::%player%} is set:
- stop
- if {對決::%player%} isn't player:
- apply CONFUSION 1 to player for 5 seconds
- stop
- if {玩家資料::%player%} isn't set:
- stop
- if {玩家資料.%player%::重生點} is set:
- teleport player to {玩家資料.%player%::重生點}
- wait 2 ticks
- play midi "offline" to player
- set {復活手續.%player%} to location of player
- if {玩家資料.%player%::VIP} is set:
- apply invisibility 1 to player for 5 seconds
- apply blindness 1 to player for 5 seconds
- else:
- apply invisibility 1 to player for 15 seconds
- apply blindness 1 to player for 15 seconds
- set {_Number} to floor(360 / 10)
- set {_Number.2} to floor(360 / 0)
- set {_Current} to 0
- loop 5000 times:
- loop {_Number} times:
- spawn 1 of particle flame at location of {_location}
- wait 100 tick
- if player doesn't have blindness:
- exit loop
- if {復活手續.%player%} isn't set:
- exit loop
- if player doesn't have blindness:
- exit loop
- if {復活手續.%player%} isn't set:
- exit loop
- wait 0.2 seconds
- remove invisibility from player
- play raw sound "random.levelup" at player with pitch 2 volume 0.2
- send "&b復活完畢。"
- if {玩家資料.%player%::重生點} is set:
- teleport player to {玩家資料.%player%::重生點}
- delete {復活手續.%player%}
- wait 1 tick
- apply CONFUSION 1 to player for 15 seconds
- every 10 seconds:
- loop all players:
- if {復活手續.%loop-player%} is set:
- set {_abc} to location of loop-player
- if {_abc} isn't {復活手續.%loop-player%}:
- teleport loop-player to {復活手續.%loop-player%}
- on damage:
- if {競技參賽者::%attacker%} is set:
- stop
- if {玩家資料::%attacker%} isn't set:
- stop
- if {玩家資料::%victim%} isn't set:
- stop
- if attacker is a player:
- if attacker has CONFUSION:
- remove CONFUSION from attacker
- if victim is a player:
- if victim has CONFUSION:
- cancel event
- on inventory click:
- if {競技參賽者::%player%} is set:
- stop
- "%inventory name of player's current inventory%" is "container.crafting"
- set {_slot} to slot
- if {_slot} is 36:
- cancel event
- send "已禁止背包點擊裝備欄。"
- if {_slot} is 37:
- cancel event
- send "已禁止背包點擊裝備欄。"
- if {_slot} is 38:
- cancel event
- send "已禁止背包點擊裝備欄。"
- if {_slot} is 39:
- cancel event
- send "已禁止背包點擊裝備欄。"
- wait 1 ticks
- loop 4 times:
- if slot (40 - loop-number) of player isn't air:
- give slot (40 - loop-number) of player to player
- set slot (40 - loop-number) of player to air
- send "已禁止背包點擊裝備欄。"
- #玩家背包的名稱container.crafting 箱子名稱Chest
- on right click:
- wait 1 ticks
- loop 4 times:
- if slot (40 - loop-number) of player isn't air:
- set player's tool to slot (40 - loop-number) of player
- set slot (40 - loop-number) of player to air
- send "善用裝備指令。"
- on quit:
- delete {復活手續.%player%}
- delete {冷卻.%player%::*}
- on join:
- delete {復活手續.%player%}
- delete {冷卻.%player%::*}
- on command:
- if {復活手續.%player%} is set:
- cancel event
- send "&7你還沒復活,無法使用手機跟大眾交流"
- stop
- command is "spawn"
- if {玩家資料.%player%::重生點} is set:
- teleport player to {玩家資料.%player%::重生點}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement