_OnePage_
Cehennem Yükleniyor - %89
Skript ölünce son söz kısmı çıkıyor hologram gibi ve 15 saniye sonra siliniyor sunucu kapatılırsa sonsöz armor standleri otomatik siliniyor yani bugda kalmıyor eğer kalırsada /sil komutu ilede silebilirsiniz
burada 2 adet örnek var yeni şey ekliyeceğimizde and "sonsözümüz" şeklinde ekleyebiliyoruz tutarını ayarlamak için and "sonsözümüz;miktar" şeklinde yapmamız gerekiyor
Skripti pek denemedim test için yaptığım yerler kalmış olabilir bildirirseniz düzeltirim
İstediğiniz skriptleri mesajda belirtirseniz isteğinize göre yapıp paylaşabilirim
Kod:
function sonsoz(text:text,olen:location,olduren:text,olens:text):
set {_line::1} to "&o&l&6Ölduren Kişi &f%{_olduren}%"
set {_line::2} to "&o&l&6Ölen Kişi &f%{_olens}%"
set {_line::3} to "&8Sonsöz: &o&m&e%{_text}%"
set {_olen}'s y coords to {_olen}'s y coords + 2
create a new hologram with line "%{_line::1}%","%{_line::2}%", " " and "%{_line::3}%" at {_olen} and store in {_sonsöz}
wait 15 seconds
delete holo {_sonsöz}
on skript start:
loop all holograms:
delete holo loop-value
on load:
set {sonsözler::*} to "Bir dahaki el kazanacam;5000" and "Şaşkınlık içerisindeyim"
command /sonsözal:
trigger:
wait a tick
open virtual chest with size 5 named "&6Son söz market" to player
wait a tick
make gui slot integers between 0 and 9 of player with black stained glass pane with name " " to close
make gui slot integers between 36 and 44 of player with black stained glass pane with name " " to close
make gui slot 17 and 26 and 35 and 18 and 27 of player with black stained glass pane with name " " to close
set {_n} to 10
loop {sonsözler::*}:
delete {_fiyat::*}
{_n} is 17 or 26:
add 2 to {_n}
{_n} is 35:
stop
set {_a} to "%loop-value%"
set {_fiyat::*} to split {_a} at ";"
replace all ";%{_fiyat::2}%" with "" in {_a}
"%{_fiyat::2}%" contains "<none>":
set {_fiyat::2} to 1000
make gui slot {_n} of player with paper with name "&b%{_a}%" with lore "&8Fiyat: &f%{_fiyat::2}%" to run:
set {_a} to "%uncoloured lore of clicked item%"
replace all "Fiyat: " with "" in {_a}
set {_a} to {_a} parsed as number
player's balance >= {_a}:
send "&2Bir sonsöz aldın"
add "%uncoloured name of clicked item%" to {sonsöz::%player%::*}
remove {_a} from player's balance
execute player command "sonsözal"
else:
send "&cparan yok"
"%{sonsöz::%player%::*}%" contains "%{_a}%":
make gui slot {_n} of player with paper with name "&b%{_a}%" with lore "&cAlınmış" to nothing
add 1 to {_n}
on death of player:
attacker is a player
{sonsöz::%victim%} is set
sonsoz("%{sonsöz::%victim%}%",victim,"%attacker%","%victim%")
command /sonsözlerim:
trigger:
open virtual chest with size 5 named "&6Son sözlerin" to player
wait a tick
make gui slot integers between 0 and 9 of player with black stained glass pane with name " " to close
make gui slot integers between 36 and 44 of player with black stained glass pane with name " " to close
make gui slot 17 and 26 and 35 and 18 and 27 of player with black stained glass pane with name " " to close
set {_n} to 10
loop {sonsöz::%player%::*}:
{_n} is 17 or 26:
add 2 to {_n}
{_n} is 35:
stop
"%{sonsözler::*}%" contains "%loop-value%"
make gui slot {_n} of player with paper with name "&b%loop-value%" with lore "&2Son söz seç" to run:
set {sonsöz::%player%} to "%uncoloured name of clicked item%"
send "&2Seçildi; &8%{sonsöz::%player%}%"
add 1 to {_n}
burada 2 adet örnek var yeni şey ekliyeceğimizde and "sonsözümüz" şeklinde ekleyebiliyoruz tutarını ayarlamak için and "sonsözümüz;miktar" şeklinde yapmamız gerekiyor
Skripti pek denemedim test için yaptığım yerler kalmış olabilir bildirirseniz düzeltirim
İstediğiniz skriptleri mesajda belirtirseniz isteğinize göre yapıp paylaşabilirim
Son düzenleme:
