Posterity#7678
on right-click with sword:
if {cooldown::%player%} isn't set:
set {cooldown::%player%} to now
if difference between {cooldown::%player%} and now > 15 seconds:
set {cooldown::%player%} to now
shoot a fireball with speed 4
else:
set {_n} to "%difference between 15 seconds and (difference between {cooldown::%player%} and now)%"
replace all "seconds" with "&fsaniye" in {_n}
show a action bar with "&aBu yetenegi &f%{_n}% &asonra tekrar kullanabilirsin" to player
MrMistry#5436
ben yapıp atçamm "ç"Kod:on right-click with sword: if {cooldown::%player%} isn't set: set {cooldown::%player%} to now if difference between {cooldown::%player%} and now > 15 seconds: set {cooldown::%player%} to now shoot a fireball with speed 4 else: set {_n} to "%difference between 15 seconds and (difference between {cooldown::%player%} and now)%" replace all "seconds" with "&fsaniye" in {_n} show a action bar with "&aBu yetenegi &f%{_n}% &asonra tekrar kullanabilirsin" to player
Bu skripti kendinize göre değiştirip kullanabilirsiniz iyi forumlar en iyi cevap seçerseniz sevinirim
MrMistry#5436
kanka yapıp atıcam dedim de tüm event listesine baktım "on totem" gibi bişi yok o yuzden dediğin bi pluginsiz yapılamaz ve plugini de bilmiyorumben yapıp atçamm "ç"
on first join:
set {totem.süre.%player%} to 90
#bu komut ekledim çünkü ilk kez oyuncu oyuna girdinde 90 saniye yenilicek
command /totemsüre [<player>]:
permission: totem.süre.90
trigger:
İf arg 1 is "%player%":
set {totem.süre.%arg 1%} to 90
send "§aTotem süresi 90 saniye ayarlandı" to player
set {totem.süre.ekle.%arg 1%} to false
stop
on right click with totem of undying
if {totem.süre.%player%} is bigger than 90:
remove 90 from {totem.süre.%player%}
wait 1 seconds
set {totem.süre.ekle.%player%} to true
else:
cancel the event
send "§aTotem 90 saniye sonra kullanabilirsin" to player
every 1 seconds:
loop players:
add 1 to {totem.süre.%loop-player%}
if {totem.süre.%loop-player%} is bigger than 90:
set {totem.süre.ekle.%loop-player%} to false
send "§aTotem Kullanışlı hale geldi tekrardan kullanabilirsiniz" to player
stop
#Dostum bu skript test etmedim ama sorun çıkarsa bana söyle yardımcı olurum

hacigandalf
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!