This was just a non-standard way of creating a tween that had worked once accidentally but never worked again. I went back to the tutorials and learnt the standard way of doing it and then it worked.