You can take a train to Heidelberg Station on the Hurstbridge Line, then transfer to a bus service such as the 250 or 251, which will take you closer to the leisure centre. Make sure to check the latest timetables and routes on the Public Transport Victoria website for the most accurate information.