Is there some reason you AREN'T using the Editor + Script Editor?
Because ultimately the game has to work in the game client where people are going to play the game, and not a few times there have been discrepancies between the behavior of the mod in editor and real game mode.