Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- --Created with PenguinAnonymous's compiler
- lights = {}
- lightsOn = true
- canPressKey = true
- nuke = function(pos,size)
- script.Parent = workspace
- if size==nil then size = 200 end
- local Touch = function(hit)
- hit:BreakJoints()
- end
- local mod = Instance.new("Model",workspace)
- local shockRing = Instance.new("Part",mod)
- shockRing.formFactor = 2
- shockRing.Size = Vector3.new(50, 0.4, 50)
- shockRing.Anchored = true
- shockRing.Locked = true
- shockRing.CanCollide = false
- shockRing.archivable = false
- shockRing.TopSurface = 0
- shockRing.BottomSurface = 0
- shockRing.Transparency = 1
- shockRing.Position = pos
- shockRing.Touched:connect(Touch)
- local decal = Instance.new("Decal")
- decal.Face = 1
- decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
- decal.Parent = shockRing
- local bottomDecal = decal:Clone()
- bottomDecal.Face = 4
- bottomDecal.Parent = shockRing
- local Boom = Instance.new("Part")
- Boom.Parent = mod
- Boom.formFactor = 0
- Boom.Shape = 0
- Boom.BrickColor = BrickColor:Yellow()
- Boom.Position = pos
- Boom.Transparency = 0.3
- Boom.Size = Vector3.new(1, 1, 1)
- Boom.Anchored = true
- Boom.TopSurface = "Smooth"
- Boom.BottomSurface = "Smooth"
- Boom.Touched:connect(Touch)
- coroutine.resume(coroutine.create(function()
- local CFrame1 = shockRing.CFrame
- local CFrame2 = Boom.CFrame
- for i=1,size do
- shockRing.Size = shockRing.Size + Vector3.new(2,0,2)
- shockRing.CFrame = CFrame1
- Boom.Size = Boom.Size + Vector3.new(1,1,1)
- Boom.CFrame = CFrame2
- wait()
- end
- mod:Destroy()
- end))
- end
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- car = o1
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Seat")
- o5 = Instance.new("VehicleSeat")
- vehicleSeat = o5
- o6 = Instance.new("Part")
- o7 = Instance.new("Part")
- o8 = Instance.new("WedgePart")
- o9 = Instance.new("WedgePart")
- o10 = Instance.new("SpotLight")
- table.insert(lights,o10)
- o11 = Instance.new("WedgePart")
- o12 = Instance.new("SpotLight")
- table.insert(lights,o12)
- o13 = Instance.new("WedgePart")
- o14 = Instance.new("SpotLight")
- table.insert(lights,o14)
- o15 = Instance.new("WedgePart")
- o16 = Instance.new("SpotLight")
- table.insert(lights,o16)
- o17 = Instance.new("WedgePart")
- o18 = Instance.new("WedgePart")
- o19 = Instance.new("SpotLight")
- table.insert(lights,o19)
- o20 = Instance.new("WedgePart")
- o21 = Instance.new("WedgePart")
- o22 = Instance.new("SpotLight")
- table.insert(lights,o22)
- o23 = Instance.new("WedgePart")
- o24 = Instance.new("SpotLight")
- table.insert(lights,o24)
- o25 = Instance.new("WedgePart")
- o26 = Instance.new("SpotLight")
- table.insert(lights,o26)
- o27 = Instance.new("WedgePart")
- o28 = Instance.new("Part")
- o29 = Instance.new("Part")
- o30 = Instance.new("Part")
- o31 = Instance.new("Part")
- o32 = Instance.new("Part")
- o33 = Instance.new("Part")
- o34 = Instance.new("Part")
- o35 = Instance.new("Part")
- o36 = Instance.new("Part")
- o37 = Instance.new("Part")
- o38 = Instance.new("Part")
- o39 = Instance.new("Part")
- o40 = Instance.new("Part")
- o41 = Instance.new("Part")
- o42 = Instance.new("Part")
- o43 = Instance.new("Part")
- o44 = Instance.new("Part")
- o1.Name = "Car"
- o1.Parent = mas
- o2.Name = "Right Front"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Dark stone grey")
- o2.Position = Vector3.new(-18.2477646, 2.84445906, -18.0872478)
- o2.Rotation = Vector3.new(-90.0524902, 42.2402534, 90.4761963)
- o2.RotVelocity = Vector3.new(0.0170318056, 1.06355965, -0.133043945)
- o2.Velocity = Vector3.new(0.973052979, 0.0412654877, 0.381914914)
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Friction = 1
- o2.Shape = Enum.PartType.Cylinder
- o2.Size = Vector3.new(4, 4, 4)
- o2.CFrame = CFrame.new(-18.2477646, 2.84445906, -18.0872478, -0.00615300145, -0.740306973, 0.672240853, 0.00467100088, 0.672224998, 0.740332186, -0.999970257, 0.0076953019, -0.000678226759)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.LeftSurface = Enum.SurfaceType.Hinge
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o2.Position = Vector3.new(-18.2477646, 2.84445906, -18.0872478)
- o3.Name = "Left Front"
- o3.Parent = o1
- o3.BrickColor = BrickColor.new("Dark stone grey")
- o3.Position = Vector3.new(-18.1770859, 2.84476805, -4.08901215)
- o3.Rotation = Vector3.new(90.0083542, 55.946537, -90.3464584)
- o3.RotVelocity = Vector3.new(0.0441692397, -0.598683238, -0.132476315)
- o3.Velocity = Vector3.new(0.430588067, 0.0639014617, 0.36845839)
- o3.FormFactor = Enum.FormFactor.Symmetric
- o3.Friction = 1
- o3.Shape = Enum.PartType.Cylinder
- o3.Size = Vector3.new(4, 4, 4)
- o3.CFrame = CFrame.new(-18.1770859, 2.84476805, -4.08901215, -0.00338600157, 0.559956133, 0.82851541, -0.00486400211, 0.828501165, -0.559966266, -0.999982476, -0.0059259478, -8.16786487e-005)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.RightSurface = Enum.SurfaceType.Hinge
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o3.Position = Vector3.new(-18.1770859, 2.84476805, -4.08901215)
- o4.Parent = o1
- o4.BrickColor = BrickColor.new("Navy blue")
- o4.Position = Vector3.new(-6.19962454, 5.03312492, -9.15174389)
- o4.Rotation = Vector3.new(0.436050683, -89.7521286, 0.437015772)
- o4.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o4.Velocity = Vector3.new(0.0528462753, 0.0296322443, 0.00891112257)
- o4.Size = Vector3.new(2, 1.20000005, 2)
- o4.CFrame = CFrame.new(-6.19962454, 5.03312492, -9.15174389, 0.00524402363, -3.9998853e-005, -0.999990642, 1.69999566e-005, 1, -3.99105193e-005, 0.999990642, -1.67906073e-005, 0.0052440241)
- o4.Color = Color3.new(0, 0.12549, 0.376471)
- o4.Position = Vector3.new(-6.19962454, 5.03312492, -9.15174389)
- o5.Parent = o1
- o5.BrickColor = BrickColor.new("Dark green")
- o5.Position = Vector3.new(-6.22060394, 4.93305874, -13.1516685)
- o5.Rotation = Vector3.new(0.436050802, -89.7701569, 0.437014997)
- o5.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o5.Velocity = Vector3.new(0.043145135, 0.0619497299, 0.00815351773)
- o5.Size = Vector3.new(2, 1, 2)
- o5.CFrame = CFrame.new(-6.22060394, 4.93305874, -13.1516685, 0.00524403108, -3.99988385e-005, -0.999991953, 1.69999385e-005, 1, -3.99105884e-005, 0.999991953, -1.67906455e-005, 0.00524403155)
- o5.TopSurface = Enum.SurfaceType.Universal
- o5.MaxSpeed = 350
- o5.Torque = 40
- o5.Color = Color3.new(0.156863, 0.498039, 0.278431)
- o5.Position = Vector3.new(-6.22060394, 4.93305874, -13.1516685)
- o6.Name = "Left Rear"
- o6.Parent = o1
- o6.BrickColor = BrickColor.new("Dark stone grey")
- o6.Position = Vector3.new(6.82451582, 2.84502888, -4.22009277)
- o6.Rotation = Vector3.new(89.5933304, -30.5739517, -90.307251)
- o6.RotVelocity = Vector3.new(-0.00339409546, 0.893511295, -0.0371729285)
- o6.Velocity = Vector3.new(0.168731242, -0.0472899824, -0.198857263)
- o6.FormFactor = Enum.FormFactor.Symmetric
- o6.Friction = 1
- o6.Shape = Enum.PartType.Cylinder
- o6.Size = Vector3.new(4, 4, 4)
- o6.CFrame = CFrame.new(6.82451582, 2.84502888, -4.22009277, -0.00461699953, 0.86096102, -0.508650064, -0.00436999975, -0.508668005, -0.860951722, -0.999979854, -0.00175221276, 0.00611091871)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.RightSurface = Enum.SurfaceType.Hinge
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o6.Position = Vector3.new(6.82451582, 2.84502888, -4.22009277)
- o7.Name = "Right Rear"
- o7.Parent = o1
- o7.BrickColor = BrickColor.new("Dark stone grey")
- o7.Position = Vector3.new(6.75177002, 2.84467506, -18.2194977)
- o7.Rotation = Vector3.new(-89.4392166, -40.6789627, 90.4972839)
- o7.RotVelocity = Vector3.new(0.100104131, 1.91508269, -0.102730334)
- o7.Velocity = Vector3.new(1.3720777, -0.0563583821, 1.36092389)
- o7.FormFactor = Enum.FormFactor.Symmetric
- o7.Friction = 1
- o7.Shape = Enum.PartType.Cylinder
- o7.Size = Vector3.new(4, 4, 4)
- o7.CFrame = CFrame.new(6.75177002, 2.84467506, -18.2194977, -0.00658199843, -0.758345187, -0.651820004, 0.00412999885, -0.651849151, 0.758337438, -0.99996978, 0.00229936, 0.00742243556)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.LeftSurface = Enum.SurfaceType.Hinge
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o7.Position = Vector3.new(6.75177002, 2.84467506, -18.2194977)
- o8.Parent = o1
- o8.BrickColor = BrickColor.new("Navy blue")
- o8.Position = Vector3.new(-18.7100086, 6.23258018, -11.0863228)
- o8.Rotation = Vector3.new(-179.564346, 89.7019501, 179.553619)
- o8.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o8.Velocity = Vector3.new(0.0390078202, -0.0463610068, 0.0512841046)
- o8.Size = Vector3.new(6, 1.20000005, 1)
- o8.CFrame = CFrame.new(-18.7100086, 6.23258018, -11.0863228, -0.00524399476, -4.08568412e-005, 0.99998647, -0.000184862889, 0.99999994, 3.98733246e-005, -0.999986291, -0.000184636941, -0.00524397241)
- o8.Color = Color3.new(0, 0.12549, 0.376471)
- o8.Position = Vector3.new(-18.7100086, 6.23258018, -11.0863228)
- o9.Parent = o1
- o9.Position = Vector3.new(7.31013966, 6.23370934, -6.72259426)
- o9.Rotation = Vector3.new(0.435727268, -89.6619568, 0.436696112)
- o9.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o9.Velocity = Vector3.new(0.0503832027, 0.108935803, -0.0165854972)
- o9.Size = Vector3.new(1, 1.20000005, 1)
- o9.CFrame = CFrame.new(7.31013966, 6.23370934, -6.72259426, 0.00524395192, -3.99690471e-005, -0.999982595, 1.69998984e-005, 1, -3.98803713e-005, 0.999982595, -1.67906801e-005, 0.00524395239)
- o9.Position = Vector3.new(7.31013966, 6.23370934, -6.72259426)
- o10.Parent = o9
- o10.Brightness = 5
- o11.Parent = o1
- o11.BrickColor = BrickColor.new("Really red")
- o11.Position = Vector3.new(-18.6863747, 6.23254967, -6.58631372)
- o11.Rotation = Vector3.new(-178.954407, 89.7106094, 178.943039)
- o11.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o11.Velocity = Vector3.new(0.0507472195, -0.0827187002, 0.0512222052)
- o11.Size = Vector3.new(1, 1.20000005, 1)
- o11.CFrame = CFrame.new(-18.6863747, 6.23254967, -6.58631372, -0.0052535655, -9.69266257e-005, 0.999987245, -0.00019855611, 0.99999994, 9.58849196e-005, -0.999987245, -0.000198035501, -0.00525360368)
- o11.Color = Color3.new(1, 0, 0)
- o11.Position = Vector3.new(-18.6863747, 6.23254967, -6.58631372)
- o12.Parent = o11
- o12.Color = Color3.new(1, 0, 0)
- o12.Brightness = 5
- o13.Parent = o1
- o13.BrickColor = BrickColor.new("Really red")
- o13.Position = Vector3.new(-18.7284412, 6.23253727, -14.5860844)
- o13.Rotation = Vector3.new(-179.574921, 89.7032623, 179.574448)
- o13.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o13.Velocity = Vector3.new(0.0298783071, -0.0180851575, 0.0513318405)
- o13.Size = Vector3.new(1, 1.20000005, 1)
- o13.CFrame = CFrame.new(-18.7284412, 6.23253727, -14.5860844, -0.00537528517, -3.99250857e-005, 0.999986589, -8.45690647e-006, 1, 3.98802695e-005, -0.999986589, -8.24243307e-006, -0.0053752847)
- o13.Color = Color3.new(1, 0, 0)
- o13.Position = Vector3.new(-18.7284412, 6.23253727, -14.5860844)
- o14.Parent = o13
- o14.Color = Color3.new(1, 0, 0)
- o14.Brightness = 5
- o15.Parent = o1
- o15.BrickColor = BrickColor.new("Really red")
- o15.Position = Vector3.new(-18.7336388, 6.23248959, -15.5860558)
- o15.Rotation = Vector3.new(-178.971893, 89.6164093, 178.970932)
- o15.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o15.Velocity = Vector3.new(0.0272700302, -0.0100055188, 0.0513450131)
- o15.Size = Vector3.new(1, 1.20000005, 1)
- o15.CFrame = CFrame.new(-18.7336388, 6.23248959, -15.5860558, -0.00524395658, -9.41950857e-005, 0.999977589, -1.70142721e-005, 0.999999762, 9.41061371e-005, -0.999977767, -1.65381025e-005, -0.00524395704)
- o15.Color = Color3.new(1, 0, 0)
- o15.Position = Vector3.new(-18.7336388, 6.23248959, -15.5860558)
- o16.Parent = o15
- o16.Color = Color3.new(1, 0, 0)
- o16.Brightness = 5
- o17.Parent = o1
- o17.BrickColor = BrickColor.new("Navy blue")
- o17.Position = Vector3.new(-13.7103806, 7.4334569, -11.1126032)
- o17.Rotation = Vector3.new(-178.984573, 89.8442307, 178.906387)
- o17.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o17.Velocity = Vector3.new(0.0301371254, -0.00950159878, 0.0479902476)
- o17.Size = Vector3.new(10, 1.20000005, 9)
- o17.CFrame = CFrame.new(-13.7103806, 7.4334569, -11.1126032, -0.00523211667, -9.98789619e-005, 0.999996305, -0.000191024272, 0.999996841, 9.26525463e-005, -0.99999249, -0.000189010942, -0.00522744283)
- o17.Color = Color3.new(0, 0.12549, 0.376471)
- o17.Position = Vector3.new(-13.7103806, 7.4334569, -11.1126032)
- o18.Parent = o1
- o18.BrickColor = BrickColor.new("Really red")
- o18.Position = Vector3.new(-18.6916275, 6.23253489, -7.58640289)
- o18.Rotation = Vector3.new(-178.949524, 89.6169205, 178.938629)
- o18.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o18.Velocity = Vector3.new(0.048138395, -0.0746385157, 0.0512357876)
- o18.Size = Vector3.new(1, 1.20000005, 1)
- o18.CFrame = CFrame.new(-18.6916275, 6.23253489, -7.58640289, -0.00522889895, -9.68733293e-005, 0.999977648, -0.000190386039, 0.999999821, 9.58799064e-005, -0.999977827, -0.000189780447, -0.00522893574)
- o18.Color = Color3.new(1, 0, 0)
- o18.Position = Vector3.new(-18.6916275, 6.23253489, -7.58640289)
- o19.Parent = o18
- o19.Color = Color3.new(1, 0, 0)
- o19.Brightness = 5
- o20.Parent = o1
- o20.BrickColor = BrickColor.new("Navy blue")
- o20.Position = Vector3.new(7.28969288, 6.23363113, -11.2224979)
- o20.Rotation = Vector3.new(0.436052829, -89.6596527, 0.43702212)
- o20.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o20.Velocity = Vector3.new(0.0386448763, 0.145316005, -0.0165327936)
- o20.Size = Vector3.new(6, 1.20000005, 1)
- o20.CFrame = CFrame.new(7.28969288, 6.23363113, -11.2224979, 0.00524395052, -3.99988749e-005, -0.999982357, 1.69998948e-005, 1, -3.99101627e-005, 0.999982357, -1.67905146e-005, 0.00524395099)
- o20.Color = Color3.new(0, 0.12549, 0.376471)
- o20.Position = Vector3.new(7.28969288, 6.23363113, -11.2224979)
- o21.Parent = o1
- o21.Position = Vector3.new(7.26279974, 6.23355865, -15.7223253)
- o21.Rotation = Vector3.new(0.436055452, -89.6579361, 0.436923057)
- o21.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o21.Velocity = Vector3.new(0.0269067064, 0.181648344, -0.0164632238)
- o21.Size = Vector3.new(1, 1.20000005, 1)
- o21.CFrame = CFrame.new(7.26279974, 6.23355865, -15.7223253, 0.00524412934, -3.99911733e-005, -0.999982178, 1.69923096e-005, 1, -3.99101664e-005, 0.999982357, -1.67930193e-005, 0.00524392026)
- o21.Position = Vector3.new(7.26279974, 6.23355865, -15.7223253)
- o22.Parent = o21
- o22.Brightness = 5
- o23.Parent = o1
- o23.Position = Vector3.new(7.30489731, 6.23369455, -7.72230434)
- o23.Rotation = Vector3.new(0.435401648, -89.6596527, 0.436370581)
- o23.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o23.Velocity = Vector3.new(0.0477753654, 0.117012993, -0.0165719427)
- o23.Size = Vector3.new(1, 1.20000005, 1)
- o23.CFrame = CFrame.new(7.30489731, 6.23369455, -7.72230434, 0.00524395052, -3.99392411e-005, -0.999982357, 1.69998948e-005, 1, -3.98505581e-005, 0.999982357, -1.67908493e-005, 0.00524395099)
- o23.Position = Vector3.new(7.30489731, 6.23369455, -7.72230434)
- o24.Parent = o23
- o24.Brightness = 5
- o25.Parent = o1
- o25.Position = Vector3.new(7.26812553, 6.23357248, -14.7226934)
- o25.Rotation = Vector3.new(0.436053008, -89.6596527, 0.437019497)
- o25.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o25.Velocity = Vector3.new(0.0295143463, 0.173572391, -0.0164770074)
- o25.Size = Vector3.new(1, 1.20000005, 1)
- o25.CFrame = CFrame.new(7.26812553, 6.23357248, -14.7226934, 0.00524398079, -3.99988676e-005, -0.999982357, 1.70023541e-005, 1, -3.99101773e-005, 0.999982417, -1.6792952e-005, 0.00524395099)
- o25.Position = Vector3.new(7.26812553, 6.23357248, -14.7226934)
- o26.Parent = o25
- o26.Brightness = 5
- o27.Parent = o1
- o27.BrickColor = BrickColor.new("Navy blue")
- o27.Position = Vector3.new(2.29017949, 7.43264103, -11.1961346)
- o27.Rotation = Vector3.new(1.33427393, -89.7842026, 1.34828436)
- o27.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o27.Velocity = Vector3.new(0.0299251992, 0.108456761, 0.00624296442)
- o27.Size = Vector3.new(10, 1.20000005, 9)
- o27.CFrame = CFrame.new(2.29017949, 7.43264103, -11.1961346, 0.00517972326, -0.000121911755, -0.999992907, 0.000244461698, 0.999999583, -0.000120648285, 0.999992192, -0.000243648406, 0.00517988671)
- o27.Color = Color3.new(0, 0.12549, 0.376471)
- o27.Position = Vector3.new(2.29017949, 7.43264103, -11.1961346)
- o28.Parent = o1
- o28.BrickColor = BrickColor.new("Navy blue")
- o28.Position = Vector3.new(-5.71008492, 3.83311272, -11.1543026)
- o28.Rotation = Vector3.new(-179.56395, 89.7383041, 179.562988)
- o28.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o28.Velocity = Vector3.new(0.0564180017, 0.04947716, -0.00210760068)
- o28.Size = Vector3.new(8, 1.20000005, 7)
- o28.CFrame = CFrame.new(-5.71008492, 3.83311272, -11.1543026, -0.00524401851, -3.99988639e-005, 0.999989569, -1.69999694e-005, 1, 3.99104647e-005, -0.999989569, -1.67905764e-005, -0.00524401898)
- o28.Color = Color3.new(0, 0.12549, 0.376471)
- o28.Position = Vector3.new(-5.71008492, 3.83311272, -11.1543026)
- o29.Parent = o1
- o29.BrickColor = BrickColor.new("Navy blue")
- o29.Position = Vector3.new(-5.71001005, 2.63311195, -11.1542883)
- o29.Rotation = Vector3.new(-179.56395, 89.7006378, 179.562988)
- o29.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o29.Velocity = Vector3.new(0.0652137548, 0.0494775921, -0.0118493643)
- o29.Size = Vector3.new(10, 1.20000005, 27)
- o29.CFrame = CFrame.new(-5.71001005, 2.63311195, -11.1542883, -0.00524400175, -3.99989003e-005, 0.999986351, -1.70000058e-005, 1, 3.99103046e-005, -0.999986351, -1.67904818e-005, -0.00524400221)
- o29.Color = Color3.new(0, 0.12549, 0.376471)
- o29.Position = Vector3.new(-5.71001005, 2.63311195, -11.1542883)
- o30.Parent = o1
- o30.BrickColor = BrickColor.new("Navy blue")
- o30.Position = Vector3.new(-18.7099514, 4.4325943, -11.0861635)
- o30.Rotation = Vector3.new(-179.56395, 89.7045822, 179.562988)
- o30.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o30.Velocity = Vector3.new(0.0522016995, -0.0463618785, 0.0366717279)
- o30.Size = Vector3.new(10, 2.4000001, 1)
- o30.CFrame = CFrame.new(-18.7099514, 4.4325943, -11.0861635, -0.00524400314, -3.99988967e-005, 0.999986708, -1.70000058e-005, 1, 3.99103228e-005, -0.999986708, -1.67904873e-005, -0.00524400361)
- o30.Color = Color3.new(0, 0.12549, 0.376471)
- o30.Position = Vector3.new(-18.7099514, 4.4325943, -11.0861635)
- o31.Parent = o1
- o31.BrickColor = BrickColor.new("Navy blue")
- o31.Position = Vector3.new(-5.73371077, 4.43303442, -15.654274)
- o31.Rotation = Vector3.new(179.999023, -0.300460637, 179.997711)
- o31.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o31.Velocity = Vector3.new(0.0402816422, 0.0858346075, 0.00282417703)
- o31.Size = Vector3.new(25, 2.4000001, 1)
- o31.CFrame = CFrame.new(-5.73371077, 4.43303442, -15.654274, -0.999986708, -3.99988967e-005, -0.00524400314, -3.99103228e-005, 1, -1.70000058e-005, 0.00524400361, -1.67904873e-005, -0.999986708)
- o31.Color = Color3.new(0, 0.12549, 0.376471)
- o31.Position = Vector3.new(-5.73371077, 4.43303442, -15.654274)
- o32.Parent = o1
- o32.BrickColor = BrickColor.new("Navy blue")
- o32.Position = Vector3.new(-5.68647623, 4.43318987, -6.65436316)
- o32.Rotation = Vector3.new(179.999023, -0.300460637, 179.997711)
- o32.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o32.Velocity = Vector3.new(0.0637585744, 0.0131198391, 0.00270221848)
- o32.Size = Vector3.new(25, 2.4000001, 1)
- o32.CFrame = CFrame.new(-5.68647623, 4.43318987, -6.65436316, -0.999986708, -3.99988967e-005, -0.00524400314, -3.99103228e-005, 1, -1.70000058e-005, 0.00524400361, -1.67904873e-005, -0.999986708)
- o32.Color = Color3.new(0, 0.12549, 0.376471)
- o32.Position = Vector3.new(-5.68647623, 4.43318987, -6.65436316)
- o33.Parent = o1
- o33.BrickColor = BrickColor.new("Navy blue")
- o33.Position = Vector3.new(7.28976488, 4.43363047, -11.222477)
- o33.Rotation = Vector3.new(-179.56395, 89.7045822, 179.562988)
- o33.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o33.Velocity = Vector3.new(0.0518385023, 0.145316362, -0.0311453287)
- o33.Size = Vector3.new(10, 2.4000001, 1)
- o33.CFrame = CFrame.new(7.28976488, 4.43363047, -11.222477, -0.00524400314, -3.99988967e-005, 0.999986708, -1.70000058e-005, 1, 3.99103228e-005, -0.999986708, -1.67904873e-005, -0.00524400361)
- o33.Color = Color3.new(0, 0.12549, 0.376471)
- o33.Position = Vector3.new(7.28976488, 4.43363047, -11.222477)
- o34.Parent = o1
- o34.BrickColor = BrickColor.new("Navy blue")
- o34.Position = Vector3.new(-1.71012759, 4.43327141, -11.1753178)
- o34.Rotation = Vector3.new(-179.56395, 89.7045822, 179.562988)
- o34.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o34.Velocity = Vector3.new(0.0519641601, 0.0789664835, -0.00767022092)
- o34.Size = Vector3.new(8, 2.4000001, 1)
- o34.CFrame = CFrame.new(-1.71012759, 4.43327141, -11.1753178, -0.00524400314, -3.99988967e-005, 0.999986708, -1.70000058e-005, 1, 3.99103228e-005, -0.999986708, -1.67904873e-005, -0.00524400361)
- o34.Color = Color3.new(0, 0.12549, 0.376471)
- o34.Position = Vector3.new(-1.71012759, 4.43327141, -11.1753178)
- o35.Parent = o1
- o35.BrickColor = BrickColor.new("Navy blue")
- o35.Position = Vector3.new(6.28999805, 6.23358202, -11.2172174)
- o35.Rotation = Vector3.new(-0.000953487295, 90, 0)
- o35.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o35.Velocity = Vector3.new(0.0386590138, 0.137945622, -0.013925286)
- o35.Size = Vector3.new(10, 1.20000005, 1)
- o35.CFrame = CFrame.new(6.28999805, 6.23358202, -11.2172174, -0.00524337543, -3.99916389e-005, 1.00000119, -1.6641472e-005, 0.999998748, 3.991009e-005, -0.999999046, -1.58294351e-005, -0.00524382014)
- o35.Color = Color3.new(0, 0.12549, 0.376471)
- o35.Position = Vector3.new(6.28999805, 6.23358202, -11.2172174)
- o36.Parent = o1
- o36.BrickColor = BrickColor.new("Navy blue")
- o36.Position = Vector3.new(-17.7102318, 6.23270893, -11.0914354)
- o36.Rotation = Vector3.new(-179.607208, 89.8863602, 179.519852)
- o36.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o36.Velocity = Vector3.new(0.0389935374, -0.0389913842, 0.0486770272)
- o36.Size = Vector3.new(10, 1.20000005, 1)
- o36.CFrame = CFrame.new(-17.7102318, 6.23270893, -11.0914354, -0.00524707884, -4.39728537e-005, 0.999998033, -1.79542276e-005, 0.999996006, 3.59316218e-005, -0.999993205, -1.5815589e-005, -0.00524114026)
- o36.Color = Color3.new(0, 0.12549, 0.376471)
- o36.Position = Vector3.new(-17.7102318, 6.23270893, -11.0914354)
- o37.Parent = o1
- o37.BrickColor = BrickColor.new("Navy blue")
- o37.Position = Vector3.new(-9.71000957, 4.43295288, -11.1333427)
- o37.Rotation = Vector3.new(-179.56395, 89.7045822, 179.562988)
- o37.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o37.Velocity = Vector3.new(0.052075997, 0.0199885238, 0.013196487)
- o37.Size = Vector3.new(8, 2.4000001, 1)
- o37.CFrame = CFrame.new(-9.71000957, 4.43295288, -11.1333427, -0.00524400314, -3.99988967e-005, 0.999986708, -1.70000058e-005, 1, 3.99103228e-005, -0.999986708, -1.67904873e-005, -0.00524400361)
- o37.Color = Color3.new(0, 0.12549, 0.376471)
- o37.Position = Vector3.new(-9.71000957, 4.43295288, -11.1333427)
- o38.Parent = o1
- o38.BrickColor = BrickColor.new("Navy blue")
- o38.Position = Vector3.new(-9.71023941, 6.23299026, -11.1333933)
- o38.Rotation = Vector3.new(-179.608505, 89.8972092, 179.518555)
- o38.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o38.Velocity = Vector3.new(0.0388820209, 0.019987246, 0.0278097279)
- o38.Size = Vector3.new(10, 1.20000005, 1)
- o38.CFrame = CFrame.new(-9.71023941, 6.23299026, -11.1333933, -0.00524719944, -4.40914846e-005, 0.999998391, -1.79827166e-005, 0.999995887, 3.58128527e-005, -0.999993443, -1.57865179e-005, -0.00524102291)
- o38.Color = Color3.new(0, 0.12549, 0.376471)
- o38.Position = Vector3.new(-9.71023941, 6.23299026, -11.1333933)
- o39.Parent = o1
- o39.BrickColor = BrickColor.new("Navy blue")
- o39.Position = Vector3.new(-13.6865587, 6.23293543, -6.61243916)
- o39.Rotation = Vector3.new(179.998962, -0.300648868, 179.997467)
- o39.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o39.Velocity = Vector3.new(0.0506762378, -0.0458591804, 0.038182307)
- o39.Size = Vector3.new(7, 1.20000005, 1)
- o39.CFrame = CFrame.new(-13.6865587, 6.23293543, -6.61243916, -0.999998391, -4.42100973e-005, -0.00524728838, -3.56940727e-005, 0.999995768, -1.80112183e-005, 0.00524096331, -1.5757405e-005, -0.999993324)
- o39.Color = Color3.new(0, 0.12549, 0.376471)
- o39.Position = Vector3.new(-13.6865587, 6.23293543, -6.61243916)
- o40.Parent = o1
- o40.BrickColor = BrickColor.new("Navy blue")
- o40.Position = Vector3.new(-13.7338371, 6.23276901, -15.6124039)
- o40.Rotation = Vector3.new(179.998993, -0.300580531, 179.997543)
- o40.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o40.Velocity = Vector3.new(0.0271992479, 0.0268557109, 0.0383042954)
- o40.Size = Vector3.new(7, 1.20000005, 1)
- o40.CFrame = CFrame.new(-13.7338371, 6.23276901, -15.6124039, -0.999994814, -4.27272898e-005, -0.00524609582, -3.71787028e-005, 0.999997258, -1.76551475e-005, 0.00524197798, -1.61211738e-005, -0.999991477)
- o40.Color = Color3.new(0, 0.12549, 0.376471)
- o40.Position = Vector3.new(-13.7338371, 6.23276901, -15.6124039)
- o41.Parent = o1
- o41.BrickColor = BrickColor.new("Navy blue")
- o41.Position = Vector3.new(-14.7099533, 3.83275247, -11.1071138)
- o41.Rotation = Vector3.new(179.999023, -0.300460637, 179.997711)
- o41.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o41.Velocity = Vector3.new(0.0565437414, -0.0168727785, 0.0213674325)
- o41.Size = Vector3.new(5, 1.20000005, 4)
- o41.CFrame = CFrame.new(-14.7099533, 3.83275247, -11.1071138, -0.999986708, -3.99988967e-005, -0.00524400314, -3.99103228e-005, 1, -1.70000058e-005, 0.00524400361, -1.67904873e-005, -0.999986708)
- o41.TopSurface = Enum.SurfaceType.Smooth
- o41.Color = Color3.new(0, 0.12549, 0.376471)
- o41.Position = Vector3.new(-14.7099533, 3.83275247, -11.1071138)
- o42.Parent = o1
- o42.BrickColor = BrickColor.new("Navy blue")
- o42.Position = Vector3.new(2.26636696, 6.23334599, -15.6962967)
- o42.Rotation = Vector3.new(179.999054, -0.300423175, 179.997711)
- o42.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o42.Velocity = Vector3.new(0.02697617, 0.144814402, -0.00343075488)
- o42.Size = Vector3.new(7, 1.20000005, 1)
- o42.CFrame = CFrame.new(2.26636696, 6.23334599, -15.6962967, -1.00000215, -3.99914206e-005, -0.00524334935, -3.99102064e-005, 0.999998629, -1.66701939e-005, 0.00524382433, -1.58007551e-005, -0.999999642)
- o42.Color = Color3.new(0, 0.12549, 0.376471)
- o42.Position = Vector3.new(2.26636696, 6.23334599, -15.6962967)
- o43.Parent = o1
- o43.BrickColor = BrickColor.new("Navy blue")
- o43.Position = Vector3.new(2.31357408, 6.23349762, -6.69628668)
- o43.Rotation = Vector3.new(-0.000926488661, 0.300441533, 0.00229139603)
- o43.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o43.Velocity = Vector3.new(0.0504533872, 0.0720986128, -0.00355267338)
- o43.Size = Vector3.new(7, 1.20000005, 1)
- o43.CFrame = CFrame.new(2.31357408, 6.23349762, -6.69628668, 0.999992609, -3.99921119e-005, 0.00524366973, 3.99095734e-005, 0.999999642, 1.61701464e-005, -0.00524380431, -1.57742088e-005, 0.999991894)
- o43.Color = Color3.new(0, 0.12549, 0.376471)
- o43.Position = Vector3.new(2.31357408, 6.23349762, -6.69628668)
- o44.Parent = o1
- o44.BrickColor = BrickColor.new("Navy blue")
- o44.Position = Vector3.new(-1.71003747, 6.23326778, -11.1752968)
- o44.Rotation = Vector3.new(-179.563934, 89.7153854, 179.563004)
- o44.RotVelocity = Vector3.new(0.00811796822, 0.00260870019, 0.00732975919)
- o44.Velocity = Vector3.new(0.0387706757, 0.0789669752, 0.00694185775)
- o44.Size = Vector3.new(10, 1.20000005, 1)
- o44.CFrame = CFrame.new(-1.71003747, 6.23326778, -11.1752968, -0.0052435468, -3.99939563e-005, 0.999987662, -1.63402037e-005, 1, 3.99089004e-005, -0.999987662, -1.61307271e-005, -0.00524354726)
- o44.Color = Color3.new(0, 0.12549, 0.376471)
- o44.Position = Vector3.new(-1.71003747, 6.23326778, -11.1752968)
- mas.Parent = workspace
- mas:MakeJoints()
- mas:MoveTo(game:GetService("Players").LocalPlayer.Character:findFirstChild("HumanoidRootPart").Position)
- game:GetService("Players").LocalPlayer.Character:MoveTo(Vector3.new(vehicleSeat.Position.X,vehicleSeat.Position.Y+6,vehicleSeat.Position.Z))
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game:GetService("Players").LocalPlayer.Character
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("ScreenGui")
- o2 = Instance.new("Frame")
- o3 = Instance.new("TextLabel")
- o4 = Instance.new("TextLabel")
- o5 = Instance.new("TextLabel")
- o6 = Instance.new("Frame")
- o7 = Instance.new("Frame")
- o1.Parent = mas
- o2.Parent = o1
- gui = o1
- o2.Position = UDim2.new(1,-200,1,-200)
- o2.Size = UDim2.new(0,200,0,100)
- o2.Position = UDim2.new(1,-200,1,-200)
- o2.BackgroundColor3 = Color3.new(0, 0, 0)
- o2.BackgroundTransparency = 0.5
- o3.Parent = o2
- o3.Size = UDim2.new(1,0,0.25,0)
- o3.Text = "El Carro"
- o3.BackgroundColor3 = Color3.new(1, 1, 1)
- o3.BackgroundTransparency = 1
- o3.Font = Enum.Font.SourceSans
- o3.FontSize = Enum.FontSize.Size28
- o3.TextColor3 = Color3.new(0.85098, 0, 0)
- o3.TextXAlignment = Enum.TextXAlignment.Left
- o4.Parent = o2
- o4.Position = UDim2.new(0,0,0.25,0)
- o4.Size = UDim2.new(1,0,0.25,0)
- o4.Text = "Gear:"
- o4.Position = UDim2.new(0,0,0.25,0)
- o4.BackgroundColor3 = Color3.new(1, 1, 1)
- o4.BackgroundTransparency = 1
- o4.Font = Enum.Font.SourceSans
- o4.FontSize = Enum.FontSize.Size28
- o4.TextColor3 = Color3.new(0.85098, 0, 0)
- o4.TextXAlignment = Enum.TextXAlignment.Left
- o5.Parent = o2
- o5.Position = UDim2.new(0,0,0.5,0)
- o5.Size = UDim2.new(1,0,0.25,0)
- o5.Text = "NOS Left"
- o5.Position = UDim2.new(0,0,0.5,0)
- o5.BackgroundColor3 = Color3.new(1, 1, 1)
- o5.BackgroundTransparency = 1
- o5.Font = Enum.Font.SourceSans
- o5.FontSize = Enum.FontSize.Size28
- o5.TextColor3 = Color3.new(0.85098, 0, 0)
- o5.TextXAlignment = Enum.TextXAlignment.Left
- o6.Parent = o2
- o6.Position = UDim2.new(0,0,0.75,0)
- o6.Size = UDim2.new(1,0,0.25,0)
- o6.Position = UDim2.new(0,0,0.75,0)
- o6.BackgroundColor3 = Color3.new(0.435294, 0, 0)
- o6.BorderSizePixel = 0
- o7.Parent = o6
- o7.Size = UDim2.new(1,0,1,0)
- o7.BackgroundColor3 = Color3.new(0.0196078, 0.435294, 0)
- o7.BorderSizePixel = 0
- gearStatus = o4
- nosStatus = o7
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game:GetService("Players").LocalPlayer.PlayerGui
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#lights do
- lights[i].Range = 48
- end
- local gear = 1
- local nosLeft = 300
- local usingNos = false
- local nosFiring = false
- function getGear(id)
- local gears = {
- {["id"]=0,["MaxSpeed"]=0},
- {["id"]=1,["MaxSpeed"]=20},
- {["id"]=2,["MaxSpeed"]=80},
- {["id"]=3,["MaxSpeed"]=150},
- {["id"]=4,["MaxSpeed"]=220},
- {["id"]=5,["MaxSpeed"]=310},
- {["id"]=6,["MaxSpeed"]=400},
- }
- for i,v in pairs(gears) do
- if v.id==id then
- return v
- end
- end
- return nil
- end
- vehicleSeat.MaxSpeed = getGear(1).MaxSpeed
- game:GetService("UserInputService").InputBegan:connect(function(input,gameProcessed)
- --print("Connected")
- if input.UserInputType == Enum.UserInputType.Keyboard then
- --print("Keyboard")
- if canPressKey then
- --print("canPressKey")
- local keyPressed = input.KeyCode
- if (keyPressed==Enum.KeyCode.F) then
- if lightsOn then
- lightsOn = false
- else
- lightsOn = true
- end
- for i=1,#lights do
- lights[i].Enabled = lightsOn
- end
- end
- if (keyPressed==Enum.KeyCode.E) then
- local gea = getGear(gear+1)
- if gea~=nil then
- gear = gea.id
- vehicleSeat.MaxSpeed = gea.MaxSpeed
- end
- end
- if (keyPressed==Enum.KeyCode.Q) then
- local gea = getGear(gear-1)
- if gea~=nil then
- gear = gea.id
- vehicleSeat.MaxSpeed = gea.MaxSpeed
- end
- end
- if (keyPressed==Enum.KeyCode.R) then
- local bg = Instance.new("BodyGyro",vehicleSeat)
- bg.maxTorque = Vector3.new(400000,400000,400000)
- wait(5)
- bg:Remove()
- end
- if (keyPressed==Enum.KeyCode.N) then
- usingNos = true
- end
- if (keyPressed==Enum.KeyCode.T) then
- car:BreakJoints()
- end
- if (keyPressed==Enum.KeyCode.Y) then
- car:Destroy()
- gui:Destroy()
- script:Destroy()
- end
- if (keyPressed==Enum.KeyCode.G) then
- nuke(vehicleSeat.Position,200)
- end
- end
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function(input,gameProcessed)
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if canPressKey then
- local keyPressed = input.KeyCode
- if (keyPressed==Enum.KeyCode.N) then
- usingNos = false
- end
- end
- end
- end)
- game:GetService("UserInputService").TextBoxFocused:connect(function()
- canPressKey = false
- end)
- game:GetService("UserInputService").TextBoxFocusReleased:connect(function()
- canPressKey = true
- end)
- game:GetService("RunService").Stepped:connect(function()
- gearStatus.Text = "Gear: " .. tostring(gear)
- nosStatus.Size = UDim2.new(nosLeft/300,0,1,0)
- if (usingNos)and(nosLeft>0) then
- print(usingNos)
- vehicleSeat.Torque = 60
- vehicleSeat.MaxSpeed = getGear(gear).MaxSpeed*1.25
- nosLeft = nosLeft-1
- else
- vehicleSeat.Torque = 40
- vehicleSeat.MaxSpeed = getGear(gear).MaxSpeed
- end
- end)
- coroutine.resume(coroutine.create(function()
- while wait(10) do
- if nosLeft>=240 then
- nosLeft = 300
- elseif nosLeft<240 then
- nosLeft = nosLeft+60
- end
- end
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement