script.Parent:WaitForChild("\087\104\101\101\108\115")fronts=script.Parent.Wheels.FL.Size.Y rears=script.Parent.Wheels.RR.Size.Y function TireSetups(b,P,v)local r=Instance.new("\080\097\114\116")r.Parent=(script.Parent.Wheels:FindFirstChild(b)).Parts r.Name="\082\101\112"r.Shape=0 r.Anchored=true r.Size=P.Size-Vector3.new(.4,.4,.4)r.CustomPhysicalProperties=PhysicalProperties.new(.01,.2,.5,100,1)r.CFrame=CFrame.new(P.Position)r.CanCollide=true r.Transparency=1 end TireSetups(script.Parent.Wheels.FL.Name,script.Parent.Wheels.FL,fronts)TireSetups(script.Parent.Wheels.FR.Name,script.Parent.Wheels.FR,fronts)TireSetups(script.Parent.Wheels.RL.Name,script.Parent.Wheels.RL,rears)TireSetups(script.Parent.Wheels.RR.Name,script.Parent.Wheels.RR,rears)


script.Parent:WaitForChild("Wheels")
fronts = script.Parent.Wheels.FL.Size.Y
rears = script.Parent.Wheels.RR.Size.Y

function TireSetups(wheelname, wheel, which)
local tire = Instance.new("Part")
tire.Parent = script.Parent.Wheels:FindFirstChild(wheelname).Parts
tire.Name = "Rep"
tire.Shape = 0
tire.Anchored = true
tire.Size = wheel.Size - Vector3.new(0.4, 0.4, 0.4)
tire.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0.2, 0.5, 100, 1)
tire.CFrame = CFrame.new(wheel.Position)
tire.CanCollide = true
tire.Transparency = 1

end

TireSetups(script.Parent.Wheels.FL.Name, script.Parent.Wheels.FL, fronts)
TireSetups(script.Parent.Wheels.FR.Name, script.Parent.Wheels.FR, fronts)
TireSetups(script.Parent.Wheels.RL.Name, script.Parent.Wheels.RL, rears)
TireSetups(script.Parent.Wheels.RR.Name, script.Parent.Wheels.RR, rears)
