--//Configure//--


EngineSound = "http://www.roblox.com/asset/?id=426479434"
enginevolume = 0.5
enginePitchAdjust = 1

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

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

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

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

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

WHEELS_VISIBLE = false --If your wheels transparency is a problem, change this value to false
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 
AUTO_FLIP = true --If false, your car will not flip itself back over in the event of a turnover 

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

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