How to get a script to work between two objects.