EfeByc21
skript falan
- Katılım
- 10 Ağustos 2017
- Mesajlar
- 460
- Elmaslar
- 159
- Puan
- 9.270
- Yaş
- 25
- Konum
- İzmir
- Minecraft
- EfeByc
- https://www.facebook.com/efeboyaci21
Discord:
Efe#0754
/kutu ayarla
End portal çerçevesi bloğuna bakarak bu komutu uygulamalısınız.
Tekrar yazarak normal bir bloğa dönüştürebilirsiniz.
Kod:
options:
item1: diamond block #item: Hangi eşyanın kullanılacağı tanımlanır. İngilizce ve telafuza uygun yazmalısınız.
sayı1: 32 #Sayı: Hangi itemin hangi sayıda verileceği
item2: emerald block #İsim: Hangi itemin görünüş olarak isminin ne olacağı
sayı2: 32
item3: gold block
sayı3: 32
item4: iron block
sayı4: 32
item5: diamond
sayı5: 32
item6: emerald
sayı6: 32
item7: iron ingot
sayı7: 32
isim1: &b&lElmas Blok
isim2: &b&lZümrüt Blok
isim3: &b&lAltın Blok
isim4: &b&lDemir Blok
isim5: &b&lElmas
isim6: &b&lZümrüt
isim7: &b&lDemir
on rightclick:
event-block is end portal frame:
{kutu::%location of targeted block%} is set:
send title "&aKutu açılıyor" to player for 0.3 seconds
drawRings particle "redstone", RGB 80, 255, 255, center {kutuu}, id "%player%", rainbowMode true, randomRotation true, animated false, radius 1, ringCount 4, ringDensity 10, visibleRange 32, pulseDelay 2
wait 30 tick
spawn an armor stand at {kutuu}
set {_a} to spawned armor stand
add "{NoBasePlate:1,NoGravity:1b,Invisible:1b}" to nbt of {_a}
stopEffect id "%player%"
chance of 15%:
give {@sayı1} {@item1} to player
set helmet of {_a} to {@item1}
create holo with line "{@isim1}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı2} {@item2} to player
set helmet of {_a} to {@item2}
create holo with line "{@isim2}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı3} {@item3} to player
set helmet of {_a} to {@item3}
create holo with line "{@isim3}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı4} {@item4} to player
set helmet of {_a} to {@item4}
create holo with line "{@isim4}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı5} {@item5} to player
set helmet of {_a} to {@item5}
create holo with line "{@isim5}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı6} {@item6} to player
set helmet of {_a} to {@item6}
create holo with line "{@isim6}" at location 1 meters above and store in {_test}
else:
chance of 15%:
give {@sayı7} {@item7} to player
set helmet of {_a} to {@item7}
create holo with line "{@isim7}" at location 1 meters above and store in {_test}
wait 50 tick
delete holo {_test}
kill {_a}
on leftclick:
event-block is end portal frame:
{kutu::%location of targeted block%} is set:
open virtual chest with size 1 named "Kutu" to player
make gui slot 1 of player with {@item1} named "{@isim1}" to close
make gui slot 2 of player with {@item2} named "{@isim2}" to close
make gui slot 3 of player with {@item3} named "{@isim3}" to close
make gui slot 4 of player with {@item4} named "{@isim4}" to close
make gui slot 5 of player with {@item5} named "{@isim5}" to close
make gui slot 6 of player with {@item6} named "{@isim6}" to close
make gui slot 7 of player with {@item7} named "{@isim7}" to close
make gui slot 0,8 of player with black stained glass pane named "-" to close
on break:
event-block is end portal frame:
{kutu::%location of targeted block%} is set:
if player has permission "op":
stop
else:
cancel event
command /kutu [<text>]:
trigger:
if arg-1 is "ayarla":
targeted block is end portal frame:
{kutu::%location of targeted block%} is not set:
set {kutu::%location of targeted block%} to location of targeted block
set {kutuu} to location of targeted block
send "&6Kutuya çevrildi."
else:
delete {kutu::%location of targeted block%}
delete {kutuu}
send "&6Normal bloğa çevrildi."
Gerekli addonlar:
Tuske
SkHolo
SkNbeet
SkDragon
SkRayFall (emin değilim)
Bilinçli olarak fonksiyon kullanılmamıştır çünkü tüm skript
versiyonlarına hitap etmesini istedim ancak yakında function kullanılmış halde de çıkaracağım.
versiyonlarına hitap etmesini istedim ancak yakında function kullanılmış halde de çıkaracağım.
Ekli dosyalar
Son düzenleme: