set {CorruptedGoblin} to a zombie
set {Name::CorruptedGoblin}'s name to "&d&lCorrupted Goblin"
set {Gear::CorruptedGoblin}'s helmet to ("CorruptedKnight" parsed as an offline player)'s skull
set {Gear::CorruptedGoblin}'s chestplate to iron chestplate
set {Gear::CorruptedGoblin}'s leggings to leather leggings
set {Gear::CorruptedGoblin}'s boots to leather boots
set {Gear::CorruptedGoblin}'s tool to blaze rod
set {Gear::CorruptedGoblin}'s max health attribute to 1000
set {Gear::CorruptedGoblin}'s attack damage attribute to 200
set {Gear::CorruptedGoblin}'s armor attribute to 1000
set {Gear::CorruptedGoblin}'s health to 1000
set {Gear::CorruptedGoblin}'s armor toughness attribute to 190
apply swiftness 1 to {Gear::CorruptedGoblin} for 1 minutes
set {Counter::CorruptedGoblin} to 1
set {Kill::CorruptedGoblin} to false
add -1 to {Counter::CorruptedGoblin}
spawn 1 of {CorruptedGoblin} at location(-94.5 66, -61.5)
if {Counter::CorruptedGoblin} is 0:
kill {CorruptedGoblin}
stop
every 10 seconds:
add -1 to {Counter::CorruptedGoblin}
CorruptedGoblin()```
#why does this not work?
1 messages · Page 1 of 1 (latest)
so
you need to elaborate
you cant just say 'doesnt work', you need to tell us which part doesnt work
wait i gotta get the error again
also it will just be killed instantly.. set {Counter::CorruptedGoblin} to 1 set {Kill::CorruptedGoblin} to false add -1 to {Counter::CorruptedGoblin}
also the stop is useless
and you should use local variables there, or just no vars at all
(and i would use corruptedgoblin::x)
justspawn 1 zombie at {_loc} set {_corruptedgoblin} to last spawned zombie set name of {_corruptedgoblin} to ... set {_corruptedgoblin}'s helmet to ... ...
i can do last spawned but i have around like 7 dif zombies with dif gear that does last spawned
so thbey will collide
and spawn the wrong one
wait new problem i got it to spawn but without the gear and stats
set {CorruptedGoblin::entity} to a zombie
set {CorruptedGoblin::Name}'s name to "&d&lCorrupted Goblin"
set {CorruptedGoblin::Gear}'s helmet to ("CorruptedKnight" parsed as an offline player)'s skull
set {CorruptedGoblin::Gear}'s chestplate to iron chestplate
set {CorruptedGoblin::Gear}'s leggings to leather leggings
set {CorruptedGoblin::Gear}'s boots to leather boots
set {CorruptedGoblin::Gear}'s tool to blaze rod
set {CorruptedGoblin::Gear}'s max health attribute to 1000
set {CorruptedGoblin::Gear}'s attack damage attribute to 200
set {CorruptedGoblin::Gear}'s armor attribute to 1000
set {CorruptedGoblin::Gear}'s health to 1000
set {CorruptedGoblin::Gear}'s armor toughness attribute to 190
apply swiftness 1 to {CorruptedGoblin::Gear} for 1 minutes
set {CorruptedGoblin::Counter} to 1
set {CorruptedGoblin::kill} to false
spawn {CorruptedGoblin} at location(-90.5, 67, -63.5)
if {CorruptedGoblin::Counter} is 0:
kill {CorruptedGoblin}
stop```