Depends on the type of tickets you brought, if they were "advance" they are only valid for the specific time, if its an off peak then its valid on any train as long as its not in the peak times listed here: https://www.scotrail.co.uk/tickets/off-peak The people on the train have card readers so they can tell if you have a valid ticket