Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- CylinderMesh5 = Instance.new("CylinderMesh")
- Part6 = Instance.new("Part")
- BlockMesh7 = Instance.new("BlockMesh")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- CylinderMesh12 = Instance.new("CylinderMesh")
- Part13 = Instance.new("Part")
- CylinderMesh14 = Instance.new("CylinderMesh")
- Part15 = Instance.new("Part")
- CylinderMesh16 = Instance.new("CylinderMesh")
- Part17 = Instance.new("Part")
- CylinderMesh18 = Instance.new("CylinderMesh")
- Part19 = Instance.new("Part")
- CylinderMesh20 = Instance.new("CylinderMesh")
- Tool0.Name = "Nuke"
- Tool0.Parent = nil
- Tool0.CanBeDropped = false
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(-18.8515549, 0.500005007, -6.0078702, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-18.8515549, 0.500005007, -6.0078702)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(0.599999845, 1, 0.200000003)
- Part1.Anchored = true
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.CanCollide = false
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Material = Enum.Material.Marble
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part2.Name = "Back"
- Part2.Parent = Tool0
- Part2.CFrame = CFrame.new(-18.8515549, 0.500005007, -5.95787811, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part2.Orientation = Vector3.new(0, 180, 0)
- Part2.Position = Vector3.new(-18.8515549, 0.500005007, -5.95787811)
- Part2.Rotation = Vector3.new(-180, 0, -180)
- Part2.Size = Vector3.new(0.499999851, 0.899999976, 0.200000003)
- Part2.Anchored = true
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.CanCollide = false
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Material = Enum.Material.Metal
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Name = "Light"
- Part3.Parent = Tool0
- Part3.CFrame = CFrame.new(-19.0015793, 0.912518978, -6.03286886, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.Position = Vector3.new(-19.0015793, 0.912518978, -6.03286886)
- Part3.Color = Color3.new(1, 0, 0)
- Part3.Transparency = 0.30000001192093
- Part3.Size = Vector3.new(0.200000003, 0.124999993, 0.200000003)
- Part3.Anchored = true
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BrickColor = BrickColor.new("Really red")
- Part3.CanCollide = false
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Material = Enum.Material.Neon
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.brickColor = BrickColor.new("Really red")
- Part4.Name = "Antenna Base"
- Part4.Parent = Tool0
- Part4.CFrame = CFrame.new(-19.0015602, 1.03700697, -6.0078721, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(-19.0015602, 1.03700697, -6.0078721)
- Part4.Size = Vector3.new(0.296001464, 0.074000366, 0.296001464)
- Part4.Anchored = true
- Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.CanCollide = false
- Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.Material = Enum.Material.Metal
- Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- CylinderMesh5.Parent = Part4
- CylinderMesh5.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part6.Name = "Button"
- Part6.Parent = Tool0
- Part6.CFrame = CFrame.new(-18.6115189, 0.745014012, -6.0078702, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.Position = Vector3.new(-18.6115189, 0.745014012, -6.0078702)
- Part6.Color = Color3.new(0.356863, 0.364706, 0.411765)
- Part6.Size = Vector3.new(0.200000003, 0.449999988, 0.200000003)
- Part6.Anchored = true
- Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BrickColor = BrickColor.new("Smoky grey")
- Part6.CanCollide = false
- Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.Material = Enum.Material.SmoothPlastic
- Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.brickColor = BrickColor.new("Smoky grey")
- BlockMesh7.Parent = Part6
- BlockMesh7.Scale = Vector3.new(1, 1, 0.699999988)
- Part8.Name = "Speaker"
- Part8.Parent = Tool0
- Part8.CFrame = CFrame.new(-18.8715248, 0.740023017, -6.03287077, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.Position = Vector3.new(-18.8715248, 0.740023017, -6.03287077)
- Part8.Size = Vector3.new(0.429999799, 0.0899999961, 0.200000003)
- Part8.Anchored = true
- Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.CanCollide = false
- Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.Name = "Speaker 3"
- Part9.Parent = Tool0
- Part9.CFrame = CFrame.new(-18.8715248, 0.540018022, -6.03287077, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Position = Vector3.new(-18.8715248, 0.540018022, -6.03287077)
- Part9.Size = Vector3.new(0.429999799, 0.0899999961, 0.200000003)
- Part9.Anchored = true
- Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.CanCollide = false
- Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Name = "Speaker 2"
- Part10.Parent = Tool0
- Part10.CFrame = CFrame.new(-18.8715248, 0.640021026, -6.03287077, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(-18.8715248, 0.640021026, -6.03287077)
- Part10.Size = Vector3.new(0.429999799, 0.0899999961, 0.200000003)
- Part10.Anchored = true
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.CanCollide = false
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Name = "Antenna Seal"
- Part11.Parent = Tool0
- Part11.CFrame = CFrame.new(-19.0023003, 1.09800696, -6.00861406, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(-19.0023003, 1.09800696, -6.00861406)
- Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part11.Size = Vector3.new(0.185000896, 0.122000366, 0.185000911)
- Part11.Anchored = true
- Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BrickColor = BrickColor.new("Dark stone grey")
- Part11.CanCollide = false
- Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Material = Enum.Material.Metal
- Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.brickColor = BrickColor.new("Dark stone grey")
- CylinderMesh12.Parent = Part11
- CylinderMesh12.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part13.Name = "Antenna Long Seal"
- Part13.Parent = Tool0
- Part13.CFrame = CFrame.new(-19.0015373, 1.26001799, -6.00787878, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part13.Orientation = Vector3.new(0, 180, 0)
- Part13.Position = Vector3.new(-19.0015373, 1.26001799, -6.00787878)
- Part13.Rotation = Vector3.new(-180, 0, -180)
- Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part13.Size = Vector3.new(0.149000898, 0.386000305, 0.101000912)
- Part13.Anchored = true
- Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.BrickColor = BrickColor.new("Black")
- Part13.CanCollide = false
- Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.Material = Enum.Material.Metal
- Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.brickColor = BrickColor.new("Black")
- CylinderMesh14.Parent = Part13
- CylinderMesh14.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part15.Name = "Antenna"
- Part15.Parent = Tool0
- Part15.CFrame = CFrame.new(-19.0015411, 1.900015, -6.00787878, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part15.Orientation = Vector3.new(0, 180, 0)
- Part15.Position = Vector3.new(-19.0015411, 1.900015, -6.00787878)
- Part15.Rotation = Vector3.new(-180, 0, -180)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part15.Size = Vector3.new(0.0500000007, 1.13600016, 0.0500000007)
- Part15.Anchored = true
- Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BrickColor = BrickColor.new("Really black")
- Part15.CanCollide = false
- Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.Material = Enum.Material.Metal
- Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.brickColor = BrickColor.new("Really black")
- CylinderMesh16.Parent = Part15
- CylinderMesh16.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part17.Name = "Knob Base"
- Part17.Parent = Tool0
- Part17.CFrame = CFrame.new(-18.6715965, 1.02500904, -6.01287079, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(-18.6715965, 1.02500904, -6.01287079)
- Part17.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part17.Size = Vector3.new(0.296001464, 0.0500000007, 0.18600145)
- Part17.Anchored = true
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BrickColor = BrickColor.new("Mid gray")
- Part17.CanCollide = false
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Material = Enum.Material.Metal
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.brickColor = BrickColor.new("Mid gray")
- CylinderMesh18.Parent = Part17
- CylinderMesh18.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part19.Name = "Knob"
- Part19.Parent = Tool0
- Part19.CFrame = CFrame.new(-18.6715965, 1.06500804, -6.01286697, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.Position = Vector3.new(-18.6715965, 1.06500804, -6.01286697)
- Part19.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part19.Size = Vector3.new(0.296001464, 0.0500000007, 0.106001452)
- Part19.Anchored = true
- Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.BrickColor = BrickColor.new("Black")
- Part19.CanCollide = false
- Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.brickColor = BrickColor.new("Black")
- CylinderMesh20.Parent = Part19
- CylinderMesh20.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- local tool = Tool0
- local handle = tool.Handle
- for i,v in pairs(tool:GetChildren()) do
- if v:IsA("BasePart") and v ~= handle then
- local w = Instance.new("Weld")
- w.Part0 = handle
- w.Part1 = v
- w.C0 = handle.CFrame:Inverse()
- w.C1 = v.CFrame:Inverse()
- v.Anchored = false
- v.CanCollide = true
- v.Massless = true
- w.Parent = v
- end
- end
- handle.Anchored = false
- handle.CanCollide = true
- handle.Massless = true
- local NukeLaunched = false
- local played = false
- local working = false
- local ready_nuke = Instance.new("Sound")
- ready_nuke.Parent = handle
- ready_nuke.Volume = 1
- ready_nuke.SoundId = "rbxassetid://1074331294"
- function NukeAlert()
- pcall(function()
- if not played then else return end
- --played = true
- ready_nuke:Play()
- repeat wait()
- until ready_nuke.TimePosition >= 3.9989 or true
- ready_nuke:Stop()
- --game:GetService("Debris"):AddItem(al,3.9989) -- 3.1 or 3.7
- --[[
- pcall(function()
- handle.Main.Gui.Beep.ImageTransparency = 0
- wait(0.1)
- handle.Main.Gui.Beep.ImageTransparency = 1
- wait(0.4)
- handle.Main.Gui.Beep.ImageTransparency = 0
- wait(0.1)
- handle.Main.Gui.Beep.ImageTransparency = 1
- end)
- ]]
- end)
- end
- function NukeClick(p)
- working = true
- NukeLaunched = true
- local done1,done2,done3 = false,false,false
- pcall(function()
- local al = Instance.new("Sound")
- pcall(function()
- al.Parent = handle
- end)
- al.Volume = 2
- al.SoundId = "rbxassetid://1074331294"
- al.TimePosition = 3.99
- al:Play()
- --local coru=coroutine.wrap(function()
- repeat
- wait()
- until al == nil or al.TimePosition >= 8.9 or true
- al.TimePosition = 5.95
- wait(3.25)
- al.TimePosition = 5.95
- wait(3.25)
- al:Destroy()
- local CloudID= "http://www.roblox.com/asset/?id=1095708"
- local ColorTexture = "http://www.roblox.com/asset/?ID=1361097"
- local RingID = "http://www.roblox.com/asset/?id=3270017"
- local SphereID = "http://www.roblox.com/asset/?id=1185246"
- local Size = 450 --Change the size if you want.
- local Exp = Instance.new("Model")
- Exp.Name = "Tsar"
- Exp.Parent = workspace
- local BasePart = Instance.new("Part")
- BasePart.formFactor = 0
- BasePart.TopSurface = 0
- BasePart.BottomSurface = 0
- BasePart.Anchored = true
- BasePart.Locked = true
- BasePart.CanCollide = false
- local BaseMesh = Instance.new("SpecialMesh")
- BaseMesh.MeshType = "FileMesh"
- local CloudMesh = BaseMesh:clone()
- CloudMesh.MeshId = CloudID
- CloudMesh.TextureId = ColorTexture
- CloudMesh.VertexColor = Vector3.new(0.9,0.6,0)
- local RingMesh = BaseMesh:clone()
- RingMesh.MeshId = RingID
- local SphereMesh = BaseMesh:clone()
- SphereMesh.MeshId = SphereID
- local Blur = Instance.new("BlurEffect")
- Blur.Size = 0
- Blur.Parent = game:GetService("Lighting")
- local Bloom = Instance.new("BloomEffect")
- Bloom.Threshold = 0
- Bloom.Parent = game:GetService("Lighting")
- local DoF = Instance.new("DepthOfFieldEffect")
- DoF.InFocusRadius = 0
- DoF.Parent = game:GetService("Lighting")
- local SunRays = Instance.new("SunRaysEffect")
- SunRays.Intensity = 0
- SunRays.Parent = game:GetService("Lighting")
- local boom = Instance.new("Sound")
- boom.Parent = workspace
- boom.SoundId = "rbxassetid://1502307055"
- boom.Volume = 7
- boom.Pitch = 1
- boom:Play()
- local BeforeNukeAmbient = game:GetService("Lighting").Ambient
- local BeforeNukeBrightness = game:GetService("Lighting").Brightness
- local Clouds = {}
- local ShockWave = {}
- working = false
- function Effects()
- delay(0,function()
- for i = 10, 1,-0.5 do
- wait()
- game:GetService("Lighting").Brightness = i
- end
- game:GetService("TweenService"):Create(Blur,TweenInfo.new(2),{Size = 8}):Play()
- game:GetService("TweenService"):Create(Bloom,TweenInfo.new(2),{Threshold = 8}):Play()
- game:GetService("TweenService"):Create(DoF,TweenInfo.new(2),{InFocusRadius = 10}):Play()
- --game:GetService("TweenService"):Create(SunRays,TweenInfo.new(2),{Intensity = 2}):Play()
- game:GetService("Debris"):AddItem(Blur,5)
- game:GetService("Debris"):AddItem(Blur,Bloom)
- game:GetService("Debris"):AddItem(Blur,DoF)
- game:GetService("Debris"):AddItem(Blur,SunRays)
- game:GetService("Lighting").Ambient = Color3.new(152,159,36)
- game:GetService("TweenService"):Create(game:GetService("Lighting"),TweenInfo.new(2),{Brightness = 5}):Play()
- --game:GetService("Lighting").Brightness = 5
- for i = 0,1,0.01 do
- game:GetService("Lighting").Ambient = game:GetService("Lighting").Ambient:Lerp(Color3.new(0,0,0),i)
- wait()
- end
- end)
- end
- function Destruction(Pos,Radius)
- local function Destroy(Model)
- for i ,v in ipairs(Model:getChildren()) do
- if v:isA("BasePart") then
- if (v.Position-Pos).magnitude < Radius then
- if v.Anchored == false then
- v:BreakJoints()
- v.Velocity = CFrame.new(v.Position,Pos):vectorToWorldSpace(Vector3.new(math.random(-5,5),5,1000))
- v.Material = "CorrodedMetal"
- end
- end
- end
- if #v:getChildren() > 0 then
- Destroy(v)
- end
- end
- end
- Destroy(workspace)
- end
- function Explode(Pos)
- local Base = BasePart:clone()
- Base.Position = Pos
- local Mesh = CloudMesh:clone()
- Mesh.Parent = Base
- Mesh.Scale = Vector3.new(2.5,1,4.5)
- local PoleBase = BasePart:clone()
- PoleBase.Position = Pos+Vector3.new(0,0.1,0)
- local PoleBaseMesh = CloudMesh:clone()
- PoleBaseMesh.Scale = Vector3.new(1.25,2,2.5)
- PoleBaseMesh.Parent = PoleBase
- local Cloud1 = BasePart:clone()
- Cloud1.Position = Pos+Vector3.new(0,0.75,0)
- local Cloud1Mesh = CloudMesh:clone()
- Cloud1Mesh.Scale = Vector3.new(0.5,3,1)
- Cloud1Mesh.Parent = Cloud1
- local Cloud2 = BasePart:clone()
- Cloud2.Position = Pos+Vector3.new(0,1.25,0)
- local Cloud2Mesh = CloudMesh:clone()
- Cloud2Mesh.Scale = Vector3.new(0.5,1.5,1)
- Cloud2Mesh.Parent = Cloud2
- local Cloud3 = BasePart:clone()
- Cloud3.Position = Pos+Vector3.new(0,1.7,0)
- local Cloud3Mesh = CloudMesh:clone()
- Cloud3Mesh.Scale = Vector3.new(0.5,1.5,1)
- Cloud3Mesh.Parent = Cloud3
- local PoleRing = BasePart:clone()
- PoleRing.Position = Pos+Vector3.new(0,1.3,0)
- PoleRing.Transparency = 0.2
- PoleRing.BrickColor = BrickColor.new("Dark stone grey")
- PoleRing.CFrame = PoleRing.CFrame*CFrame.Angles(math.rad(90),0,0)
- local Mesh = RingMesh:clone()
- Mesh.Scale = Vector3.new(1.2,1.2,1.2)
- Mesh.Parent = PoleRing
- local MushCloud = BasePart:clone()
- MushCloud.Position = Pos+Vector3.new(0,2.3,0)
- local MushMesh = CloudMesh:clone() -- lol
- MushMesh.Scale = Vector3.new(2.5,1.75,3.5)
- MushMesh.Parent = MushCloud
- local TopCloud = BasePart:clone()
- TopCloud.Position = Pos+Vector3.new(0,2.7,0)
- local TopMesh = CloudMesh:clone()
- TopMesh.Scale = Vector3.new(7.5,1.5,1.5)
- TopMesh.Parent = TopCloud
- table.insert(Clouds,Base)
- table.insert(Clouds,TopCloud)
- table.insert(Clouds,MushCloud)
- table.insert(Clouds,Cloud1)
- table.insert(Clouds,Cloud2)
- table.insert(Clouds,Cloud3)
- table.insert(Clouds,PoleBase)
- table.insert(Clouds,PoleRing)
- local BigRing = BasePart:clone()
- BigRing.Position = Pos
- BigRing.CFrame = BigRing.CFrame*CFrame.Angles(math.rad(90),0,0)
- local BigMesh = RingMesh:clone()
- BigMesh.Scale = Vector3.new(5,5,1)
- BigMesh.Parent = BigRing
- local SmallRing = BasePart:clone()
- SmallRing.Position = Pos
- SmallRing.BrickColor = BrickColor.new("Dark stone grey")
- SmallRing.CFrame = SmallRing.CFrame*CFrame.Angles(math.rad(90),0,0)
- local SmallMesh = RingMesh:clone()
- SmallMesh.Scale = Vector3.new(4.6,4.6,1.5)
- SmallMesh.Parent = SmallRing
- local InnerSphere = BasePart:clone()
- InnerSphere.Position = Pos
- InnerSphere.BrickColor = BrickColor.new("Bright orange")
- InnerSphere.Transparency = 0.5
- local InnerSphereMesh = SphereMesh:clone()
- InnerSphereMesh.Scale = Vector3.new(-6.5,-6.5,-6.5)
- InnerSphereMesh.Parent = InnerSphere
- local OutterSphere = BasePart:clone()
- OutterSphere.Position = Pos
- OutterSphere.BrickColor = BrickColor.new("Bright orange")
- OutterSphere.Transparency = 0.5
- local OutterSphereMesh = SphereMesh:clone()
- OutterSphereMesh.Scale = Vector3.new(6.5,6.5,6.5)
- OutterSphereMesh.Parent = OutterSphere
- table.insert(ShockWave,BigRing)
- table.insert(ShockWave,SmallRing)
- table.insert(ShockWave,OutterSphere)
- table.insert(ShockWave,InnerSphere)
- for i , v in ipairs(ShockWave) do
- v.Parent = Exp
- end
- for i , v in ipairs(Clouds) do
- v.Parent = Exp
- end
- Effects()
- delay(0,function()
- spawn(function()
- for resize = Size/1.5, Size*3, 0.2 do
- wait()
- pcall(function()
- BigRing.Mesh.Scale = Vector3.new(7*resize,7*resize,1*resize)
- SmallRing.Mesh.Scale = Vector3.new(5.6*resize,5.6*resize,1.5*resize)
- InnerSphere.Mesh.Scale = Vector3.new(-6.5*resize,-6.5*resize,-6.5*resize)
- OutterSphere.Mesh.Scale = Vector3.new(6.5*resize,6.5*resize,6.5*resize)
- Destruction(Pos,3*resize)
- end)
- end
- end)
- for fade = 0, 1, 0.005 do
- wait()
- pcall(function()
- for i ,v in ipairs(ShockWave) do
- v.Transparency = fade
- end
- end)
- end
- for i ,v in ipairs(ShockWave) do
- v:Remove()
- end
- done1 = true
- end)
- delay(0,function()
- for resize = Size/5, Size, 0.1 do
- wait()
- pcall(function()
- Base.Mesh.Scale = Vector3.new(2.5*resize,1*resize,4.5*resize)
- TopCloud.Mesh.Scale = Vector3.new(2*resize,1.5*resize,3*resize)
- MushCloud.Mesh.Scale = Vector3.new(2.5*resize,1.75*resize,3.5*resize)
- Cloud1.Mesh.Scale = Vector3.new(0.5*resize,3*resize,1*resize)
- Cloud2.Mesh.Scale = Vector3.new(0.5*resize,5*resize,1*resize)
- Cloud3.Mesh.Scale = Vector3.new(0.5*resize,5*resize,1*resize)
- PoleBase.Mesh.Scale = Vector3.new(1*resize,3*resize,2.5*resize)
- PoleRing.Mesh.Scale = Vector3.new(1.2*resize,1.2*resize,1.2*resize)
- Base.Position = Pos+Vector3.new(0,0.05*resize,0)
- TopCloud.Position = Pos+Vector3.new(0,2.7*resize,0)*2
- MushCloud.Position = Pos+Vector3.new(0,2.3*resize,0)*2
- Cloud1.Position = Pos+Vector3.new(0,0.75*resize,0)*2
- Cloud2.Position = Pos+Vector3.new(0,1.25*resize,0)*2
- Cloud3.Position = Pos+Vector3.new(0,1.7*resize,0)*2
- PoleBase.Position = Pos+Vector3.new(0,0.1*resize,0)*2
- PoleRing.Position = Pos+Vector3.new(0,1.3*resize,0)*2
- end)
- end
- done2 = true
- end)
- wait(2)
- for y = 0.6,0,-0.0025 do
- wait()
- for i , v in ipairs(Clouds) do
- v.Mesh.VertexColor = Vector3.new(0.9,y,0)
- end
- end
- for r = 0.9,0.5,-0.01 do
- wait()
- for i , v in ipairs(Clouds) do
- v.Mesh.VertexColor = Vector3.new(r,0,0)
- end
- end
- for by = 0,0.5,0.005 do
- wait()
- for i , v in ipairs(Clouds) do
- v.Mesh.VertexColor = Vector3.new(0.5,by,by)
- v.Transparency = by*2.1
- end
- Base.Mesh.Scale = Base.Mesh.Scale+Vector3.new(0.1,0.1,0.1)
- TopCloud.Mesh.Scale = TopCloud.Mesh.Scale+Vector3.new(0.5,0.4,0.5)*2
- MushCloud.Mesh.Scale = MushCloud.Mesh.Scale+Vector3.new(0.3,0.3,0.3)*2
- Cloud1.Mesh.Scale = Cloud1.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
- Cloud2.Mesh.Scale = Cloud2.Mesh.Scale+Vector3.new(0.1,0.4,0.1)*2
- Cloud3.Mesh.Scale = Cloud3.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
- PoleBase.Mesh.Scale = PoleBase.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
- PoleRing.Mesh.Scale = PoleRing.Mesh.Scale+Vector3.new(0.8,0.8,0.8)*2
- end
- done3 = true
- pcall(function()
- repeat wait()
- until done3
- end)
- --while true do wait(1) if done1 and done2 and done3 then break end end
- pcall(function()
- game:GetService("Lighting").Ambient = BeforeNukeAmbient
- game:GetService("Debris"):AddItem(Blur,2.1)
- game:GetService("Debris"):AddItem(Bloom,2.1)
- game:GetService("Debris"):AddItem(DoF,2.1)
- game:GetService("Debris"):AddItem(SunRays,2.1)
- game:GetService("TweenService"):Create(Blur,TweenInfo.new(2),{Size = 0}):Play()
- game:GetService("TweenService"):Create(Bloom,TweenInfo.new(2),{Threshold = 0}):Play()
- game:GetService("TweenService"):Create(DoF,TweenInfo.new(2),{InFocusRadius = 0}):Play()
- game:GetService("TweenService"):Create(SunRays,TweenInfo.new(2),{Intensity = 0}):Play()
- game:GetService("TweenService"):Create(game:GetService("Lighting"),TweenInfo.new(2),{Brightness = BeforeNukeBrightness}):Play()
- Exp:remove()
- end)
- wait(2)
- tool:Destroy()
- --script:Destroy()
- --wait(20)
- end
- NukeAlert()
- Explode(p)
- end)
- --working = false
- end
- tool.Equipped:Connect(NukeAlert)
- tool.Unequipped:Connect(function()
- ready_nuke:Stop()
- end)
- tool.Activated:Connect(function()
- if not NukeLaunched and not working then
- handle.Name = 'used'
- tool.Parent = workspace
- wait()
- NukeClick(handle.Position)
- end
- end)
- tool.Parent = owner:FindFirstChildOfClass("Backpack")
Add Comment
Please, Sign In to add comment