yunanmadenci
Eküidistans
- Katılım
- 28 Şubat 2022
- Mesajlar
- 871
- Elmaslar
- 378
- Puan
- 7.580
- Yaş
- 20
- Konum
- Samos, Yunanistan
- Minecraft
- yunanmadenci
Discord:
maadenci
Bide son olarak bu makasın adıyla çalışmasını istemiyorum loresi &7Güç&8: {_} ise çalışsın adından tanınmasın adını değiştirmem gerekiyor o yüzden buda son isteğimdi yaparsan çok iyi olur.
JavaScript:
command makas:
trigger:
give player shears with lore "&7Güç&8: &e20" if player has permission "yetkili"
rightclick with shears:
set {_} to 1st line of player's tool's lore
{_} != "&7Güç&8: &eDoluyor"
replace "&7Güç&8: " in {_} with ""
set {_} to uncoloured {_} parsed as integer
remove 1 from {_}
set 1st line of player's held item's lore to "&7Güç&8: &e%{_}%"
push the player forwards at speed 0.4
push the player upwards at speed 0.3
set player's metadata "ZARARYOK" to 0
set {zararyok::%player%} to true
{_} <= 0
set 1st line of player's held item's lore to "&7Güç&8: &eDoluyor"
wait 5 seconds
set 1st line of player's held item's lore to "&7Güç&8: &e20" if 1st line of player's held item's lore = "&7Güç&8: &eDoluyor"
damage of player:
damage cause = fall
victim's metadata "ZARARYOK" = 0
cancel event
delete victim's metadata "ZARARYOK"