Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- using = false
- armed = true
- fastbeep = false
- mouse = game.Players.LocalPlayer:GetMouse()
- initalizing = true
- local c4parts = {}
- Character.Humanoid.WalkSpeed = 100
- Character.Humanoid.DisplayDistanceType = "None" -- Dont trace the crime to you
- wait()
- initalizing = false
- ---------------------------------------- MAKE THE EXPLOSIVE!
- function makeparts()
- --ZE MODEL--
- obj1 = Instance.new("Model", workspace)
- obj1.Name = "Stoopid Splosive"
- --DA PLASTIC SPLOSIVE--
- c4_1 = Instance.new("Part", obj1)
- c4_1.Name = "Splosive-1"
- c4_1.CFrame = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(0, 0, 0)
- c4_1.Material = Enum.Material.Concrete
- c4_1.Size = Vector3.new(2, 0.42, 0.5)
- c4_1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- c4_1.Anchored = true
- c4_1.BrickColor = BrickColor.new("Bright green")
- c4_1.Friction = 0.30000001192093
- c4_1.Shape = Enum.PartType.Block
- local c4 = c4_1
- local c4_2 = Instance.new("Part", obj1)
- c4_2.Name = "Splosive-2"
- c4_2.CFrame = CFrame.new(Vector3.new(0, 0, 0.5)) * CFrame.Angles(0, 0, 0)
- c4_2.Material = Enum.Material.Concrete
- c4_2.Size = Vector3.new(2, 0.42, 0.5)
- c4_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- c4_2.Anchored = true
- c4_2.BrickColor = BrickColor.new("Bright green")
- c4_2.Friction = 0.30000001192093
- c4_2.Shape = Enum.PartType.Block
- local c4_3 = Instance.new("Part", obj1)
- c4_3.Name = "Splosive-3"
- c4_3.CFrame = CFrame.new(Vector3.new(0, 0, 1)) * CFrame.Angles(0, 0, 0)
- c4_3.Material = Enum.Material.Concrete
- c4_3.Size = Vector3.new(2, 0.42, 0.5)
- c4_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- c4_3.Anchored = true
- c4_3.BrickColor = BrickColor.new("Bright green")
- c4_3.Friction = 0.30000001192093
- c4_3.Shape = Enum.PartType.Block
- local casing1 = Instance.new("Part", obj1)
- casing1.Name = "Casing-1"
- casing1.CFrame = CFrame.new(Vector3.new(0, 0, 0.5)) * CFrame.Angles(0, 0, 0)
- casing1.Material = Enum.Material.Plastic
- casing1.Size = Vector3.new(0.74, 0.05, 1.52)
- casing1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing1.Anchored = true
- casing1.BrickColor = BrickColor.new("Black")
- casing1.Friction = 0.30000001192093
- casing1.Shape = Enum.PartType.Block
- local casing2 = Instance.new("Part", obj1)
- casing2.Name = "Casing-2"
- casing2.CFrame = CFrame.new(Vector3.new(0, -0.225, 0.5)) * CFrame.Angles(0, 0, 0)
- casing2.Material = Enum.Material.Plastic
- casing2.Size = Vector3.new(2.07, 0.05, 0.69)
- casing2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing2.Anchored = true
- casing2.BrickColor = BrickColor.new("Black")
- casing2.Friction = 0.30000001192093
- casing2.Shape = Enum.PartType.Block
- local casing3 = Instance.new("Part", obj1)
- casing3.Name = "Casing-3"
- casing3.CFrame = CFrame.new(Vector3.new(0, -0.26, 0.5)) * CFrame.Angles(0, 0, 0)
- casing3.Material = Enum.Material.Plastic
- casing3.Size = Vector3.new(0.74, 0.05, 1.52)
- casing3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- casing3.Anchored = true
- casing3.BrickColor = BrickColor.new("Black")
- casing3.Friction = 0.30000001192093
- casing3.Shape = Enum.PartType.Block
- local casing4 = Instance.new("Part", obj1)
- casing4.Name = "Casing-4"
- casing4.CFrame = CFrame.new(Vector3.new(0, -0.3, 0.5)) * CFrame.Angles(0, 0, 0)
- casing4.Material = Enum.Material.Plastic
- casing4.Size = Vector3.new(2.07, 0.05, 0.69)
- casing4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- casing4.Anchored = true
- casing4.BrickColor = BrickColor.new("Black")
- casing4.Friction = 0.30000001192093
- casing4.Shape = Enum.PartType.Block
- local casing5 = Instance.new("Part", obj1)
- casing5.Name = "Casing-5"
- casing5.CFrame = CFrame.new(Vector3.new(0, -0, -0.3)) * CFrame.Angles(0, 0, 0)
- casing5.Material = Enum.Material.Plastic
- casing5.Size = Vector3.new(0.74, 0.46, 0.05)
- casing5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing5.Anchored = true
- casing5.BrickColor = BrickColor.new("Black")
- casing5.Friction = 0.30000001192093
- casing5.Shape = Enum.PartType.Block
- local casing6 = Instance.new("Part", obj1)
- casing6.Name = "Casing-6"
- casing6.CFrame = CFrame.new(Vector3.new(0, -0, 1.3)) * CFrame.Angles(0, 0, 0)
- casing6.Material = Enum.Material.Plastic
- casing6.Size = Vector3.new(0.74, 0.46, 0.05)
- casing6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing6.Anchored = true
- casing6.BrickColor = BrickColor.new("Black")
- casing6.Friction = 0.30000001192093
- casing6.Shape = Enum.PartType.Block
- local casing7 = Instance.new("Part", obj1)
- casing7.Name = "Casing-7"
- casing7.CFrame = CFrame.new(Vector3.new(1.1, -0, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
- casing7.Material = Enum.Material.Plastic
- casing7.Size = Vector3.new(0.74, 0.46, 0.05)
- casing7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing7.Anchored = true
- casing7.BrickColor = BrickColor.new("Black")
- casing7.Friction = 0.30000001192093
- casing7.Shape = Enum.PartType.Block
- local casing8 = Instance.new("Part", obj1)
- casing8.Name = "Casing-8"
- casing8.CFrame = CFrame.new(Vector3.new(-1.1, -0, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
- casing8.Material = Enum.Material.Plastic
- casing8.Size = Vector3.new(0.74, 0.46, 0.05)
- casing8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- casing8.Anchored = true
- casing8.BrickColor = BrickColor.new("Black")
- casing8.Friction = 0.30000001192093
- casing8.Shape = Enum.PartType.Block
- ---------CODE ENTRY AREA PART THING----------------------
- Part0 = Instance.new("Part")
- SurfaceGui1 = Instance.new("SurfaceGui")
- Frame2 = Instance.new("Frame")
- TextLabel3 = Instance.new("TextLabel")
- Frame4 = Instance.new("Frame")
- TextLabel5 = Instance.new("TextLabel")
- Frame6 = Instance.new("Frame")
- TextLabel7 = Instance.new("TextLabel")
- Frame8 = Instance.new("Frame")
- TextLabel9 = Instance.new("TextLabel")
- Frame10 = Instance.new("Frame")
- TextLabel11 = Instance.new("TextLabel")
- Frame12 = Instance.new("Frame")
- TextLabel13 = Instance.new("TextLabel")
- Frame14 = Instance.new("Frame")
- TextLabel15 = Instance.new("TextLabel")
- Frame16 = Instance.new("Frame")
- TextLabel17 = Instance.new("TextLabel")
- Frame18 = Instance.new("Frame")
- TextLabel19 = Instance.new("TextLabel")
- Frame20 = Instance.new("Frame")
- TextLabel21 = Instance.new("TextLabel")
- Frame22 = Instance.new("Frame")
- TextLabel23 = Instance.new("TextLabel")
- Frame24 = Instance.new("Frame")
- TextLabel25 = Instance.new("TextLabel")
- Frame26 = Instance.new("Frame")
- TextLabel27 = Instance.new("TextLabel")
- Part0.Parent = obj1
- Part0.BrickColor = BrickColor.new("Black")
- Part0.Size = Vector3.new(0.740001202, 0.109999992, 0.599999905)
- Part0.CFrame = CFrame.new(Vector3.new(0, 0.25, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SurfaceGui1.Parent = Part0
- SurfaceGui1.Face = Enum.NormalId.Top
- Frame2.Parent = SurfaceGui1
- Frame2.Transparency = 1
- Frame2.Size = UDim2.new(1, 0, 0.200000003, 0)
- Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame2.BackgroundTransparency = 1
- TextLabel3.Parent = Frame2
- TextLabel3.Size = UDim2.new(1, 0, 1, 0)
- TextLabel3.Text = "CODE: 3 TRIES REMAIN"
- TextLabel3.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel3.Font = Enum.Font.Code
- TextLabel3.FontSize = Enum.FontSize.Size14
- TextLabel3.TextColor3 = Color3.new(0, 1, 0)
- TextLabel3.TextScaled = true
- TextLabel3.TextWrapped = true
- Frame4.Name = "1"
- Frame4.Parent = SurfaceGui1
- Frame4.Transparency = 1
- Frame4.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame4.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame4.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame4.BackgroundTransparency = 1
- TextLabel5.Parent = Frame4
- TextLabel5.Size = UDim2.new(1, 0, 1, 0)
- TextLabel5.Text = "1"
- TextLabel5.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel5.Font = Enum.Font.Code
- TextLabel5.FontSize = Enum.FontSize.Size14
- TextLabel5.TextColor3 = Color3.new(0, 1, 0)
- TextLabel5.TextScaled = true
- TextLabel5.TextWrapped = true
- Frame6.Name = "2"
- Frame6.Parent = SurfaceGui1
- Frame6.Transparency = 1
- Frame6.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame6.Position = UDim2.new(0.400000006, 0, 0.200000003, 0)
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- TextLabel7.Parent = Frame6
- TextLabel7.Size = UDim2.new(1, 0, 1, 0)
- TextLabel7.Text = "2"
- TextLabel7.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel7.Font = Enum.Font.Code
- TextLabel7.FontSize = Enum.FontSize.Size14
- TextLabel7.TextColor3 = Color3.new(0, 1, 0)
- TextLabel7.TextScaled = true
- TextLabel7.TextWrapped = true
- Frame8.Name = "3"
- Frame8.Parent = SurfaceGui1
- Frame8.Transparency = 1
- Frame8.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame8.Position = UDim2.new(0.600000024, 0, 0.200000003, 0)
- Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame8.BackgroundTransparency = 1
- TextLabel9.Parent = Frame8
- TextLabel9.Size = UDim2.new(1, 0, 1, 0)
- TextLabel9.Text = "3"
- TextLabel9.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel9.Font = Enum.Font.Code
- TextLabel9.FontSize = Enum.FontSize.Size14
- TextLabel9.TextColor3 = Color3.new(0, 1, 0)
- TextLabel9.TextScaled = true
- TextLabel9.TextWrapped = true
- Frame10.Name = "4"
- Frame10.Parent = SurfaceGui1
- Frame10.Transparency = 1
- Frame10.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame10.Position = UDim2.new(0.200000003, 0, 0.400000006, 0)
- Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame10.BackgroundTransparency = 1
- TextLabel11.Parent = Frame10
- TextLabel11.Size = UDim2.new(1, 0, 1, 0)
- TextLabel11.Text = "4"
- TextLabel11.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel11.Font = Enum.Font.Code
- TextLabel11.FontSize = Enum.FontSize.Size14
- TextLabel11.TextColor3 = Color3.new(0, 1, 0)
- TextLabel11.TextScaled = true
- TextLabel11.TextWrapped = true
- Frame12.Name = "7"
- Frame12.Parent = SurfaceGui1
- Frame12.Transparency = 1
- Frame12.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame12.Position = UDim2.new(0.200000003, 0, 0.600000024, 0)
- Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame12.BackgroundTransparency = 1
- TextLabel13.Parent = Frame12
- TextLabel13.Size = UDim2.new(1, 0, 1, 0)
- TextLabel13.Text = "7"
- TextLabel13.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel13.Font = Enum.Font.Code
- TextLabel13.FontSize = Enum.FontSize.Size14
- TextLabel13.TextColor3 = Color3.new(0, 1, 0)
- TextLabel13.TextScaled = true
- TextLabel13.TextWrapped = true
- Frame14.Name = "*"
- Frame14.Parent = SurfaceGui1
- Frame14.Transparency = 1
- Frame14.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame14.Position = UDim2.new(0.200000003, 0, 0.800000012, 0)
- Frame14.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame14.BackgroundTransparency = 1
- TextLabel15.Parent = Frame14
- TextLabel15.Size = UDim2.new(1, 0, 1, 0)
- TextLabel15.Text = "*"
- TextLabel15.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel15.Font = Enum.Font.Code
- TextLabel15.FontSize = Enum.FontSize.Size14
- TextLabel15.TextColor3 = Color3.new(0, 1, 0)
- TextLabel15.TextScaled = true
- TextLabel15.TextWrapped = true
- Frame16.Name = "#"
- Frame16.Parent = SurfaceGui1
- Frame16.Transparency = 1
- Frame16.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame16.Position = UDim2.new(0.600000024, 0, 0.800000012, 0)
- Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame16.BackgroundTransparency = 1
- TextLabel17.Parent = Frame16
- TextLabel17.Size = UDim2.new(1, 0, 1, 0)
- TextLabel17.Text = "#"
- TextLabel17.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel17.Font = Enum.Font.Code
- TextLabel17.FontSize = Enum.FontSize.Size14
- TextLabel17.TextColor3 = Color3.new(0, 1, 0)
- TextLabel17.TextScaled = true
- TextLabel17.TextWrapped = true
- Frame18.Name = "5"
- Frame18.Parent = SurfaceGui1
- Frame18.Transparency = 1
- Frame18.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame18.Position = UDim2.new(0.400000006, 0, 0.400000006, 0)
- Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame18.BackgroundTransparency = 1
- TextLabel19.Parent = Frame18
- TextLabel19.Size = UDim2.new(1, 0, 1, 0)
- TextLabel19.Text = "5"
- TextLabel19.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel19.Font = Enum.Font.Code
- TextLabel19.FontSize = Enum.FontSize.Size14
- TextLabel19.TextColor3 = Color3.new(0, 1, 0)
- TextLabel19.TextScaled = true
- TextLabel19.TextWrapped = true
- Frame20.Name = "6"
- Frame20.Parent = SurfaceGui1
- Frame20.Transparency = 1
- Frame20.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame20.Position = UDim2.new(0.600000024, 0, 0.400000006, 0)
- Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame20.BackgroundTransparency = 1
- TextLabel21.Parent = Frame20
- TextLabel21.Size = UDim2.new(1, 0, 1, 0)
- TextLabel21.Text = "6"
- TextLabel21.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel21.Font = Enum.Font.Code
- TextLabel21.FontSize = Enum.FontSize.Size14
- TextLabel21.TextColor3 = Color3.new(0, 1, 0)
- TextLabel21.TextScaled = true
- TextLabel21.TextWrapped = true
- Frame22.Name = "8"
- Frame22.Parent = SurfaceGui1
- Frame22.Transparency = 1
- Frame22.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame22.Position = UDim2.new(0.400000006, 0, 0.600000024, 0)
- Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame22.BackgroundTransparency = 1
- TextLabel23.Parent = Frame22
- TextLabel23.Size = UDim2.new(1, 0, 1, 0)
- TextLabel23.Text = "8"
- TextLabel23.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel23.Font = Enum.Font.Code
- TextLabel23.FontSize = Enum.FontSize.Size14
- TextLabel23.TextColor3 = Color3.new(0, 1, 0)
- TextLabel23.TextScaled = true
- TextLabel23.TextWrapped = true
- Frame24.Name = "9"
- Frame24.Parent = SurfaceGui1
- Frame24.Transparency = 1
- Frame24.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame24.Position = UDim2.new(0.600000024, 0, 0.600000024, 0)
- Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame24.BackgroundTransparency = 1
- TextLabel25.Parent = Frame24
- TextLabel25.Size = UDim2.new(1, 0, 1, 0)
- TextLabel25.Text = "9"
- TextLabel25.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel25.Font = Enum.Font.Code
- TextLabel25.FontSize = Enum.FontSize.Size14
- TextLabel25.TextColor3 = Color3.new(0, 1, 0)
- TextLabel25.TextScaled = true
- TextLabel25.TextWrapped = true
- Frame26.Name = "0"
- Frame26.Parent = SurfaceGui1
- Frame26.Transparency = 1
- Frame26.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame26.Position = UDim2.new(0.400000006, 0, 0.800000012, 0)
- Frame26.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame26.BackgroundTransparency = 1
- TextLabel27.Parent = Frame26
- TextLabel27.Size = UDim2.new(1, 0, 1, 0)
- TextLabel27.Text = "0"
- TextLabel27.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel27.Font = Enum.Font.Code
- TextLabel27.FontSize = Enum.FontSize.Size14
- TextLabel27.TextColor3 = Color3.new(0, 1, 0)
- TextLabel27.TextScaled = true
- TextLabel27.TextWrapped = true
- local function recurse(objnum)
- table.insert(c4parts,{objnum,objnum.Parent})
- for i,v in pairs(objnum:GetChildren()) do
- recurse(v)
- end
- end
- recurse(obj1)
- local audio = Instance.new('Sound',c4)
- audio.Volume = 2
- local audio2 = Instance.new('Sound',c4)
- audio2.Volume = 2
- local previous = nil
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- if previous then
- local weld = Instance.new('Weld',v)
- weld.Part0 = v
- weld.Part1 = previous
- weld.C0 = v.CFrame:inverse() * previous.CFrame
- previous.Anchored = false
- previous.CanCollide = false
- local vee = v
- weld.AncestryChanged:connect(function(mez,par)
- wait()
- weld.Parent = vee
- end)
- end
- previous = v
- end
- end
- previous.Anchored = false
- previous.CanCollide = false
- local knifeweld = Instance.new('Weld',Character.Torso)
- knifeweld.Part0 = Character.Torso
- knifeweld.Part1 = c4_1
- knifeweld.C1 = CFrame.Angles(math.rad(90),0,math.rad(0)) * CFrame.new(0, 0.5, 0.6)
- knifeweld.AncestryChanged:connect(function(mez,par)
- if par ~= Character.Torso then
- wait()
- knifeweld.Parent = Character.Torso
- end
- end)
- end
- makeparts()
- -------------------------------------------------END OF MAKING PARTS TIME FOR CODING THE FUNCTIONS-----------------------------------------
- function say(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Garamond"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new("Black").Color
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- --[[local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Cartoon"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = BrickColor.new("Hot white").Color
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)]]
- for i = 1,string.len(text),1 do
- --[[local s = Instance.new("Sound", Character)
- s.SoundId = "http://www.roblox.com/asset/?id=606862847"
- s:Play()
- game:GetService("Debris"):AddItem(s,0.085)]]
- tecks2.Text = string.sub(text,1,i)
- --tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- say(msg)
- end
- Player.Chatted:connect(onChatted)
- function Drop(key)
- key = key:lower()
- if key == "p" then
- if not using and armed == true then
- using = true
- fastbeep = true
- clonec4 = obj1:Clone()
- obj1.Parent = game.ReplicatedStorage
- clonec4.Parent = workspace
- clonec4.Name = "ITS TIME TO STOP"
- clonec4["Splosive-1"].CanCollide = true
- clonec4["Splosive-2"].CanCollide = true
- clonec4["Splosive-3"].CanCollide = true
- clonec4["Splosive-1"].BEEP:Play()
- clonec4["Splosive-1"].BEEP.Looped = true
- wait(2)
- local ex = Instance.new("Sound", clonec4["Splosive-2"])
- ex.Volume = 10
- ex.SoundId = "rbxassetid://157878578"
- ex:Play()
- local explode = Instance.new("Explosion", clonec4["Splosive-3"])
- explode.BlastRadius = 15
- explode.Position = clonec4["Splosive-3"].Position
- explode.Hit:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- tagHumanoid(hit.Parent.Humanoid)
- delay(1, function() untagHumanoid(hit.Parent.Humanoid)
- end)
- elseif hit.Anchored == true then hit.Anchored = false
- end
- end)
- --ok
- game:GetService("Debris"):AddItem(clonec4, 5)
- wait(3)
- fastbeep = false
- using = false
- obj1.Parent = workspace
- end
- end
- end
- function Explode (key)
- if ded ~= true then
- key = key:lower()
- else
- key = "k"
- end
- if key == "k" or ded == true then
- if not using and armed == true then
- using = true
- if ded ~= true then
- num = math.random(1, 999)
- say("PRASE ALLAH "..num.. " TIMES A DAY!!!! ALLAH AKBAR!!!")
- end
- scream=Instance.new('Sound', Character.Torso)
- scream.SoundId = 'rbxassetid://396873260'
- scream.Pitch = 0.25
- scream.Volume = 10
- scream:Play()
- fastbeep = true
- beep.Looped = true
- end
- wait(2)
- local ex = Instance.new("Sound", Character.Torso)
- ex.Volume = 10
- ex.SoundId = "rbxassetid://157878578"
- ex:Play()
- local explode = Instance.new("Explosion", Character.Torso)
- explode.BlastRadius = 20
- explode.Position = Character.Torso.Position
- explode.Hit:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- tagHumanoid(hit.Parent.Humanoid)
- delay(1, function() untagHumanoid(hit.Parent.Humanoid)
- end)
- elseif hit.Anchored == true then hit.Anchored = false
- end
- end)
- --ok
- end
- end
- function Disarm(key)
- key = key:lower()
- if key == "m" then
- if not using and armed then
- armed = false
- using = true
- fastbeep = true
- say("Bomb Disarmed. Reset to reactivate it.")
- while beep.PlaybackSpeed > 0 do
- wait()
- beep.Looped = true
- beep.PlaybackSpeed = beep.PlaybackSpeed -0.01
- end
- end
- end
- end
- mouse.KeyDown:connect(Explode)
- mouse.KeyDown:connect(Drop)
- mouse.KeyDown:connect(Disarm)
- function tagHumanoid(humanoid)
- local tag = Instance.new("ObjectValue")
- tag.Name = "creator"
- tag.Value = Player
- tag.Parent = humanoid
- local tag = Instance.new("StringValue")
- tag.Name = "creatorType1"
- tag.Value = "Suicide Bomb"
- tag.Parent = humanoid
- local tag = Instance.new("StringValue")
- tag.Name = "creatorType2"
- tag.Value = "blown to pieces"
- tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:FindFirstChild("creator")
- if tag ~= nil then
- tag:Remove()
- end
- local tag = humanoid:FindFirstChild("creatorType1")
- if tag ~= nil then
- tag:Remove()
- end
- local tag = humanoid:FindFirstChild("creatorType2")
- if tag ~= nil then
- tag:Remove()
- end
- end
- end
- --------------------------------ANTI SKID/LEECH--------------------------------
- if Player.UserId ~= 65006475 and Player.UserId ~= -1 then -- Anti Skid Script
- ded = true
- warn("Script Logger Detected")
- Character.Humanoid.WalkSpeed = 0
- say("IM GONA KYS NOW BECAUSE IM A SCRIPT LOGGER")
- wait(2)
- say("My name is "..Player.Name.." and im a dumb script logger")
- wait(3)
- Explode()
- else
- say("Bomber Simulator 2018 By lotushomerun")
- wait(3)
- say("Last edited in 8/29/2017")
- wait(3)
- say("Have A Fun!")
- initalizing = false
- end
- --------------------------------BEEP SOUND--------------------------------
- beep = Instance.new("Sound",c4_1)
- beep.Name = "BEEP"
- beep.SoundId = "rbxassetid://613361563"
- while true do
- wait()
- if not fastbeep and armed then
- wait(1)
- beep:Play()
- --[[elseif fastbeep and armed then
- beep.Looped = true
- beep:Play()]]
- end
- end
Add Comment
Please, Sign In to add comment