- Katılım
- 28 Ekim 2017
- Mesajlar
- 39
- Elmaslar
- 13
- Puanlar
- 8.770
- Yaş
- 23
Merhabalar Arkadaşlar Ben Mert.
Bugün Sizler İçin Hazırladığım Skript Olan [Ore Chicken Spawner]'ı Tanıtacağım.
SKRIPT KOMUTLARI:
- /hoi (Demir Tavuk Spawner)
- /hog (Altın Tavuk Spawner)
- /hod (Elmas Tavuk Spawner)
Bugün Sizler İçin Hazırladığım Skript Olan [Ore Chicken Spawner]'ı Tanıtacağım.
SKRIPT KOMUTLARI:
- /hoi (Demir Tavuk Spawner)
- /hog (Altın Tavuk Spawner)
- /hod (Elmas Tavuk Spawner)
Skriptte aldığımız spawnerları belirlenen yere konulduktan sonra türüne göre tavuk spawnlıyor. Bu spawnlanan tavuk öldüğünde ise o türün 'elmas,demir,altın' dropluyor
NOT: Tavuklar 10 Saniyede 1 Spawnlanıyor.
Kodumuz:
Kod:
options:
t: &8(&7&lDemir Tavuk Spawner&8)
a: &8(&e&lAltın Tavuk Spawner&8)
e: &8(&b&lElmas Tavuk Spawner&8)
#
on death:
victim is a chicken
victim's name contains "&7&lDemir Tavuk"
set {_drop} to location of victim
drop a iron ingot at {_drop}
on place of a white wool:
if tool's name is "{@t}":
set {_sp} to location of event-block
add {_sp} to {demirt.spawner::*}
send "&8&l➨ &7Basariyla {@t} &7Koydun." to player
stop
on break of white wool:
set {_sp} to location of event-block
loop {demirt.spawner::*}:
loop-value is {_sp}
remove {_sp} from {demirt.spawner::*}
set block at {_sp} to air
drop a white wool named "{@t}"
send "&8&l➨ &7Basariyla {@t} &7Kirdin." to player
stop
every 10 second:
loop {demirt.spawner::*}:
spawn chicken at {demirt.spawner::*}
set display name of spawned chicken to "&7&lDemir Tavuk"
command /hoi:
trigger:
if player is op:
give a white wool named "{@t}" to player
stop
#
on death:
victim is a chicken
victim's name contains "&e&lAltin Tavuk"
set {_drop} to location of victim
drop a gold ingot at {_drop}
on place of a wool:
if tool's name is "{@a}":
set {_sp} to location of event-block
add {_sp} to {altint.spawner::*}
send "&8&l➨ &7Basariyla {@a} &7Koydun." to player
stop
on break of wool:
set {_sp} to location of event-block
loop {altint.spawner::*}:
loop-value is {_sp}
remove {_sp} from {altint.spawner::*}
set block at {_sp} to air
drop a yellow wool named "{@a}"
send "&8&l➨ &7Basariyla {@a} &7Kirdin." to player
stop
every 10 second:
loop {altint.spawner::*}:
spawn chicken at {altint.spawner::*}
set display name of spawned chicken to "&e&lAltin Tavuk"
command /hog:
trigger:
if player is op:
give a yellow wool named "{@a}" to player
stop
#
on death:
victim is a chicken
victim's name contains "&b&lElmas Tavuk"
set {_drop} to location of victim
drop a diamond at {_drop}
on place of a wool:
if tool's name is "{@e}":
set {_sp} to location of event-block
add {_sp} to {elmast.spawner::*}
send "&8&l➨ &7Basariyla {@e} &7Koydun." to player
stop
on break of wool:
set {_sp} to location of event-block
loop {elmast.spawner::*}:
loop-value is {_sp}
remove {_sp} from {elmast.spawner::*}
set block at {_sp} to air
drop a blue wool named "{@e}"
send "&8&l➨ &7Basariyla {@e} &7Kirdin." to player
stop
every 10 second:
loop {elmast.spawner::*}:
spawn chicken at {elmast.spawner::*}
set display name of spawned chicken to "&b&lElmas Tavuk"
command /hod:
trigger:
if player is op:
give a blue wool named "{@e}" to player
stop
Son düzenleme: