for Z,N in pairs(script.Parent.Parent.Parent.FL:GetChildren())do if N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false N.Name="\087\104\101\101\108\080\097\114\116"end if N:IsA("\080\097\114\116")and not N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false if N.Shape~=Enum.PartType.Ball or N.Name=="\087\104\101\101\108"then N.Name="\087\104\101\101\108\080\097\114\116"end if N.Shape==Enum.PartType.Ball and not N.Parent:FindFirstChild("\087\104\101\101\108")then N.Name="\087\104\101\101\108"end end end for Z,N in pairs(script.Parent.Parent.Parent.FR:GetChildren())do if N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false N.Name="\087\104\101\101\108\080\097\114\116"end if N:IsA("\080\097\114\116")and not N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false if N.Shape~=Enum.PartType.Ball or N.Name=="\087\104\101\101\108"then N.Name="\087\104\101\101\108\080\097\114\116"end if N.Shape==Enum.PartType.Ball and not N.Parent:FindFirstChild("\087\104\101\101\108")then N.Name="\087\104\101\101\108"end end end for Z,N in pairs(script.Parent.Parent.Parent.RL:GetChildren())do if N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false N.Name="\087\104\101\101\108\080\097\114\116"end if N:IsA("\080\097\114\116")and not N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false if N.Shape~=Enum.PartType.Ball or N.Name=="\087\104\101\101\108"then N.Name="\087\104\101\101\108\080\097\114\116"end if N.Shape==Enum.PartType.Ball and not N.Parent:FindFirstChild("\087\104\101\101\108")then N.Name="\087\104\101\101\108"end end end for Z,N in pairs(script.Parent.Parent.Parent.RR:GetChildren())do if N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false N.Name="\087\104\101\101\108\080\097\114\116"end if N:IsA("\080\097\114\116")and not N:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")then N.CanCollide=false if N.Shape~=Enum.PartType.Ball or N.Name=="\087\104\101\101\108"then N.Name="\087\104\101\101\108\080\097\114\116"end if N.Shape==Enum.PartType.Ball and not N.Parent:FindFirstChild("\087\104\101\101\108")then N.Name="\087\104\101\101\108"end end end local Z=script.Parent.Parent.Parent.FL.Wheel local N=script.Parent.Parent.Parent.FR.Wheel local Q=script.Parent.Parent.Parent.RL.Wheel local B=script.Parent.Parent.Parent.RR.Wheel local Y=Z:Clone()Y.Parent=script.Parent.Parent.Parent.FL Y.Name="\080\097\114\116"Y.Transparency=0 Y.CFrame=Z.CFrame local M=N:Clone()M.Parent=script.Parent.Parent.Parent.FR M.Name="\080\097\114\116"M.Transparency=0 M.CFrame=N.CFrame local A=Q:Clone()A.Parent=script.Parent.Parent.Parent.RL A.Name="\080\097\114\116"A.Transparency=0 A.CFrame=Q.CFrame local D=B:Clone()D.Parent=script.Parent.Parent.Parent.RR D.Name="\080\097\114\116"D.Transparency=0 D.CFrame=B.CFrame Z.CanCollide=true N.CanCollide=true Q.CanCollide=true B.CanCollide=true Z.Transparency=1 N.Transparency=1 Q.Transparency=1 B.Transparency=1 ManualOnly=false SuspensionTravelF=1 SuspensionTravelR=1 Radio=false ActiveStabilityControl=false AutoClutch=false Mode="\083\112\111\114\116"if WHEELS_VISIBLE==false then Y.Transparency=1 M.Transparency=1 A.Transparency=1 D.Transparency=1 else Y.Transparency=0 M.Transparency=0 A.Transparency=0 D.Transparency=0 end Z.Rotation=script.Parent.Rotation N.Rotation=script.Parent.Rotation Q.Rotation=script.Parent.Rotation B.Rotation=script.Parent.Rotation for Z,N in pairs(Z:GetChildren())do if N:IsA("\068\101\099\097\108")then N:Destroy()end end for Z,N in pairs(N:GetChildren())do if N:IsA("\068\101\099\097\108")then N:Destroy()end end for Z,N in pairs(Q:GetChildren())do if N:IsA("\068\101\099\097\108")then N:Destroy()end end for Z,N in pairs(B:GetChildren())do if N:IsA("\068\101\099\097\108")then N:Destroy()end end
--Wheel Setup--
for i, child in pairs(script.Parent.Parent.Parent.FL:GetChildren()) do
	if child:IsA("UnionOperation") then
		child.CanCollide = false
		child.Name = "WheelPart"
	end
	if child:IsA("Part") and not child:IsA("UnionOperation") then
		child.CanCollide = false
		if (child.Shape ~= Enum.PartType.Ball) or (child.Name == "Wheel") then
			child.Name = "WheelPart"
		end
		if (child.Shape == Enum.PartType.Ball) and not child.Parent:FindFirstChild("Wheel") then
			child.Name = "Wheel"
		end
	end
end
for i, child in pairs(script.Parent.Parent.Parent.FR:GetChildren()) do
	if child:IsA("UnionOperation") then
		child.CanCollide = false
		child.Name = "WheelPart"
	end
	if child:IsA("Part") and not child:IsA("UnionOperation") then
		child.CanCollide = false
		if (child.Shape ~= Enum.PartType.Ball) or (child.Name == "Wheel") then
			child.Name = "WheelPart"
		end
		if (child.Shape == Enum.PartType.Ball) and not child.Parent:FindFirstChild("Wheel") then
			child.Name = "Wheel"
		end
	end
end
for i, child in pairs(script.Parent.Parent.Parent.RL:GetChildren()) do
	if child:IsA("UnionOperation") then
		child.CanCollide = false
		child.Name = "WheelPart"
	end
	if child:IsA("Part") and not child:IsA("UnionOperation") then
		child.CanCollide = false
		if (child.Shape ~= Enum.PartType.Ball) or (child.Name == "Wheel") then
			child.Name = "WheelPart"
		end
		if (child.Shape == Enum.PartType.Ball) and not child.Parent:FindFirstChild("Wheel") then
			child.Name = "Wheel"
		end
	end
end
for i, child in pairs(script.Parent.Parent.Parent.RR:GetChildren()) do
	if child:IsA("UnionOperation") then
		child.CanCollide = false
		child.Name = "WheelPart"
	end
	if child:IsA("Part") and not child:IsA("UnionOperation") then
		child.CanCollide = false
		if (child.Shape ~= Enum.PartType.Ball) or (child.Name == "Wheel") then
			child.Name = "WheelPart"
		end
		if (child.Shape == Enum.PartType.Ball) and not child.Parent:FindFirstChild("Wheel") then
			child.Name = "Wheel"
		end
	end
end

local FL = script.Parent.Parent.Parent.FL.Wheel
local FR = script.Parent.Parent.Parent.FR.Wheel
local RL = script.Parent.Parent.Parent.RL.Wheel
local RR = script.Parent.Parent.Parent.RR.Wheel

local zfl = FL:Clone()
zfl.Parent = script.Parent.Parent.Parent.FL
zfl.Name = "Part"
zfl.Transparency = 0
zfl.CFrame = FL.CFrame

local zfr = FR:Clone()
zfr.Parent = script.Parent.Parent.Parent.FR
zfr.Name = "Part"
zfr.Transparency = 0
zfr.CFrame = FR.CFrame

local zrl = RL:Clone()
zrl.Parent = script.Parent.Parent.Parent.RL
zrl.Name = "Part"
zrl.Transparency = 0
zrl.CFrame = RL.CFrame

local zrr = RR:Clone()
zrr.Parent = script.Parent.Parent.Parent.RR
zrr.Name = "Part"
zrr.Transparency = 0
zrr.CFrame = RR.CFrame

FL.CanCollide = true
FR.CanCollide = true
RL.CanCollide = true
RR.CanCollide = true

FL.Transparency = 1
FR.Transparency = 1
RL.Transparency = 1
RR.Transparency = 1

ManualOnly = false
SuspensionTravelF = 1
SuspensionTravelR = 1
Radio = false
ActiveStabilityControl = false
AutoClutch = false
Mode = "Sport"

if WHEELS_VISIBLE == false then
	zfl.Transparency = 1
	zfr.Transparency = 1
	zrl.Transparency = 1
	zrr.Transparency = 1
else
	zfl.Transparency = 0
	zfr.Transparency = 0
	zrl.Transparency = 0
	zrr.Transparency = 0
end

FL.Rotation = script.Parent.Rotation
FR.Rotation = script.Parent.Rotation
RL.Rotation = script.Parent.Rotation
RR.Rotation = script.Parent.Rotation

for _, v in pairs(FL:GetChildren()) do
	if v:IsA("Decal") then
		v:Destroy()
	end
end
for _, v in pairs(FR:GetChildren()) do
	if v:IsA("Decal") then
		v:Destroy()
	end
end
for _, v in pairs(RL:GetChildren()) do
	if v:IsA("Decal") then
		v:Destroy()
	end
end
for _, v in pairs(RR:GetChildren()) do
	if v:IsA("Decal") then
		v:Destroy()
	end
end
