editor script for wave generator : gonna be imba