Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Health = 2500
- MaxHealth = 2500
- ToughnessMinorDamage = 200
- ToughnessMajorDamage = 300
- DriftAcceleration = 0.001
- DriftSteerDifficulty = 0.05
- DriftSteerPower = 30
- Acceleration = 0.004
- TopSpeed = 250
- Deceleration = 0.008
- BrakePower = 0.015
- SteerDifficulty = 0.05
- SteerPower = 25
- TireFriction = 0.3
- TireElasticity = 0.9
- MasterColor = BrickColor.random()
- Wrecked = false
- Vehicle = Instance.new("Model")
- Vehicle.Name = "Car"
- Vehicle.Parent = Workspace
- Base = Instance.new("Part")
- Base.Name = "VehicleBase"
- Base.BrickColor = MasterColor
- Base.TopSurface = "Smooth"
- Base.BottomSurface = "Smooth"
- Base.FormFactor = "Custom"
- Base.Size = Vector3.new(8, 1, 17)
- Base.Friction = 1
- Base.Elasticity = 0
- Base.Parent = Vehicle
- Thrust = Instance.new("BodyVelocity")
- Thrust.P = 100
- Thrust.maxForce = Vector3.new(math.huge, 0, math.huge)
- Thrust.velocity = Vector3.new()
- Thrust.Parent = Base
- Steer = Instance.new("BodyGyro")
- Steer.maxTorque = Vector3.new(0, math.huge, 0)
- Steer.cframe = CFrame.new()
- Steer.P = 7500
- Steer.Parent = Base
- Instance.new("BodyForce", Base).force = Vector3.new(0, -1000, 0)
- Seat = Instance.new("VehicleSeat")
- Seat.CanCollide = false
- Seat.MaxSpeed = 0
- Seat.Torque = 0
- Seat.HeadsUpDisplay = false
- Seat.BrickColor = BrickColor.new("Black")
- Seat.TopSurface = "Smooth"
- Seat.BottomSurface = "Smooth"
- Seat.Size = Vector3.new(2, 1, 2)
- Seat.Parent = Vehicle
- Weld = Instance.new("Weld")
- Weld.Name = "Weld"
- Weld.Parent = Seat
- Weld.Part0 = Base
- Weld.Part1 = Seat
- Weld.C0 = CFrame.new(-2.5, 0.375, 0.25)
- Part = Instance.new("Part")
- Part.Name = "Front Left Seat Back"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 3, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(-2.5, 1.5, 1.25)
- Part = Instance.new("Part")
- Part.Name = "Front Left Seat Headrest 1"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 1, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(-2.5, 3, 1.25)
- Part = Instance.new("Part")
- Part.Name = "Front Left Seat Headrest 2"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 1, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(0.9, 1.1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(-2.5, 3.8, 1.25)
- Seat2 = Instance.new("VehicleSeat")
- Seat2.Name = "VehicleSeat2"
- Seat2.CanCollide = false
- Seat2.MaxSpeed = 0
- Seat2.Torque = 0
- Seat2.HeadsUpDisplay = false
- Seat2.BrickColor = BrickColor.new("Black")
- Seat2.TopSurface = "Smooth"
- Seat2.BottomSurface = "Smooth"
- Seat2.Size = Vector3.new(2, 1, 2)
- Seat2.Parent = Vehicle
- Weld = Instance.new("Weld")
- Weld.Parent = Seat2
- Weld.Part0 = Base
- Weld.Part1 = Seat2
- Weld.C0 = CFrame.new(2.5, 0.375, 0.5)
- Part = Instance.new("Part")
- Part.Name = "Front Right Seat Back"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 3, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(2.5, 1.5, 1.25)
- Part = Instance.new("Part")
- Part.Name = "Front Right Seat Headrest 1"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 1, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(2.5, 3, 1.25)
- Part = Instance.new("Part")
- Part.Name = "Front Right Seat Headrest 2"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 1, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(0.9, 1.1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(2.5, 3.8, 1.25)
- Seat3 = Instance.new("VehicleSeat")
- Seat3.Name = "VehicleSeat3"
- Seat3.CanCollide = false
- Seat3.MaxSpeed = 0
- Seat3.Torque = 0
- Seat3.HeadsUpDisplay = false
- Seat3.BrickColor = BrickColor.new("Black")
- Seat3.TopSurface = "Smooth"
- Seat3.BottomSurface = "Smooth"
- Seat3.Size = Vector3.new(2, 1, 2)
- Seat3.Parent = Vehicle
- Weld = Instance.new("Weld")
- Weld.Parent = Seat3
- Weld.Part0 = Base
- Weld.Part1 = Seat3
- Weld.C0 = CFrame.new(-2.5, 0.375, 4.5)
- Part = Instance.new("Part")
- Part.Name = "Rear Left Seat Back"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 3, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(-2.5, 1.5, 5.25)
- Seat4 = Instance.new("VehicleSeat")
- Seat4.Name = "VehicleSeat4"
- Seat4.CanCollide = false
- Seat4.MaxSpeed = 0
- Seat4.Torque = 0
- Seat4.HeadsUpDisplay = false
- Seat4.BrickColor = BrickColor.new("Black")
- Seat4.TopSurface = "Smooth"
- Seat4.BottomSurface = "Smooth"
- Seat4.Size = Vector3.new(2, 1, 2)
- Seat4.Parent = Vehicle
- Weld = Instance.new("Weld")
- Weld.Parent = Seat4
- Weld.Part0 = Base
- Weld.Part1 = Seat4
- Weld.C0 = CFrame.new(2.5, 0.375, 4.5)
- Part = Instance.new("Part")
- Part.Name = "Rear Right Seat Back"
- Part.BrickColor = BrickColor.new("Black")
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(2, 3, 1)
- Part.Parent = Vehicle
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Brick"
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.Parent = Part
- Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Base
- Weld.Part1 = Part
- Weld.C0 = CFrame.new(2.5, 1.5, 5.25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement