You can find the cars velocity value by finding the drivers player in the player list, then going into their PlayerGui > A-Chassis Interface > Values > Velocity. You could use BasePart.Touched to fire a function that get’s this value when the player touches the speed camera detection part (if they are driving of course).
The interface script that controls the UI’s speed display works out the cars speed through using:
local UNITS = {
{
Units = "MPH",
Scaling = (10/12) * (60/88),
},
{
Units = "KM/H",
Scaling = (10/12) * 1.09728,
},
{
Units = "SPS",
Scaling = 1,
}
}
math.floor(UNITS[CurrentUnits].Scaling * Values.Velocity.Value.Magnitude) -- Values.Velocity is just getting that value I mentioned above