bomb

Run Settings
LanguageLua
Language Version
Run Command
local bomb = Instance.new("Tool") bomb.Name = "bomb" bomb.RequiresHandle = false bomb.CanBeDropped = false local bomb1 = Instance.new("Model") bomb1.Name = "bomb" bomb1.WorldPivot = CFrame.new(47.875, 0.375, -51.9375) bomb1.Parent = bomb local keypad = Instance.new("Model") keypad.Name = "keypad" keypad.WorldPivot = CFrame.new(47.875, 0.6875, -51.75, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) keypad.Parent = bomb1 local Part = Instance.new("Part") Part.Name = "1" Part.BottomSurface = Enum.SurfaceType.Smooth Part.TopSurface = Enum.SurfaceType.Smooth Part.Color = Color3.fromRGB(91, 93, 105) Part.Massless = true Part.Size = Vector3.new(0.25, 0.125, 0.25) Part.CFrame = CFrame.new(47.5, 0.6875, -52.125, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part.Parent = keypad local SurfaceGui = Instance.new("SurfaceGui") SurfaceGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui.Face = Enum.NormalId.Top SurfaceGui.ClipsDescendants = true SurfaceGui.LightInfluence = 1 SurfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui.Parent = Part local TextLabel = Instance.new("TextLabel") TextLabel.Size = UDim2.new(1, 0, 1, 0) TextLabel.BackgroundTransparency = 1 TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel.FontSize = Enum.FontSize.Size14 TextLabel.TextSize = 14 TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel.Text = "1" TextLabel.TextWrapped = true TextLabel.Font = Enum.Font.Code TextLabel.TextWrap = true TextLabel.TextScaled = true TextLabel.Parent = SurfaceGui local BTWeld = Instance.new("Weld") BTWeld.Name = "BTWeld" BTWeld.C1 = CFrame.new(-0.75, 0, 0) BTWeld.Parent = Part local BTWeld1 = Instance.new("Weld") BTWeld1.Name = "BTWeld" BTWeld1.C1 = CFrame.new(-0.375, 0.4375, -0.1875, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) BTWeld1.Parent = Part local BTWeld2 = Instance.new("Weld") BTWeld2.Name = "BTWeld" BTWeld2.C1 = CFrame.new(0.6875, 0.0625, -0.1875, 1, 0, -4.371138828673793e-08, 0, 1, 0, 4.371138828673793e-08, 0, 1) BTWeld2.Parent = Part local BTWeld3 = Instance.new("Weld") BTWeld3.Name = "BTWeld" BTWeld3.C1 = CFrame.new(0, 0, 0.375) BTWeld3.Parent = Part local BTWeld4 = Instance.new("Weld") BTWeld4.Name = "BTWeld" BTWeld4.C1 = CFrame.new(-0.75, 0, 0.375) BTWeld4.Parent = Part local BTWeld5 = Instance.new("Weld") BTWeld5.Name = "BTWeld" BTWeld5.C1 = CFrame.new(0.6875, 0.125, 0.5, 1, 0, -4.371138828673793e-08, 0, 1, 0, 4.371138828673793e-08, 0, 1) BTWeld5.Parent = Part local BTWeld6 = Instance.new("Weld") BTWeld6.Name = "BTWeld" BTWeld6.C1 = CFrame.new(-0.375, 0, 0.75) BTWeld6.Parent = Part local BTWeld7 = Instance.new("Weld") BTWeld7.Name = "BTWeld" BTWeld7.C1 = CFrame.new(-1.125, 0, 0.375) BTWeld7.Parent = Part local BTWeld8 = Instance.new("Weld") BTWeld8.Name = "BTWeld" BTWeld8.C1 = CFrame.new(-0.375, 0.125, -0.5, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) BTWeld8.Parent = Part local BTWeld9 = Instance.new("Weld") BTWeld9.Name = "BTWeld" BTWeld9.C1 = CFrame.new(0, 0, 0.75) BTWeld9.Parent = Part local BTWeld10 = Instance.new("Weld") BTWeld10.Name = "BTWeld" BTWeld10.C1 = CFrame.new(-0.75, 0, 0.75) BTWeld10.Parent = Part local BTWeld11 = Instance.new("Weld") BTWeld11.Name = "BTWeld" BTWeld11.C1 = CFrame.new(0.12500405311584473, -0.6879997253417969, -0.18799591064453125, -4.371138828673793e-08, 1, 0, -1, -4.371138828673793e-08, 0, 0, 0, 1) BTWeld11.Parent = Part local BTWeld12 = Instance.new("Weld") BTWeld12.Name = "BTWeld" BTWeld12.C1 = CFrame.new(-0.375, 0, 0) BTWeld12.Parent = Part local BTWeld13 = Instance.new("Weld") BTWeld13.Name = "BTWeld" BTWeld13.C1 = CFrame.new(-0.375, 0, 0.375) BTWeld13.Parent = Part local Part1 = Instance.new("Part") Part1.Name = "2" Part1.BottomSurface = Enum.SurfaceType.Smooth Part1.TopSurface = Enum.SurfaceType.Smooth Part1.Color = Color3.fromRGB(91, 93, 105) Part1.Massless = true Part1.Size = Vector3.new(0.25, 0.125, 0.25) Part1.CFrame = CFrame.new(47.875, 0.6875, -52.125, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part1.Parent = keypad local SurfaceGui1 = Instance.new("SurfaceGui") SurfaceGui1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui1.Face = Enum.NormalId.Top SurfaceGui1.ClipsDescendants = true SurfaceGui1.LightInfluence = 1 SurfaceGui1.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui1.Parent = Part1 local TextLabel1 = Instance.new("TextLabel") TextLabel1.Size = UDim2.new(1, 0, 1, 0) TextLabel1.BackgroundTransparency = 1 TextLabel1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel1.FontSize = Enum.FontSize.Size14 TextLabel1.TextSize = 14 TextLabel1.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel1.Text = "2" TextLabel1.TextWrapped = true TextLabel1.Font = Enum.Font.Code TextLabel1.TextWrap = true TextLabel1.TextScaled = true TextLabel1.Parent = SurfaceGui1 local Part2 = Instance.new("Part") Part2.Name = "4" Part2.BottomSurface = Enum.SurfaceType.Smooth Part2.TopSurface = Enum.SurfaceType.Smooth Part2.Color = Color3.fromRGB(91, 93, 105) Part2.Massless = true Part2.Size = Vector3.new(0.25, 0.125, 0.25) Part2.CFrame = CFrame.new(47.5, 0.6875, -51.75, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part2.Parent = keypad local SurfaceGui2 = Instance.new("SurfaceGui") SurfaceGui2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui2.Face = Enum.NormalId.Top SurfaceGui2.ClipsDescendants = true SurfaceGui2.LightInfluence = 1 SurfaceGui2.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui2.Parent = Part2 local TextLabel2 = Instance.new("TextLabel") TextLabel2.Size = UDim2.new(1, 0, 1, 0) TextLabel2.BackgroundTransparency = 1 TextLabel2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel2.FontSize = Enum.FontSize.Size14 TextLabel2.TextSize = 14 TextLabel2.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel2.Text = "4" TextLabel2.TextWrapped = true TextLabel2.Font = Enum.Font.Code TextLabel2.TextWrap = true TextLabel2.TextScaled = true TextLabel2.Parent = SurfaceGui2 local Part3 = Instance.new("Part") Part3.Name = "6" Part3.BottomSurface = Enum.SurfaceType.Smooth Part3.TopSurface = Enum.SurfaceType.Smooth Part3.Color = Color3.fromRGB(91, 93, 105) Part3.Massless = true Part3.Size = Vector3.new(0.25, 0.125, 0.25) Part3.CFrame = CFrame.new(48.25, 0.6875, -51.75, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part3.Parent = keypad local SurfaceGui3 = Instance.new("SurfaceGui") SurfaceGui3.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui3.Face = Enum.NormalId.Top SurfaceGui3.ClipsDescendants = true SurfaceGui3.LightInfluence = 1 SurfaceGui3.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui3.Parent = Part3 local TextLabel3 = Instance.new("TextLabel") TextLabel3.Size = UDim2.new(1, 0, 1, 0) TextLabel3.BackgroundTransparency = 1 TextLabel3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel3.FontSize = Enum.FontSize.Size14 TextLabel3.TextSize = 14 TextLabel3.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel3.Text = "8" TextLabel3.TextWrapped = true TextLabel3.Font = Enum.Font.Code TextLabel3.TextWrap = true TextLabel3.TextScaled = true TextLabel3.Parent = SurfaceGui3 local Part4 = Instance.new("Part") Part4.Name = "8" Part4.BottomSurface = Enum.SurfaceType.Smooth Part4.TopSurface = Enum.SurfaceType.Smooth Part4.Color = Color3.fromRGB(91, 93, 105) Part4.Massless = true Part4.Size = Vector3.new(0.25, 0.125, 0.25) Part4.CFrame = CFrame.new(47.875, 0.6875, -51.375, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part4.Parent = keypad local SurfaceGui4 = Instance.new("SurfaceGui") SurfaceGui4.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui4.Face = Enum.NormalId.Top SurfaceGui4.ClipsDescendants = true SurfaceGui4.LightInfluence = 1 SurfaceGui4.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui4.Parent = Part4 local TextLabel4 = Instance.new("TextLabel") TextLabel4.Size = UDim2.new(1, 0, 1, 0) TextLabel4.BackgroundTransparency = 1 TextLabel4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel4.FontSize = Enum.FontSize.Size14 TextLabel4.TextSize = 14 TextLabel4.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel4.Text = "8" TextLabel4.TextWrapped = true TextLabel4.Font = Enum.Font.Code TextLabel4.TextWrap = true TextLabel4.TextScaled = true TextLabel4.Parent = SurfaceGui4 local Part5 = Instance.new("Part") Part5.Name = "5" Part5.BottomSurface = Enum.SurfaceType.Smooth Part5.TopSurface = Enum.SurfaceType.Smooth Part5.Color = Color3.fromRGB(91, 93, 105) Part5.Massless = true Part5.Size = Vector3.new(0.25, 0.125, 0.25) Part5.CFrame = CFrame.new(47.875, 0.6875, -51.75, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part5.Parent = keypad local SurfaceGui5 = Instance.new("SurfaceGui") SurfaceGui5.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui5.Face = Enum.NormalId.Top SurfaceGui5.ClipsDescendants = true SurfaceGui5.LightInfluence = 1 SurfaceGui5.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui5.Parent = Part5 local TextLabel5 = Instance.new("TextLabel") TextLabel5.Size = UDim2.new(1, 0, 1, 0) TextLabel5.BackgroundTransparency = 1 TextLabel5.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel5.FontSize = Enum.FontSize.Size14 TextLabel5.TextSize = 14 TextLabel5.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel5.Text = "5" TextLabel5.TextWrapped = true TextLabel5.Font = Enum.Font.Code TextLabel5.TextWrap = true TextLabel5.TextScaled = true TextLabel5.Parent = SurfaceGui5 local Part6 = Instance.new("Part") Part6.Name = "9" Part6.BottomSurface = Enum.SurfaceType.Smooth Part6.TopSurface = Enum.SurfaceType.Smooth Part6.Color = Color3.fromRGB(91, 93, 105) Part6.Massless = true Part6.Size = Vector3.new(0.25, 0.125, 0.25) Part6.CFrame = CFrame.new(48.25, 0.6875, -51.375, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part6.Parent = keypad local SurfaceGui6 = Instance.new("SurfaceGui") SurfaceGui6.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui6.Face = Enum.NormalId.Top SurfaceGui6.ClipsDescendants = true SurfaceGui6.LightInfluence = 1 SurfaceGui6.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui6.Parent = Part6 local TextLabel6 = Instance.new("TextLabel") TextLabel6.Size = UDim2.new(1, 0, 1, 0) TextLabel6.BackgroundTransparency = 1 TextLabel6.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel6.FontSize = Enum.FontSize.Size14 TextLabel6.TextSize = 14 TextLabel6.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel6.Text = "9" TextLabel6.TextWrapped = true TextLabel6.Font = Enum.Font.Code TextLabel6.TextWrap = true TextLabel6.TextScaled = true TextLabel6.Parent = SurfaceGui6 local Part7 = Instance.new("Part") Part7.Name = "7" Part7.BottomSurface = Enum.SurfaceType.Smooth Part7.TopSurface = Enum.SurfaceType.Smooth Part7.Color = Color3.fromRGB(91, 93, 105) Part7.Massless = true Part7.Size = Vector3.new(0.25, 0.125, 0.25) Part7.CFrame = CFrame.new(47.5, 0.6875, -51.375, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part7.Parent = keypad local SurfaceGui7 = Instance.new("SurfaceGui") SurfaceGui7.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui7.Face = Enum.NormalId.Top SurfaceGui7.ClipsDescendants = true SurfaceGui7.LightInfluence = 1 SurfaceGui7.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui7.Parent = Part7 local TextLabel7 = Instance.new("TextLabel") TextLabel7.Size = UDim2.new(1, 0, 1, 0) TextLabel7.BackgroundTransparency = 1 TextLabel7.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel7.FontSize = Enum.FontSize.Size14 TextLabel7.TextSize = 14 TextLabel7.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel7.Text = "7" TextLabel7.TextWrapped = true TextLabel7.Font = Enum.Font.Code TextLabel7.TextWrap = true TextLabel7.TextScaled = true TextLabel7.Parent = SurfaceGui7 local Part8 = Instance.new("Part") Part8.Name = "3" Part8.BottomSurface = Enum.SurfaceType.Smooth Part8.TopSurface = Enum.SurfaceType.Smooth Part8.Color = Color3.fromRGB(91, 93, 105) Part8.Massless = true Part8.Size = Vector3.new(0.25, 0.125, 0.25) Part8.CFrame = CFrame.new(48.25, 0.6875, -52.125, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part8.Parent = keypad local SurfaceGui8 = Instance.new("SurfaceGui") SurfaceGui8.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui8.Face = Enum.NormalId.Top SurfaceGui8.ClipsDescendants = true SurfaceGui8.LightInfluence = 1 SurfaceGui8.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui8.Parent = Part8 local TextLabel8 = Instance.new("TextLabel") TextLabel8.Size = UDim2.new(1, 0, 1, 0) TextLabel8.BackgroundTransparency = 1 TextLabel8.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel8.FontSize = Enum.FontSize.Size14 TextLabel8.TextSize = 14 TextLabel8.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel8.Text = "3" TextLabel8.TextWrapped = true TextLabel8.Font = Enum.Font.Code TextLabel8.TextWrap = true TextLabel8.TextScaled = true TextLabel8.Parent = SurfaceGui8 local Part9 = Instance.new("Part") Part9.Name = "0" Part9.BottomSurface = Enum.SurfaceType.Smooth Part9.TopSurface = Enum.SurfaceType.Smooth Part9.Color = Color3.fromRGB(91, 93, 105) Part9.Massless = true Part9.Size = Vector3.new(0.25, 0.125, 0.25) Part9.CFrame = CFrame.new(47.875, 0.6875, -51, -4.371138828673793e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138828673793e-08) Part9.Parent = keypad local SurfaceGui9 = Instance.new("SurfaceGui") SurfaceGui9.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui9.Face = Enum.NormalId.Top SurfaceGui9.ClipsDescendants = true SurfaceGui9.LightInfluence = 1 SurfaceGui9.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui9.Parent = Part9 local TextLabel9 = Instance.new("TextLabel") TextLabel9.Size = UDim2.new(1, 0, 1, 0) TextLabel9.BackgroundTransparency = 1 TextLabel9.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel9.FontSize = Enum.FontSize.Size14 TextLabel9.TextSize = 14 TextLabel9.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel9.Text = "0" TextLabel9.TextWrapped = true TextLabel9.Font = Enum.Font.Code TextLabel9.TextWrap = true TextLabel9.TextScaled = true TextLabel9.Parent = SurfaceGui9 local bomb2 = Instance.new("Part") bomb2.Name = "bomb" bomb2.BottomSurface = Enum.SurfaceType.Smooth bomb2.TopSurface = Enum.SurfaceType.Smooth bomb2.Color = Color3.fromRGB(17, 17, 17) bomb2.Massless = true bomb2.Size = Vector3.new(1.25, 0.125, 1.75) bomb2.CFrame = CFrame.new(47.875, 0.5625, -51.625) bomb2.Parent = keypad local bomb3 = Instance.new("Part") bomb3.Name = "base" bomb3.BottomSurface = Enum.SurfaceType.Smooth bomb3.TopSurface = Enum.SurfaceType.Smooth bomb3.Color = Color3.fromRGB(39, 70, 45) bomb3.Massless = true bomb3.Material = Enum.Material.DiamondPlate bomb3.Size = Vector3.new(2, 0.5, 2.875) bomb3.CFrame = CFrame.new(47.875, 0.25, -51.9375) bomb3.Parent = bomb1 local plant = Instance.new("Sound") plant.Name = "plant" plant.Volume = 5 plant.SoundId = "rbxassetid://4915042781" plant.Parent = bomb3 local sound1 = Instance.new("Sound") sound1.Name = "sound1" sound1.Volume = 5 sound1.SoundId = "rbxassetid://6767795522" sound1.Parent = bomb3 local detonating = Instance.new("Sound") detonating.Name = "detonating" detonating.Volume = 5 detonating.SoundId = "rbxassetid://4854660190" detonating.Parent = bomb3 local explode = Instance.new("Sound") explode.Name = "explode" explode.Volume = 10 explode.PlayOnRemove = true explode.SoundId = "rbxassetid://252142019" explode.Parent = bomb3 game:GetService("ContentProvider"):PreloadAsync({plant, sound1, detonating,explode}) local light = Instance.new("Model") light.Name = "light" light.WorldPivot = CFrame.new(47.312252044677734, 0.5937479734420776, -52.81275177001953, 0, 0, -1, 0, 1, 0, 1, 0, 0) light.Parent = bomb1 local l = Instance.new("Part") l.Name = "l" l.BottomSurface = Enum.SurfaceType.Smooth l.TopSurface = Enum.SurfaceType.Smooth l.Color = Color3.fromRGB(248, 248, 248) l.Massless = true l.Material = Enum.Material.Neon l.Size = Vector3.new(0.125, 0.125, 0.125) l.CFrame = CFrame.new(47.3125, 0.625, -52.8125, 0, 0, -1, 0, 1, 0, 1, 0, 0) l.Shape = Enum.PartType.Ball l.Parent = light local PointLight = Instance.new("PointLight") PointLight.Brightness = 30 PointLight.Enabled = false PointLight.Range = 3 PointLight.Parent = l local bomb4 = Instance.new("Part") bomb4.Name = "bomb" bomb4.BottomSurface = Enum.SurfaceType.Smooth bomb4.TopSurface = Enum.SurfaceType.Smooth bomb4.Color = Color3.fromRGB(248, 248, 248) bomb4.Massless = true bomb4.Material = Enum.Material.Neon bomb4.Size = Vector3.new(0.125, 0.125, 0.125) bomb4.CFrame = CFrame.new(47.31200408935547, 0.5624959468841553, -52.8129997253418, 1.910685465164705e-15, 4.371138828673793e-08, -1, 1, -4.371138828673793e-08, 0, -4.371138828673793e-08, -1, -4.371138828673793e-08) bomb4.Shape = Enum.PartType.Cylinder bomb4.Parent = light local bomb5 = Instance.new("Part") bomb5.Name = "bomb" bomb5.BottomSurface = Enum.SurfaceType.Smooth bomb5.TopSurface = Enum.SurfaceType.Smooth bomb5.Color = Color3.fromRGB(39, 70, 45) bomb5.Massless = true bomb5.Size = Vector3.new(0.375, 0.125, 1) bomb5.CFrame = CFrame.new(48, 0.5625, -52.8125, 0, 0, -1, 0, 1, 0, 1, 0, 0) bomb5.Parent = bomb1 local SurfaceGui10 = Instance.new("SurfaceGui") SurfaceGui10.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui10.Face = Enum.NormalId.Top SurfaceGui10.ClipsDescendants = true SurfaceGui10.LightInfluence = 1 SurfaceGui10.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud SurfaceGui10.PixelsPerStud = 90 SurfaceGui10.CanvasSize = Vector2.new(320, 64) SurfaceGui10.Parent = bomb5 local TextBox = Instance.new("TextBox") TextBox.Size = UDim2.new(1, -4, 1, 0) TextBox.BackgroundTransparency = 1 TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextBox.FontSize = Enum.FontSize.Size18 TextBox.TextSize = 16 TextBox.ShowNativeInput = false TextBox.TextColor3 = Color3.fromRGB(0, 0, 0) TextBox.TextTransparency = 0.4 TextBox.Text = "bomb ready" TextBox.TextEditable = false TextBox.Font = Enum.Font.Code TextBox.TextXAlignment = Enum.TextXAlignment.Right TextBox.ClearTextOnFocus = false TextBox.Parent = SurfaceGui10 BTWeld.Part1 = Part7 BTWeld.Part0 = Part BTWeld1.Part1 = bomb3 BTWeld1.Part0 = Part BTWeld2.Part1 = l BTWeld2.Part0 = Part BTWeld3.Part1 = Part1 BTWeld3.Part0 = Part BTWeld4.Part1 = Part4 BTWeld4.Part0 = Part BTWeld5.Part1 = bomb5 BTWeld5.Part0 = Part BTWeld6.Part1 = Part3 BTWeld6.Part0 = Part BTWeld7.Part1 = Part9 BTWeld7.Part0 = Part BTWeld8.Part1 = bomb2 BTWeld8.Part0 = Part BTWeld9.Part1 = Part8 BTWeld9.Part0 = Part BTWeld10.Part1 = Part6 BTWeld10.Part0 = Part BTWeld11.Part1 = bomb4 BTWeld11.Part0 = Part BTWeld12.Part1 = Part2 BTWeld12.Part0 = Part BTWeld13.Part1 = Part5 BTWeld13.Part0 = Part local char = owner.Character local hum = char.Humanoid local hrp = char.HumanoidRootPart local r = char:FindFirstChild("RootJoint",true) local n = char:FindFirstChild("Neck",true) local ls = char:FindFirstChild("Left Shoulder",true) local rs = char:FindFirstChild("Right Shoulder",true) local lh = char:FindFirstChild("Left Hip",true) local rh = char:FindFirstChild("Right Hip",true) bomb.Parent = owner.Backpack bomb1.Parent = nil function pose1() local alpha = 1 r.C0 =r.C0:Lerp(CFrame.new(0 + (0),-0.4 + (0),0 + (0)) * CFrame.Angles(math.rad(-100 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) n.C0 =n.C0:Lerp(CFrame.new(0 + (0),1 + (0),0 + (0)) * CFrame.Angles(math.rad(-90 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) ls.C0 =ls.C0:Lerp(CFrame.new(-1 + (0),0.2 + (0),-0.8 + (0)) * CFrame.Angles(math.rad(35 + (0)),math.rad(-90 + (0)),math.rad(0 + (0))),alpha) rs.C0 =rs.C0:Lerp(CFrame.new(1.1 + (0),0 + (0),-0.7000000000000001 + (0)) * CFrame.Angles(math.rad(145 + (0)),math.rad(80 + (0)),math.rad(-90 + (0))),alpha) lh.C0 =lh.C0:Lerp(CFrame.new(-1 + (0),-1.5 + (0),-0.30000000000000004 + (0)) * CFrame.Angles(math.rad(-65 + (0)),math.rad(-90 + (0)),math.rad(0 + (0))),alpha) rh.C0 =rh.C0:Lerp(CFrame.new(1 + (0),-0.4 + (0),-0.30000000000000004 + (0)) * CFrame.Angles(math.rad(10 + (0)),math.rad(90 + (0)),math.rad(0 + (0))),alpha) end function pose2() local alpha = 1 r.C0 =r.C0:Lerp(CFrame.new(0 + (0),-0.4 + (0),0 + (0)) * CFrame.Angles(math.rad(-100 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) n.C0 =n.C0:Lerp(CFrame.new(0 + (0),1 + (0),0 + (0)) * CFrame.Angles(math.rad(-90 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) ls.C0 =ls.C0:Lerp(CFrame.new(-0.5 + (0),-0.2 + (0),-1.5 + (0)) * CFrame.Angles(math.rad(138 + (0)),math.rad(-61 + (0)),math.rad(77 + (0))),alpha) rs.C0 =rs.C0:Lerp(CFrame.new(1.1 + (0),0 + (0),-0.7000000000000001 + (0)) * CFrame.Angles(math.rad(145 + (0)),math.rad(80 + (0)),math.rad(-90 + (0))),alpha) lh.C0 =lh.C0:Lerp(CFrame.new(-1 + (0),-1.5 + (0),-0.30000000000000004 + (0)) * CFrame.Angles(math.rad(-65 + (0)),math.rad(-90 + (0)),math.rad(0 + (0))),alpha) rh.C0 =rh.C0:Lerp(CFrame.new(1 + (0),-0.4 + (0),-0.30000000000000004 + (0)) * CFrame.Angles(math.rad(10 + (0)),math.rad(90 + (0)),math.rad(0 + (0))),alpha) end function default() local alpha = 1 r.C0 =r.C0:Lerp(CFrame.new(0 + (0),0 + (0),0 + (0)) * CFrame.Angles(math.rad(-90 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) n.C0 =n.C0:Lerp(CFrame.new(0 + (0),1 + (0),0 + (0)) * CFrame.Angles(math.rad(-90 + (0)),math.rad(0 + (0)),math.rad(-180 + (0))),alpha) ls.C0 =ls.C0:Lerp(CFrame.new(-1 + (0),0.5 + (0),0 + (0)) * CFrame.Angles(math.rad(-0 + (0)),math.rad(-90 + (0)),math.rad(0 + (0))),alpha) rs.C0 =rs.C0:Lerp(CFrame.new(1 + (0),0.5 + (0),0 + (0)) * CFrame.Angles(math.rad(-0 + (0)),math.rad(90 + (0)),math.rad(0 + (0))),alpha) lh.C0 =lh.C0:Lerp(CFrame.new(-1 + (0),-1 + (0),0 + (0)) * CFrame.Angles(math.rad(-0 + (0)),math.rad(-90 + (0)),math.rad(0 + (0))),alpha) rh.C0 =rh.C0:Lerp(CFrame.new(1 + (0),-1 + (0),0 + (0)) * CFrame.Angles(math.rad(-0 + (0)),math.rad(90 + (0)),math.rad(0 + (0))),alpha) end function gcode(length) local str = "" for i = 1, length do str = str .. tostring(math.random(0, 9)) end return str end local beep = Instance.new("Sound") beep.Name = "beep" beep.Volume = 5 beep.SoundId = "rbxassetid://7818577205" beep.Parent = bomb3 bomb.Activated:Connect(function() local ray = workspace:Raycast((hrp.CFrame*CFrame.new(0,0,-2)).Position, Vector3.new(0, -500, 0)) if not ray then return end local bomb6 = bomb1:Clone() bomb6.Parent = script local bomb66 =bomb6.base local explode = Instance.new("Sound") explode.Name = "explode" explode.Volume = 10 explode.PlayOnRemove = true explode.SoundId = "rbxassetid://252142019" explode.Parent = bomb66 local light = bomb6.light.l.PointLight local pos = ray.Position+Vector3.new(0, 0.375, 0) bomb6:PivotTo(CFrame.new(pos, pos+ray.Normal) * CFrame.Angles(math.rad(-90),0,0)) bomb66.Anchored = true bomb66.plant:Play() pose1() local n = gcode(7) task.spawn(function() local t = "" for i = 1, 7 do local n2 = n:sub(i,i) t ..= n2 TextBox.Text = t pose2() task.wait(0.15) pose1() task.wait(0.1) end end) task.wait(2.75) TextBox.Text = "detonated" default() bomb66.sound1:Play() local t = 1 repeat task.wait(t) t -= 0.022 local s = beep:Clone() s.Parent = bomb66 s:Play() coroutine.wrap(function() light.Enabled = true task.wait(0.1) light.Enabled = false end)() until t <= 0.12 bomb66.detonating:Play() task.wait(2.1) bomb66:FindFirstChild("explode"):Destroy() bomb6:Destroy() local parts = workspace:GetPartBoundsInRadius(bomb66.Position, 96) for i,v in pairs(parts) do pcall(function() v.Anchored = false v.Massless = true end) end local Explosion = Instance.new("Explosion") Explosion.BlastRadius = 96 Explosion.TimeScale = 1 Explosion.Position = bomb66.Position Explosion.Parent = script end)
Editor Settings
Theme
Key bindings
Full width
Lines