I have a problem I have an ability that takes control of a unit, that works but after the wait time I put in it doesn't change back this is what I used.
Unit - Change ownership of (Target unit of ability being cast) to (Previous owner) and Change color
Actions Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Casting unit)) and Change color Set Unit = (Target unit of ability being cast) Set PLAYER = (Owner of Unit) Wait 1.00 seconds Unit - Change ownership of Unit to PLAYER and Change color