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
Sürüm: 1.21.10
Gerekenler: Skript, SkBee,
Kullanım:
Elinize mace alın, F tuşuna basarak Mjolnir'i fırlatabilir, tekrar basarak çağırabilirsiniz. Baktığınız yönde ilerler, karşısına çıkan her şeye hasar verir. Mjolnir bir zemine çarptığında onunla aranızdaki mesafe 10 bloktan fazlaysa patlama oluşturur.
Mjolnir'i fırlattıktan sonra eğilme tuşuna basarak Mjolnir'in etrafına yıldırımlar patlatabilirsiniz.
Mjolnir elinizdeyken sağ tıklayarak uçabilir ve tekrar sağ tık basarak uçuşunuzu iptal edebilirsiniz.
Mjolnir elinizdeyken veya fırlatılmış haldeyken hasar almazsınız.
Canım sıkıldı arkadaşlarımla eğlenmek için kodladım, umarım siz de eğlenirsiniz. :D
Video:
Gerekenler: Skript, SkBee,
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Kullanım:
Elinize mace alın, F tuşuna basarak Mjolnir'i fırlatabilir, tekrar basarak çağırabilirsiniz. Baktığınız yönde ilerler, karşısına çıkan her şeye hasar verir. Mjolnir bir zemine çarptığında onunla aranızdaki mesafe 10 bloktan fazlaysa patlama oluşturur.
Mjolnir'i fırlattıktan sonra eğilme tuşuna basarak Mjolnir'in etrafına yıldırımlar patlatabilirsiniz.
Mjolnir elinizdeyken sağ tıklayarak uçabilir ve tekrar sağ tık basarak uçuşunuzu iptal edebilirsiniz.
Mjolnir elinizdeyken veya fırlatılmış haldeyken hasar almazsınız.
Canım sıkıldı arkadaşlarımla eğlenmek için kodladım, umarım siz de eğlenirsiniz. :D
Video:
JavaScript:
load:
delete players' metadata "MJOLNIR"
delete players' metadata "MJOLNIRBACK"
delete players' metadata "THORUCUS"
hunger meter change:
cancel event if player's tool is mace
damage of player:
cancel event if victim's tool is mace
cancel event if victim's metadata "MJJ" is alive
rightclick:
player's tool is mace
stop if player has player's tool on cooldown
player's metadata "THORUCUS" isn't set:
set item cooldown of player's tool for player to 1 second
set player's metadata "THORUCUS" to 1
while player's metadata "THORUCUS" = 1:
set {_a} to vector in player's direction
set {_a} to {_a} * 3
set player's velocity to {_a}
wait a tick
stop
else:
set item cooldown of player's tool for player to 2 seconds
delete player's metadata "THORUCUS"
sneak toggle:
player's metadata "MJJ" is alive
player is sneaking
strike lightning at player's metadata "MJJ"
play sound "minecraft:item.trident.thunder" to players
set {_} to player's metadata "MJJ"
loop all entities in radius 10 of {_}:
loop-entity isn't player or armor stand or item display
strike lightning at loop-entity
swap hand items:
cancel event if player's tool is mace
player's metadata "MJOLNIR" isn't 1 or 2:
player's tool is mace
stop if player has player's tool on cooldown
set player's tool to air
cancel event
delete player's metadata "THORUCUS"
set {_} to location 50 blocks below player
summon armor stand at {_}
play sound "minecraft:entity.evoker.cast_spell" with volume 0.6 to player
set scale attribute of last spawned armor stand to 0.50
make last spawned armor stand invisible
set player's metadata "MJJ" to last spawned armor stand
set {_a} to player's metadata "MJJ"
set {_a}'s metadata "oyuncu" to player
summon item display at {_}
set {_1} to nbt compound from "{item:{id:""minecraft:mace"",count:1}}"
add {_1} to nbt compound of last spawned item display
set {_c} to last spawned item display
rotate {_c} around z axis by 180 degrees
rotate {_c} around x axis by -90 degrees
rotate {_c} around y axis by 0 degrees
make {_c} ride {_a}
#set gravity of {_a} to false
set player's metadata "MJOLNIR" to 1
set {_v} to 1
while player's metadata "MJOLNIR" = 1:
set {_loc} to location {_v} blocks in front and 1 block below player's head
set {_dir} to vector from facing of player
set {_dir} to {_dir} * 0.6
add {_dir} to {_loc}
teleport {_a} to {_loc}
damage all entities in radius 2.5 of {_a} where [input isn't {_a}'s metadata "oyuncu" or an armor stand or item display] by 30
add 1 to {_v} if block 0.50 blocks above {_a} isn't solid
set player's metadata "MJOLNIR" to 2 if block 0.50 blocks above {_a} is solid
set player's metadata "MJOLNIRBACK" to 1 if block 0.50 blocks above {_a} is solid
play sound "minecraft:entity.breeze.wind_burst" with volume 0.6 to players if block 0.50 blocks above {_a} is solid
block 0.50 blocks above {_a} is solid:
create an explosion of force 10 at {_a} if distance between player and {_a} > 10
stop if block 0.50 blocks above {_a} is solid
wait 1 tick
stop
player's metadata "MJOLNIRBACK" = 1:
cancel event
mjolnir(player)
stop
player's metadata "MJOLNIR" = 1:
cancel event
mjolnir(player)
stop
function mjolnir(p:player):
set {_a} to {_p}'s metadata "MJJ"
delete {_p}'s metadata "MJOLNIRBACK"
set {_n} to distance between {_p} and {_a}
play sound "minecraft:block.beacon.power_select" with volume 0.5 to {_p}
while {_a} is alive:
set {_k} to location {_n} blocks in front of {_p}
teleport {_a} to {_k}
remove 1 from {_n}
damage all entities in radius 2.5 of {_a} where [input isn't {_a}'s metadata "oyuncu" or armor stand or item display] by 10
set {_00} to 1 if {_00} isn't set
set {_c} to nearest item display in radius 2 of {_a}
rotate {_c} around y axis by {_00} degrees
add 1 to {_00}
distance between {_a} and {_p} < 1.5:
teleport {_a} 50 blocks below {_p}
kill passenger of {_a}
kill {_a}
set {_p}'s tool to mace named "&e&lMJOLNIR"
play sound "minecraft:entity.villager.work_mason" to {_p}
delete {_p}'s metadata "MJOLNIR"
set item cooldown of {_p}'s tool for {_p} to 3 seconds
stop
wait 1 tick