melih343
Zombi Katili
- En iyi cevaplar
- 0
Merhabalar
Sizlere Yaptığım Kelepçe Skriptini Tanıtacağım..
Hırsız,Polis ve Normal Olarak 3 Sınıf Bulunmaktadır.
Herkes Normal Olarak Başlar.
Bir Oyuncuya Saldırdığınızda Hırsız Konumuna Geçersiniz.
Oyundaki Polisler Size Kelepçe ile Sağ Tıkladığında 30 Saniye Hareket Edemez
Ve Kimseye Vuramazsınız..
Eğer Siz Hırsız Değil İken Polis Olan Kişi Size Vurursa Polis 1 Uyarı Alır.
Polisin Uyarısı 10'a Ulaştığında Polislikten Atılır Oda Hırsız Olur.
Kelepçeliyken Oyundan Çıkarsanız Ek Olarak 30 Saniye Daha Hareketsiz Kalma Cezası Yersiniz..
Polis Komutları: /kelepce (Kelepçeyi Elinize Alıp SUçluya Sağ Tıkladığınızda Kelepçeyi Takar.)
Admin Komutları: /polisyetkiver <player> /polisyetkial <player> /sucluyap <player> /sucluyapma <player>
NOT:Basit Skript Olsa Bile Lütfen Emeğe Saygı Duyun.
Sizlere Yaptığım Kelepçe Skriptini Tanıtacağım..
Hırsız,Polis ve Normal Olarak 3 Sınıf Bulunmaktadır.
Herkes Normal Olarak Başlar.
Bir Oyuncuya Saldırdığınızda Hırsız Konumuna Geçersiniz.
Oyundaki Polisler Size Kelepçe ile Sağ Tıkladığında 30 Saniye Hareket Edemez
Ve Kimseye Vuramazsınız..
Eğer Siz Hırsız Değil İken Polis Olan Kişi Size Vurursa Polis 1 Uyarı Alır.
Polisin Uyarısı 10'a Ulaştığında Polislikten Atılır Oda Hırsız Olur.
Kelepçeliyken Oyundan Çıkarsanız Ek Olarak 30 Saniye Daha Hareketsiz Kalma Cezası Yersiniz..
Polis Komutları: /kelepce (Kelepçeyi Elinize Alıp SUçluya Sağ Tıkladığınızda Kelepçeyi Takar.)
Admin Komutları: /polisyetkiver <player> /polisyetkial <player> /sucluyap <player> /sucluyapma <player>
NOT:Basit Skript Olsa Bile Lütfen Emeğe Saygı Duyun.
PHP:
command /kelepce:
trigger:
if {%player%.polis} is true:
give 1 tripwire hook named " &3Kelepce " with lore "||&fSuclu Oyuncuya Sag||&fTiklayarak Kelepceyi||&fTakmis Olursun" to player
on rightclick on player:
if {%player%.polis} is true:
if tool is tripwire hook named " &3Kelepce " with lore "||&fSuclu Oyuncuya Sag||&fTiklayarak Kelepceyi||&fTakmis Olursun":
if {%name of clicked player%.suc} is true:
send "&4 %clicked player% &2Adli Oyuncuya Basariyla Kelepce Takildi." to player
send "&3 %player% &cAdli Oyuncu Size Kelepce Takti" to clicked player
send "&c 30 Saniye Boyunca Hareket Edemez Ve Kimseye Vuramazsin." to clicked player
set {%name of clicked player%.suc} to false
set {%name of clicked player%.kelepce} to false
apply jump -10 to clicked player for 30 seconds
apply speed -10 to clicked player for 30 seconds
wait 30 seconds
set {%name of clicked player%.kelepce} to true
send "&2 Kelepcen Cozuldu." to clicked player
else:
send "&c Oyuncu Suclu Degil." to player
else if {%player%.polis} is false:
send "&c Kelepce Takabilmek Icin Polis Olmalisiniz." to player
command /sucluyap <player>:
trigger:
set {%arg 1%.suc} to true
send "&e %arg 1% &2Adli Oyuncuyu Suclu Yaptiniz." to player
command /sucluyapma <player>:
trigger:
set {%arg 1%.suc} to false
send "&e %arg 1% &2Adli Oyuncuyu Suclulugunu Kapattiniz." to player
on damage:
attacker is a player:
if {%attacker%.polis} is true:
if {%attacker%.polis.uyari} is 9:
send "&9 Uyari &7> &410 &f/ &410" to attacker
send "&c Uyarin 10 Oldugu Icin Polislikten Atildin." to attacker
set {%attacker%.polis} to false
set {%attacker%.suc} to true
broadcast "&3 %attacker% &cAdli Polis 10 Defa Suclu Olmayan Kisilere"
broadcast "&c Vurdugu Icin Polislikten Atildi."
else:
if {%victim%.suc} is false:
send "&c Suclu Olmayan Vatandasa Vurdugunuz Icin 1 Uyari Aldin" to attacker
send "&c Uyari Sayin 10 Olursa Polislikten Atilirsin." to attacker
add 1 to {%attacker%.polis.uyari}
send "&9 Uyari &7>&c %{%attacker%.polis.uyari}% &f/ &410" to attacker
else:
if {%attacker%.kelepce} is false:
send "&c Kelepceliyken Kimseye Vuramazsin." to attacker
cancel event
else:
set {%attacker%.suc} to true
on join:
if {%player%.kelepce} is false:
send "&c Kelepceliyken Oyundan Ciktiginiz Icin Ek Olarak" to player
send "&c 30 Saniye Kelepce Suresi Eklendi." to player
apply jump 255 to player for 30 seconds
apply slowness 255 to player for 30 seconds
wait 30 seconds
set {%player%.kelepce} to true
command /polisyetkiver <player>:
permission: op
trigger:
send "&3 %arg 1% &2Adli Oyuncu Basariyla Polis Oldu." to player
set {%arg 1%.polis.uyari} to 0
set {%arg 1%.polis} to true
set {%arg 1%.suc} to false
command /polisyetkial <player>:
permission: op
trigger:
send "&3 %arg 1% &2Adli Oyuncunun Polislik Yetkisi Basariyla Alindi." to player
set {%arg 1%.polis} to false
set {%arg 1%.suc} to false
on chat:
cancel event
if {%player%.polis} is true:
broadcast " &3%player% &7> &f%message%"
else if {%player%.suc} is true:
broadcast " &4%player% &7> &f%message%"
else:
broadcast " &e%player% &7> &f%message%"