The Lightning network is not based on advanced Bitcoin scripting, in the sense that Bitcoin script makes it possible or something. Bitcoin script is, rather, an impediment which has added a huge amount of complexity to Lightning. The same principle expressed without Bitcoin script can be explained in a few minutes[1]