Add a New Script to the Enemy Node

Save it as Enemy.gd