Did you check all the main wires? the ones to the motor, controller, F&R & batteries. ( big 4 or 6 ga. wires) the clicking you are hearing could be a loose wire sparking as your running along.
i find that to be 90% of the problems I deal with on the carts I work on is loose or broke wires.