- Katılım
- 9 Nisan 2016
- Mesajlar
- 421
- Elmaslar
- 280
- Puanlar
- 14.270
- Minecraft
- rudde
Merhabalar. Bu Skript ile oyuncuya veya yaratığa vurduğunuzda actionbar'da karşıdakinin canını görebilirsiniz.
Kod:
on damage:
attacker is a player
wait a tick
victim is player:
set {_n} to victim's display name
else if victim is sheep:
set {_n} to "Koyun"
else if victim is zombie or husk:
set {_n} to "Zombi"
else if victim is skeleton or stray:
set {_n} to "İskelet"
else if victim is spider:
set {_n} to "Örümcek"
else if victim is cave spider:
set {_n} to "Mağara Örümceği"
else if victim is cow:
set {_n} to "İnek"
else if victim is rabbit:
set {_n} to "Tavşan"
else if victim is villager:
set {_n} to "Köylü"
else if victim is chicken:
set {_n} to "Tavuk"
else if victim is parrot:
set {_n} to "Papağan"
else if victim is pig:
set {_n} to "Domuz"
else if victim is elder guardian:
set {_n} to "Yaşlı Gardiyan"
else if victim is iron golem:
set {_n} to "Demir Golem"
else if victim is snowman:
set {_n} to "Kardan Adam"
else if victim is ender dragon:
set {_n} to "Ender Ejderhası"
victim's health is equal to 0:
show action bar with "&7Hedef öldü! &c❤" to attacker
else if {_n} is set:
show action bar with "&7%{_n}%: &c%victim's health% ❤" to attacker
else:
show action bar with "&7%victim%: &c%victim's health% ❤" to attacker