How can I script a train?

Recently I have been trying to develop a train based game. As you can probably tell, I am not much of a scripter. The train needs to have the speeds in IntValues. Here are all of the things needed to be in the values:
:arrow_right:TopSpeed
:arrow_right:Acceleration
:arrow_right:BrakingPower
I know this is a little off-topic but I am sure it is okay. I might need some assistance while making it so if you can volunteer to help me message me via ROBLOX/DevForum to get onto better contacts. Anyways back to the topic, if you have a more simple way of doing please could you leave a basic script below.

Thank you!