I want to alter the pitch of a driving sound. Atm, it’s just a static loop (<1 second, looped) but I want to someone increase/decrease either the volume, pitch, idk, to make it sound like a car would when accelerating/driving.
I don’t know, I kinda just wrote this, assuming Velocity.Magnitude could be used to get like how fast the car is going, then doing something to it?
while true do
-- Update drive sound
local VelocityMagnitude = Vehicle.Body.VehicleSeat.Velocity.Magnitude
Vehicle.Drive.Volume = VelocityMagnitude / (VelocityMagnitude * 2)
wait()
end
This is both relating to how to script the difference, as well as what sound/effect/pitch things can I add to the sound to give it the sound I want