if(M.client || M.alignment = "Heavenly") //If M is an actual player, respawn him
M.Move(locate(25,25,2))
M.hp = M.maxhp
M.mana = M.maxmana
M.energy = 100
M.overlays += /obj/angelwings
if(M.client || M.alignment = "Neutral") //If M is an actual player, respawn him
M.Move(locate(25,25,3))
M.hp = M.maxhp
M.mana = M.maxmana
M.energy = 100
M.overlays += /obj/halo
if(M.client || M.alignment = "Chaotic") //If M is an actual player, respawn him
M.Move(locate(25,25,4))
M.hp = M.maxhp
M.mana = M.maxmana
M.energy = 100
M.overlays += /obj/demonwings
else //If not, delete M and wait 2 seconds to repop the world
del(M)
spawn(200) world.Repop()
Problem description: Bad Assigment in the if(M.client || M.alignment..) code