Attack closest script added