--//Configure//--
local EngineSound = "http://www.roblox.com/asset/?id=426479434"
local enginevolume = 3
local enginePitchAdjust = 1

local IdleSound = "http://www.roblox.com/asset/?id=426479434" --{If you dont have a separate sound, use engine sound ID}
local idlePitchAdjust = 0.9

local TurboSound = "http://www.roblox.com/asset/?id=286070281"
local turbovolume = 10

local SuperchargerSound = "http://www.roblox.com/asset/?id=404779487" 
local superchargervolume = 10

local HornSound = "http://www.roblox.com/asset/?id=143133249"
local hornvolume = 4

local StartupSound = "http://www.roblox.com/asset/?id=169394147"
local startupvolume = 3
local startuplength = 0 --{adjust this for a longer startup duration}

local WHEELS_VISIBLE = false --If your wheels transparency is a problem, change this value to false
local BRAKES_VISIBLE = false --This is to hide the realistic brakes, you can set this to false if you'd like to see how the brakes work 
local AUTO_FLIP = true --If false, your car will not flip itself back over in the event of a turnover 

local SpeedoReading = "KPH" --{KPH, MPH}

local RevDecay = 150 --{The higher this value, the faster it will decay}






								--//INSPARE//--
								  --//SS6//--
							 --//Build 1.0//--












									--and i'll write your name.
									
									
									
									
									












 script.Parent.Name = "VehicleSeat"
wait(0.1)

checker = Instance.new("Model")
checker.Name = "PGSCH"
checker.Parent = game.Workspace

checkertb = Instance.new("Part")
checkertb.Name = "Test"
checkertb.Parent = checker
checkertb.CanCollide = false
checkertb.TopSurface = Enum.SurfaceType.SmoothNoOutlines
checkertb.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
checkertb.Transparency = 0.8

checkertop = Instance.new("Part")
checkertop.Name = "Top"
checkertop.Parent = checker
checkertop.Anchored = true
checkertop.CanCollide = false
checkertop.TopSurface = Enum.SurfaceType.SmoothNoOutlines
checkertop.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
checkertop.Transparency = 0.8

checker1 = Instance.new("Attachment", checkertb)
checker2 = Instance.new("Attachment", checkertop)

checkerrope = Instance.new("RopeConstraint", checkertb)
checkerrope.Attachment0 = checker1
checkerrope.Attachment1 = checker2

checkerbf = Instance.new("BodyForce", checkertb)
checkerbf.Force = Vector3.new(0, -1000000, 0)

alertbbg = Instance.new("BillboardGui", script.Parent)
alertbbg.Size = UDim2.new(0, 500, 0, 100)
alertbbg.StudsOffset = Vector3.new(0,8,0)
alertbbg.AlwaysOnTop = true
alertbbg.Enabled = false

alerttext = Instance.new("TextLabel", alertbbg)
alerttext.BackgroundColor3 = Color3.new(97/255, 255/255, 176/255)
alerttext.BackgroundTransparency = 0.5
alerttext.TextSize = 24
alerttext.TextStrokeTransparency = 0.8
alerttext.Size = UDim2.new(1,0,1,0)
alerttext.BorderSizePixel = 0
alerttext.TextColor3 = Color3.new(1,1,1)
alerttext.TextWrapped = true
alerttext.Font = "SourceSans"
alerttext.Text = "PGSPhysicsSolver must be enabled to use this chassis!                                                                                             Enable this feature in the Workspace."
finesse = true
vr = 0  
checker.ChildRemoved:connect(function(instance)
 if finesse == true then
    alertbbg.Enabled = true
vr = 1
end
end)

wait(0.35) 
if vr == 0 then
finesse = false
checker:remove()

local PreS = script.Assets.PreSet:Clone()
PreS.Parent = script.Parent
PreS.Disabled = false
script.Parent:WaitForChild("PreSet")
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(math.rad(0.59), math.rad(0), math.rad(0))

if BRAKES_VISIBLE == true then
	bv = 0 
else
	bv = 1
end