command /trol [<player>]:
trigger:
arg 1 is not set:
open chest with 6 rows named "&Trol Menüsü" to player
set {_x} to 0
loop all players:
format slot {_x} of player with red stained glass pane named "%loop-player%" to close then run [execute player command "trol %loop-player%"]
add 1 to {_x}
else:
set the freeze state of arg-1 to true
loop 9 times:
send "&a&k::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::" to arg-1
execute console command "effect %arg-1% 15 10 1"
wait 15 second
set the freeze state of arg-1 to false
command /trol [<player>]:
trigger:
arg 1 is not set:
open chest with 6 rows named "&Trol Menüsü" to player
set {_x} to 0
loop all players:
format slot {_x} of player with red stained glass pane named "%loop-player%" to close then run [execute player command "trol %loop-player%"]
add 1 to {_x}
else:
set the freeze state of arg-1 to true
loop 9 times:
send "&a&k:::::::::::::::::::::::::::::::::::::::::::::::::::::::" to arg-1
execute console command "effect %arg-1% 15 10 1"
wait 15 second
set the freeze state of arg-1 to false
else if arg 1 is "Creeper":
arg-2 is set
send "&6[Troll] &c%arg 4% &badlı oyuncunun arkasına creeperlar spawnlandı." to arg-2
set {_loc} to location 2 meters backwards arg-4
loop all blocks in radius 3 around location of {_loc}:
loop-block is air
spawn a creeper at loop-block
set spawned creeper's name to "&6&k------"
push arg-4 backwards at speed 1.2
stop
play "WITHER_IDLE" specifically to arg-4 with pitch 1 and volume 10
chance of 20%:
ignite the arg-4 for 4 seconds
play "WITHER_IDLE" specifically to arg-4 with pitch 1 and volume 10
chance of 20%:
apply blindness to arg-4 for 6 seconds
play "ENDERMAN_SCREAM" specifically to arg-4 with pitch 1 and volume 10
chance of 20%:
strike lightning at the arg-4
play "ZOMBIE_REMEDY" specifically to arg-4 with pitch 1 and volume 10
wait 10 ticks
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!