This is my code that has the turtles die, but I have another button that spawns in other turtles that I want to run simultaneously, but all the turtles in that one also die when this happens.
to create-explosion
ask turtles [
facexyz 0 0 0
ifelse (pxcor) = 0 and (pycor) = 0 [
set size size + 0.1
]
[
fd 0.1
]
]
ask patches [
if ticks > 500 [set pcolor 12 + random 16]
if ticks > 550 [ set pcolor black]
]
ask turtles [
if ticks = 650 [die]]