2Adam
Bir Kömür Göründü Kaptanım!
- Katılım
- 13 Haziran 2018
- Mesajlar
- 165
- Elmaslar
- 11
- Puan
- 0
- Minecraft
- Mr_Eness
Kod:
variables:
{hirsizyetenek::%player%} = 1
options:
bekleme: 300
prefix: &c&lSoygun &8&l» &7
command /soygun:
trigger:
send "{@prefix}Banka oluşturmak için &c/Banka"
command /banka [<text>]:
permission: atm.admin
trigger:
if arg-1 is not set:
send "{@prefix}banka oluşturmak için &c/banka olustur"
send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
if arg-1 is "olustur":
if targeted block is sign:
set line 2 of targeted block to "&9[KASA]"
set line 3 of targeted block to "&a[Soyulmamis]"
set {atmtabela::%location of targeted block%} to 1
else:
send "{@prefix}Bir tabelaya bakmalısın"
if arg-1 is "kaldir":
if targeted block is sign:
if {atmtabela::%location of targeted block%} is set:
delete {atmtabela::%location of targeted block%}
set line 2 of targeted block to ""
set line 3 of targeted block to ""
send "&7Banka başarıyla kaldırırldı"
else:
send "{@prefix}Bu bir Banka değil !"
command /soyguniptal:
trigger:
if {soygun::%player%} is set:
delete {soygun::%player%}
console command "kaldir %player%"
send "&7Soygun iptal edildi!"
else:
send "&7Bir soygunda değilsin!"
on death of player:
if {soygun::%player%} is set:
player command "soyguniptal"
quit:
if {soygun::%player%} is set:
delete {soygun::%player%}
console command "kaldir %player%"
on right click on sign:
{atmtabela::%location of clicked block%} is set:
line 2 of clicked block is "&9[Kasa]":
if line 3 of the clicked block is "&a[Soyulmamis]":
set {soygun::%player%} to true
while {soygun::%player%} is set:
set line 3 of the clicked block to "&c[Soyulmus]"
broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı ! "
console command "dondur %player%"
wait 2 seconds
loop 200 times:
send ""
send "&8&l» &7Banka Soyuluyor..."
wait 2 seconds
loop 200 times:
send ""
send "&a▌▌▌"
wait 2 seconds
loop 200 times:
send ""
send "&a▌▌▌▌▌▌"
wait 2 seconds
loop 200 times:
send ""
send "&a▌▌▌▌▌▌▌▌▌"
wait 2 seconds
loop 200 times:
send ""
send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
wait 2 seconds
loop 200 times:
send ""
wait 2 second
broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! ! "
console command "kaldir %player%"
send "&7Bankayı Başarıyla Soyuldu !"
set {_x} to random integer between 5000 and 50000
add {_x}*{hirsizyetenek::%player%} to player's balance
send "&7Hesabınıza &c%{_x}*{hirsizyetenek::%player%}%TL &7eklendi"
wait {@bekleme} seconds
set line 3 of the clicked block to "&a[Soyulmamis]"
delete {soygun::%player%}
else:
send "Bu banka daha önce soyulmuş !"
BENİM BÖYLE BİR KODUM VAR İSTEKLERİM ŞUNLAR
1)SOYGUN BAŞLADIĞINDA 100 METRE UZAĞINA (AYARLANABİLİR OLSUN) 4 ATLI OKÇU İSKELET 3 ATLI KILIÇLI ZOMBİ DOĞACAK
2)BU İSKELET(OKLA) VE ZOMBİLER(KILIÇLA) ADAMA VURDUĞUNDA ADAMIN PARASI SIFIRLANCAK VE JAİLE ATICAK
3)ADAM SOYGUNDAN SONRA 10 DAKİKA BOYUNCA HİÇ BİR KOMUT YAZAMICAK
4)O 10 DAKİKA İÇERSİNDE OYUNDAN ÇIKTIĞINDA AYNI ŞEKİLDE PARASI SIFIRLANIP JAİLE ATILCAK
ÜCRETİLİ YAPACAKSANIZ VERİRİM AMA LÜTFEN ÜCRETSİZ BİR ŞEKİLDE YAPIN LÜTFEN <3