HakanK1905
Odunlara Vur Vur Vur!
- Katılım
- 7 Haziran 2017
- Mesajlar
- 27
- Elmaslar
- 4
- Puan
- 13.210
- Yaş
- 28
Arkadaşlar metintasi skriptim obsidyen üzerine kurulu onu sünger yapıp canını 150 Bide yenilenmesini 5 dakika yapabilirmisiniz.
Kod:
options:
Prefix: &e| &7- &6&lMETIN&f&lTASI &7- &e| &7
command /tasayarla:
trigger:
if player has permission "tas.admin":
if targeted block is obsidian:
if {ozeltas::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {ozeltas::%{_loc}%} to {_loc}
message "{@Prefix} &7Onunuzdeki obsidyeni metin tasina cevirdiniz normale cevirmek icin tekrar &c/tasayarla &7yaziniz..!"
stop
else if {ozeltas::%location of targeted block%} is set:
clear {ozeltas::%location of targeted block%}
message "{@Prefix} &7Metin tasini normal obsidyene cevirdiniz tekrar metin tasi yapmak icin &c/tasayarla &7yaziniz..!"
else:
message "{@Prefix} &7Bu komutu gerceklestirebilmek icin bir &cobsidyene &7dogru bakiyor olmaniz gerekmektedir..!"
else:
message "{@Prefix} &7Bunun icin gerekli yetkiye sahip degilsin.."
on break of obsidian:
if {ozeltas::can} is smaller than 0:
message "&f[&a%{ozeltas::can}% &7x &6&lMETIN&f&lTASI'nı Kirdin !i&f]"
execute console command "sp ver demir 1 %player%"
set {ozeltas::can} to 50
set event-block to air
message "&e| &7- &6&lMETIN&f&lTASI &7- &e| &7Oyuncular &6&lMETIN&f&lTASI tasini &7parcaladi , &c3 dakika &7icinde tekrar cikacaktir..!" to players
wait 180 seconds
set event-block to obsidian
message "&e| &7- &6&lMETIN&f&lTASI &7- &e| &6&lMETIN&f&lTASI &7yeniden dustu , &c/warp metintasi &7giderek METIN tasini kesebilirsiniz..!" to players
if {ozeltas::%location of event-block%} is set:
message "&f[ &cCAN &7x &a%{ozeltas::can}% &7x &f]"
remove 1 from {ozeltas::can}
chance of 70%:
spawn 5 zombie at player's location
chance of 50%:
spawn 5 zombie at player's location
chance of 30%:
spawn 5 zombie at player's location
spawn 5 skeleton at player's location
chance of 15%:
spawn 5 zombie at player's location
spawn 5 skeleton at player's location
spawn 0 creeper at player's location
cancel event
stop
set {ozeltas::can} to 50