Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Weld2 = Instance.new("Weld")
- Weld3 = Instance.new("Weld")
- UnionOperation4 = Instance.new("UnionOperation")
- Texture5 = Instance.new("Texture")
- Texture6 = Instance.new("Texture")
- Texture7 = Instance.new("Texture")
- Texture8 = Instance.new("Texture")
- ParticleEmitter9 = Instance.new("ParticleEmitter")
- Part10 = Instance.new("Part")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Part13 = Instance.new("Part")
- Weld14 = Instance.new("Weld")
- Weld15 = Instance.new("Weld")
- Part16 = Instance.new("Part")
- ManualWeld17 = Instance.new("ManualWeld")
- BodyPosition18 = Instance.new("BodyPosition")
- BodyGyro19 = Instance.new("BodyGyro")
- ManualWeld20 = Instance.new("ManualWeld")
- VehicleSeat21 = Instance.new("VehicleSeat")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Weld24 = Instance.new("Weld")
- Weld25 = Instance.new("Weld")
- Part26 = Instance.new("Part")
- Weld27 = Instance.new("Weld")
- Part28 = Instance.new("Part")
- Weld29 = Instance.new("Weld")
- Part30 = Instance.new("Part")
- Weld31 = Instance.new("Weld")
- ManualWeld32 = Instance.new("ManualWeld")
- UnionOperation33 = Instance.new("UnionOperation")
- Texture34 = Instance.new("Texture")
- Texture35 = Instance.new("Texture")
- Texture36 = Instance.new("Texture")
- Texture37 = Instance.new("Texture")
- ParticleEmitter38 = Instance.new("ParticleEmitter")
- ManualWeld39 = Instance.new("ManualWeld")
- UnionOperation40 = Instance.new("UnionOperation")
- Texture41 = Instance.new("Texture")
- Texture42 = Instance.new("Texture")
- Texture43 = Instance.new("Texture")
- Texture44 = Instance.new("Texture")
- ParticleEmitter45 = Instance.new("ParticleEmitter")
- ManualWeld46 = Instance.new("ManualWeld")
- Configuration47 = Instance.new("Configuration")
- NumberValue48 = Instance.new("NumberValue")
- NumberValue49 = Instance.new("NumberValue")
- NumberValue50 = Instance.new("NumberValue")
- NumberValue51 = Instance.new("NumberValue")
- NumberValue52 = Instance.new("NumberValue")
- Script53 = Instance.new("Script")
- LocalScript54 = Instance.new("LocalScript")
- ObjectValue55 = Instance.new("ObjectValue")
- ModuleScript56 = Instance.new("ModuleScript")
- Part57 = Instance.new("Part")
- Weld58 = Instance.new("Weld")
- SurfaceLight59 = Instance.new("SurfaceLight")
- SurfaceGui60 = Instance.new("SurfaceGui")
- Frame61 = Instance.new("Frame")
- Part62 = Instance.new("Part")
- Weld63 = Instance.new("Weld")
- SurfaceLight64 = Instance.new("SurfaceLight")
- SurfaceGui65 = Instance.new("SurfaceGui")
- Frame66 = Instance.new("Frame")
- UnionOperation67 = Instance.new("UnionOperation")
- Weld68 = Instance.new("Weld")
- Sound69 = Instance.new("Sound")
- Weld70 = Instance.new("Weld")
- UnionOperation71 = Instance.new("UnionOperation")
- Weld72 = Instance.new("Weld")
- UnionOperation73 = Instance.new("UnionOperation")
- ManualWeld74 = Instance.new("ManualWeld")
- Weld75 = Instance.new("Weld")
- UnionOperation76 = Instance.new("UnionOperation")
- ManualWeld77 = Instance.new("ManualWeld")
- Weld78 = Instance.new("Weld")
- UnionOperation79 = Instance.new("UnionOperation")
- Weld80 = Instance.new("Weld")
- UnionOperation81 = Instance.new("UnionOperation")
- Weld82 = Instance.new("Weld")
- Part83 = Instance.new("Part")
- Part84 = Instance.new("Part")
- Weld85 = Instance.new("Weld")
- ManualWeld86 = Instance.new("ManualWeld")
- UnionOperation87 = Instance.new("UnionOperation")
- Texture88 = Instance.new("Texture")
- Texture89 = Instance.new("Texture")
- Texture90 = Instance.new("Texture")
- Texture91 = Instance.new("Texture")
- ParticleEmitter92 = Instance.new("ParticleEmitter")
- Sound93 = Instance.new("Sound")
- Part94 = Instance.new("Part")
- Fire95 = Instance.new("Fire")
- Script96 = Instance.new("Script")
- RopeConstraint97 = Instance.new("RopeConstraint")
- Model0.Name = "Jeep"
- Model0.Parent = mas
- Part1.Name = "Thruster"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-7.52466774, 2.55091739, 11.2807693, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part1.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part1.Position = Vector3.new(-7.52466774, 2.55091739, 11.2807693)
- Part1.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(1, 1, 2)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- Weld2.Parent = Part1
- Weld2.C0 = CFrame.new(-2.5, 0, -4, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld2.Part0 = Part16
- Weld2.Part1 = Part1
- Weld2.part1 = Part1
- Weld3.Name = "WheelWeld"
- Weld3.Parent = Part1
- Weld3.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld3.Part0 = Part1
- Weld3.Part1 = UnionOperation4
- Weld3.part1 = UnionOperation4
- UnionOperation4.Name = "FrontLeftWheel"
- UnionOperation4.Parent = Model0
- UnionOperation4.CFrame = CFrame.new(-7.52479649, 1.55091739, 11.2807484, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation4.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation4.Position = Vector3.new(-7.52479649, 1.55091739, 11.2807484)
- UnionOperation4.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- UnionOperation4.Size = Vector3.new(1.5, 3, 3)
- UnionOperation4.BrickColor = BrickColor.new("Black")
- UnionOperation4.CanCollide = false
- UnionOperation4.brickColor = BrickColor.new("Black")
- Texture5.Parent = UnionOperation4
- Texture5.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture5.Transparency = 0.5
- Texture5.Face = Enum.NormalId.Top
- Texture5.StudsPerTileU = 3
- Texture5.StudsPerTileV = 3
- Texture6.Parent = UnionOperation4
- Texture6.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture6.Transparency = 0.5
- Texture6.StudsPerTileU = 3
- Texture6.StudsPerTileV = 3
- Texture7.Parent = UnionOperation4
- Texture7.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture7.Transparency = 0.5
- Texture7.Face = Enum.NormalId.Back
- Texture7.StudsPerTileU = 3
- Texture7.StudsPerTileV = 3
- Texture8.Parent = UnionOperation4
- Texture8.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture8.Transparency = 0.5
- Texture8.Face = Enum.NormalId.Bottom
- Texture8.StudsPerTileU = 3
- Texture8.StudsPerTileV = 3
- ParticleEmitter9.Parent = UnionOperation4
- ParticleEmitter9.Speed = NumberRange.new(0, 0)
- ParticleEmitter9.Rotation = NumberRange.new(0, 360)
- ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- ParticleEmitter9.Enabled = false
- ParticleEmitter9.LightEmission = 0.20000000298023
- ParticleEmitter9.Texture = "rbxassetid://287259619"
- ParticleEmitter9.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- ParticleEmitter9.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- ParticleEmitter9.Acceleration = Vector3.new(0, -5, 0)
- ParticleEmitter9.Lifetime = NumberRange.new(0.80000001192093, 1.2000000476837)
- ParticleEmitter9.Rate = 50
- ParticleEmitter9.RotSpeed = NumberRange.new(-200, 200)
- ParticleEmitter9.SpreadAngle = Vector2.new(40, 40)
- ParticleEmitter9.VelocitySpread = 40
- Part10.Name = "Thruster"
- Part10.Parent = Model0
- Part10.CFrame = CFrame.new(-2.52466774, 2.55027413, 11.2807693, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part10.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part10.Position = Vector3.new(-2.52466774, 2.55027413, 11.2807693)
- Part10.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part10.Transparency = 1
- Part10.Size = Vector3.new(1, 1, 2)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.CanCollide = false
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.formFactor = Enum.FormFactor.Custom
- Weld11.Parent = Part10
- Weld11.C0 = CFrame.new(2.5, 0, -4, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld11.Part0 = Part16
- Weld11.Part1 = Part10
- Weld11.part1 = Part10
- Weld12.Name = "WheelWeld"
- Weld12.Parent = Part10
- Weld12.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld12.Part0 = Part10
- Weld12.Part1 = UnionOperation87
- Weld12.part1 = UnionOperation87
- Part13.Name = "Thruster"
- Part13.Parent = Model0
- Part13.CFrame = CFrame.new(-2.52466774, 2.55011439, 18.7807693, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part13.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part13.Position = Vector3.new(-2.52466774, 2.55011439, 18.7807693)
- Part13.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part13.Transparency = 1
- Part13.Size = Vector3.new(1, 1, 2)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.CanCollide = false
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.formFactor = Enum.FormFactor.Custom
- Weld14.Parent = Part13
- Weld14.C0 = CFrame.new(2.5, 0, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld14.Part0 = Part16
- Weld14.Part1 = Part13
- Weld14.part1 = Part13
- Weld15.Name = "WheelWeld"
- Weld15.Parent = Part13
- Weld15.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Part0 = Part13
- Weld15.Part1 = UnionOperation33
- Weld15.part1 = UnionOperation33
- Part16.Name = "Chassis"
- Part16.Parent = Model0
- Part16.CFrame = CFrame.new(-5.02466774, 2.55051064, 15.2807693, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part16.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part16.Position = Vector3.new(-5.02466774, 2.55051064, 15.2807693)
- Part16.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Size = Vector3.new(4, 1, 10)
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.BrickColor = BrickColor.new("Really black")
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part16.brickColor = BrickColor.new("Really black")
- Part16.FormFactor = Enum.FormFactor.Custom
- Part16.formFactor = Enum.FormFactor.Custom
- ManualWeld17.Name = "Chassis-to-DriveSeat Strong Joint"
- ManualWeld17.Parent = Part16
- ManualWeld17.C0 = CFrame.new(-2, 0.5, 5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld17.C1 = CFrame.new(-2, -0.0999660492, 4.6000061, -1, -1.142093e-08, -1.2423443e-06, -1.2423443e-06, 1.00420866e-05, 1, -1.14084546e-08, 1, -1.00420866e-05)
- ManualWeld17.Part0 = Part16
- ManualWeld17.Part1 = VehicleSeat21
- ManualWeld17.part1 = VehicleSeat21
- BodyPosition18.Parent = Part16
- BodyPosition18.MaxForce = Vector3.new(0, 0, 0)
- BodyPosition18.maxForce = Vector3.new(0, 0, 0)
- BodyGyro19.Parent = Part16
- BodyGyro19.MaxTorque = Vector3.new(0, 0, 0)
- BodyGyro19.maxTorque = Vector3.new(0, 0, 0)
- ManualWeld20.Name = "Chassis-to-Part Strong Joint"
- ManualWeld20.Parent = Part16
- ManualWeld20.C0 = CFrame.new(-2, -0.5, 5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld20.C1 = CFrame.new(-1.99993896, -1.74999809, -0.25, 1, 4.10487968e-13, 1.99786854e-11, 4.09731737e-13, 1, -3.67035682e-08, 1.99786854e-11, -3.67035682e-08, 1)
- ManualWeld20.Part0 = Part16
- ManualWeld20.Part1 = Part22
- ManualWeld20.part1 = Part22
- VehicleSeat21.Name = "DriveSeat"
- VehicleSeat21.Parent = Model0
- VehicleSeat21.CFrame = CFrame.new(-5.02459049, 3.15051198, 15.6807766, 1, 0.000129914872, -1.19455432e-08, -0.000129914872, 1, -3.13192504e-05, 8.00353028e-09, 3.10868018e-05, 1)
- VehicleSeat21.Orientation = Vector3.new(0, 0, -0.00999999978)
- VehicleSeat21.Position = Vector3.new(-5.02459049, 3.15051198, 15.6807766)
- VehicleSeat21.Rotation = Vector3.new(0, 0, -0.00999999978)
- VehicleSeat21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- VehicleSeat21.Size = Vector3.new(2, 0.200000003, 2)
- VehicleSeat21.BrickColor = BrickColor.new("Black")
- VehicleSeat21.TopSurface = Enum.SurfaceType.Smooth
- VehicleSeat21.brickColor = BrickColor.new("Black")
- Part22.Parent = Model0
- Part22.CFrame = CFrame.new(-5.02456808, 3.80039692, 20.5307961, 1, 0.000128672531, -2.2046601e-08, -0.000128672531, 1, -2.13138665e-05, 1.94705851e-08, 2.10080107e-05, 1)
- Part22.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part22.Position = Vector3.new(-5.02456808, 3.80039692, 20.5307961)
- Part22.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part22.Transparency = 1
- Part22.Size = Vector3.new(4, 2.5, 0.5)
- Part22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.BrickColor = BrickColor.new("Institutional white")
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.brickColor = BrickColor.new("Institutional white")
- Part22.FormFactor = Enum.FormFactor.Custom
- Part22.formFactor = Enum.FormFactor.Custom
- Part23.Name = "Thruster"
- Part23.Parent = Model0
- Part23.CFrame = CFrame.new(-7.52466774, 2.55075788, 18.7807693, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part23.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part23.Position = Vector3.new(-7.52466774, 2.55075788, 18.7807693)
- Part23.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part23.Transparency = 1
- Part23.Size = Vector3.new(1, 1, 2)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.CanCollide = false
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.FormFactor = Enum.FormFactor.Custom
- Part23.formFactor = Enum.FormFactor.Custom
- Weld24.Parent = Part23
- Weld24.C0 = CFrame.new(-2.5, 0, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld24.Part0 = Part16
- Weld24.Part1 = Part23
- Weld24.part1 = Part23
- Weld25.Name = "WheelWeld"
- Weld25.Parent = Part23
- Weld25.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld25.Part0 = Part23
- Weld25.Part1 = UnionOperation40
- Weld25.part1 = UnionOperation40
- Part26.Parent = Model0
- Part26.CFrame = CFrame.new(-5.02453899, 3.5505476, 13.5307903, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part26.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part26.Position = Vector3.new(-5.02453899, 3.5505476, 13.5307903)
- Part26.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part26.Size = Vector3.new(1, 7, 1)
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Weld27.Parent = Part26
- Weld27.C0 = CFrame.new(0, -0.25, -5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld27.Part0 = Part84
- Weld27.Part1 = Part26
- Weld27.part1 = Part26
- Part28.Name = "Target"
- Part28.Parent = Part26
- Part28.CFrame = CFrame.new(-5.02450705, 3.80043602, 18.7807961, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part28.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part28.Position = Vector3.new(-5.02450705, 3.80043602, 18.7807961)
- Part28.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part28.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part28.Size = Vector3.new(1, 1, 1)
- Part28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.BrickColor = BrickColor.new("Bright yellow")
- Part28.CanCollide = false
- Part28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.Material = Enum.Material.Concrete
- Part28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.brickColor = BrickColor.new("Bright yellow")
- Weld29.Parent = Part26
- Weld29.C0 = CFrame.new(0, -0.25, -5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld29.Part0 = Part28
- Weld29.Part1 = Part26
- Weld29.part1 = Part26
- Part30.Parent = Model0
- Part30.CFrame = CFrame.new(-5.02470016, 2.30039883, 20.5307636, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part30.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part30.Position = Vector3.new(-5.02470016, 2.30039883, 20.5307636)
- Part30.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part30.Size = Vector3.new(5, 0.5, 0.5)
- Part30.BottomSurface = Enum.SurfaceType.Smooth
- Part30.BrickColor = BrickColor.new("Really black")
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part30.brickColor = BrickColor.new("Really black")
- Part30.FormFactor = Enum.FormFactor.Custom
- Part30.formFactor = Enum.FormFactor.Custom
- Weld31.Parent = Part30
- Weld31.C0 = CFrame.new(0, -0.25, 5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld31.Part0 = Part16
- Weld31.Part1 = Part30
- Weld31.part1 = Part30
- ManualWeld32.Name = "Part-to-Part Strong Joint"
- ManualWeld32.Parent = Part30
- ManualWeld32.C0 = CFrame.new(-2.5, 0.25, 0.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld32.C1 = CFrame.new(-2.49996948, -1.24999809, 0.25, -1, 1.99786854e-11, 4.10487968e-13, -4.09731737e-13, -3.67035682e-08, 1, -1.99786854e-11, 1, -3.67035682e-08)
- ManualWeld32.Part0 = Part30
- ManualWeld32.Part1 = Part22
- ManualWeld32.part1 = Part22
- UnionOperation33.Name = "BackRightWheel"
- UnionOperation33.Parent = Model0
- UnionOperation33.CFrame = CFrame.new(-2.52479649, 1.55011439, 18.7807484, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation33.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation33.Position = Vector3.new(-2.52479649, 1.55011439, 18.7807484)
- UnionOperation33.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation33.Color = Color3.new(0.105882, 0.164706, 0.207843)
- UnionOperation33.Size = Vector3.new(1.5, 3, 3)
- UnionOperation33.BrickColor = BrickColor.new("Black")
- UnionOperation33.CanCollide = false
- UnionOperation33.brickColor = BrickColor.new("Black")
- Texture34.Parent = UnionOperation33
- Texture34.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture34.Transparency = 0.5
- Texture34.Face = Enum.NormalId.Top
- Texture34.StudsPerTileU = 3
- Texture34.StudsPerTileV = 3
- Texture35.Parent = UnionOperation33
- Texture35.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture35.Transparency = 0.5
- Texture35.StudsPerTileU = 3
- Texture35.StudsPerTileV = 3
- Texture36.Parent = UnionOperation33
- Texture36.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture36.Transparency = 0.5
- Texture36.Face = Enum.NormalId.Back
- Texture36.StudsPerTileU = 3
- Texture36.StudsPerTileV = 3
- Texture37.Parent = UnionOperation33
- Texture37.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture37.Transparency = 0.5
- Texture37.Face = Enum.NormalId.Bottom
- Texture37.StudsPerTileU = 3
- Texture37.StudsPerTileV = 3
- ParticleEmitter38.Parent = UnionOperation33
- ParticleEmitter38.Speed = NumberRange.new(0, 0)
- ParticleEmitter38.Rotation = NumberRange.new(0, 360)
- ParticleEmitter38.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- ParticleEmitter38.Enabled = false
- ParticleEmitter38.LightEmission = 0.20000000298023
- ParticleEmitter38.Texture = "rbxassetid://287259619"
- ParticleEmitter38.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- ParticleEmitter38.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- ParticleEmitter38.Acceleration = Vector3.new(0, -5, 0)
- ParticleEmitter38.Lifetime = NumberRange.new(0.80000001192093, 1.2000000476837)
- ParticleEmitter38.Rate = 50
- ParticleEmitter38.RotSpeed = NumberRange.new(-200, 200)
- ParticleEmitter38.SpreadAngle = Vector2.new(40, 40)
- ParticleEmitter38.VelocitySpread = 40
- ManualWeld39.Name = "BackRightWheel-to-Part Strong Joint"
- ManualWeld39.Parent = UnionOperation33
- ManualWeld39.C0 = CFrame.new(-0.75, -1.5, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld39.C1 = CFrame.new(1.75003052, -3.75, -0.25, 1, 4.10206211e-13, 6.65956179e-12, 4.10206211e-13, 1, -1.22345227e-08, 6.65956179e-12, -1.22345227e-08, 1)
- ManualWeld39.Part0 = UnionOperation33
- ManualWeld39.Part1 = Part22
- ManualWeld39.part1 = Part22
- UnionOperation40.Name = "BackLeftWheel"
- UnionOperation40.Parent = Model0
- UnionOperation40.CFrame = CFrame.new(-7.52479649, 1.55075788, 18.7807484, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation40.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation40.Position = Vector3.new(-7.52479649, 1.55075788, 18.7807484)
- UnionOperation40.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation40.Color = Color3.new(0.105882, 0.164706, 0.207843)
- UnionOperation40.Size = Vector3.new(1.5, 3, 3)
- UnionOperation40.BrickColor = BrickColor.new("Black")
- UnionOperation40.CanCollide = false
- UnionOperation40.brickColor = BrickColor.new("Black")
- Texture41.Parent = UnionOperation40
- Texture41.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture41.Transparency = 0.5
- Texture41.Face = Enum.NormalId.Top
- Texture41.StudsPerTileU = 3
- Texture41.StudsPerTileV = 3
- Texture42.Parent = UnionOperation40
- Texture42.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture42.Transparency = 0.5
- Texture42.StudsPerTileU = 3
- Texture42.StudsPerTileV = 3
- Texture43.Parent = UnionOperation40
- Texture43.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture43.Transparency = 0.5
- Texture43.Face = Enum.NormalId.Back
- Texture43.StudsPerTileU = 3
- Texture43.StudsPerTileV = 3
- Texture44.Parent = UnionOperation40
- Texture44.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture44.Transparency = 0.5
- Texture44.Face = Enum.NormalId.Bottom
- Texture44.StudsPerTileU = 3
- Texture44.StudsPerTileV = 3
- ParticleEmitter45.Parent = UnionOperation40
- ParticleEmitter45.Speed = NumberRange.new(0, 0)
- ParticleEmitter45.Rotation = NumberRange.new(0, 360)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- ParticleEmitter45.Enabled = false
- ParticleEmitter45.LightEmission = 0.20000000298023
- ParticleEmitter45.Texture = "rbxassetid://287259619"
- ParticleEmitter45.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- ParticleEmitter45.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- ParticleEmitter45.Acceleration = Vector3.new(0, -5, 0)
- ParticleEmitter45.Lifetime = NumberRange.new(0.80000001192093, 1.2000000476837)
- ParticleEmitter45.Rate = 50
- ParticleEmitter45.RotSpeed = NumberRange.new(-200, 200)
- ParticleEmitter45.SpreadAngle = Vector2.new(40, 40)
- ParticleEmitter45.VelocitySpread = 40
- ManualWeld46.Name = "BackLeftWheel-to-Part Strong Joint"
- ManualWeld46.Parent = UnionOperation40
- ManualWeld46.C0 = CFrame.new(-0.75, -1.5, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld46.C1 = CFrame.new(-3.24990845, -3.74999619, -0.25, 1, 4.10628833e-13, 2.66382472e-11, 4.09494487e-13, 1, -4.89380909e-08, 2.66382472e-11, -4.89380909e-08, 1)
- ManualWeld46.Part0 = UnionOperation40
- ManualWeld46.Part1 = Part22
- ManualWeld46.part1 = Part22
- Configuration47.Name = "Configurations"
- Configuration47.Parent = Model0
- NumberValue48.Name = "Bounce"
- NumberValue48.Parent = Configuration47
- NumberValue48.Value = 100
- NumberValue49.Name = "Height"
- NumberValue49.Parent = Configuration47
- NumberValue49.Value = 3
- NumberValue50.Name = "Speed"
- NumberValue50.Parent = Configuration47
- NumberValue50.Value = 80
- NumberValue51.Name = "Suspension"
- NumberValue51.Parent = Configuration47
- NumberValue51.Value = 4
- NumberValue52.Name = "TurnSpeed"
- NumberValue52.Parent = Configuration47
- NumberValue52.Value = 2
- Script53.Name = "CarScript"
- Script53.Parent = Model0
- table.insert(cors,sandbox(Script53,function()
- --Scripted by DermonDarble
- local car = script.Parent
- local stats = car.Configurations
- local Raycast = require(script.RaycastModule)
- local mass = 0
- for i, v in pairs(car:GetChildren()) do
- if v:IsA("BasePart") then
- mass = mass + (v:GetMass() * 196.2)
- end
- end
- local bodyPosition = car.Chassis.BodyPosition
- local bodyGyro = car.Chassis.BodyGyro
- --local bodyPosition = Instance.new("BodyPosition", car.Chassis)
- --bodyPosition.MaxForce = Vector3.new()
- --local bodyGyro = Instance.new("BodyGyro", car.Chassis)
- --bodyGyro.MaxTorque = Vector3.new()
- local function UpdateThruster(thruster)
- -- Raycasting
- local hit, position = Raycast.new(thruster.Position, thruster.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value) --game.Workspace:FindPartOnRay(ray, car)
- local thrusterHeight = (position - thruster.Position).magnitude
- -- Wheel
- local wheelWeld = thruster:FindFirstChild("WheelWeld")
- wheelWeld.C0 = CFrame.new(0, -math.min(thrusterHeight, stats.Height.Value * 0.8) + (wheelWeld.Part1.Size.Y / 2), 0)
- -- Wheel turning
- local offset = car.Chassis.CFrame:inverse() * thruster.CFrame
- local speed = car.Chassis.CFrame:vectorToObjectSpace(car.Chassis.Velocity)
- if offset.Z < 0 then
- local direction = 1
- if speed.Z > 0 then
- direction = -1
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(0, (car.Chassis.RotVelocity.Y / 2) * direction, 0)
- end
- -- Particles
- if hit and thruster.Velocity.magnitude >= 5 then
- wheelWeld.Part1.ParticleEmitter.Enabled = true
- else
- wheelWeld.Part1.ParticleEmitter.Enabled = false
- end
- end
- car.DriveSeat.Changed:connect(function(property)
- if property == "Occupant" then
- if car.DriveSeat.Occupant then
- car.EngineBlock.Running.Pitch = 1
- car.EngineBlock.Running:Play()
- local player = game.Players:GetPlayerFromCharacter(car.DriveSeat.Occupant.Parent)
- if player then
- car.DriveSeat:SetNetworkOwner(player)
- local localCarScript = script.LocalCarScript:Clone()
- localCarScript.Parent = player.PlayerGui
- localCarScript.Car.Value = car
- localCarScript.Disabled = false
- end
- else
- car.EngineBlock.Running:Stop()
- end
- end
- end)
- --spawn(function()
- while true do
- game:GetService("RunService").Stepped:wait()
- for i, part in pairs(car:GetChildren()) do
- if part.Name == "Thruster" then
- UpdateThruster(part)
- end
- end
- if car.DriveSeat.Occupant then
- local ratio = car.DriveSeat.Velocity.magnitude / stats.Speed.Value
- car.EngineBlock.Running.Pitch = 1 + ratio / 4
- bodyPosition.MaxForce = Vector3.new()
- bodyGyro.MaxTorque = Vector3.new()
- else
- local hit, position, normal = Raycast.new(car.Chassis.Position, car.Chassis.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value)
- if hit and hit.CanCollide then
- bodyPosition.MaxForce = Vector3.new(mass / 5, math.huge, mass / 5)
- bodyPosition.Position = (CFrame.new(position, position + normal) * CFrame.new(0, 0, -stats.Height.Value + 0.5)).p
- bodyGyro.MaxTorque = Vector3.new(math.huge, 0, math.huge)
- bodyGyro.CFrame = CFrame.new(position, position + normal) * CFrame.Angles(-math.pi/2, 0, 0)
- else
- bodyPosition.MaxForce = Vector3.new()
- bodyGyro.MaxTorque = Vector3.new()
- end
- end
- end
- --end)
- end))
- LocalScript54.Name = "LocalCarScript"
- LocalScript54.Parent = Script53
- table.insert(cors,sandbox(LocalScript54,function()
- --local camera = game.Workspace.CurrentCamera
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoidRootPart = character.HumanoidRootPart
- local car = script:WaitForChild("Car").Value
- local stats = car:WaitForChild("Configurations")
- local Raycast = require(car.CarScript.RaycastModule)
- --local cameraType = Enum.CameraType.Follow
- local movement = Vector2.new()
- local gamepadDeadzone = 0.14
- car.DriveSeat.Changed:connect(function(property)
- if property == "Steer" then
- movement = Vector2.new(car.DriveSeat.Steer, movement.Y)
- elseif property == "Throttle" then
- movement = Vector2.new(movement.X, car.DriveSeat.Throttle)
- end
- end)
- -- Input begin
- --game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
- -- if not gameProcessedEvent then
- -- if inputObject.KeyCode == Enum.KeyCode.W then
- -- movement = Vector2.new(movement.X, 1)
- -- elseif inputObject.KeyCode == Enum.KeyCode.A then
- -- movement = Vector2.new(-1, movement.Y)
- -- elseif inputObject.KeyCode == Enum.KeyCode.S then
- -- movement = Vector2.new(movement.X, -1)
- -- elseif inputObject.KeyCode == Enum.KeyCode.D then
- -- movement = Vector2.new(1, movement.Y)
- -- end
- -- end
- --end)
- --
- --game:GetService("UserInputService").InputChanged:connect(function(inputObject, gameProcessedEvent)
- -- --if not gameProcessedEvent then
- -- if inputObject.KeyCode == Enum.KeyCode.Thumbstick1 then
- -- --Gamepad support because yay
- -- if inputObject.Position.magnitude >= gamepadDeadzone then
- -- movement = Vector2.new(movement.X, inputObject.Position.Y)
- -- else
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.Thumbstick2 then
- -- if inputObject.Position.magnitude >= gamepadDeadzone then
- -- movement = Vector2.new(inputObject.Position.X, movement.Y)
- -- else
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- end
- -- --end
- --end)
- --
- ---- Input end
- --game:GetService("UserInputService").InputEnded:connect(function(inputObject, gameProcessedEvent)
- -- if inputObject.KeyCode == Enum.KeyCode.W then
- -- if movement.Y == 1 then
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.A then
- -- if movement.X == -1 then
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.S then
- -- if movement.Y == -1 then
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.D then
- -- if movement.X == 1 then
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- end
- --end)
- local force = 0
- local damping = 0
- local mass = 0
- for i, v in pairs(car:GetChildren()) do
- if v:IsA("BasePart") then
- mass = mass + (v:GetMass() * 196.2)
- end
- end
- force = mass * stats.Suspension.Value
- damping = force / stats.Bounce.Value
- local bodyVelocity = Instance.new("BodyVelocity", car.Chassis)
- bodyVelocity.velocity = Vector3.new(0, 0, 0)
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- local bodyAngularVelocity = Instance.new("BodyAngularVelocity", car.Chassis)
- bodyAngularVelocity.angularvelocity = Vector3.new(0, 0, 0)
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- local rotation = 0
- local function UpdateThruster(thruster)
- --Make sure we have a bodythrust to move the wheel
- local bodyThrust = thruster:FindFirstChild("BodyThrust")
- if not bodyThrust then
- bodyThrust = Instance.new("BodyThrust", thruster)
- end
- --Do some raycasting to get the height of the wheel
- local hit, position = Raycast.new(thruster.Position, thruster.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value)
- local thrusterHeight = (position - thruster.Position).magnitude
- if hit and hit.CanCollide then
- --If we're on the ground, apply some forces to push the wheel up
- bodyThrust.force = Vector3.new(0, ((stats.Height.Value - thrusterHeight)^2) * (force / stats.Height.Value^2), 0)
- local thrusterDamping = thruster.CFrame:toObjectSpace(CFrame.new(thruster.Velocity + thruster.Position)).p * damping
- bodyThrust.force = bodyThrust.force - Vector3.new(0, thrusterDamping.Y, 0)
- else
- bodyThrust.force = Vector3.new(0, 0, 0)
- end
- --Wheels
- local wheelWeld = thruster:FindFirstChild("WheelWeld")
- if wheelWeld then
- wheelWeld.C0 = CFrame.new(0, -math.min(thrusterHeight, stats.Height.Value * 0.8) + (wheelWeld.Part1.Size.Y / 2), 0)
- -- Wheel turning
- local offset = car.Chassis.CFrame:inverse() * thruster.CFrame
- local speed = car.Chassis.CFrame:vectorToObjectSpace(car.Chassis.Velocity)
- if offset.Z < 0 then
- local direction = 1
- if speed.Z > 0 then
- direction = -1
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(0, (car.Chassis.RotVelocity.Y / 2) * direction, 0)
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(rotation, 0, 0)
- end
- end
- --A simple function to check if the car is grounded
- local function IsGrounded()
- local hit, position = Raycast.new((car.Chassis.CFrame * CFrame.new(0, 0, (car.Chassis.Size.Z / 2) - 1)).p, car.Chassis.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * (stats.Height.Value + 0.2))
- if hit and hit.CanCollide then
- return(true)
- end
- return(false)
- end
- --local oldCameraType = camera.CameraType
- --camera.CameraType = cameraType
- --spawn(function()
- while game:GetService("RunService").Heartbeat:wait() and car:FindFirstChild("DriveSeat") and character.Humanoid.SeatPart == car.DriveSeat do
- --game:GetService("RunService").RenderStepped:wait()
- if IsGrounded() then
- if movement.Y ~= 0 then
- local velocity = humanoidRootPart.CFrame.lookVector * movement.Y * stats.Speed.Value
- humanoidRootPart.Velocity = humanoidRootPart.Velocity:Lerp(velocity, 0.1)
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- else
- bodyVelocity.maxForce = Vector3.new(mass / 2, mass / 4, mass / 2)
- end
- local rotVelocity = humanoidRootPart.CFrame:vectorToWorldSpace(Vector3.new(movement.Y * stats.Speed.Value / 50, 0, -humanoidRootPart.RotVelocity.Y * 5 * movement.Y))
- local speed = -humanoidRootPart.CFrame:vectorToObjectSpace(humanoidRootPart.Velocity).unit.Z
- rotation = rotation + math.rad((-stats.Speed.Value / 5) * movement.Y)
- if math.abs(speed) > 0.1 then
- rotVelocity = rotVelocity + humanoidRootPart.CFrame:vectorToWorldSpace((Vector3.new(0, -movement.X * speed * stats.TurnSpeed.Value, 0)))
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- else
- bodyAngularVelocity.maxTorque = Vector3.new(mass / 4, mass / 2, mass / 4)
- end
- humanoidRootPart.RotVelocity = humanoidRootPart.RotVelocity:Lerp(rotVelocity, 0.1)
- --bodyVelocity.maxForce = Vector3.new(mass / 3, mass / 6, mass / 3)
- --bodyAngularVelocity.maxTorque = Vector3.new(mass / 6, mass / 3, mass / 6)
- else
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- end
- for i, part in pairs(car:GetChildren()) do
- if part.Name == "Thruster" then
- UpdateThruster(part)
- end
- end
- end
- for i, v in pairs(car:GetChildren()) do
- if v:FindFirstChild("BodyThrust") then
- v.BodyThrust:Destroy()
- end
- end
- bodyVelocity:Destroy()
- bodyAngularVelocity:Destroy()
- --camera.CameraType = oldCameraType
- script:Destroy()
- --end)
- end))
- LocalScript54.Disabled = true
- ObjectValue55.Name = "Car"
- ObjectValue55.Parent = LocalScript54
- ModuleScript56.Name = "RaycastModule"
- ModuleScript56.Parent = Script53
- table.insert(cors,sandbox(ModuleScript56,function()
- local module = {}
- function module.new(startPosition, startDirection)
- local maxDistance = startDirection.magnitude
- local direction = startDirection.unit
- local lastPosition = startPosition
- local distance = 0
- local ignore = {}
- local hit, position, normal
- repeat
- local ray = Ray.new(lastPosition, direction * (maxDistance - distance))
- hit, position, normal = game.Workspace:FindPartOnRayWithIgnoreList(ray, ignore, false, true)
- if hit then
- if not hit.CanCollide then
- table.insert(ignore, hit)
- end
- end
- distance = (startPosition - position).magnitude
- lastPosition = position
- until distance >= maxDistance - 0.1 or (hit and hit.CanCollide)
- return hit, position, normal
- end
- return module
- end))
- Part57.Name = "Light"
- Part57.Parent = Model0
- Part57.CFrame = CFrame.new(-6.52447462, 4.05081749, 9.93080044, 0.707197726, -0.707015812, -5.03895023e-08, 0.707015812, 0.707197726, -2.12087489e-05, 1.48662766e-05, 1.47986957e-05, 1)
- Part57.Orientation = Vector3.new(0, 0, 44.9900017)
- Part57.Position = Vector3.new(-6.52447462, 4.05081749, 9.93080044)
- Part57.Rotation = Vector3.new(0, 0, 44.9900017)
- Part57.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part57.Size = Vector3.new(1, 1, 0.5)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.BrickColor = BrickColor.new("Really black")
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.brickColor = BrickColor.new("Really black")
- Part57.FormFactor = Enum.FormFactor.Custom
- Part57.formFactor = Enum.FormFactor.Custom
- Weld58.Parent = Part57
- Weld58.C0 = CFrame.new(-1.5, 1.5, -5.35000038, 0.707106769, -0.707106769, -2.83364479e-08, 0.707106769, 0.707106769, 6.84102304e-08, -2.83364479e-08, -6.84102304e-08, 1)
- Weld58.Part0 = Part16
- Weld58.Part1 = Part57
- Weld58.part1 = Part57
- SurfaceLight59.Parent = Part57
- SurfaceLight59.Range = 32
- SurfaceLight59.Brightness = 0.5
- SurfaceLight59.Angle = 60
- SurfaceGui60.Parent = Part57
- SurfaceGui60.CanvasSize = Vector2.new(100, 100)
- Frame61.Parent = SurfaceGui60
- Frame61.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
- Frame61.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
- Frame61.BackgroundColor = BrickColor.new("Institutional white")
- Frame61.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame61.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame61.BorderSizePixel = 0
- Part62.Name = "Light"
- Part62.Parent = Model0
- Part62.CFrame = CFrame.new(-3.52447462, 4.05043125, 9.93080044, 0.707197726, -0.707015812, 2.62229882e-09, 0.707015812, 0.707197726, -2.13367766e-05, 1.49193047e-05, 1.49267171e-05, 1)
- Part62.Orientation = Vector3.new(0, 0, 44.9900017)
- Part62.Position = Vector3.new(-3.52447462, 4.05043125, 9.93080044)
- Part62.Rotation = Vector3.new(0, 0, 44.9900017)
- Part62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part62.Size = Vector3.new(1, 1, 0.5)
- Part62.BottomSurface = Enum.SurfaceType.Smooth
- Part62.BrickColor = BrickColor.new("Really black")
- Part62.TopSurface = Enum.SurfaceType.Smooth
- Part62.brickColor = BrickColor.new("Really black")
- Part62.FormFactor = Enum.FormFactor.Custom
- Part62.formFactor = Enum.FormFactor.Custom
- Weld63.Parent = Part62
- Weld63.C0 = CFrame.new(1.5, 1.5, -5.35000038, 0.707106769, -0.707106769, 2.46918255e-08, 0.707106769, 0.707106769, -5.96113381e-08, 2.46918255e-08, 5.96113381e-08, 1)
- Weld63.Part0 = Part16
- Weld63.Part1 = Part62
- Weld63.part1 = Part62
- SurfaceLight64.Parent = Part62
- SurfaceLight64.Range = 32
- SurfaceLight64.Brightness = 0.5
- SurfaceLight64.Angle = 60
- SurfaceGui65.Parent = Part62
- SurfaceGui65.CanvasSize = Vector2.new(100, 100)
- Frame66.Parent = SurfaceGui65
- Frame66.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
- Frame66.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
- Frame66.BackgroundColor = BrickColor.new("Institutional white")
- Frame66.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame66.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame66.BorderSizePixel = 0
- UnionOperation67.Name = "EngineBlock"
- UnionOperation67.Parent = Model0
- UnionOperation67.CFrame = CFrame.new(-5.02450705, 3.80058527, 11.7807961, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation67.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation67.Position = Vector3.new(-5.02450705, 3.80058527, 11.7807961)
- UnionOperation67.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation67.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation67.Transparency = 1
- UnionOperation67.Size = Vector3.new(5.00000191, 2.50000143, 4.00000048)
- UnionOperation67.UsePartColor = true
- Weld68.Parent = UnionOperation67
- Weld68.C0 = CFrame.new(0, -0.25, -5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Sound69.Name = "Running"
- Sound69.Parent = UnionOperation67
- Sound69.Looped = true
- Sound69.EmitterSize = 0
- Sound69.MinDistance = 0
- Sound69.SoundId = "http://www.roblox.com/asset/?id=391824568"
- Sound69.Volume = 1
- Weld70.Parent = UnionOperation67
- Weld70.C0 = CFrame.new(0, 1.25, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld70.Part0 = Part16
- Weld70.Part1 = UnionOperation67
- Weld70.part1 = UnionOperation67
- UnionOperation71.Parent = Model0
- UnionOperation71.CFrame = CFrame.new(-2.77453899, 3.5502212, 15.2807903, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation71.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation71.Position = Vector3.new(-2.77453899, 3.5502212, 15.2807903)
- UnionOperation71.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation71.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation71.Transparency = 1
- UnionOperation71.Size = Vector3.new(0.500000834, 3.00000048, 4.00000048)
- UnionOperation71.UsePartColor = true
- Weld72.Parent = UnionOperation71
- Weld72.C0 = CFrame.new(2.25, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld72.Part0 = Part16
- Weld72.Part1 = UnionOperation71
- Weld72.part1 = UnionOperation71
- UnionOperation73.Parent = Model0
- UnionOperation73.CFrame = CFrame.new(-2.77450681, 3.80014181, 19.0307961, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation73.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation73.Position = Vector3.new(-2.77450681, 3.80014181, 19.0307961)
- UnionOperation73.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation73.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation73.Transparency = 1
- UnionOperation73.Size = Vector3.new(0.500000834, 2.50000095, 3.50000024)
- UnionOperation73.UsePartColor = true
- ManualWeld74.Name = "Union-to-Part Strong Joint"
- ManualWeld74.Parent = UnionOperation73
- ManualWeld74.C0 = CFrame.new(-0.250000417, -1.25000048, -1.75000012, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- ManualWeld74.C1 = CFrame.new(2.00003052, -1.24999809, -3.25, 1.99786854e-11, 4.10487968e-13, -1, -3.67035682e-08, 1, -4.09731737e-13, 1, -3.67035682e-08, -1.99786854e-11)
- ManualWeld74.Part0 = UnionOperation73
- ManualWeld74.Part1 = Part22
- ManualWeld74.part1 = Part22
- Weld75.Parent = UnionOperation73
- Weld75.C0 = CFrame.new(2.25, 1.25000048, 3.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld75.Part0 = Part16
- Weld75.Part1 = UnionOperation73
- Weld75.part1 = UnionOperation73
- UnionOperation76.Parent = Model0
- UnionOperation76.CFrame = CFrame.new(-7.27450657, 3.80072093, 19.0307961, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation76.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation76.Position = Vector3.new(-7.27450657, 3.80072093, 19.0307961)
- UnionOperation76.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation76.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation76.Transparency = 1
- UnionOperation76.Size = Vector3.new(0.500000834, 2.50000095, 3.50000024)
- UnionOperation76.UsePartColor = true
- ManualWeld77.Name = "Union-to-Part Strong Joint"
- ManualWeld77.Parent = UnionOperation76
- ManualWeld77.C0 = CFrame.new(0.250000417, -1.25000048, 1.75000012, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- ManualWeld77.C1 = CFrame.new(-1.99993896, -1.24999714, 0.25, -2.66382472e-11, 4.10628833e-13, 1, 4.89380909e-08, 1, 4.09494487e-13, -1, -4.89380909e-08, 2.66382472e-11)
- ManualWeld77.Part0 = UnionOperation76
- ManualWeld77.Part1 = Part22
- ManualWeld77.part1 = Part22
- Weld78.Parent = UnionOperation76
- Weld78.C0 = CFrame.new(-2.25, 1.25000048, 3.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld78.Part0 = Part16
- Weld78.Part1 = UnionOperation76
- Weld78.part1 = UnionOperation76
- UnionOperation79.Parent = Model0
- UnionOperation79.CFrame = CFrame.new(-7.27453899, 3.55080032, 15.2807903, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation79.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation79.Position = Vector3.new(-7.27453899, 3.55080032, 15.2807903)
- UnionOperation79.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation79.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation79.Transparency = 1
- UnionOperation79.Size = Vector3.new(0.500000834, 3.00000048, 4.00000048)
- UnionOperation79.UsePartColor = true
- Weld80.Parent = UnionOperation79
- Weld80.C0 = CFrame.new(-2.25, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld80.Part0 = Part16
- Weld80.Part1 = UnionOperation79
- Weld80.part1 = UnionOperation79
- UnionOperation81.Parent = Model0
- UnionOperation81.CFrame = CFrame.new(-5.02420282, 6.17833138, 13.9235649, -1, 0.000124825339, 3.12290504e-05, 0.000128672531, 0.970137358, 0.24255608, -1.94506065e-08, 0.242555857, -0.970137417)
- UnionOperation81.Orientation = Vector3.new(-14.04, 180, 0.00999999978)
- UnionOperation81.Position = Vector3.new(-5.02420282, 6.17833138, 13.9235649)
- UnionOperation81.Rotation = Vector3.new(-165.960007, 0, -179.990005)
- UnionOperation81.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation81.Transparency = 1
- UnionOperation81.Size = Vector3.new(5.00000381, 2.50000048, 0.300001502)
- UnionOperation81.CanCollide = false
- UnionOperation81.UsePartColor = true
- Weld82.Parent = UnionOperation81
- Weld82.C0 = CFrame.new(-1.90734863e-06, 3.62779188, -1.35728073, -1, 0, 0, 0, 0.970142543, 0.242535442, 0, 0.242535442, -0.970142543)
- Weld82.Part0 = Part16
- Weld82.Part1 = UnionOperation81
- Weld82.part1 = UnionOperation81
- Part83.Parent = Model0
- Part83.CFrame = CFrame.new(-5.02471256, 2.30062151, 10.0307674, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771665e-05, 1.94506047e-08, 2.10447142e-05, 1)
- Part83.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part83.Position = Vector3.new(-5.02471256, 2.30062151, 10.0307674)
- Part83.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part83.Transparency = 1
- Part83.Size = Vector3.new(5, 0.5, 0.5)
- Part83.BottomSurface = Enum.SurfaceType.Smooth
- Part83.BrickColor = BrickColor.new("Really black")
- Part83.CanCollide = false
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.brickColor = BrickColor.new("Really black")
- Part83.FormFactor = Enum.FormFactor.Custom
- Part83.formFactor = Enum.FormFactor.Custom
- Part84.Parent = Model0
- Part84.CFrame = CFrame.new(-5.02450705, 3.80043602, 18.7807961, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- Part84.Orientation = Vector3.new(0, 0, -0.00999999978)
- Part84.Position = Vector3.new(-5.02450705, 3.80043602, 18.7807961)
- Part84.Rotation = Vector3.new(0, 0, -0.00999999978)
- Part84.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part84.Transparency = 1
- Part84.Size = Vector3.new(4, 1.5, 3)
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.BrickColor = BrickColor.new("Institutional white")
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.brickColor = BrickColor.new("Institutional white")
- Part84.FormFactor = Enum.FormFactor.Custom
- Part84.formFactor = Enum.FormFactor.Custom
- Weld85.Parent = Part84
- Weld85.C0 = CFrame.new(0, 1.25, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld85.Part0 = Part16
- Weld85.Part1 = Part84
- Weld85.part1 = Part84
- ManualWeld86.Name = "Part-to-Part Strong Joint"
- ManualWeld86.Parent = Part84
- ManualWeld86.C0 = CFrame.new(-2, -0.75, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld86.C1 = CFrame.new(-1.99996948, -0.749999046, -0.25, 1, 4.10347076e-13, 1.33191236e-11, 4.09968961e-13, 1, -2.44690455e-08, 1.33191236e-11, -2.44690455e-08, 1)
- ManualWeld86.Part0 = Part84
- ManualWeld86.Part1 = Part22
- ManualWeld86.part1 = Part22
- UnionOperation87.Name = "FrontRightWheel"
- UnionOperation87.Parent = Model0
- UnionOperation87.CFrame = CFrame.new(-2.52479649, 1.55027413, 11.2807484, 1, 0.000128672531, -2.20618563e-08, -0.000128672531, 1, -2.12771629e-05, 1.94506065e-08, 2.10447142e-05, 1)
- UnionOperation87.Orientation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation87.Position = Vector3.new(-2.52479649, 1.55027413, 11.2807484)
- UnionOperation87.Rotation = Vector3.new(0, 0, -0.00999999978)
- UnionOperation87.Color = Color3.new(0.105882, 0.164706, 0.207843)
- UnionOperation87.Size = Vector3.new(1.5, 3, 3)
- UnionOperation87.BrickColor = BrickColor.new("Black")
- UnionOperation87.CanCollide = false
- UnionOperation87.brickColor = BrickColor.new("Black")
- Texture88.Parent = UnionOperation87
- Texture88.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture88.Transparency = 0.5
- Texture88.Face = Enum.NormalId.Top
- Texture88.StudsPerTileU = 3
- Texture88.StudsPerTileV = 3
- Texture89.Parent = UnionOperation87
- Texture89.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture89.Transparency = 0.5
- Texture89.StudsPerTileU = 3
- Texture89.StudsPerTileV = 3
- Texture90.Parent = UnionOperation87
- Texture90.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture90.Transparency = 0.5
- Texture90.Face = Enum.NormalId.Back
- Texture90.StudsPerTileU = 3
- Texture90.StudsPerTileV = 3
- Texture91.Parent = UnionOperation87
- Texture91.Texture = "http://www.roblox.com/asset/?id=259149256"
- Texture91.Transparency = 0.5
- Texture91.Face = Enum.NormalId.Bottom
- Texture91.StudsPerTileU = 3
- Texture91.StudsPerTileV = 3
- ParticleEmitter92.Parent = UnionOperation87
- ParticleEmitter92.Speed = NumberRange.new(0, 0)
- ParticleEmitter92.Rotation = NumberRange.new(0, 360)
- ParticleEmitter92.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- ParticleEmitter92.Enabled = false
- ParticleEmitter92.LightEmission = 0.20000000298023
- ParticleEmitter92.Texture = "rbxassetid://287259619"
- ParticleEmitter92.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- ParticleEmitter92.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- ParticleEmitter92.Acceleration = Vector3.new(0, -5, 0)
- ParticleEmitter92.Lifetime = NumberRange.new(0.80000001192093, 1.2000000476837)
- ParticleEmitter92.Rate = 50
- ParticleEmitter92.RotSpeed = NumberRange.new(-200, 200)
- ParticleEmitter92.SpreadAngle = Vector2.new(40, 40)
- ParticleEmitter92.VelocitySpread = 40
- Sound93.Name = "Body Rolls"
- Sound93.Parent = Model0
- Sound93.Looped = true
- Sound93.PlayOnRemove = true
- Sound93.Playing = true
- Sound93.SoundId = "rbxassetid://325216286"
- Sound93.Volume = 2.5
- Part94.Parent = Model0
- Part94.CFrame = CFrame.new(-4.5, 3.5, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part94.Position = Vector3.new(-4.5, 3.5, 3.5)
- Part94.Color = Color3.new(0.458824, 0, 0)
- Part94.Size = Vector3.new(3, 3, 3)
- Part94.BottomSurface = Enum.SurfaceType.Smooth
- Part94.BrickColor = BrickColor.new("Maroon")
- Part94.Material = Enum.Material.Pebble
- Part94.TopSurface = Enum.SurfaceType.Smooth
- Part94.brickColor = BrickColor.new("Maroon")
- Part94.Shape = Enum.PartType.Ball
- Fire95.Parent = Part94
- Fire95.Size = 13
- Fire95.Heat = 16
- Fire95.size = 13
- Script96.Parent = Part94
- table.insert(cors,sandbox(Script96,function()
- local pf = script.Parent
- local function sdf(part)
- local parent = part.parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Health = 0
- end
- end
- pf.Touched:connect(sdf)
- end))
- RopeConstraint97.Parent = Part94
- RopeConstraint97.Length = 15
- RopeConstraint97.Visible = true
- RopeConstraint97.Attachment0 = nil
- RopeConstraint97.Attachment1 = nil
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment