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:
{hirsiz.yetenek.%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 {atm.tabela.%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 {atm.tabela.%location of targeted block%} is set:
delete {atm.tabela.%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 !"
on right click on sign:
{atm.tabela.%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 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}*{hirsiz.yetenek.%player%} to player's balance
send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi"
wait {@bekleme} seconds
set line 3 of the clicked block to "&a[Soyulmamis]"
else:
send "Bu banka daha önce soyulmuş !"
Arkadaşlar skripti bu forumdan buldum biraz editledim ama bi kaç isteğim var
1-Adamlar oyundan çıkınca soygun iptal olsun
2- Adamlar ölünce Soygun iptal olsun
3-/soyguniptal yazınca soygun iptal olsun
Moderatör tarafından düzenlendi: