Easy Doppelganger

by TheDarkChakra
Create an easy clone!
Simple and easy way to create a clone for a newbie.

-Create a Doppelganger
-Delete your, and only your own, Doppelganger
-Have your doppelganger attack and walk towards your opponent
There's quite a bit wrong here. In all of the verbs you have to locate the doppelganger, and in one of them you neglect to even verify if the user owns the doppelganger.

If it were me, I'd store a reference to the player's doppelganger in a variable and just call upon that variable to make the doppelganger do things.
What do you mean sir?

//blah blah blah
src.DG = var_for_dg