Beyler skriptern hiç anlamıyorum skripter değilim çünkü ancak pluginerim sunucu paketi yaparkende skriptlere ihtiyac vardır bu yüzden skript konusunda yardımınıza ihtiyacım var elimde kazikazan skripti var ancak 1 tane hatası var çözebilen lütfen acil yardım etsin. saygılar.
Kazikazan skripti:
Kazikazan skripti:
Kod:
on right click on chest with lever:
cancel event
if {sandik::%location of targeted block%} is set:
if tool's name is "&eKazı Kazan &fAnahtarı":
remove 1 lever named "&eKazı Kazan &fAnahtarı" from player
create gui with virtual chest inventory:
change gui inventory to name "&8&l❃ &eKazı Kazan &8&l❃" and size 3
make gui slot (numbers between 0 and 26) with white stained glass pane named "&8❃ &6Tıkla ve aç &8❃":
add 1 to {kazıldı.%player%}
if chance of 70%:
make gui slot gui-slot with 5 iron ingot named "&E5 TL"
execute console command "money give %player% 5"
else if chance of 25%:
make gui slot gui-slot with 15 gold ingot named "&e15 TL"
execute console command "money give %player% 15"
else if chance of 20%:
make gui slot gui-slot with 50 diamond named "&e50 TL"
execute console command "money give %player% 50"
else if chance of 10%:
make gui slot gui-slot with emerald named "&f&l100 TL"
execute console command "money give %player% 100"
else:
make gui slot gui-slot with 1 iron ingot named "&e1 TL"
execute console command "money give %player% 1"
if {kazıldı.%player%} is 3:
delete {kazıldı.%player%}
close inventory of player
open last gui to player
else:
send "&cAnahtara ihtiyacın var"
on place of chest:
if tool's name is "&eKazı Kazan &fKasası":
remove 1 chest named "&eKazı Kazan &fKasası" from player
set {_loc} to location of targeted block
set {sandik::%{_loc}%} to {_loc}
create interactive holo object "&a&lKazı Kazan" with id "%{sandikloc}%" at location of block above {sandik::%location of targeted block%}
send "&aBaşarıyla Kazı Kazan sandığı kuruldu"
on break of chest:
if {sandik::%location of targeted block%} is set:
delete {sandik::%location of targeted block%}
send "&aBaşarıyla sandık kaldırıldı"
delete holo object "%{sandik::%{_loc}%}%"
command /kasaver:
permission: op
trigger:
give 1 chest named "&eKazı Kazan &fKasası" to player
command /anahtarver:
permission: op
trigger:
give 1 lever named "&eKazı Kazan &fAnahtarı" to player
on place of lever:
if tool's name is "&eKazı Kazan &fAnahtarı":
cancel event
send "&cAnahtarları yere koyamazsın!"
on right click on chest:
if {sandik::%location of targeted block%} is set:
cancel event