[Skript]Bağışcı fazladan kalp sistemi !

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Merhaba arkadaşlar,
Açıksa söylemek istersem çalışıyormu pek bilgim yok ama kodlarda hiçbir hata yok yanlış tab atmış olabilirim.
Kod:
command /vipkalp:
    player has permission "vip.kalp"
           set the maximum health of the player to 20
            message "&f[&6Tag&f] &fDonator kalplerin verildi senin canın &c%health% &fHP"
            heal me
            wait 2 minutes
            set the maximum health of the player to 10
            heal me
            message "&f[&6Tag&f] &fDonator kalplerin geri alindi senin canin &c%health%"
Bu skript "vip.kalp" yetkisi olan kişi kullanabilir.Kullanan oyuncu 2 dakika boyunca 15 kalp canı olur,2 dakika sonra canı tekrar 10 olur ve canı fullenir ne kadar gerekli bilmiyorum sadece olsun yani skript bölümü çok boş
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
Kod:
command /vipkalp:
    add 1 to {can}
    player has permission "vip.kalp":
        if {can} to 1
            set the maximum health of the player to 20
            message "&f[&6Tag&f] &fDonator kalplerin verildi senin canın &c%health% &fHP"
            heal me
            wait 2 minutes
            set the maximum health of the player to 10
            heal me
            message "&f[&6Tag&f] &fDonator kalplerin geri alindi senin canin &c%health%"
            wait 10 minutes
            delete {can}
Böyle Yaparak 10 Dakikada Bir Yapmasını Saglayabilirsin Loopla Da Yapabilirsin.
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
command /vipkalp:
    add 1 to {can}
    player has permission "vip.kalp":
        if {can} to 1
            set the maximum health of the player to 20
            message "&f[&6Tag&f] &fDonator kalplerin verildi senin canın &c%health% &fHP"
            heal me
            wait 2 minutes
            set the maximum health of the player to 10
            heal me
            message "&f[&6Tag&f] &fDonator kalplerin geri alindi senin canin &c%health%"
            wait 10 minutes
            delete {can}
Böyle Yaparak 10 Dakikada Bir Yapmasını Saglayabilirsin Loopla Da Yapabilirsin.
Bu mantığı beğendim sağol
 

mrbobaking

Kızıltaş Madencisi
En iyi cevaplar
0
Skript güzel ama bir oyuncudan diğerine kalp aktarılsaydı güzel olurdu.
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
command /vipkalp:
    add 1 to {can}
    player has permission "vip.kalp":
        if {can} to 1
            set the maximum health of the player to 20
            message "&f[&6Tag&f] &fDonator kalplerin verildi senin canın &c%health% &fHP"
            heal me
            wait 2 minutes
            set the maximum health of the player to 10
            heal me
            message "&f[&6Tag&f] &fDonator kalplerin geri alindi senin canin &c%health%"
            wait 10 minutes
            delete {can}
Böyle Yaparak 10 Dakikada Bir Yapmasını Saglayabilirsin Loopla Da Yapabilirsin.
Konuyu canlandırıyorum bu herkes için 10 dakika olmazmı ben kişiye özel istiyorum
 
Üst