Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Model")
- o3 = Instance.new("Part")
- o4 = Instance.new("Decal")
- o5 = Instance.new("Decal")
- o6 = Instance.new("Part")
- o7 = Instance.new("SpecialMesh")
- o8 = Instance.new("Part")
- o9 = Instance.new("SpecialMesh")
- o10 = Instance.new("Part")
- o11 = Instance.new("SpecialMesh")
- o12 = Instance.new("Part")
- o13 = Instance.new("Fire")
- o14 = Instance.new("Smoke")
- o15 = Instance.new("Part")
- o16 = Instance.new("SpecialMesh")
- o17 = Instance.new("Part")
- o18 = Instance.new("Part")
- o19 = Instance.new("Part")
- o20 = Instance.new("SpecialMesh")
- o21 = Instance.new("Part")
- o22 = Instance.new("SpecialMesh")
- o23 = Instance.new("Part")
- o24 = Instance.new("SpecialMesh")
- o25 = Instance.new("Part")
- o26 = Instance.new("SpecialMesh")
- o27 = Instance.new("Part")
- o28 = Instance.new("SpecialMesh")
- o29 = Instance.new("Part")
- o30 = Instance.new("SpecialMesh")
- o31 = Instance.new("Part")
- o32 = Instance.new("SpecialMesh")
- o33 = Instance.new("Part")
- o34 = Instance.new("SpecialMesh")
- o35 = Instance.new("Part")
- o36 = Instance.new("SpecialMesh")
- o37 = Instance.new("Part")
- o38 = Instance.new("SpecialMesh")
- o39 = Instance.new("Script")
- o40 = Instance.new("Part")
- o41 = Instance.new("Part")
- o42 = Instance.new("Model")
- o43 = Instance.new("Part")
- o44 = Instance.new("SpotLight")
- o45 = Instance.new("Part")
- o46 = Instance.new("SpotLight")
- o47 = Instance.new("Part")
- o48 = Instance.new("SpotLight")
- o49 = Instance.new("Part")
- o50 = Instance.new("SpotLight")
- o51 = Instance.new("Part")
- o52 = Instance.new("Part")
- o53 = Instance.new("Part")
- o54 = Instance.new("Part")
- o55 = Instance.new("Part")
- o56 = Instance.new("Part")
- o57 = Instance.new("Part")
- o58 = Instance.new("Part")
- o59 = Instance.new("Part")
- o60 = Instance.new("Part")
- o61 = Instance.new("Part")
- o62 = Instance.new("Part")
- o63 = Instance.new("Part")
- o64 = Instance.new("Part")
- o65 = Instance.new("ClickDetector")
- o66 = Instance.new("Sound")
- o67 = Instance.new("Sound")
- o68 = Instance.new("Sound")
- o69 = Instance.new("Sound")
- o70 = Instance.new("Script")
- o1.Name = "Nuke"
- o1.Parent = mas
- o2.Name = "Missle"
- o2.Parent = o1
- o3.Name = "Smooth Block Model"
- o3.Parent = o2
- o3.Material = Enum.Material.Metal
- o3.BrickColor = BrickColor.new("Dark stone grey")
- o3.Position = Vector3.new(81, 12.0111723, -38)
- o3.Rotation = Vector3.new(-180, 0, -90)
- o3.Anchored = true
- o3.FormFactor = Enum.FormFactor.Symmetric
- o3.Shape = Enum.PartType.Cylinder
- o3.Size = Vector3.new(4, 4, 4)
- o3.CFrame = CFrame.new(81, 12.0111723, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o3.Position = Vector3.new(81, 12.0111723, -38)
- o4.Parent = o3
- o4.Transparency = 0.5
- o4.Texture = "http://www.roblox.com/asset/?id=4740155"
- o4.Face = Enum.NormalId.Bottom
- o5.Parent = o3
- o5.Transparency = 0.5
- o5.Texture = "http://www.roblox.com/asset/?id=4740155"
- o5.Face = Enum.NormalId.Top
- o6.Name = "Smooth Block Model"
- o6.Parent = o2
- o6.Material = Enum.Material.Metal
- o6.BrickColor = BrickColor.new("Dark stone grey")
- o6.Position = Vector3.new(81, 6.01105785, -38)
- o6.Rotation = Vector3.new(-180, -90, 0)
- o6.Anchored = true
- o6.FormFactor = Enum.FormFactor.Custom
- o6.Size = Vector3.new(4, 1.60000002, 4)
- o6.CFrame = CFrame.new(81, 6.01105785, -38, 0, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, -1, 0, 0)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o6.Position = Vector3.new(81, 6.01105785, -38)
- o7.Parent = o6
- o7.Scale = Vector3.new(1, 2.79999995, 1)
- o7.MeshType = Enum.MeshType.Sphere
- o8.Name = "Smooth Block Model"
- o8.Parent = o2
- o8.Material = Enum.Material.Metal
- o8.BrickColor = BrickColor.new("Dark stone grey")
- o8.Position = Vector3.new(82.8000031, 3.21107602, -38)
- o8.Rotation = Vector3.new(-0, -90, 0)
- o8.Anchored = true
- o8.FormFactor = Enum.FormFactor.Custom
- o8.Size = Vector3.new(2, 2.4000001, 1.60000002)
- o8.CFrame = CFrame.new(82.8000031, 3.21107602, -38, 0, -3.76690795e-025, -1, 0, 1, 3.76690795e-025, 1, 0, 0)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o8.Position = Vector3.new(82.8000031, 3.21107602, -38)
- o9.Parent = o8
- o9.Scale = Vector3.new(0.200000003, 1, 1)
- o9.MeshType = Enum.MeshType.Wedge
- o10.Name = "Smooth Block Model"
- o10.Parent = o2
- o10.Material = Enum.Material.Metal
- o10.BrickColor = BrickColor.new("Dark stone grey")
- o10.Position = Vector3.new(82.6000061, 1.01002502, -38)
- o10.Rotation = Vector3.new(90, 2.15827926e-023, 90)
- o10.Anchored = true
- o10.FormFactor = Enum.FormFactor.Custom
- o10.Size = Vector3.new(2, 1.20000005, 2)
- o10.CFrame = CFrame.new(82.6000061, 1.01002502, -38, 0, -1, 3.76690795e-025, 0, 3.76690795e-025, -1, 1, 0, 0)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o10.Position = Vector3.new(82.6000061, 1.01002502, -38)
- o11.Parent = o10
- o11.Scale = Vector3.new(0.200000003, 1, 1)
- o11.MeshType = Enum.MeshType.Brick
- o12.Name = "Base"
- o12.Parent = o2
- o12.Material = Enum.Material.Metal
- o12.BrickColor = BrickColor.new("Dark stone grey")
- o12.Position = Vector3.new(81, 1.01002502, -38)
- o12.Rotation = Vector3.new(-180, 0, 90)
- o12.Anchored = true
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Shape = Enum.PartType.Cylinder
- o12.Size = Vector3.new(2, 2, 2)
- o12.CFrame = CFrame.new(81, 1.01002502, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o12.Position = Vector3.new(81, 1.01002502, -38)
- o13.Parent = o12
- o13.Size = 10
- o13.Color = Color3.new(0.92549, 0.545098, 0.27451)
- o13.Enabled = false
- o13.Heat = 0
- o14.Parent = o12
- o14.Enabled = false
- o14.Opacity = 0.10000000149012
- o15.Name = "Smooth Block Model"
- o15.Parent = o2
- o15.Material = Enum.Material.Metal
- o15.BrickColor = BrickColor.new("Dark stone grey")
- o15.Position = Vector3.new(83.3999939, 1.01002502, -38)
- o15.Rotation = Vector3.new(-180, 0, -90)
- o15.Anchored = true
- o15.FormFactor = Enum.FormFactor.Custom
- o15.Size = Vector3.new(2, 0.400000006, 4)
- o15.CFrame = CFrame.new(83.3999939, 1.01002502, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
- o15.BottomSurface = Enum.SurfaceType.Smooth
- o15.TopSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o15.Position = Vector3.new(83.3999939, 1.01002502, -38)
- o16.Parent = o15
- o16.Scale = Vector3.new(1, 1, 1.29999995)
- o16.MeshType = Enum.MeshType.Brick
- o17.Name = "Smooth Block Model"
- o17.Parent = o2
- o17.Material = Enum.Material.Metal
- o17.BrickColor = BrickColor.new("Dark stone grey")
- o17.Position = Vector3.new(81, 8.01107883, -38)
- o17.Rotation = Vector3.new(-180, 0, -90)
- o17.Anchored = true
- o17.FormFactor = Enum.FormFactor.Symmetric
- o17.Shape = Enum.PartType.Cylinder
- o17.Size = Vector3.new(4, 4, 4)
- o17.CFrame = CFrame.new(81, 8.01107883, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
- o17.BottomSurface = Enum.SurfaceType.Smooth
- o17.TopSurface = Enum.SurfaceType.Smooth
- o17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o17.Position = Vector3.new(81, 8.01107883, -38)
- o18.Name = "Smooth Block Model"
- o18.Parent = o2
- o18.Material = Enum.Material.Metal
- o18.BrickColor = BrickColor.new("Dark stone grey")
- o18.Position = Vector3.new(81, 3.01105499, -38)
- o18.Rotation = Vector3.new(-180, 0, 90)
- o18.Anchored = true
- o18.FormFactor = Enum.FormFactor.Symmetric
- o18.Shape = Enum.PartType.Cylinder
- o18.Size = Vector3.new(2, 2, 2)
- o18.CFrame = CFrame.new(81, 3.01105499, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
- o18.BottomSurface = Enum.SurfaceType.Smooth
- o18.TopSurface = Enum.SurfaceType.Smooth
- o18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o18.Position = Vector3.new(81, 3.01105499, -38)
- o19.Name = "Smooth Block Model"
- o19.Parent = o2
- o19.Material = Enum.Material.Metal
- o19.BrickColor = BrickColor.new("Dark stone grey")
- o19.Position = Vector3.new(81, 3.21107602, -36.1999969)
- o19.Rotation = Vector3.new(-180, 0, 180)
- o19.Anchored = true
- o19.FormFactor = Enum.FormFactor.Custom
- o19.Size = Vector3.new(2, 2.4000001, 1.60000002)
- o19.CFrame = CFrame.new(81, 3.21107602, -36.1999969, -1, -3.76690795e-025, 0, 3.76690795e-025, 1, 0, 0, 0, -1)
- o19.BottomSurface = Enum.SurfaceType.Smooth
- o19.TopSurface = Enum.SurfaceType.Smooth
- o19.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o19.Position = Vector3.new(81, 3.21107602, -36.1999969)
- o20.Parent = o19
- o20.Scale = Vector3.new(0.200000003, 1, 1)
- o20.MeshType = Enum.MeshType.Wedge
- o21.Name = "Smooth Block Model"
- o21.Parent = o2
- o21.Material = Enum.Material.Metal
- o21.BrickColor = BrickColor.new("Dark stone grey")
- o21.Position = Vector3.new(81, 1.01002502, -39.6000061)
- o21.Rotation = Vector3.new(90, 2.15827926e-023, -0)
- o21.Anchored = true
- o21.FormFactor = Enum.FormFactor.Custom
- o21.Size = Vector3.new(2, 1.20000005, 2)
- o21.CFrame = CFrame.new(81, 1.01002502, -39.6000061, 1, 0, 3.76690795e-025, -3.76690795e-025, 0, -1, 0, 1, 0)
- o21.BottomSurface = Enum.SurfaceType.Smooth
- o21.TopSurface = Enum.SurfaceType.Smooth
- o21.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o21.Position = Vector3.new(81, 1.01002502, -39.6000061)
- o22.Parent = o21
- o22.Scale = Vector3.new(0.200000003, 1, 1)
- o22.MeshType = Enum.MeshType.Brick
- o23.Name = "Smooth Block Model"
- o23.Parent = o2
- o23.Material = Enum.Material.Metal
- o23.BrickColor = BrickColor.new("Dark stone grey")
- o23.Position = Vector3.new(79.1999969, 3.21107602, -38)
- o23.Rotation = Vector3.new(0, 90, 0)
- o23.Anchored = true
- o23.FormFactor = Enum.FormFactor.Custom
- o23.Size = Vector3.new(2, 2.4000001, 1.60000002)
- o23.CFrame = CFrame.new(79.1999969, 3.21107602, -38, 0, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, -1, 0, 0)
- o23.BottomSurface = Enum.SurfaceType.Smooth
- o23.TopSurface = Enum.SurfaceType.Smooth
- o23.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o23.Position = Vector3.new(79.1999969, 3.21107602, -38)
- o24.Parent = o23
- o24.Scale = Vector3.new(0.200000003, 1, 1)
- o24.MeshType = Enum.MeshType.Wedge
- o25.Name = "Smooth Block Model"
- o25.Parent = o2
- o25.Material = Enum.Material.Metal
- o25.BrickColor = BrickColor.new("Dark stone grey")
- o25.Position = Vector3.new(81, 3.21107602, -39.8000031)
- o25.Rotation = Vector3.new(-0, 0, 2.15827926e-023)
- o25.Anchored = true
- o25.FormFactor = Enum.FormFactor.Custom
- o25.Size = Vector3.new(2, 2.4000001, 1.60000002)
- o25.CFrame = CFrame.new(81, 3.21107602, -39.8000031, 1, -3.76690795e-025, 0, -3.76690795e-025, 1, 0, 0, 0, 1)
- o25.BottomSurface = Enum.SurfaceType.Smooth
- o25.TopSurface = Enum.SurfaceType.Smooth
- o25.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o25.Position = Vector3.new(81, 3.21107602, -39.8000031)
- o26.Parent = o25
- o26.Scale = Vector3.new(0.200000003, 1, 1)
- o26.MeshType = Enum.MeshType.Wedge
- o27.Name = "Smooth Block Model"
- o27.Parent = o2
- o27.Material = Enum.Material.Metal
- o27.BrickColor = BrickColor.new("Dark stone grey")
- o27.Position = Vector3.new(81, 1.01002502, -40.3999901)
- o27.Rotation = Vector3.new(-90, 90, 0)
- o27.Anchored = true
- o27.FormFactor = Enum.FormFactor.Custom
- o27.Size = Vector3.new(2, 0.400000006, 4)
- o27.CFrame = CFrame.new(81, 1.01002502, -40.3999901, 3.76690795e-025, 0, 1, -1, 0, -3.76690795e-025, 0, -1, 0)
- o27.BottomSurface = Enum.SurfaceType.Smooth
- o27.TopSurface = Enum.SurfaceType.Smooth
- o27.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o27.Position = Vector3.new(81, 1.01002502, -40.3999901)
- o28.Parent = o27
- o28.Scale = Vector3.new(1, 1, 1.29999995)
- o28.MeshType = Enum.MeshType.Brick
- o29.Name = "Smooth Block Model"
- o29.Parent = o2
- o29.Material = Enum.Material.Metal
- o29.BrickColor = BrickColor.new("Dark stone grey")
- o29.Position = Vector3.new(81, 1.01002502, -35.6000061)
- o29.Rotation = Vector3.new(90, 90, 0)
- o29.Anchored = true
- o29.FormFactor = Enum.FormFactor.Custom
- o29.Size = Vector3.new(2, 0.400000006, 4)
- o29.CFrame = CFrame.new(81, 1.01002502, -35.6000061, -3.76690795e-025, 0, 1, 1, 0, -3.76690795e-025, 0, 1, 0)
- o29.BottomSurface = Enum.SurfaceType.Smooth
- o29.TopSurface = Enum.SurfaceType.Smooth
- o29.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o29.Position = Vector3.new(81, 1.01002502, -35.6000061)
- o30.Parent = o29
- o30.Scale = Vector3.new(1, 1, 1.29999995)
- o30.MeshType = Enum.MeshType.Brick
- o31.Name = "Smooth Block Model"
- o31.Parent = o2
- o31.Material = Enum.Material.Metal
- o31.BrickColor = BrickColor.new("Dark stone grey")
- o31.Position = Vector3.new(81, 1.01002502, -36.3999901)
- o31.Rotation = Vector3.new(90, 2.15827926e-023, -0)
- o31.Anchored = true
- o31.FormFactor = Enum.FormFactor.Custom
- o31.Size = Vector3.new(2, 1.20000005, 2)
- o31.CFrame = CFrame.new(81, 1.01002502, -36.3999901, 1, 0, 3.76690795e-025, -3.76690795e-025, 0, -1, 0, 1, 0)
- o31.BottomSurface = Enum.SurfaceType.Smooth
- o31.TopSurface = Enum.SurfaceType.Smooth
- o31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o31.Position = Vector3.new(81, 1.01002502, -36.3999901)
- o32.Parent = o31
- o32.Scale = Vector3.new(0.200000003, 1, 1)
- o32.MeshType = Enum.MeshType.Brick
- o33.Name = "Smooth Block Model"
- o33.Parent = o2
- o33.Material = Enum.Material.Metal
- o33.BrickColor = BrickColor.new("Dark stone grey")
- o33.Position = Vector3.new(79.3999939, 1.01002502, -38)
- o33.Rotation = Vector3.new(90, 2.15827926e-023, 90)
- o33.Anchored = true
- o33.FormFactor = Enum.FormFactor.Custom
- o33.Size = Vector3.new(2, 1.20000005, 2)
- o33.CFrame = CFrame.new(79.3999939, 1.01002502, -38, 0, -1, 3.76690795e-025, 0, 3.76690795e-025, -1, 1, 0, 0)
- o33.BottomSurface = Enum.SurfaceType.Smooth
- o33.TopSurface = Enum.SurfaceType.Smooth
- o33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o33.Position = Vector3.new(79.3999939, 1.01002502, -38)
- o34.Parent = o33
- o34.Scale = Vector3.new(0.200000003, 1, 1)
- o34.MeshType = Enum.MeshType.Brick
- o35.Name = "Smooth Block Model"
- o35.Parent = o2
- o35.Material = Enum.Material.Metal
- o35.BrickColor = BrickColor.new("Dark stone grey")
- o35.Position = Vector3.new(78.6000061, 1.01002502, -38)
- o35.Rotation = Vector3.new(-180, 0, 90)
- o35.Anchored = true
- o35.FormFactor = Enum.FormFactor.Custom
- o35.Size = Vector3.new(2, 0.400000006, 4)
- o35.CFrame = CFrame.new(78.6000061, 1.01002502, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
- o35.BottomSurface = Enum.SurfaceType.Smooth
- o35.TopSurface = Enum.SurfaceType.Smooth
- o35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o35.Position = Vector3.new(78.6000061, 1.01002502, -38)
- o36.Parent = o35
- o36.Scale = Vector3.new(1, 1, 1.29999995)
- o36.MeshType = Enum.MeshType.Brick
- o37.Name = "Tip"
- o37.Parent = o2
- o37.Material = Enum.Material.Foil
- o37.BrickColor = BrickColor.new("Bright yellow")
- o37.Reflectance = 0.20000000298023
- o37.Position = Vector3.new(81, 18.3621826, -38)
- o37.Rotation = Vector3.new(-180, 0, 180)
- o37.Anchored = true
- o37.FormFactor = Enum.FormFactor.Custom
- o37.Size = Vector3.new(4, 1.50000012, 4)
- o37.CFrame = CFrame.new(81, 18.3621826, -38, -1, -3.76690795e-025, 0, 3.76690795e-025, 1, 0, 0, 0, -1)
- o37.BottomSurface = Enum.SurfaceType.Smooth
- o37.TopSurface = Enum.SurfaceType.Smooth
- o37.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o37.Position = Vector3.new(81, 18.3621826, -38)
- o38.Parent = o37
- o38.Scale = Vector3.new(1, 5, 1)
- o38.MeshType = Enum.MeshType.Sphere
- o39.Name = "Boom"
- o39.Parent = o37
- o39.Disabled = true
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- while true do
- c = game.Workspace:GetChildren()
- for i =1,#c do
- if ((c[i].className == "Part" or c[i].className == "TrussPart" or c[i].className == "WedgePart" or c[i].className == "Seat" or c[i].className == "VehicleSeat") and (c[i].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
- if c[i].Locked == false then
- c[i].Material = Enum.Material.CorrodedMetal
- c[i].Anchored = false
- c[i]:BreakJoints()
- local miniboom = script.Parent.Parent.Parent.Button.SmallBoom:Clone()
- miniboom.Parent=c[i]
- miniboom:Play()
- game.Debris:AddItem(miniboom,1)
- end
- end
- if (c[i].className == "Model") then
- end
- g = c[i]:GetChildren()
- for j =1,#g do
- if ((g[j].className == "Part" or g[j].className == "TrussPart" or g[j].className == "WedgePart" or g[j].className == "Seat" or g[j].className == "VehicleSeat") and g[j].Name ~= script.Parent.Name and g[j].Name ~= "Glow" and (g[j].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
- g[j].Material = Enum.Material.CorrodedMetal
- g[j].Anchored = false
- g[j]:BreakJoints()
- local miniboom = script.Parent.Parent.Parent.Button.SmallBoom:Clone()
- miniboom.Parent=c[i]
- miniboom:Play()
- game.Debris:AddItem(miniboom,1)
- end
- if (g[j].className == "Model") then
- end
- t = g[j]:GetChildren()
- for s =1,#t do
- if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
- t[s].Material = Enum.Material.CorrodedMetal
- t[s].Anchored = false
- t[s]:BreakJoints()
- end
- if (t[s].className == "Model") then
- end
- a = t[s]:GetChildren()
- for z =1,#a do
- if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
- a[z].Material = Enum.Material.CorrodedMetal
- a[z].Anchored = false
- a[z]:BreakJoints()
- end
- if (a[z].className == "Model") then
- end
- p = a[z]:GetChildren()
- for l =1,#p do
- if ((p[l].className == "Part" or p[l].className == "TrussPart" or p[l].className == "WedgePart" or p[l].className == "Seat" or p[l].className == "VehicleSeat") and p[l].Name ~= script.Parent.Name and p[l].Name ~= "Glow" and (p[l].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
- p[l].Material = Enum.Material.CorrodedMetal
- p[l].Anchored = false
- p[l]:BreakJoints()
- end
- end
- end
- end
- end
- end
- wait(.3)
- end
- end,o39)
- end))
- o40.Name = "Smooth Block Model"
- o40.Parent = o2
- o40.Material = Enum.Material.Metal
- o40.BrickColor = BrickColor.new("Dark stone grey")
- o40.Position = Vector3.new(81, 5.01101589, -38)
- o40.Rotation = Vector3.new(-180, 0, 90)
- o40.Anchored = true
- o40.FormFactor = Enum.FormFactor.Symmetric
- o40.Shape = Enum.PartType.Cylinder
- o40.Size = Vector3.new(2, 2, 2)
- o40.CFrame = CFrame.new(81, 5.01101589, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
- o40.BottomSurface = Enum.SurfaceType.Smooth
- o40.TopSurface = Enum.SurfaceType.Smooth
- o40.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o40.Position = Vector3.new(81, 5.01101589, -38)
- o41.Name = "Smooth Block Model"
- o41.Parent = o2
- o41.Material = Enum.Material.Metal
- o41.BrickColor = BrickColor.new("Dark stone grey")
- o41.Position = Vector3.new(81, 16.0121956, -38)
- o41.Rotation = Vector3.new(-180, 0, -90)
- o41.Anchored = true
- o41.FormFactor = Enum.FormFactor.Symmetric
- o41.Shape = Enum.PartType.Cylinder
- o41.Size = Vector3.new(4, 4, 4)
- o41.CFrame = CFrame.new(81, 16.0121956, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
- o41.BottomSurface = Enum.SurfaceType.Smooth
- o41.TopSurface = Enum.SurfaceType.Smooth
- o41.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o41.Position = Vector3.new(81, 16.0121956, -38)
- o42.Name = "Lights"
- o42.Parent = o1
- o43.Name = "Light"
- o43.Parent = o42
- o43.Position = Vector3.new(76.6999969, 0.615737975, -38)
- o43.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o43.Anchored = true
- o43.FormFactor = Enum.FormFactor.Custom
- o43.Size = Vector3.new(3.39999986, 1.19999981, 12)
- o43.CFrame = CFrame.new(76.6999969, 0.615737975, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o43.BottomSurface = Enum.SurfaceType.Smooth
- o43.TopSurface = Enum.SurfaceType.Smooth
- o43.Position = Vector3.new(76.6999969, 0.615737975, -38)
- o44.Parent = o43
- o44.Color = Color3.new(1, 0, 0.0156863)
- o44.Enabled = false
- o44.Brightness = 100
- o44.Face = Enum.NormalId.Left
- o45.Name = "Light"
- o45.Parent = o42
- o45.Position = Vector3.new(81, 0.615737975, -33.6999969)
- o45.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o45.Anchored = true
- o45.FormFactor = Enum.FormFactor.Custom
- o45.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
- o45.CFrame = CFrame.new(81, 0.615737975, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o45.BottomSurface = Enum.SurfaceType.Smooth
- o45.TopSurface = Enum.SurfaceType.Smooth
- o45.Position = Vector3.new(81, 0.615737975, -33.6999969)
- o46.Parent = o45
- o46.Color = Color3.new(1, 0, 0.0156863)
- o46.Enabled = false
- o46.Brightness = 100
- o46.Face = Enum.NormalId.Right
- o47.Name = "Light"
- o47.Parent = o42
- o47.Position = Vector3.new(81, 0.615737975, -42.3000031)
- o47.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o47.Anchored = true
- o47.FormFactor = Enum.FormFactor.Custom
- o47.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
- o47.CFrame = CFrame.new(81, 0.615737975, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o47.BottomSurface = Enum.SurfaceType.Smooth
- o47.TopSurface = Enum.SurfaceType.Smooth
- o47.Position = Vector3.new(81, 0.615737975, -42.3000031)
- o48.Parent = o47
- o48.Color = Color3.new(1, 0, 0.0156863)
- o48.Enabled = false
- o48.Brightness = 100
- o48.Face = Enum.NormalId.Left
- o49.Name = "Light"
- o49.Parent = o42
- o49.Position = Vector3.new(85.3000031, 0.615737975, -38)
- o49.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o49.Anchored = true
- o49.FormFactor = Enum.FormFactor.Custom
- o49.Size = Vector3.new(3.39999986, 1.19999981, 12)
- o49.CFrame = CFrame.new(85.3000031, 0.615737975, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o49.BottomSurface = Enum.SurfaceType.Smooth
- o49.TopSurface = Enum.SurfaceType.Smooth
- o49.Position = Vector3.new(85.3000031, 0.615737975, -38)
- o50.Parent = o49
- o50.Color = Color3.new(1, 0, 0.0156863)
- o50.Enabled = false
- o50.Brightness = 100
- o50.Face = Enum.NormalId.Right
- o51.Parent = o1
- o51.Transparency = 0.5
- o51.Position = Vector3.new(76.6999969, 5.61675692, -38)
- o51.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o51.Anchored = true
- o51.FormFactor = Enum.FormFactor.Custom
- o51.Size = Vector3.new(3.39999986, 8.79999924, 5.19999981)
- o51.CFrame = CFrame.new(76.6999969, 5.61675692, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o51.Position = Vector3.new(76.6999969, 5.61675692, -38)
- o52.Parent = o1
- o52.Transparency = 0.5
- o52.Position = Vector3.new(81, 5.61675692, -33.6999969)
- o52.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o52.Anchored = true
- o52.FormFactor = Enum.FormFactor.Custom
- o52.Size = Vector3.new(3.39999986, 8.79999924, 5.20000029)
- o52.CFrame = CFrame.new(81, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o52.Position = Vector3.new(81, 5.61675692, -33.6999969)
- o53.Parent = o1
- o53.Transparency = 0.5
- o53.Position = Vector3.new(81, 5.61675692, -42.3000031)
- o53.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o53.Anchored = true
- o53.FormFactor = Enum.FormFactor.Custom
- o53.Size = Vector3.new(3.39999986, 8.79999924, 5.20000029)
- o53.CFrame = CFrame.new(81, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o53.Position = Vector3.new(81, 5.61675692, -42.3000031)
- o54.Parent = o1
- o54.Transparency = 0.5
- o54.Position = Vector3.new(85.3000031, 5.61675692, -38)
- o54.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o54.Anchored = true
- o54.FormFactor = Enum.FormFactor.Custom
- o54.Size = Vector3.new(3.39999986, 8.79999924, 5.19999981)
- o54.CFrame = CFrame.new(85.3000031, 5.61675692, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o54.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o54.Position = Vector3.new(85.3000031, 5.61675692, -38)
- o55.Parent = o1
- o55.Position = Vector3.new(85.3000031, 5.61675692, -42.3000031)
- o55.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o55.Anchored = true
- o55.FormFactor = Enum.FormFactor.Custom
- o55.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
- o55.CFrame = CFrame.new(85.3000031, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o55.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o55.Position = Vector3.new(85.3000031, 5.61675692, -42.3000031)
- o56.Parent = o1
- o56.Position = Vector3.new(85.3000031, 5.61675692, -33.6999969)
- o56.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o56.Anchored = true
- o56.FormFactor = Enum.FormFactor.Custom
- o56.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
- o56.CFrame = CFrame.new(85.3000031, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o56.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o56.Position = Vector3.new(85.3000031, 5.61675692, -33.6999969)
- o57.Parent = o1
- o57.Position = Vector3.new(76.6999969, 5.61675692, -42.3000031)
- o57.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o57.Anchored = true
- o57.FormFactor = Enum.FormFactor.Custom
- o57.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
- o57.CFrame = CFrame.new(76.6999969, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o57.Position = Vector3.new(76.6999969, 5.61675692, -42.3000031)
- o58.Parent = o1
- o58.Position = Vector3.new(76.6999969, 5.61675692, -33.6999969)
- o58.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o58.Anchored = true
- o58.FormFactor = Enum.FormFactor.Custom
- o58.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
- o58.CFrame = CFrame.new(76.6999969, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o58.Position = Vector3.new(76.6999969, 5.61675692, -33.6999969)
- o59.Parent = o1
- o59.Position = Vector3.new(76.6999969, 10.6169119, -38)
- o59.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o59.Anchored = true
- o59.FormFactor = Enum.FormFactor.Custom
- o59.Size = Vector3.new(3.39999986, 1.19999981, 12)
- o59.CFrame = CFrame.new(76.6999969, 10.6169119, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.Position = Vector3.new(76.6999969, 10.6169119, -38)
- o60.Parent = o1
- o60.Position = Vector3.new(81, 10.6169119, -33.6999969)
- o60.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o60.Anchored = true
- o60.FormFactor = Enum.FormFactor.Custom
- o60.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
- o60.CFrame = CFrame.new(81, 10.6169119, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o60.Position = Vector3.new(81, 10.6169119, -33.6999969)
- o61.Parent = o1
- o61.Position = Vector3.new(85.3000031, 10.6169119, -38)
- o61.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
- o61.Anchored = true
- o61.FormFactor = Enum.FormFactor.Custom
- o61.Size = Vector3.new(3.39999986, 1.19999981, 12)
- o61.CFrame = CFrame.new(85.3000031, 10.6169119, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
- o61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o61.Position = Vector3.new(85.3000031, 10.6169119, -38)
- o62.Parent = o1
- o62.Position = Vector3.new(81, 10.6169119, -42.3000031)
- o62.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o62.Anchored = true
- o62.FormFactor = Enum.FormFactor.Custom
- o62.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
- o62.CFrame = CFrame.new(81, 10.6169119, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o62.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o62.Position = Vector3.new(81, 10.6169119, -42.3000031)
- o63.Parent = o1
- o63.BrickColor = BrickColor.new("Dark stone grey")
- o63.Position = Vector3.new(75, 5.61675692, -43.1999969)
- o63.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o63.Anchored = true
- o63.FormFactor = Enum.FormFactor.Custom
- o63.Size = Vector3.new(3.39999986, 3.89999914, 0.200000048)
- o63.CFrame = CFrame.new(75, 5.61675692, -43.1999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o63.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o63.Position = Vector3.new(75, 5.61675692, -43.1999969)
- o64.Name = "Button"
- o64.Parent = o1
- o64.BrickColor = BrickColor.new("Bright red")
- o64.Position = Vector3.new(74.8000031, 5.61675692, -43.1999969)
- o64.Rotation = Vector3.new(4.1578776e-008, -90, 0)
- o64.Anchored = true
- o64.FormFactor = Enum.FormFactor.Custom
- o64.Size = Vector3.new(2.0999999, 2.59999919, 0.200000048)
- o64.CFrame = CFrame.new(74.8000031, 5.61675692, -43.1999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
- o64.BottomSurface = Enum.SurfaceType.Smooth
- o64.TopSurface = Enum.SurfaceType.Smooth
- o64.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o64.Position = Vector3.new(74.8000031, 5.61675692, -43.1999969)
- o65.Parent = o64
- o66.Parent = o64
- o66.SoundId = "http://roblox.com/asset?id=188088048"
- o66.Volume = 1
- o66.Looped = true
- o67.Name = "Boom"
- o67.Parent = o64
- o67.Pitch = 0.69999998807907
- o67.SoundId = "http://roblox.com/asset?id=165969964"
- o67.Volume = 1
- o68.Name = "Siren"
- o68.Parent = o64
- o68.SoundId = "rbxassetid://370475890"
- o68.Volume = 3
- o68.Looped = true
- o69.Name = "SmallBoom"
- o69.Parent = o64
- o69.SoundId = "http://roblox.com/asset?id=180120107"
- o70.Name = "BerezaaGamesNuclearScript"
- o70.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -- Fun nuke by berezaa
- -- Credit to FriendlyBiscuit/eric for uploading the loopable alarm sound for me
- wait(1)
- script.Parent.Missle.Base.Anchored = true
- debounce = false
- script.Parent.Button.ClickDetector.MouseClick:connect(function()
- if debounce == false then
- debounce = true
- script.Parent.Button.Sound:Play()
- local siren = script.Parent.Button.Siren
- siren.Parent = workspace
- siren:Play()
- coroutine.resume(coroutine.create(function()
- local lights = script.Parent.Lights:GetChildren()
- for i=1,100 do
- for i,v in pairs(lights) do
- v.SpotLight.Enabled = true
- end
- wait(0.54)
- for i,v in pairs(lights) do
- v.SpotLight.Enabled = false
- end
- wait(0.54)
- end
- end))
- wait(2)
- script.Parent.Missle.Base.Fire.Enabled = true
- script.Parent.Missle.Base.Smoke.Enabled = true
- wait(3)
- script.Parent.Missle.PrimaryPart = script.Parent.Missle.Base
- for i=1,320 do
- script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0.05*((1.1^(i/5))/3),0))
- wait()
- end
- wait()
- for i=1,100 do
- script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0.05*(1.1^((250-i)/5)/3),0))
- script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()*CFrame.Angles(0,math.pi/100,0))
- script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0,-i/100))
- wait()
- end
- wait()
- for i=200,120,-1 do
- script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()-Vector3.new(0,0.1*((1.1^(i/2.95))/4),0))
- wait()
- end
- script.Parent.Missle.Tip.Transparency = 0.5
- script.Parent.Missle.Tip.CanCollide = false
- script.Parent.Missle.Tip.Mesh.Scale = Vector3.new(1,1,1)
- local boom = script.Parent.Button.Boom
- boom.Parent=workspace
- boom:Play()
- local frame = script.Parent.Missle.Tip.CFrame
- script.Parent.Missle.Tip.Boom.Disabled = false
- for i=1,400 do
- script.Parent.Missle.Tip.Size=script.Parent.Missle.Tip.Size+Vector3.new(3,3,3)
- script.Parent.Missle.Tip.CFrame=frame
- wait()
- end
- script.Parent.Missle.Tip.Boom.Disabled=true
- script.Parent.Missle:Destroy()
- siren:Stop()
- boom:Stop()
- end
- end)
- end,o70)
- end))
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement