ID:176445
 
Well the fighting system works now but I have these aliens that are supposed to (once you hit them) become invincible, be able to walk over, spawn(500), become visible, and then have normal density. Heres what I got but its not full proof:
src.density = !density
spawn(10)
if(!density)
usr << "Good job!"
else
usr << "Good job!"
You shouldn't use usr here.
src.density = !density does nothing. 0 means non dense. 1 means dense.
Your if else statement is pointless, as whether he's dense or not doesn't matter, because the same message is displayed.