Then you are still asking the wrong person! I don't know how to code.
I made a drift scorer in LFSLapper, but there's little 'coding' involved.
Good things about it though, is that it works, is consistent, same for all drivers, and is free.
So it doesn't show an ongoing score every 10th of a second. So what? Drivers compare their scores at the end of a lap, to show that they can drift consistently for the full lap, and not just one turn. I've lost count on the number of drifters I've seen on my servers who get 9/10ths round, spin on last couple of corners, and lose all their points. It's tough. But then so is hotlapping. You may have world record splits, but worth nothing unless you finish the lap.
*Rant*
Why do you think someone can come along, play LFS for few months, think "I'd like to run a server", then expect to get code for free? That any server owner should give you their code? Code that probably took a lot of time, money and effort to make. Forgetting for a minute that you haven't even bothered to pay for a S1 or S2 license (and don't say you don't have money for a license when you want to run a server), why should they increase the competition? Why should they give away something that may make their server unique? Why, when there is already well over 300 other servers all competing to get drivers to race/drift/drag/cruise, should they help another one get started? And especially one who has a demo account? You've had a demo account for over 6 months without making a commitment - you're not going to be making a commitment about putting effort into making code - are you going to be as committed about running a server? Apart from asking for things, what 'effort' are you putting into all this?
Now, if you were to come onto this forum and say something like - trying to do this, done this, doesn't work, what can I do? - then you will get people falling over themselves to help. This is because you have made some effort, and they like to see the effort rewarded.
You are just another in a long line of people who want and expect to get, without putting in any effort.
Maybe you'll get lucky. No effort required for that.
*End Rant*