options:
exp: 50
command /setspawnmob1 [<number>]:
permission: set.spawnmoba
permission message: &4Nie masz do tego uprawnien...
trigger:
if arg 1 is "1":
set {spawn.mob.1} to location of player
send "Ustawiono spawn 1"
stop
else:
every 60 seconds:
if {spawn.mob.1} is set:
spawn 1 zombie at {spawn.mob.1}
set the spawned zombie's display name to "&6Lvl. &61. &2Zombie &2YO"
set the last spawned entity's max health to 20
heal the last spawned entity
set tool of last spawned entity to wooden sword of unbreaking 10
else:
on death:
if victim is zombie:
if name of victim is "&2Lvl.&01 &2Zombie YO":
chance of 100%:
if victim can hold 1 chest named "nazwa":
give {@exp} xp to the victim
add 1 chest named "nazwa" to victim
chance of 5%:
if victim can hold 2 chest named "Nazwa":
give {@exp} xp to the victim
add 2 chest named "Nazwa" to victim
A więc tak: Czemu w tym skrypcie jest 1 błąd? Linijka 7 albo 11 już nie pamiętam.
Pytanie
Wakal 23
A więc tak: Czemu w tym skrypcie jest 1 błąd? Linijka 7 albo 11 już nie pamiętam.
Pomoże ktoś naprawić?
Za szystkie odp z góry dzięki!
Odnośnik do komentarza
https://skript.pl/temat/22139-jak-to-ogarn%C4%85%C4%87/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi