Welcome to the forum, feel free to ask questions here.
transform constraint animated or parented to something else should work without using some other script.