system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why didn't the clones attempt to kill Darth Vader after Order 66 was issued?

The recent Clone Wars episodes appeared to suggest they don't distinguish between former Jedi or Sith.  So why did they allow Darth Vader to lead them to the Jedi Temple?  Why didn't they attack him?
gpt
You have to remember why Order 66 was given. The jedi had launched a coup against the Chancellor (in an act of treason), the man known as Darth Vader had saved the Chancellor's life by attacking the treasonous jedi.

He was thus allowed to live since he had proven his loyalty to the Republic over the Jedi order.

There's also the matter that there are no records of a jedi being named "Darth Vader", which is why he was allowed to live and why the name-change happened. The clones may have shot Anakin on sight, but "Anakin Skywalker" was no where to be found.