function VehicleSoundComponent.setup(R)local x=CarSoundsFolder:FindFirstChild("\073\100\108\101")local K=CarSoundsFolder:FindFirstChild("\069\110\103\105\110\101")local I=CarSoundsFolder:FindFirstChild("\083\107\105\100")local t=CarSoundsFolder:FindFirstChild("\066\111\111\115\116")R.idle=x:Clone()R.engine=K:Clone()R.skid=I:Clone()R.boost=t:Clone()R.idle.Parent=R.model.PrimaryPart R.engine.Parent=R.model.PrimaryPart R.skid.Parent=R.model.PrimaryPart R.boost.Parent=R.model.PrimaryPart R.idle.Volume=0 R.engine.Volume=0 R.skid.Volume=0 R.boost.Volume=0 R.idle:Play()R.engine:Play()R.skid:Play()R.boost:Play();(coroutine.wrap(function()while R.model and R.model.Parent do R:updateSounds()wait(.5)end end))()end
--[[
    Instantiates object fields
]]
function VehicleSoundComponent:setup()
	local idle = CarSoundsFolder:FindFirstChild("Idle")
	local engine = CarSoundsFolder:FindFirstChild("Engine")
	local skid = CarSoundsFolder:FindFirstChild("Skid")
	local boost = CarSoundsFolder:FindFirstChild("Boost")

	self.idle = idle:Clone()
	self.engine = engine:Clone()
	self.skid = skid:Clone()
	self.boost = boost:Clone()

	self.idle.Parent = self.model.PrimaryPart
	self.engine.Parent = self.model.PrimaryPart
	self.skid.Parent = self.model.PrimaryPart
	self.boost.Parent = self.model.PrimaryPart

	self.idle.Volume = 0
	self.engine.Volume = 0
	self.skid.Volume = 0
	self.boost.Volume = 0

	self.idle:Play()
	self.engine:Play()
	self.skid:Play()
	self.boost:Play()

	coroutine.wrap(function()
		while self.model and self.model.Parent do
			self:updateSounds()
			wait(0.5)
		end
	end)()
end
