I tried to run a Blender 2.80 addon script on blender 2.79. But it is not working. Is there any way to run it?
No there isn't. The Python API has changed between the two versions and therefore add-ons for Blender 2.79 won't run in Blender 2.80 and the other way around.
You would have to modify the code of the add-on to let it run in Blender 2.79.