i'm not a script writer, but i do farm travesty keys quite often and i can't even imagine how you'd think a script could work all 3 areas for you. if you really would like a script for it, i would highly recommend getting a looting script, set it to loot the keys, use a sampire (although the yellow key holder's major reflect damage does take finesse on a sampire) and just park the toon in each key area and work it until you have however many keys of that color you're wanting.
me personally, since EA changed the spawn timers on key holders to slow down the 'farming' of keys, i go do the blue room, then do the yellow room, then run all the way down & kill the red mage. by then the blue is ready to spawn again, and so on. it's time consuming for sure but at least in a rotation you get some keys and not sit idle whiles rooms reset. after i have 5 keys of a color, i start skipping that area. now if there were a way to 'make' the key holders respawn after they are killed w/o having to wait on it's body to decay, THAT would be an awesome piece of work!! 8 minutes seems like an eternity some days.