Kod:
options:
axe: &a&k&l123 &c&lEmreBeySYT'nin &e&lBaltası &a&k&l123
axe2: &b[&aMrNebula&b]&7'nın Çubuğu
perm: &cBu komudu kullanmak için yetkiniz bulunmamaktadır.
perm2: &cBu itemi almak için yetkiniz bulunmamaktadır.
sec: &b[&aSeçili Özellik&b]&7
oz0: Free
oz1: Fireball
oz2: Blue
oz3: Armor
oz4: Jailer
oz5: Bomber
oz6: Lightning
aliases:
wandyellow = 95:4
wandred = 95:14
wandwhite = 95:0
#===========================================================================================================================================
on left click:
if name of the player's tool is "{@axe}" or "{@axe2}":
if {hükümlü.%player%} is set:
if {mode.%player%} is not "{@oz0}":
cancel event
if {mode.%player%} is "{@oz1}":
delete {drill.%player%}
if {drill.%player%} is not set:
set {drill.%player%} to true
if targeted entity is player or targeted entity:
set {_lol} to distance between player and targeted entity
set {_count} to 3
set {_playerdia} to player's location
loop {_lol} times:
set {_pose.%{_count}%} to the block 2 above block {_count} forward {_playerdia}
loop blocks around {_pose.%{_count}%} in radius 2:
set {_local} to loop-block's location
set loop-block to wandred
wait 0.1 seconds
loop blocks around {_pose.%{_count}%} in radius 2:
set loop-block to air
add 1 to {_count}
create an explosion of strength 4 at the targeted entity
else:
set {_playerdia} to player's location
set {_count} to 3
loop 25 times:
set {_pose.%{_count}%} to the block 2 above block {_count} forward {_playerdia}
loop blocks around {_pose.%{_count}%} in radius 2:
set {_local} to loop-block's location
set loop-block to wandred
wait 0.1 seconds
loop blocks around {_pose.%{_count}%} in radius 2:
set loop-block to air
add 1 to {_count}
delete {drill.%player%}
stop
#===========================================================================================================================================
if {mode.%player%} is "{@oz2}":
if distance between player and targeted entity is more than 20:
stop
set {%player%.target} to distance between player and targeted entity
set {%player%.go} to now
set {%player%.go1} to the block 2 above 0 west of targeted entity
set {%player%.go2} to the block 3 above 0 west of the player
set {%player%.go3} to the block 0.1 * {%player%.target} in front of the player
set {%player%.go4} to the block 0.3 * {%player%.target} in front of the player
set {%player%.go4} to the block 0.4 * {%player%.target} in front of the player
set {%player%.go4} to the block 0.7 * {%player%.target} in front of the player
set {%player%.go4} to the block 0.9 * {%player%.target} in front of the player
set {%player%.go11} to the block 0.1 * {%player%.target} above {%player%.go3}
set {%player%.go12} to the block 0.3 * {%player%.target} above {%player%.go4}
set {%player%.go13} to the block 0.5 * {%player%.target} above {%player%.go5}
set {%player%.go14} to the block 0.3 * {%player%.target} above {%player%.go6}
set {%player%.go15} to the block 0.1 * {%player%.target} above {%player%.go7}
loop blocks from {%player%.go11} to {%player%.go12}:
set loop-block to blue wool
loop blocks from {%player%.go12} to {%player%.go13}:
set loop-block to blue wool
loop blocks from {%player%.go13} to {%player%.go14}:
set loop-block to blue wool
loop blocks from {%player%.go14} to {%player%.go15}:
set loop-block to blue wool
loop blocks from {%player%.go15} to {%player%.go15}:
set loop-block to blue wool
loop blocks from {%player%.go16} to {%player%.go15}:
set loop-block to blue wool
loop blocks from {%player%.go17} to {%player%.go15}:
set loop-block to blue wool
loop blocks from {%player%.go11} to {%player%.go12}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go12} to {%player%.go13}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go13} to {%player%.go14}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go14} to {%player%.go15}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go15} to {%player%.go15}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go16} to {%player%.go15}:
set loop-block to air
wait 0.5 ticks
loop blocks from {%player%.go17} to {%player%.go15}:
set loop-block to air
wait 0.5 ticks
#===========================================================================================================================================
if {mode.%player%} is "{@oz3}":
equip player with iron chestplate of protection 32750
equip player with iron boots of protection 32750
execute player command "/fly on"
#===========================================================================================================================================
if {mode.%player%} is "{@oz4}":
set {_w} to targeted entity
set {_g} to 1
loop blocks around {_w} in radius 6:
set loop-block to wandwhite
set all blocks in radius 4 around {_w} to air
wait 0.5 seconds
create an explosion of strength 12 at {_w}
kill targeted entity
#===========================================================================================================================================
if {mode.%player%} is "{@oz5}":
shoot a snowball with speed 5
#===========================================================================================================================================
if {mode.%player%} is "{@oz6}":
strike lightning at the target block
#===========================================================================================================================================
#===========================================================================================================================================
#===========================================================================================================================================
on right click:
if name of the player's tool is "&b[&aMrNebula&b]&7'nın Çubuğu" or "&a&k&l123 &c&lEmreBeySYT'nin &e&lBaltası &a&k&l123":
if {mode.%player%} is "{@oz6}":
set {mode.%player%} to "{@oz0}"
send action bar from "{@sec}{@oz0}" to player
stop
if {mode.%player%} is "{@oz0}":
set {mode.%player%} to "{@oz1}"
send action bar from "{@sec}{@oz1}" to player
stop
if {mode.%player%} is "{@oz1}":
set {mode.%player%} to "{@oz2}"
send action bar from "{@sec}{@oz2}" to player
stop
if {mode.%player%} is "{@oz2}":
set {mode.%player%} to "{@oz3}"
send action bar from "{@sec}{@oz3}" to player
stop
if {mode.%player%} is "{@oz3}":
set {mode.%player%} to "{@oz4}"
send action bar from "{@sec}{@oz4}" to player
stop
if {mode.%player%} is "{@oz4}":
set {mode.%player%} to "{@oz5}"
send action bar from "{@sec}{@oz5}" to player
stop
if {mode.%player%} is "{@oz5}":
set {mode.%player%} to "{@oz6}"
send action bar from "{@sec}{@oz6}" to player
stop
else:
set {mode.%player%} to "{@oz0}"
send action bar from "{@sec}{@oz0}" to player
stop
#===========================================================================================================================================
#===========================================================================================================================================
#===========================================================================================================================================
on block damage:
if name of the player's tool is "{@axe}" or "{@axe2}":
if {hükümlü.%player%} is set:
set {_w} to "%id of event-block%" parsed as item
add 1 of {_w} to the player's inventory
set event-block to air
On combust:
if name of the player's tool is "{@axe}" or "{@axe2}":
if {hükümlü.%player%} is set:
cancel event
on damage of player:
if name of the victim's tool is "{@axe}" or "{@axe2}":
if victim is "EmreBeySYT" or "MrNebula":
cancel event
#on death of player:
# if {hükümlü.%player%} is set:
# set {_respawn.%player%} to location of player
# wait 1 tick
# force respawn victim
# wait 1 tick
# teleport player to {_respawn.%player%}
# loop drops:
# add loop-item to {_items::*}
# remove loop-item from drops
# add {_items::*} to player's inventory
on projectile hit:
if name of the shooter's tool is "{@axe}" or "{@axe2}":
create a fake explosion at the projectile
loop entities in radius 5 of projectile:
create a fake explosion at loop-entity
damage loop-entity by 25
ignite loop-entity
#==========================================================================================================
options:
seconds: 0.2
axe: &a&k&l123 &c&lEmreBeySYT'nin &e&lBaltası &a&k&l123
axe2: &b[&aMrNebula&b]&7'nın Çubuğu
perm: &cBu komudu kullanmak için yetkiniz bulunmamaktadır.
perm2: &cBu itemi almak için yetkiniz bulunmamaktadır.
aliases:
wandred = 95:14
wandblue = 95:11
#===========================================================================================================
function blok(l: location, x1: integer, y1: integer, x: integer, x2:integer, y2:integer, y: integer):
set {_1} to location {_x} meters below {_x1} meters north {_y1} meters east {_l}
set {_2} to location {_x} meters below {_x1} meters east {_y1} meters south {_l}
set {_3} to location {_x} meters below {_x1} meters south {_y1} meters west {_l}
set {_4} to location {_x} meters below {_x1} meters west {_y1} meters north {_l}
set block at {_1} to air
set block at {_2} to air
set block at {_3} to air
set block at {_4} to air
set {_1} to location {_y} meters below {_x2} meters north {_y2} meters east {_l}
set {_2} to location {_y} meters below {_x2} meters east {_y2} meters south {_l}
set {_3} to location {_y} meters below {_x2} meters south {_y2} meters west {_l}
set {_4} to location {_y} meters below {_x2} meters west {_y2} meters north {_l}
set block at {_1} to wandred
set block at {_2} to wandblue
set block at {_3} to wandred
set block at {_4} to wandblue
command /emrebey:
trigger:
if {hükümlü.%player%} is set:
set {emre.%player%} to true
set {_l} to player's location
drop 1 diamond axe of protection 32750 and thorns 32750 named "{@axe}" at location -10 meters below {_l}
loop 100 times:
blok({_l}, -4, 1, -7, 1, 0, 0)
wait {@seconds} seconds
blok({_l}, -5, 0, -8, 2, 1, -1)
wait {@seconds} seconds
blok({_l}, 1, 0, 0, 1, 2, -2)
wait {@seconds} seconds
blok({_l}, 2, 1, -1, 0, 3, -3)
wait {@seconds} seconds
blok({_l}, 1, 2, -2, -1, 4, -4)
wait {@seconds} seconds
blok({_l}, 0, 3, -3, -2, 3, -5)
wait {@seconds} seconds
blok({_l}, -1, 4, -4, -3, 2, -6)
wait {@seconds} seconds
blok({_l}, -2, 3, -5, -4, 1, -7)
wait {@seconds} seconds
blok({_l}, -3, 2, -6, -5, 0, -8)
if {emre.%player%} is not set:
stop loop
wait {@seconds} seconds
blok({_l}, -4, 1, -7, 0, 0, 0)
set block at {_l} to air
wait {@seconds} seconds
blok({_l}, 5, 0, -8, 0, 0, 0)
set block at {_l} to air
set {_1} to location -8 meters below 5 meters east {_l}
set {_2} to location -8 meters below 5 meters south {_l}
set {_3} to location -8 meters below 5 meters west {_l}
set {_4} to location -8 meters below 5 meters north {_l}
strike lightning at {_1}
strike lightning at {_2}
strike lightning at {_3}
strike lightning at {_4}
else:
send action bar from "{@perm}" to player
#===========================================================================================================
options:
perm2: &cBu itemi almak için yetkiniz bulunmamaktadır.
axe: &a&k&l123 &c&lEmreBeySYT'nin &e&lBaltası &a&k&l123
axe2: &b[&aMrNebula&b]&7'nın Çubuğu
on picking up:
item is a diamond axe named "{@axe}":
if {hükümlü.%player%} is set:
if player is sneaking:
delete {emre.%player%}
else:
cancel event
stop
else:
send action bar from "{@perm2}" to player
cancel event
on picking up:
item is a stick named "{@axe2}":
if {hükümlü.%player%} is set:
if player is sneaking:
delete {nebosh.%player%}
else:
cancel event
else:
send action bar from "{@perm2}" to player
cancel event
command /hüküm [<text>] [<player>]:
trigger:
if player is "EmreBeySYT" or "MrNebula":
if arg-1 is "ver":
set {hükümlü.%arg-2%} to true
send action bar from "&a&l&k123 &c&lEmreBeySYT'nin Baltası'nın &e&lHükümünü Aldınız /emrebey Yazarak Kullana Bilirisniz &a&l&k123" to arg-2
send action bar from "&a&l&k123 &c&lHüküm verdin &a&l&k123" to player
send arg-2 title "&c&lBalta &e&lHükmü Aldın" with subtitle " &c&lEmreBeySYT'nin Baltası'nın &e&lVar Artık /emrebey Yaz" for 5 seconds
if arg-1 is "al":
delete {hükümlü.%arg-2%}
send action bar from "&a&l&k123 &c&lEmreBeySYT'nin Baltası'nın &e&lHükümü Alındı Üzgünüz... &a&l&k123" to arg-2
send action bar from "&a&l&k123 &c&lHüküme el koydun &a&l&k123" to player
send arg-2 title "&c&lBalta &e&lHükmü Alındı " with subtitle "&a&lArtık EmreBey Degilsin" for 5 seconds