That's way more optimized, than the way I've tried to do it, thanks!
Also, I have a problems with making attached sound be heard by everyone. I only managed to make it either play for every player at once, or just for the truck player. What's the correct way of playing the 3D sound and attaching it to the certain player? I'm really inexperienced with client-sided scripts yet ?
Oh, and what do "checkpoint, timePassed" in fuction's brackets do? I couldn't find any info on that, but saw things like these in many scripts, even though all the mini-scripts I wrote were working with just "()" near function