Fixed ai difficulty script.