I want to add an engine sound to a vehicle that is being tweened, but I can’t figure out how. I can’t use part.Velocity or part.AssemblyLinearVelocity because the vehicle is not moved with velocity. If anyone has an answer, then please let me know!
Edit: I have made a script to get the speed, but I don’t know if it is that reliable. If it is, then don’t bother replying. But if it isn’t good then please help.
local PrevPos = Part.Position
game["Run Service"].Stepped:Connect(function()
local NewPos = Part.Position
if NewPos ~= PrevPos then
local Diff = (PrevPos - NewPos).Magnitude * 10
PrevPos = NewPos
end
end)