Early or Late Function

Hello, I’ve made a train in my game and coded it as when event begins to play and it moves for 45 seconds then stop it slowly like a handbrake, I’ve successfully set it stops place that I want in the viewport play mode but when i play my level on other modes like standalone game mode and new editor window then it stops earlier, I also tried to packaged my game but still stops earlier. I’m confused about in which mode i should set my train
wonder if these problems cause of my pc or about the editor