Run it
Copy the script and paste it into your executor.
local radioSound = workspace.speakers.radio.sound
local driverSpeed = game.ReplicatedStorage.driverChangeSpeed
local function transformNumber(num)
local minInput = 0
local maxInput = 1000
local minOutput = 55
local maxOutput = 270
local output = minOutput + ((num - minInput) / (maxInput - minInput)) * (maxOutput - minOutput)
output = math.min(maxOutput, math.max(minOutput, output))
return output
end
while wait() do
driverSpeed:InvokeServer(transformNumber(radioSound.PlaybackLoudness))
endONLY FOR PEOPLE WITH A DRIVER GAME PASS!!! Changes the speed of the car to the current sound loudness. PLS KEEP THIS A SECRET FROM THE DEVELOPERS, ADMINS AND MODERATORS OF THIS GAME!!! - ПОЖАЛУЙСТА ХРАНИТЕ ЭТО В СЕКРЕТЕ ОТ РАЗРАБОТЧИКОВ, АДМИНОВ И МОДЕРАТОРОВ ЭТОЙ ИГРЫ!!!
An Infinite Road Trip