One can buy the ticket for KL Tower any time during the working hours. Yes, the tickets can be bought on the spot.