Kod:
on right click:
player is holding a bow named "&4&lLazerli Yay":
render portal bar of property 500, 0 tick from player to targeted block
render red dust bar of property 500, 0.1 tick from player to targeted block
command /neon:
trigger:
give a bow named "&4&lLazerli Yay" to player
give iron hoe named "&4&lMinigun" to player
give a wooden hoe named "&4&lZehir" to player
give 3 rose red named "&4&lMedkit" to player
give a gold block named "&6&lSans Kutusu" to player
on rightclick with iron hoe:
name of player's tool is "&4&lMinigun":
if player has arrow:
render flame bar of property 500, 0 tick from player to targeted block
shoot an arrow from the player
remove 1 arrow from player's inventory
else:
cancel event
on rightclick with wooden hoe:
name of player's tool is "&4&lZehir":
if player has snowball:
shoot a snowball from the player
remove a snowball from the player
else:
cancel event
on damage:
render magic crit gyre of property 1, 10, 1, 3, 1 tick at victim's location
attacker's tool is rose red:
tool of attacker's name is "&4&lMedkit":
apply regeneration 1 to victim
remove rose red from attacker
on damage:
projectile is snowball:
poison the victim for 4 seconds
on rightclick with gold block:
if name of player's tool is "&6&lSans Kutusu":
chance of 25%:
give a bow named "&4&lLazerli Yay" to player
give 1 arrow to player
send "&4&lNeon&5&l| &3Lazerli yay kazandin!"
cancel event
chance of 25%:
give iron hoe named "&4&lMinigun" to player
send "&4&lNeon&5&l| &3Minigun kazandin!"
cancel event
chance of 25%:
give a wooden hoe named "&4&lZehir" to player
send "&4&lNeon&5&l| &3Zehir Tabancasi kazandin!"
cancel event
chance of 25%:
add 500 to player's money
send "&4&lNeon&5&l| &3TL 500 kazandin!"
cancel event
remove gold block named "&6&lSans Kutusu" from player's inventory
command /nsminigun:
trigger:
if player has iron hoe named "&4&lMinigun":
give 64 arrows to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give iron hoe named "&4&lMinigun" to player
give 64 arrows to player
send "&4&lNeon&5&l| &3Minigun setini aldin."
command /nszehir:
trigger:
if player has wooden hoe named "&4&lZehir":
give 10 snowballs to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give a wooden hoe named "&4&lZehir" to player
give 10 snowballs to player
send "&4&lNeon&5&l| &3Zehir setini aldin."
command /nslazerliyay:
trigger:
if player has bow named "&4&lLazerli Yay":
give 32 arrows to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give a bow named "&4&lLazerli Yay" to player
give 32 arrows to player
send "&4&lNeon&5&l| &3Lazerli Yay setini aldin."
Bu skriptimde:
-Lazerli Yay
-Minigun
-Zehir Tabancası
silahları vardır.
Komutlar: /nsminigun, /nslazerliyay, /nszehir
Komutu girdiğinizde silahı verir, silah varsa mermiyi verir.
Edit: Ayrıca şans kutusu da var
-Güncelleme 1.1
*Kırmızı yüne sağ tık yapıldığında Medkit verir, yün 2 dk içinde yenilenir.
*Siyah yüne sağ tıkladığınızda ok verir, 2 dk içinde yenilenir.
*Beyaz yüne sağ tıkladığınızda kartopu verir, 2 dk da yenilenir.
*/nssanskutusu ile Şans Kutusu alıp herhangi bir kiti veya 3 Medkiti alabilirsiniz, kutu 300 TL alır hesabınızdan.
Kod:
on right click:
player is holding a bow named "&4&lLazerli Yay":
render portal bar of property 500, 0 tick from player to targeted block
render red dust bar of property 500, 0.1 tick from player to targeted block
command /nssanskutusu:
trigger:
if player's money is less than 300:
send "&4&lNeon&5&l| &3TL 300 ihtiyacin var."
stop trigger
else:
send "&4&lNeon&5&l| &3Neon Sans Kutusu paketini aldın!"
remove 300 from player's balance
give 3 rose red named "&4&lMedkit" to player
give 2 gold blocks named "&6&lSans Kutusu" to player
on rightclick with iron hoe:
name of player's tool is "&4&lMinigun":
if player has arrow:
render flame bar of property 500, 0 tick from player to targeted block
shoot an arrow from the player
remove 1 arrow from player's inventory
else:
cancel event
on rightclick with wooden hoe:
name of player's tool is "&4&lZehir":
if player has snowball:
shoot a snowball from the player
remove a snowball from the player
else:
cancel event
on damage:
render magic crit gyre of property 1, 10, 1, 3, 1 tick at victim's location
attacker's tool is rose red:
tool of attacker's name is "&4&lMedkit":
apply regeneration 1 to victim
remove rose red from attacker
on damage:
projectile is snowball:
poison the victim for 4 seconds
on rightclick with gold block:
if name of player's tool is "&6&lSans Kutusu":
chance of 25%:
give a bow named "&4&lLazerli Yay" to player
give 32 arrows to player
send "&4&lNeon&5&l| &3Lazerli yay kazandin!"
cancel event
chance of 25%:
give iron hoe named "&4&lMinigun" to player
give 64 arrows to player
send "&4&lNeon&5&l| &3Minigun kazandin!"
cancel event
chance of 25%:
give a wooden hoe named "&4&lZehir" to player
give 16 snowballs to player
send "&4&lNeon&5&l| &3Zehir Tabancasi kazandin!"
cancel event
chance of 25%:
add 500 to player's money
send "&4&lNeon&5&l| &3TL 500 kazandin!"
cancel event
remove gold block named "&6&lSans Kutusu" from player's inventory
command /nsminigun:
trigger:
if player has iron hoe named "&4&lMinigun":
give 64 arrows to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give iron hoe named "&4&lMinigun" to player
give 3 rose red named "&4&lMedkit" to player
give 64 arrows to player
send "&4&lNeon&5&l| &3Minigun setini aldin."
command /nszehir:
trigger:
if player has wooden hoe named "&4&lZehir":
give 10 snowballs to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give a wooden hoe named "&4&lZehir" to player
give 3 rose red named "&4&lMedkit" to player
give 16 snowballs to player
send "&4&lNeon&5&l| &3Zehir setini aldin."
command /nslazerliyay:
trigger:
if player has bow named "&4&lLazerli Yay":
give 32 arrows to player
send "&4&lNeon&5&l| &3Mermi verildi."
else:
give a bow named "&4&lLazerli Yay" to player
give 3 rose red named "&4&lMedkit" to player
give 32 arrows to player
send "&4&lNeon&5&l| &3Lazerli Yay setini aldin."
on rightclick on a white wool:
give 16 snowballs to player
set clicked block to air
wait 120 real seconds
set clicked block to white wool
on rightclick on a black wool:
give 16 arrows to player
set clicked block to air
wait 120 real seconds
set clicked block to black wool
on rightclick on a red wool:
give 3 rose red named "&4&lMedkit" to player
set clicked block to air
wait 120 real seconds
set clicked block to red wool
NOT: Kartopu Zehir Tabancasının, ok ise Lazerli Yay ve Minigunun mermisidir.
NOT 2: v1.2 de yeni silahlar gelecektir.
Görüşlerinizi bekliyorum.
Son düzenleme: