Attached sript to text object for points