lotushomerun

Bomber Simulator 2018

Aug 23rd, 2017
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.54 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = Player.Character
  3. using = false
  4. armed = true
  5. fastbeep = false
  6. mouse = game.Players.LocalPlayer:GetMouse()
  7. initalizing = true
  8. local c4parts = {}
  9.  
  10. Character.Humanoid.WalkSpeed = 100
  11. Character.Humanoid.DisplayDistanceType = "None" -- Dont trace the crime to you
  12.  
  13. wait()
  14.  
  15. initalizing = false
  16.  
  17.  
  18.  
  19. ---------------------------------------- MAKE THE EXPLOSIVE!
  20. function makeparts()
  21. --ZE MODEL--
  22. obj1 = Instance.new("Model", workspace)
  23. obj1.Name = "Stoopid Splosive"
  24.  
  25. --DA PLASTIC SPLOSIVE--
  26. c4_1 = Instance.new("Part", obj1)
  27. c4_1.Name = "Splosive-1"
  28. c4_1.CFrame = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(0, 0, 0)
  29. c4_1.Material = Enum.Material.Concrete
  30. c4_1.Size = Vector3.new(2, 0.42, 0.5)
  31. c4_1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  32. c4_1.Anchored = true
  33. c4_1.BrickColor = BrickColor.new("Bright green")
  34. c4_1.Friction = 0.30000001192093
  35. c4_1.Shape = Enum.PartType.Block
  36. local c4 = c4_1
  37.  
  38. local c4_2 = Instance.new("Part", obj1)
  39. c4_2.Name = "Splosive-2"
  40. c4_2.CFrame = CFrame.new(Vector3.new(0, 0, 0.5)) * CFrame.Angles(0, 0, 0)
  41. c4_2.Material = Enum.Material.Concrete
  42. c4_2.Size = Vector3.new(2, 0.42, 0.5)
  43. c4_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  44. c4_2.Anchored = true
  45. c4_2.BrickColor = BrickColor.new("Bright green")
  46. c4_2.Friction = 0.30000001192093
  47. c4_2.Shape = Enum.PartType.Block
  48.  
  49. local c4_3 = Instance.new("Part", obj1)
  50. c4_3.Name = "Splosive-3"
  51. c4_3.CFrame = CFrame.new(Vector3.new(0, 0, 1)) * CFrame.Angles(0, 0, 0)
  52. c4_3.Material = Enum.Material.Concrete
  53. c4_3.Size = Vector3.new(2, 0.42, 0.5)
  54. c4_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  55. c4_3.Anchored = true
  56. c4_3.BrickColor = BrickColor.new("Bright green")
  57. c4_3.Friction = 0.30000001192093
  58. c4_3.Shape = Enum.PartType.Block
  59.  
  60. local casing1 = Instance.new("Part", obj1)
  61. casing1.Name = "Casing-1"
  62. casing1.CFrame = CFrame.new(Vector3.new(0, 0, 0.5)) * CFrame.Angles(0, 0, 0)
  63. casing1.Material = Enum.Material.Plastic
  64. casing1.Size = Vector3.new(0.74, 0.05, 1.52)
  65. casing1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  66. casing1.Anchored = true
  67. casing1.BrickColor = BrickColor.new("Black")
  68. casing1.Friction = 0.30000001192093
  69. casing1.Shape = Enum.PartType.Block
  70.  
  71. local casing2 = Instance.new("Part", obj1)
  72. casing2.Name = "Casing-2"
  73. casing2.CFrame = CFrame.new(Vector3.new(0, -0.225, 0.5)) * CFrame.Angles(0, 0, 0)
  74. casing2.Material = Enum.Material.Plastic
  75. casing2.Size = Vector3.new(2.07, 0.05, 0.69)
  76. casing2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  77. casing2.Anchored = true
  78. casing2.BrickColor = BrickColor.new("Black")
  79. casing2.Friction = 0.30000001192093
  80. casing2.Shape = Enum.PartType.Block
  81.  
  82. local casing3 = Instance.new("Part", obj1)
  83. casing3.Name = "Casing-3"
  84. casing3.CFrame = CFrame.new(Vector3.new(0, -0.26, 0.5)) * CFrame.Angles(0, 0, 0)
  85. casing3.Material = Enum.Material.Plastic
  86. casing3.Size = Vector3.new(0.74, 0.05, 1.52)
  87. casing3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  88. casing3.Anchored = true
  89. casing3.BrickColor = BrickColor.new("Black")
  90. casing3.Friction = 0.30000001192093
  91. casing3.Shape = Enum.PartType.Block
  92.  
  93. local casing4 = Instance.new("Part", obj1)
  94. casing4.Name = "Casing-4"
  95. casing4.CFrame = CFrame.new(Vector3.new(0, -0.3, 0.5)) * CFrame.Angles(0, 0, 0)
  96. casing4.Material = Enum.Material.Plastic
  97. casing4.Size = Vector3.new(2.07, 0.05, 0.69)
  98. casing4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  99. casing4.Anchored = true
  100. casing4.BrickColor = BrickColor.new("Black")
  101. casing4.Friction = 0.30000001192093
  102. casing4.Shape = Enum.PartType.Block
  103.  
  104. local casing5 = Instance.new("Part", obj1)
  105. casing5.Name = "Casing-5"
  106. casing5.CFrame = CFrame.new(Vector3.new(0, -0, -0.3)) * CFrame.Angles(0, 0, 0)
  107. casing5.Material = Enum.Material.Plastic
  108. casing5.Size = Vector3.new(0.74, 0.46, 0.05)
  109. casing5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  110. casing5.Anchored = true
  111. casing5.BrickColor = BrickColor.new("Black")
  112. casing5.Friction = 0.30000001192093
  113. casing5.Shape = Enum.PartType.Block
  114.  
  115. local casing6 = Instance.new("Part", obj1)
  116. casing6.Name = "Casing-6"
  117. casing6.CFrame = CFrame.new(Vector3.new(0, -0, 1.3)) * CFrame.Angles(0, 0, 0)
  118. casing6.Material = Enum.Material.Plastic
  119. casing6.Size = Vector3.new(0.74, 0.46, 0.05)
  120. casing6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  121. casing6.Anchored = true
  122. casing6.BrickColor = BrickColor.new("Black")
  123. casing6.Friction = 0.30000001192093
  124. casing6.Shape = Enum.PartType.Block
  125.  
  126. local casing7 = Instance.new("Part", obj1)
  127. casing7.Name = "Casing-7"
  128. casing7.CFrame = CFrame.new(Vector3.new(1.1, -0, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
  129. casing7.Material = Enum.Material.Plastic
  130. casing7.Size = Vector3.new(0.74, 0.46, 0.05)
  131. casing7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  132. casing7.Anchored = true
  133. casing7.BrickColor = BrickColor.new("Black")
  134. casing7.Friction = 0.30000001192093
  135. casing7.Shape = Enum.PartType.Block
  136.  
  137. local casing8 = Instance.new("Part", obj1)
  138. casing8.Name = "Casing-8"
  139. casing8.CFrame = CFrame.new(Vector3.new(-1.1, -0, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
  140. casing8.Material = Enum.Material.Plastic
  141. casing8.Size = Vector3.new(0.74, 0.46, 0.05)
  142. casing8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  143. casing8.Anchored = true
  144. casing8.BrickColor = BrickColor.new("Black")
  145. casing8.Friction = 0.30000001192093
  146. casing8.Shape = Enum.PartType.Block
  147.  
  148. ---------CODE ENTRY AREA PART THING----------------------
  149.  
  150. Part0 = Instance.new("Part")
  151. SurfaceGui1 = Instance.new("SurfaceGui")
  152. Frame2 = Instance.new("Frame")
  153. TextLabel3 = Instance.new("TextLabel")
  154. Frame4 = Instance.new("Frame")
  155. TextLabel5 = Instance.new("TextLabel")
  156. Frame6 = Instance.new("Frame")
  157. TextLabel7 = Instance.new("TextLabel")
  158. Frame8 = Instance.new("Frame")
  159. TextLabel9 = Instance.new("TextLabel")
  160. Frame10 = Instance.new("Frame")
  161. TextLabel11 = Instance.new("TextLabel")
  162. Frame12 = Instance.new("Frame")
  163. TextLabel13 = Instance.new("TextLabel")
  164. Frame14 = Instance.new("Frame")
  165. TextLabel15 = Instance.new("TextLabel")
  166. Frame16 = Instance.new("Frame")
  167. TextLabel17 = Instance.new("TextLabel")
  168. Frame18 = Instance.new("Frame")
  169. TextLabel19 = Instance.new("TextLabel")
  170. Frame20 = Instance.new("Frame")
  171. TextLabel21 = Instance.new("TextLabel")
  172. Frame22 = Instance.new("Frame")
  173. TextLabel23 = Instance.new("TextLabel")
  174. Frame24 = Instance.new("Frame")
  175. TextLabel25 = Instance.new("TextLabel")
  176. Frame26 = Instance.new("Frame")
  177. TextLabel27 = Instance.new("TextLabel")
  178. Part0.Parent = obj1
  179. Part0.BrickColor = BrickColor.new("Black")
  180. Part0.Size = Vector3.new(0.740001202, 0.109999992, 0.599999905)
  181. Part0.CFrame = CFrame.new(Vector3.new(0, 0.25, 0.5)) * CFrame.Angles(0, math.rad(90), 0)
  182. Part0.BottomSurface = Enum.SurfaceType.Smooth
  183. Part0.TopSurface = Enum.SurfaceType.Smooth
  184. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  185. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  186. SurfaceGui1.Parent = Part0
  187. SurfaceGui1.Face = Enum.NormalId.Top
  188. Frame2.Parent = SurfaceGui1
  189. Frame2.Transparency = 1
  190. Frame2.Size = UDim2.new(1, 0, 0.200000003, 0)
  191. Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
  192. Frame2.BackgroundTransparency = 1
  193. TextLabel3.Parent = Frame2
  194. TextLabel3.Size = UDim2.new(1, 0, 1, 0)
  195. TextLabel3.Text = "CODE: 3 TRIES REMAIN"
  196. TextLabel3.BackgroundColor3 = Color3.new(0, 0, 0)
  197. TextLabel3.Font = Enum.Font.Code
  198. TextLabel3.FontSize = Enum.FontSize.Size14
  199. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  200. TextLabel3.TextScaled = true
  201. TextLabel3.TextWrapped = true
  202. Frame4.Name = "1"
  203. Frame4.Parent = SurfaceGui1
  204. Frame4.Transparency = 1
  205. Frame4.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  206. Frame4.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
  207. Frame4.BackgroundColor3 = Color3.new(1, 1, 1)
  208. Frame4.BackgroundTransparency = 1
  209. TextLabel5.Parent = Frame4
  210. TextLabel5.Size = UDim2.new(1, 0, 1, 0)
  211. TextLabel5.Text = "1"
  212. TextLabel5.BackgroundColor3 = Color3.new(0, 0, 0)
  213. TextLabel5.Font = Enum.Font.Code
  214. TextLabel5.FontSize = Enum.FontSize.Size14
  215. TextLabel5.TextColor3 = Color3.new(0, 1, 0)
  216. TextLabel5.TextScaled = true
  217. TextLabel5.TextWrapped = true
  218. Frame6.Name = "2"
  219. Frame6.Parent = SurfaceGui1
  220. Frame6.Transparency = 1
  221. Frame6.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  222. Frame6.Position = UDim2.new(0.400000006, 0, 0.200000003, 0)
  223. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  224. Frame6.BackgroundTransparency = 1
  225. TextLabel7.Parent = Frame6
  226. TextLabel7.Size = UDim2.new(1, 0, 1, 0)
  227. TextLabel7.Text = "2"
  228. TextLabel7.BackgroundColor3 = Color3.new(0, 0, 0)
  229. TextLabel7.Font = Enum.Font.Code
  230. TextLabel7.FontSize = Enum.FontSize.Size14
  231. TextLabel7.TextColor3 = Color3.new(0, 1, 0)
  232. TextLabel7.TextScaled = true
  233. TextLabel7.TextWrapped = true
  234. Frame8.Name = "3"
  235. Frame8.Parent = SurfaceGui1
  236. Frame8.Transparency = 1
  237. Frame8.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  238. Frame8.Position = UDim2.new(0.600000024, 0, 0.200000003, 0)
  239. Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
  240. Frame8.BackgroundTransparency = 1
  241. TextLabel9.Parent = Frame8
  242. TextLabel9.Size = UDim2.new(1, 0, 1, 0)
  243. TextLabel9.Text = "3"
  244. TextLabel9.BackgroundColor3 = Color3.new(0, 0, 0)
  245. TextLabel9.Font = Enum.Font.Code
  246. TextLabel9.FontSize = Enum.FontSize.Size14
  247. TextLabel9.TextColor3 = Color3.new(0, 1, 0)
  248. TextLabel9.TextScaled = true
  249. TextLabel9.TextWrapped = true
  250. Frame10.Name = "4"
  251. Frame10.Parent = SurfaceGui1
  252. Frame10.Transparency = 1
  253. Frame10.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  254. Frame10.Position = UDim2.new(0.200000003, 0, 0.400000006, 0)
  255. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  256. Frame10.BackgroundTransparency = 1
  257. TextLabel11.Parent = Frame10
  258. TextLabel11.Size = UDim2.new(1, 0, 1, 0)
  259. TextLabel11.Text = "4"
  260. TextLabel11.BackgroundColor3 = Color3.new(0, 0, 0)
  261. TextLabel11.Font = Enum.Font.Code
  262. TextLabel11.FontSize = Enum.FontSize.Size14
  263. TextLabel11.TextColor3 = Color3.new(0, 1, 0)
  264. TextLabel11.TextScaled = true
  265. TextLabel11.TextWrapped = true
  266. Frame12.Name = "7"
  267. Frame12.Parent = SurfaceGui1
  268. Frame12.Transparency = 1
  269. Frame12.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  270. Frame12.Position = UDim2.new(0.200000003, 0, 0.600000024, 0)
  271. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  272. Frame12.BackgroundTransparency = 1
  273. TextLabel13.Parent = Frame12
  274. TextLabel13.Size = UDim2.new(1, 0, 1, 0)
  275. TextLabel13.Text = "7"
  276. TextLabel13.BackgroundColor3 = Color3.new(0, 0, 0)
  277. TextLabel13.Font = Enum.Font.Code
  278. TextLabel13.FontSize = Enum.FontSize.Size14
  279. TextLabel13.TextColor3 = Color3.new(0, 1, 0)
  280. TextLabel13.TextScaled = true
  281. TextLabel13.TextWrapped = true
  282. Frame14.Name = "*"
  283. Frame14.Parent = SurfaceGui1
  284. Frame14.Transparency = 1
  285. Frame14.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  286. Frame14.Position = UDim2.new(0.200000003, 0, 0.800000012, 0)
  287. Frame14.BackgroundColor3 = Color3.new(1, 1, 1)
  288. Frame14.BackgroundTransparency = 1
  289. TextLabel15.Parent = Frame14
  290. TextLabel15.Size = UDim2.new(1, 0, 1, 0)
  291. TextLabel15.Text = "*"
  292. TextLabel15.BackgroundColor3 = Color3.new(0, 0, 0)
  293. TextLabel15.Font = Enum.Font.Code
  294. TextLabel15.FontSize = Enum.FontSize.Size14
  295. TextLabel15.TextColor3 = Color3.new(0, 1, 0)
  296. TextLabel15.TextScaled = true
  297. TextLabel15.TextWrapped = true
  298. Frame16.Name = "#"
  299. Frame16.Parent = SurfaceGui1
  300. Frame16.Transparency = 1
  301. Frame16.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  302. Frame16.Position = UDim2.new(0.600000024, 0, 0.800000012, 0)
  303. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  304. Frame16.BackgroundTransparency = 1
  305. TextLabel17.Parent = Frame16
  306. TextLabel17.Size = UDim2.new(1, 0, 1, 0)
  307. TextLabel17.Text = "#"
  308. TextLabel17.BackgroundColor3 = Color3.new(0, 0, 0)
  309. TextLabel17.Font = Enum.Font.Code
  310. TextLabel17.FontSize = Enum.FontSize.Size14
  311. TextLabel17.TextColor3 = Color3.new(0, 1, 0)
  312. TextLabel17.TextScaled = true
  313. TextLabel17.TextWrapped = true
  314. Frame18.Name = "5"
  315. Frame18.Parent = SurfaceGui1
  316. Frame18.Transparency = 1
  317. Frame18.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  318. Frame18.Position = UDim2.new(0.400000006, 0, 0.400000006, 0)
  319. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  320. Frame18.BackgroundTransparency = 1
  321. TextLabel19.Parent = Frame18
  322. TextLabel19.Size = UDim2.new(1, 0, 1, 0)
  323. TextLabel19.Text = "5"
  324. TextLabel19.BackgroundColor3 = Color3.new(0, 0, 0)
  325. TextLabel19.Font = Enum.Font.Code
  326. TextLabel19.FontSize = Enum.FontSize.Size14
  327. TextLabel19.TextColor3 = Color3.new(0, 1, 0)
  328. TextLabel19.TextScaled = true
  329. TextLabel19.TextWrapped = true
  330. Frame20.Name = "6"
  331. Frame20.Parent = SurfaceGui1
  332. Frame20.Transparency = 1
  333. Frame20.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  334. Frame20.Position = UDim2.new(0.600000024, 0, 0.400000006, 0)
  335. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  336. Frame20.BackgroundTransparency = 1
  337. TextLabel21.Parent = Frame20
  338. TextLabel21.Size = UDim2.new(1, 0, 1, 0)
  339. TextLabel21.Text = "6"
  340. TextLabel21.BackgroundColor3 = Color3.new(0, 0, 0)
  341. TextLabel21.Font = Enum.Font.Code
  342. TextLabel21.FontSize = Enum.FontSize.Size14
  343. TextLabel21.TextColor3 = Color3.new(0, 1, 0)
  344. TextLabel21.TextScaled = true
  345. TextLabel21.TextWrapped = true
  346. Frame22.Name = "8"
  347. Frame22.Parent = SurfaceGui1
  348. Frame22.Transparency = 1
  349. Frame22.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  350. Frame22.Position = UDim2.new(0.400000006, 0, 0.600000024, 0)
  351. Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
  352. Frame22.BackgroundTransparency = 1
  353. TextLabel23.Parent = Frame22
  354. TextLabel23.Size = UDim2.new(1, 0, 1, 0)
  355. TextLabel23.Text = "8"
  356. TextLabel23.BackgroundColor3 = Color3.new(0, 0, 0)
  357. TextLabel23.Font = Enum.Font.Code
  358. TextLabel23.FontSize = Enum.FontSize.Size14
  359. TextLabel23.TextColor3 = Color3.new(0, 1, 0)
  360. TextLabel23.TextScaled = true
  361. TextLabel23.TextWrapped = true
  362. Frame24.Name = "9"
  363. Frame24.Parent = SurfaceGui1
  364. Frame24.Transparency = 1
  365. Frame24.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  366. Frame24.Position = UDim2.new(0.600000024, 0, 0.600000024, 0)
  367. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  368. Frame24.BackgroundTransparency = 1
  369. TextLabel25.Parent = Frame24
  370. TextLabel25.Size = UDim2.new(1, 0, 1, 0)
  371. TextLabel25.Text = "9"
  372. TextLabel25.BackgroundColor3 = Color3.new(0, 0, 0)
  373. TextLabel25.Font = Enum.Font.Code
  374. TextLabel25.FontSize = Enum.FontSize.Size14
  375. TextLabel25.TextColor3 = Color3.new(0, 1, 0)
  376. TextLabel25.TextScaled = true
  377. TextLabel25.TextWrapped = true
  378. Frame26.Name = "0"
  379. Frame26.Parent = SurfaceGui1
  380. Frame26.Transparency = 1
  381. Frame26.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  382. Frame26.Position = UDim2.new(0.400000006, 0, 0.800000012, 0)
  383. Frame26.BackgroundColor3 = Color3.new(1, 1, 1)
  384. Frame26.BackgroundTransparency = 1
  385. TextLabel27.Parent = Frame26
  386. TextLabel27.Size = UDim2.new(1, 0, 1, 0)
  387. TextLabel27.Text = "0"
  388. TextLabel27.BackgroundColor3 = Color3.new(0, 0, 0)
  389. TextLabel27.Font = Enum.Font.Code
  390. TextLabel27.FontSize = Enum.FontSize.Size14
  391. TextLabel27.TextColor3 = Color3.new(0, 1, 0)
  392. TextLabel27.TextScaled = true
  393. TextLabel27.TextWrapped = true
  394.  
  395. local function recurse(objnum)
  396.     table.insert(c4parts,{objnum,objnum.Parent})
  397.     for i,v in pairs(objnum:GetChildren()) do
  398.         recurse(v)
  399.     end
  400. end
  401.  
  402. recurse(obj1)
  403.  
  404. local audio = Instance.new('Sound',c4)
  405. audio.Volume = 2
  406.  
  407. local audio2 = Instance.new('Sound',c4)
  408. audio2.Volume = 2
  409.  
  410. local previous = nil
  411. for i,v in pairs(obj1:GetChildren()) do
  412.     if v:IsA('BasePart') then
  413.         if previous then
  414.             local weld = Instance.new('Weld',v)
  415.             weld.Part0 = v
  416.             weld.Part1 = previous
  417.             weld.C0 = v.CFrame:inverse() * previous.CFrame
  418.             previous.Anchored = false
  419.             previous.CanCollide = false
  420.             local vee = v
  421.             weld.AncestryChanged:connect(function(mez,par)
  422.                 wait()
  423.                 weld.Parent = vee
  424.             end)
  425.         end
  426.         previous = v
  427.     end
  428. end
  429. previous.Anchored = false
  430. previous.CanCollide = false
  431.  
  432.  
  433. local knifeweld = Instance.new('Weld',Character.Torso)
  434. knifeweld.Part0 = Character.Torso
  435. knifeweld.Part1 = c4_1
  436. knifeweld.C1 = CFrame.Angles(math.rad(90),0,math.rad(0)) * CFrame.new(0, 0.5, 0.6)
  437. knifeweld.AncestryChanged:connect(function(mez,par)
  438.     if par ~= Character.Torso then
  439.         wait()
  440.         knifeweld.Parent = Character.Torso
  441.     end
  442. end)
  443. end
  444.  
  445. makeparts()
  446.  
  447.  
  448. -------------------------------------------------END OF MAKING PARTS TIME FOR CODING THE FUNCTIONS-----------------------------------------
  449.  
  450.  
  451.  
  452.  
  453. function say(text)
  454. local chat = coroutine.wrap(function()
  455. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  456. Character:FindFirstChild("TalkingBillBoard"):destroy()
  457. end
  458. local naeeym2 = Instance.new("BillboardGui",Character)
  459. naeeym2.Size = UDim2.new(0,100,0,40)
  460. naeeym2.StudsOffset = Vector3.new(0,3,0)
  461. naeeym2.Adornee = Character.Head
  462. naeeym2.Name = "TalkingBillBoard"
  463. local tecks2 = Instance.new("TextLabel",naeeym2)
  464. tecks2.BackgroundTransparency = 1
  465. tecks2.BorderSizePixel = 0
  466. tecks2.Text = ""
  467. tecks2.Font = "Garamond"
  468. tecks2.TextSize = 30
  469. tecks2.TextStrokeTransparency = 0
  470. tecks2.TextColor3 = BrickColor.new("Black").Color
  471. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  472. tecks2.Size = UDim2.new(1,0,0.5,0)
  473. --[[local tecks3 = Instance.new("TextLabel",naeeym2)
  474. tecks3.BackgroundTransparency = 1
  475. tecks3.BorderSizePixel = 0
  476. tecks3.Text = ""
  477. tecks3.Font = "Cartoon"
  478. tecks3.TextSize = 30
  479. tecks3.TextStrokeTransparency = 0
  480. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  481. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  482. tecks3.Size = UDim2.new(1,0,0.5,0)]]
  483. for i = 1,string.len(text),1 do
  484. --[[local s  = Instance.new("Sound", Character)
  485. s.SoundId = "http://www.roblox.com/asset/?id=606862847"
  486. s:Play()
  487. game:GetService("Debris"):AddItem(s,0.085)]]
  488. tecks2.Text = string.sub(text,1,i)
  489. --tecks3.Text = string.sub(text,1,i)
  490. wait(0.01)
  491. end
  492. wait(2)
  493. naeeym2:Destroy()
  494. end)
  495. chat()
  496. end
  497.  
  498. function onChatted(msg)
  499. say(msg)
  500. end
  501. Player.Chatted:connect(onChatted)
  502.  
  503. function Drop(key)
  504.     key = key:lower()
  505.     if key == "p" then
  506.         if not using and armed == true then
  507.             using = true
  508.             fastbeep = true
  509.         clonec4 = obj1:Clone()
  510.         obj1.Parent = game.ReplicatedStorage
  511.         clonec4.Parent = workspace
  512.         clonec4.Name = "ITS TIME TO STOP"
  513.         clonec4["Splosive-1"].CanCollide = true
  514.         clonec4["Splosive-2"].CanCollide = true
  515.         clonec4["Splosive-3"].CanCollide = true
  516.         clonec4["Splosive-1"].BEEP:Play()
  517.     clonec4["Splosive-1"].BEEP.Looped = true
  518.         wait(2)
  519.         local ex = Instance.new("Sound", clonec4["Splosive-2"])
  520.         ex.Volume = 10
  521.         ex.SoundId = "rbxassetid://157878578"
  522.         ex:Play()
  523.                 local explode = Instance.new("Explosion", clonec4["Splosive-3"])
  524.         explode.BlastRadius = 15
  525.         explode.Position = clonec4["Splosive-3"].Position
  526.         explode.Hit:connect(function(hit)
  527.             if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  528.                 tagHumanoid(hit.Parent.Humanoid)
  529.                 delay(1, function() untagHumanoid(hit.Parent.Humanoid)
  530.                     end)
  531.                 elseif hit.Anchored == true then hit.Anchored = false  
  532.             end
  533.         end)
  534.         --ok
  535.         game:GetService("Debris"):AddItem(clonec4, 5)
  536.         wait(3)
  537.         fastbeep = false
  538.         using = false
  539.         obj1.Parent = workspace
  540.         end
  541.     end
  542. end
  543.  
  544. function Explode (key)
  545.         if ded ~= true then
  546.     key = key:lower()
  547.     else
  548.         key = "k"
  549.     end
  550.     if key == "k" or ded == true then
  551.     if not using and armed == true then
  552.         using = true
  553.         if ded ~= true then
  554.             num = math.random(1, 999)
  555.         say("PRASE ALLAH "..num.. " TIMES A DAY!!!! ALLAH AKBAR!!!")
  556.         end
  557.         scream=Instance.new('Sound', Character.Torso)
  558.         scream.SoundId = 'rbxassetid://396873260'
  559.         scream.Pitch = 0.25
  560.         scream.Volume = 10
  561.         scream:Play()
  562.         fastbeep = true
  563.         beep.Looped = true
  564.         end
  565.         wait(2)
  566.         local ex = Instance.new("Sound", Character.Torso)
  567.         ex.Volume = 10
  568.         ex.SoundId = "rbxassetid://157878578"
  569.         ex:Play()
  570.         local explode = Instance.new("Explosion", Character.Torso)
  571.         explode.BlastRadius = 20
  572.         explode.Position = Character.Torso.Position
  573.         explode.Hit:connect(function(hit)
  574.             if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  575.                 tagHumanoid(hit.Parent.Humanoid)
  576.                 delay(1, function() untagHumanoid(hit.Parent.Humanoid)
  577.                     end)
  578.                 elseif hit.Anchored == true then hit.Anchored = false  
  579.             end
  580.         end)
  581.         --ok
  582.         end
  583.     end
  584.  
  585. function Disarm(key)
  586.     key = key:lower()
  587.     if key == "m" then
  588.         if not using and armed then
  589.         armed = false
  590.         using = true
  591.         fastbeep = true
  592.         say("Bomb Disarmed. Reset to reactivate it.")
  593.         while beep.PlaybackSpeed > 0 do
  594.             wait()
  595.         beep.Looped = true
  596.         beep.PlaybackSpeed = beep.PlaybackSpeed -0.01
  597.         end
  598.         end
  599.     end
  600. end
  601.  
  602. mouse.KeyDown:connect(Explode)
  603. mouse.KeyDown:connect(Drop)
  604. mouse.KeyDown:connect(Disarm)
  605.  
  606.  
  607.  
  608. function tagHumanoid(humanoid)
  609.     local tag = Instance.new("ObjectValue")
  610.     tag.Name = "creator"
  611.     tag.Value = Player
  612.     tag.Parent = humanoid
  613.     local tag = Instance.new("StringValue")
  614.     tag.Name = "creatorType1"
  615.     tag.Value = "Suicide Bomb"
  616.     tag.Parent = humanoid
  617.     local tag = Instance.new("StringValue")
  618.     tag.Name = "creatorType2"
  619.     tag.Value = "blown to pieces"
  620.     tag.Parent = humanoid
  621. end
  622.  
  623.  
  624. function untagHumanoid(humanoid)
  625.     if humanoid ~= nil then
  626.         local tag = humanoid:FindFirstChild("creator")
  627.         if tag ~= nil then
  628.             tag:Remove()
  629.         end
  630.         local tag = humanoid:FindFirstChild("creatorType1")
  631.         if tag ~= nil then
  632.             tag:Remove()
  633.         end
  634.         local tag = humanoid:FindFirstChild("creatorType2")
  635.         if tag ~= nil then
  636.             tag:Remove()
  637.         end
  638.     end
  639. end
  640.  
  641. --------------------------------ANTI SKID/LEECH--------------------------------
  642.  
  643. if Player.UserId ~= 65006475 and Player.UserId  ~= -1 then -- Anti Skid Script
  644.     ded = true
  645. warn("Script Logger Detected")
  646. Character.Humanoid.WalkSpeed = 0
  647. say("IM GONA KYS NOW BECAUSE IM A SCRIPT LOGGER")
  648. wait(2)
  649. say("My name is "..Player.Name.." and im a dumb script logger")
  650. wait(3)
  651. Explode()
  652. else
  653. say("Bomber Simulator 2018 By lotushomerun")
  654. wait(3)
  655. say("Last edited in 8/29/2017")
  656. wait(3)
  657. say("Have A Fun!")
  658. initalizing = false
  659. end
  660.  
  661. --------------------------------BEEP SOUND--------------------------------
  662. beep = Instance.new("Sound",c4_1)
  663. beep.Name = "BEEP"
  664. beep.SoundId = "rbxassetid://613361563"
  665. while true do
  666.     wait()
  667. if not fastbeep and armed then
  668.     wait(1)
  669.     beep:Play()
  670. --[[elseif fastbeep and armed then
  671.     beep.Looped = true
  672.     beep:Play()]]
  673. end
  674. end
Add Comment
Please, Sign In to add comment