#Zombie spawning skript
1 messages · Page 1 of 1 (latest)

Else doesnt work after chance. Id also recommend using list vars and temp vars. You can just use the numbers instead of setting them to variables then spawning. Set a temp var to the last spawned zombie then edit that
For future, format your code in code blocks, provide the errors, and be a little more detailed regarding your issues. Since you're obviously new, id recommend learning the basics before coming to others and saying 'it doesnt work'
Else doesnt work after chance.
yes it does
it does?
why have i never known this..
¯_(ツ)_/¯
that said...
i recommend checking/reading your errors
i also recommend using the location function to create a location
https://docs.skriptlang.org/functions.html?search=#location
i did
then why didnt you tell us about the error
they were in a different chat cause someone else asked me for them but then they didn't respond
you cant post a wall of code and say "why no work"
and I never put them here
i dont like to spoonfeed, but i have limited time, so here
set {_x} to random number from -250 to 250
set {_z} to random number from -250 to 250
set {_loc} to location({_x}, 0, {_z})
set {_loc} to location 0.5 above highest block at {_loc}
spawn zombie at {_loc}
thanks