This script creates a shadow behind the current layer.
After playing the script you can adjust the shadow position by nudging or deforming the "Text's shadow" layer.
To tune the shadow density, alter the layer opacity (screenshot).