Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.98 KB | None | 0 0
  1. mas = Instance.new("Model",game:GetService("Lighting"))
  2. Model0 = Instance.new("Model")
  3. Model1 = Instance.new("Model")
  4. Model2 = Instance.new("Model")
  5. UnionOperation3 = Instance.new("UnionOperation")
  6. Part4 = Instance.new("Part")
  7. SurfaceGui5 = Instance.new("SurfaceGui")
  8. TextLabel6 = Instance.new("TextLabel")
  9. TextLabel7 = Instance.new("TextLabel")
  10. Frame8 = Instance.new("Frame")
  11. Frame9 = Instance.new("Frame")
  12. UIAspectRatioConstraint10 = Instance.new("UIAspectRatioConstraint")
  13. Frame11 = Instance.new("Frame")
  14. ImageLabel12 = Instance.new("ImageLabel")
  15. Frame13 = Instance.new("Frame")
  16. ImageLabel14 = Instance.new("ImageLabel")
  17. Frame15 = Instance.new("Frame")
  18. ImageLabel16 = Instance.new("ImageLabel")
  19. UIAspectRatioConstraint17 = Instance.new("UIAspectRatioConstraint")
  20. Folder18 = Instance.new("Folder")
  21. TextLabel19 = Instance.new("TextLabel")
  22. TextLabel20 = Instance.new("TextLabel")
  23. UIListLayout21 = Instance.new("UIListLayout")
  24. Frame22 = Instance.new("Frame")
  25. TextLabel23 = Instance.new("TextLabel")
  26. TextLabel24 = Instance.new("TextLabel")
  27. TextButton25 = Instance.new("TextButton")
  28. Frame26 = Instance.new("Frame")
  29. TextButton27 = Instance.new("TextButton")
  30. TextButton28 = Instance.new("TextButton")
  31. TextButton29 = Instance.new("TextButton")
  32. TextButton30 = Instance.new("TextButton")
  33. TextButton31 = Instance.new("TextButton")
  34. TextButton32 = Instance.new("TextButton")
  35. TextButton33 = Instance.new("TextButton")
  36. TextButton34 = Instance.new("TextButton")
  37. TextButton35 = Instance.new("TextButton")
  38. TextButton36 = Instance.new("TextButton")
  39. UIGridLayout37 = Instance.new("UIGridLayout")
  40. Frame38 = Instance.new("Frame")
  41. TextButton39 = Instance.new("TextButton")
  42. Folder40 = Instance.new("Folder")
  43. TextLabel41 = Instance.new("TextLabel")
  44. TextButton42 = Instance.new("TextButton")
  45. TextLabel43 = Instance.new("TextLabel")
  46. SurfaceLight44 = Instance.new("SurfaceLight")
  47. Model45 = Instance.new("Model")
  48. Part46 = Instance.new("Part")
  49. UnionOperation47 = Instance.new("UnionOperation")
  50. ModuleScript48 = Instance.new("ModuleScript")
  51. Folder49 = Instance.new("Folder")
  52. Sound50 = Instance.new("Sound")
  53. Sound51 = Instance.new("Sound")
  54. Sound52 = Instance.new("Sound")
  55. Sky53 = Instance.new("Sky")
  56. Script54 = Instance.new("Script")
  57. Part55 = Instance.new("Part")
  58. Camera56 = Instance.new("Camera")
  59. Model0.Name = "Nuclear Warhead Control"
  60. Model0.Parent = mas
  61. Model1.Name = "Nuclear Warhead Control"
  62. Model1.Parent = Model0
  63. Model2.Name = "Screen"
  64. Model2.Parent = Model1
  65. UnionOperation3.Name = "ScreenBack"
  66. UnionOperation3.Parent = Model2
  67. UnionOperation3.CFrame = CFrame.new(-1.84191096, 4.0100069, 46.9974823, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  68. UnionOperation3.Position = Vector3.new(-1.84191096, 4.0100069, 46.9974823)
  69. UnionOperation3.Color = Color3.new(0.356863, 0.364706, 0.411765)
  70. UnionOperation3.Size = Vector3.new(9.70015144, 5.90000057, 0.100135803)
  71. UnionOperation3.Anchored = true
  72. UnionOperation3.BrickColor = BrickColor.new("Smoky grey")
  73. UnionOperation3.Material = Enum.Material.DiamondPlate
  74. UnionOperation3.brickColor = BrickColor.new("Smoky grey")
  75. Part4.Name = "Screen"
  76. Part4.Parent = Model2
  77. Part4.CFrame = CFrame.new(-1.84198797, 4.0100069, 47.0724106, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  78. Part4.Position = Vector3.new(-1.84198797, 4.0100069, 47.0724106)
  79. Part4.Color = Color3.new(0, 0, 0)
  80. Part4.Transparency = 0.10000000149012
  81. Part4.Size = Vector3.new(8.79999828, 4.99999857, 0.0500000007)
  82. Part4.Anchored = true
  83. Part4.BottomSurface = Enum.SurfaceType.Smooth
  84. Part4.BrickColor = BrickColor.new("Really black")
  85. Part4.Material = Enum.Material.SmoothPlastic
  86. Part4.TopSurface = Enum.SurfaceType.Smooth
  87. Part4.brickColor = BrickColor.new("Really black")
  88. SurfaceGui5.Name = "UI"
  89. SurfaceGui5.Parent = Part4
  90. SurfaceGui5.Face = Enum.NormalId.Back
  91. SurfaceGui5.ClipsDescendants = true
  92. SurfaceGui5.CanvasSize = Vector2.new(1200, 675)
  93. SurfaceGui5.Adornee = Part4
  94. TextLabel6.Name = "Credit"
  95. TextLabel6.Parent = SurfaceGui5
  96. TextLabel6.Position = UDim2.new(0, 10, 0.935000002, 0)
  97. TextLabel6.Size = UDim2.new(1, -10, 0.0649999976, 0)
  98. TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
  99. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  100. TextLabel6.BackgroundTransparency = 1
  101. TextLabel6.Font = Enum.Font.SourceSans
  102. TextLabel6.FontSize = Enum.FontSize.Size60
  103. TextLabel6.Text = "Made by dav"
  104. TextLabel6.TextColor = BrickColor.new("Institutional white")
  105. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  106. TextLabel6.TextScaled = true
  107. TextLabel6.TextSize = 50
  108. TextLabel6.TextStrokeTransparency = 0
  109. TextLabel6.TextWrap = true
  110. TextLabel6.TextWrapped = true
  111. TextLabel6.TextXAlignment = Enum.TextXAlignment.Left
  112. TextLabel7.Name = "Title"
  113. TextLabel7.Parent = SurfaceGui5
  114. TextLabel7.Size = UDim2.new(1, 0, 0.100000001, 0)
  115. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  116. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  117. TextLabel7.BackgroundTransparency = 1
  118. TextLabel7.ZIndex = 999
  119. TextLabel7.Font = Enum.Font.SciFi
  120. TextLabel7.FontSize = Enum.FontSize.Size14
  121. TextLabel7.Text = "NUCLEAR WARHEAD CONTROL"
  122. TextLabel7.TextColor = BrickColor.new("Really red")
  123. TextLabel7.TextColor3 = Color3.new(1, 0, 0)
  124. TextLabel7.TextScaled = true
  125. TextLabel7.TextSize = 14
  126. TextLabel7.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  127. TextLabel7.TextStrokeTransparency = 0
  128. TextLabel7.TextWrap = true
  129. TextLabel7.TextWrapped = true
  130. Frame8.Name = "CountdownContainer"
  131. Frame8.Parent = SurfaceGui5
  132. Frame8.Position = UDim2.new(0, 0, 1.10000002, 0)
  133. Frame8.Size = UDim2.new(1, 0, 0.100000001, 0)
  134. Frame8.BackgroundColor = BrickColor.new("Institutional white")
  135. Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
  136. Frame8.BackgroundTransparency = 1
  137. Frame9.Name = "CountdownBar"
  138. Frame9.Parent = Frame8
  139. Frame9.Size = UDim2.new(1, 0, 1, 0)
  140. Frame9.BackgroundColor = BrickColor.new("Institutional white")
  141. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  142. Frame9.BackgroundTransparency = 1
  143. Frame9.ZIndex = 10
  144. UIAspectRatioConstraint10.Name = "AspectRatio"
  145. UIAspectRatioConstraint10.Parent = Frame9
  146. UIAspectRatioConstraint10.AspectRatio = 14.22200012207
  147. Frame11.Name = "BGBar"
  148. Frame11.Parent = Frame9
  149. Frame11.Position = UDim2.new(0.25, 0, 0, 0)
  150. Frame11.Size = UDim2.new(0.75, 0, 1, 0)
  151. Frame11.BackgroundColor = BrickColor.new("Institutional white")
  152. Frame11.BackgroundColor3 = Color3.new(1, 1, 1)
  153. Frame11.BackgroundTransparency = 1
  154. Frame11.ClipsDescendants = true
  155. ImageLabel12.Name = "Bar"
  156. ImageLabel12.Parent = Frame11
  157. ImageLabel12.Position = UDim2.new(-0.333000004, 0, 0, 0)
  158. ImageLabel12.Size = UDim2.new(1.33299994, 0, 1, 0)
  159. ImageLabel12.BackgroundColor = BrickColor.new("Institutional white")
  160. ImageLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  161. ImageLabel12.BackgroundTransparency = 1
  162. ImageLabel12.ZIndex = 10
  163. ImageLabel12.Image = "rbxassetid://2002128075"
  164. ImageLabel12.ImageColor3 = Color3.new(0.666667, 0.666667, 0.666667)
  165. Frame13.Name = "HPBar"
  166. Frame13.Parent = Frame9
  167. Frame13.Size = UDim2.new(1, 0, 1, 0)
  168. Frame13.BackgroundColor = BrickColor.new("Institutional white")
  169. Frame13.BackgroundColor3 = Color3.new(1, 1, 1)
  170. Frame13.BackgroundTransparency = 1
  171. Frame13.ClipsDescendants = true
  172. ImageLabel14.Name = "Bar"
  173. ImageLabel14.Parent = Frame13
  174. ImageLabel14.Size = UDim2.new(1, 0, 1, 0)
  175. ImageLabel14.BackgroundColor = BrickColor.new("Institutional white")
  176. ImageLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
  177. ImageLabel14.BackgroundTransparency = 1
  178. ImageLabel14.ZIndex = 11
  179. ImageLabel14.Image = "rbxassetid://2002128608"
  180. ImageLabel14.ImageColor3 = Color3.new(0.666667, 0.666667, 0.666667)
  181. Frame15.Name = "CircleContainer"
  182. Frame15.Parent = Frame9
  183. Frame15.Position = UDim2.new(0.023, 0, 0, 0)
  184. Frame15.Size = UDim2.new(0.953999996, 0, 1, 0)
  185. Frame15.BackgroundColor = BrickColor.new("Institutional white")
  186. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  187. Frame15.BackgroundTransparency = 1
  188. ImageLabel16.Name = "Circle"
  189. ImageLabel16.Parent = Frame15
  190. ImageLabel16.Position = UDim2.new(1, -34, 0, 0)
  191. ImageLabel16.Size = UDim2.new(1, 0, 1, 0)
  192. ImageLabel16.BackgroundColor = BrickColor.new("Institutional white")
  193. ImageLabel16.BackgroundColor3 = Color3.new(1, 1, 1)
  194. ImageLabel16.BackgroundTransparency = 1
  195. ImageLabel16.ZIndex = 12
  196. ImageLabel16.Image = "rbxassetid://2002276248"
  197. ImageLabel16.ImageColor3 = Color3.new(0, 1, 0)
  198. UIAspectRatioConstraint17.Name = "AspectRatio"
  199. UIAspectRatioConstraint17.Parent = ImageLabel16
  200. Folder18.Name = "Other"
  201. Folder18.Parent = Frame9
  202. TextLabel19.Name = "Countdown"
  203. TextLabel19.Parent = Folder18
  204. TextLabel19.Size = UDim2.new(1, 0, 1, 0)
  205. TextLabel19.BackgroundColor = BrickColor.new("Institutional white")
  206. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  207. TextLabel19.BackgroundTransparency = 1
  208. TextLabel19.ClipsDescendants = true
  209. TextLabel19.ZIndex = 14
  210. TextLabel19.Font = Enum.Font.SourceSansBold
  211. TextLabel19.FontSize = Enum.FontSize.Size14
  212. TextLabel19.Text = "90s left"
  213. TextLabel19.TextColor = BrickColor.new("Institutional white")
  214. TextLabel19.TextColor3 = Color3.new(1, 1, 1)
  215. TextLabel19.TextScaled = true
  216. TextLabel19.TextSize = 14
  217. TextLabel19.TextStrokeColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  218. TextLabel19.TextWrap = true
  219. TextLabel19.TextWrapped = true
  220. TextLabel20.Name = "Title"
  221. TextLabel20.Parent = Folder18
  222. TextLabel20.Position = UDim2.new(0, 0, -0.75, 0)
  223. TextLabel20.Size = UDim2.new(1, 0, 1, 0)
  224. TextLabel20.BackgroundColor = BrickColor.new("Institutional white")
  225. TextLabel20.BackgroundColor3 = Color3.new(1, 1, 1)
  226. TextLabel20.BackgroundTransparency = 1
  227. TextLabel20.ClipsDescendants = true
  228. TextLabel20.ZIndex = 14
  229. TextLabel20.Font = Enum.Font.Highway
  230. TextLabel20.FontSize = Enum.FontSize.Size14
  231. TextLabel20.Text = "Countdown"
  232. TextLabel20.TextColor = BrickColor.new("Toothpaste")
  233. TextLabel20.TextColor3 = Color3.new(0, 1, 1)
  234. TextLabel20.TextScaled = true
  235. TextLabel20.TextSize = 14
  236. TextLabel20.TextStrokeColor3 = Color3.new(0, 0.333333, 1)
  237. TextLabel20.TextStrokeTransparency = 0
  238. TextLabel20.TextWrap = true
  239. TextLabel20.TextWrapped = true
  240. UIListLayout21.Name = "Layout"
  241. UIListLayout21.Parent = Frame8
  242. UIListLayout21.FillDirection = Enum.FillDirection.Horizontal
  243. UIListLayout21.HorizontalAlignment = Enum.HorizontalAlignment.Center
  244. UIListLayout21.VerticalAlignment = Enum.VerticalAlignment.Center
  245. Frame22.Name = "MainContainer"
  246. Frame22.Parent = SurfaceGui5
  247. Frame22.Position = UDim2.new(0, 0, 0.129999995, 0)
  248. Frame22.Size = UDim2.new(1, 0, 0.600000024, 0)
  249. Frame22.BackgroundColor = BrickColor.new("Institutional white")
  250. Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
  251. Frame22.BackgroundTransparency = 1
  252. TextLabel23.Name = "InfoTitle"
  253. TextLabel23.Parent = Frame22
  254. TextLabel23.Position = UDim2.new(-0.449999988, 0, 0, 0)
  255. TextLabel23.Size = UDim2.new(0.449999988, 0, 0.174999997, 0)
  256. TextLabel23.BackgroundColor = BrickColor.new("Institutional white")
  257. TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
  258. TextLabel23.BackgroundTransparency = 1
  259. TextLabel23.Font = Enum.Font.Highway
  260. TextLabel23.FontSize = Enum.FontSize.Size14
  261. TextLabel23.Text = "Information"
  262. TextLabel23.TextColor = BrickColor.new("Toothpaste")
  263. TextLabel23.TextColor3 = Color3.new(0, 1, 1)
  264. TextLabel23.TextScaled = true
  265. TextLabel23.TextSize = 14
  266. TextLabel23.TextStrokeColor3 = Color3.new(0, 0.333333, 1)
  267. TextLabel23.TextStrokeTransparency = 0
  268. TextLabel23.TextWrap = true
  269. TextLabel23.TextWrapped = true
  270. TextLabel24.Name = "Info"
  271. TextLabel24.Parent = Frame22
  272. TextLabel24.Position = UDim2.new(-0.449999988, 0, 0.125, 0)
  273. TextLabel24.Size = UDim2.new(0.449999988, 0, 0.875, 0)
  274. TextLabel24.BackgroundColor = BrickColor.new("Institutional white")
  275. TextLabel24.BackgroundColor3 = Color3.new(1, 1, 1)
  276. TextLabel24.BackgroundTransparency = 1
  277. TextLabel24.Font = Enum.Font.SourceSansSemibold
  278. TextLabel24.FontSize = Enum.FontSize.Size14
  279. TextLabel24.Text = "To launch or abort, press the button to right and enter the correct code. Nuke will destroy everything in 1000 stud radius!"
  280. TextLabel24.TextColor = BrickColor.new("Institutional white")
  281. TextLabel24.TextColor3 = Color3.new(1, 1, 1)
  282. TextLabel24.TextScaled = true
  283. TextLabel24.TextSize = 14
  284. TextLabel24.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  285. TextLabel24.TextStrokeTransparency = 0
  286. TextLabel24.TextWrap = true
  287. TextLabel24.TextWrapped = true
  288. TextLabel24.TextXAlignment = Enum.TextXAlignment.Left
  289. TextLabel24.TextYAlignment = Enum.TextYAlignment.Top
  290. TextButton25.Name = "CodeButton"
  291. TextButton25.Parent = Frame22
  292. TextButton25.Position = UDim2.new(1, 5, 0.349999994, -10)
  293. TextButton25.Size = UDim2.new(0.200000003, 0, 0.150000006, 0)
  294. TextButton25.BackgroundColor = BrickColor.new("Maroon")
  295. TextButton25.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  296. TextButton25.BorderColor = BrickColor.new("Really red")
  297. TextButton25.BorderColor3 = Color3.new(1, 0, 0)
  298. TextButton25.BorderSizePixel = 4
  299. TextButton25.AutoButtonColor = false
  300. TextButton25.Font = Enum.Font.Highway
  301. TextButton25.FontSize = Enum.FontSize.Size14
  302. TextButton25.Text = "Launch"
  303. TextButton25.TextColor = BrickColor.new("Really red")
  304. TextButton25.TextColor3 = Color3.new(1, 0, 0)
  305. TextButton25.TextScaled = true
  306. TextButton25.TextSize = 14
  307. TextButton25.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  308. TextButton25.TextStrokeTransparency = 0
  309. TextButton25.TextWrap = true
  310. TextButton25.TextWrapped = true
  311. Frame26.Name = "CodePanel"
  312. Frame26.Parent = Frame22
  313. Frame26.Position = UDim2.new(1, 5, 0.174999997, 0)
  314. Frame26.Size = UDim2.new(0.300000012, 0, 0.649999976, 0)
  315. Frame26.BackgroundColor = BrickColor.new("Really black")
  316. Frame26.BackgroundColor3 = Color3.new(0, 0.196078, 0)
  317. Frame26.BackgroundTransparency = 0.5
  318. Frame26.BorderColor = BrickColor.new("Lime green")
  319. Frame26.BorderColor3 = Color3.new(0, 1, 0)
  320. Frame26.BorderSizePixel = 4
  321. Frame26.ZIndex = 2
  322. TextButton27.Name = "1"
  323. TextButton27.Parent = Frame26
  324. TextButton27.Size = UDim2.new(0.200000003, 0, 1, 0)
  325. TextButton27.BackgroundColor = BrickColor.new("Parsley green")
  326. TextButton27.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  327. TextButton27.BackgroundTransparency = 0.40000000596046
  328. TextButton27.BorderColor = BrickColor.new("Lime green")
  329. TextButton27.BorderColor3 = Color3.new(0, 1, 0)
  330. TextButton27.BorderSizePixel = 3
  331. TextButton27.LayoutOrder = 1
  332. TextButton27.ZIndex = 3
  333. TextButton27.AutoButtonColor = false
  334. TextButton27.FontSize = Enum.FontSize.Size14
  335. TextButton27.Text = "1"
  336. TextButton27.TextColor = BrickColor.new("Lime green")
  337. TextButton27.TextColor3 = Color3.new(0, 1, 0)
  338. TextButton27.TextScaled = true
  339. TextButton27.TextSize = 14
  340. TextButton27.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  341. TextButton27.TextStrokeTransparency = 0
  342. TextButton27.TextWrap = true
  343. TextButton27.TextWrapped = true
  344. TextButton28.Name = "2"
  345. TextButton28.Parent = Frame26
  346. TextButton28.Size = UDim2.new(0.200000003, 0, 1, 0)
  347. TextButton28.BackgroundColor = BrickColor.new("Parsley green")
  348. TextButton28.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  349. TextButton28.BackgroundTransparency = 0.40000000596046
  350. TextButton28.BorderColor = BrickColor.new("Lime green")
  351. TextButton28.BorderColor3 = Color3.new(0, 1, 0)
  352. TextButton28.BorderSizePixel = 3
  353. TextButton28.LayoutOrder = 2
  354. TextButton28.ZIndex = 3
  355. TextButton28.AutoButtonColor = false
  356. TextButton28.FontSize = Enum.FontSize.Size14
  357. TextButton28.Text = "2"
  358. TextButton28.TextColor = BrickColor.new("Lime green")
  359. TextButton28.TextColor3 = Color3.new(0, 1, 0)
  360. TextButton28.TextScaled = true
  361. TextButton28.TextSize = 14
  362. TextButton28.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  363. TextButton28.TextStrokeTransparency = 0
  364. TextButton28.TextWrap = true
  365. TextButton28.TextWrapped = true
  366. TextButton29.Name = "3"
  367. TextButton29.Parent = Frame26
  368. TextButton29.Size = UDim2.new(0.200000003, 0, 1, 0)
  369. TextButton29.BackgroundColor = BrickColor.new("Parsley green")
  370. TextButton29.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  371. TextButton29.BackgroundTransparency = 0.40000000596046
  372. TextButton29.BorderColor = BrickColor.new("Lime green")
  373. TextButton29.BorderColor3 = Color3.new(0, 1, 0)
  374. TextButton29.BorderSizePixel = 3
  375. TextButton29.LayoutOrder = 3
  376. TextButton29.ZIndex = 3
  377. TextButton29.AutoButtonColor = false
  378. TextButton29.FontSize = Enum.FontSize.Size14
  379. TextButton29.Text = "3"
  380. TextButton29.TextColor = BrickColor.new("Lime green")
  381. TextButton29.TextColor3 = Color3.new(0, 1, 0)
  382. TextButton29.TextScaled = true
  383. TextButton29.TextSize = 14
  384. TextButton29.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  385. TextButton29.TextStrokeTransparency = 0
  386. TextButton29.TextWrap = true
  387. TextButton29.TextWrapped = true
  388. TextButton30.Name = "4"
  389. TextButton30.Parent = Frame26
  390. TextButton30.Size = UDim2.new(0.200000003, 0, 1, 0)
  391. TextButton30.BackgroundColor = BrickColor.new("Parsley green")
  392. TextButton30.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  393. TextButton30.BackgroundTransparency = 0.40000000596046
  394. TextButton30.BorderColor = BrickColor.new("Lime green")
  395. TextButton30.BorderColor3 = Color3.new(0, 1, 0)
  396. TextButton30.BorderSizePixel = 3
  397. TextButton30.LayoutOrder = 4
  398. TextButton30.ZIndex = 3
  399. TextButton30.AutoButtonColor = false
  400. TextButton30.FontSize = Enum.FontSize.Size14
  401. TextButton30.Text = "4"
  402. TextButton30.TextColor = BrickColor.new("Lime green")
  403. TextButton30.TextColor3 = Color3.new(0, 1, 0)
  404. TextButton30.TextScaled = true
  405. TextButton30.TextSize = 14
  406. TextButton30.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  407. TextButton30.TextStrokeTransparency = 0
  408. TextButton30.TextWrap = true
  409. TextButton30.TextWrapped = true
  410. TextButton31.Name = "5"
  411. TextButton31.Parent = Frame26
  412. TextButton31.Size = UDim2.new(0.200000003, 0, 1, 0)
  413. TextButton31.BackgroundColor = BrickColor.new("Parsley green")
  414. TextButton31.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  415. TextButton31.BackgroundTransparency = 0.40000000596046
  416. TextButton31.BorderColor = BrickColor.new("Lime green")
  417. TextButton31.BorderColor3 = Color3.new(0, 1, 0)
  418. TextButton31.BorderSizePixel = 3
  419. TextButton31.LayoutOrder = 5
  420. TextButton31.ZIndex = 3
  421. TextButton31.AutoButtonColor = false
  422. TextButton31.FontSize = Enum.FontSize.Size14
  423. TextButton31.Text = "5"
  424. TextButton31.TextColor = BrickColor.new("Lime green")
  425. TextButton31.TextColor3 = Color3.new(0, 1, 0)
  426. TextButton31.TextScaled = true
  427. TextButton31.TextSize = 14
  428. TextButton31.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  429. TextButton31.TextStrokeTransparency = 0
  430. TextButton31.TextWrap = true
  431. TextButton31.TextWrapped = true
  432. TextButton32.Name = "6"
  433. TextButton32.Parent = Frame26
  434. TextButton32.Size = UDim2.new(0.200000003, 0, 1, 0)
  435. TextButton32.BackgroundColor = BrickColor.new("Parsley green")
  436. TextButton32.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  437. TextButton32.BackgroundTransparency = 0.40000000596046
  438. TextButton32.BorderColor = BrickColor.new("Lime green")
  439. TextButton32.BorderColor3 = Color3.new(0, 1, 0)
  440. TextButton32.BorderSizePixel = 3
  441. TextButton32.LayoutOrder = 6
  442. TextButton32.ZIndex = 3
  443. TextButton32.AutoButtonColor = false
  444. TextButton32.FontSize = Enum.FontSize.Size14
  445. TextButton32.Text = "6"
  446. TextButton32.TextColor = BrickColor.new("Lime green")
  447. TextButton32.TextColor3 = Color3.new(0, 1, 0)
  448. TextButton32.TextScaled = true
  449. TextButton32.TextSize = 14
  450. TextButton32.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  451. TextButton32.TextStrokeTransparency = 0
  452. TextButton32.TextWrap = true
  453. TextButton32.TextWrapped = true
  454. TextButton33.Name = "7"
  455. TextButton33.Parent = Frame26
  456. TextButton33.Size = UDim2.new(0.200000003, 0, 1, 0)
  457. TextButton33.BackgroundColor = BrickColor.new("Parsley green")
  458. TextButton33.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  459. TextButton33.BackgroundTransparency = 0.40000000596046
  460. TextButton33.BorderColor = BrickColor.new("Lime green")
  461. TextButton33.BorderColor3 = Color3.new(0, 1, 0)
  462. TextButton33.BorderSizePixel = 3
  463. TextButton33.LayoutOrder = 7
  464. TextButton33.ZIndex = 3
  465. TextButton33.AutoButtonColor = false
  466. TextButton33.FontSize = Enum.FontSize.Size14
  467. TextButton33.Text = "7"
  468. TextButton33.TextColor = BrickColor.new("Lime green")
  469. TextButton33.TextColor3 = Color3.new(0, 1, 0)
  470. TextButton33.TextScaled = true
  471. TextButton33.TextSize = 14
  472. TextButton33.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  473. TextButton33.TextStrokeTransparency = 0
  474. TextButton33.TextWrap = true
  475. TextButton33.TextWrapped = true
  476. TextButton34.Name = "8"
  477. TextButton34.Parent = Frame26
  478. TextButton34.Size = UDim2.new(0.200000003, 0, 1, 0)
  479. TextButton34.BackgroundColor = BrickColor.new("Parsley green")
  480. TextButton34.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  481. TextButton34.BackgroundTransparency = 0.40000000596046
  482. TextButton34.BorderColor = BrickColor.new("Lime green")
  483. TextButton34.BorderColor3 = Color3.new(0, 1, 0)
  484. TextButton34.BorderSizePixel = 3
  485. TextButton34.LayoutOrder = 8
  486. TextButton34.ZIndex = 3
  487. TextButton34.AutoButtonColor = false
  488. TextButton34.FontSize = Enum.FontSize.Size14
  489. TextButton34.Text = "8"
  490. TextButton34.TextColor = BrickColor.new("Lime green")
  491. TextButton34.TextColor3 = Color3.new(0, 1, 0)
  492. TextButton34.TextScaled = true
  493. TextButton34.TextSize = 14
  494. TextButton34.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  495. TextButton34.TextStrokeTransparency = 0
  496. TextButton34.TextWrap = true
  497. TextButton34.TextWrapped = true
  498. TextButton35.Name = "9"
  499. TextButton35.Parent = Frame26
  500. TextButton35.Size = UDim2.new(0.200000003, 0, 1, 0)
  501. TextButton35.BackgroundColor = BrickColor.new("Parsley green")
  502. TextButton35.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  503. TextButton35.BackgroundTransparency = 0.40000000596046
  504. TextButton35.BorderColor = BrickColor.new("Lime green")
  505. TextButton35.BorderColor3 = Color3.new(0, 1, 0)
  506. TextButton35.BorderSizePixel = 3
  507. TextButton35.LayoutOrder = 9
  508. TextButton35.ZIndex = 3
  509. TextButton35.AutoButtonColor = false
  510. TextButton35.FontSize = Enum.FontSize.Size14
  511. TextButton35.Text = "9"
  512. TextButton35.TextColor = BrickColor.new("Lime green")
  513. TextButton35.TextColor3 = Color3.new(0, 1, 0)
  514. TextButton35.TextScaled = true
  515. TextButton35.TextSize = 14
  516. TextButton35.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  517. TextButton35.TextStrokeTransparency = 0
  518. TextButton35.TextWrap = true
  519. TextButton35.TextWrapped = true
  520. TextButton36.Name = "0"
  521. TextButton36.Parent = Frame26
  522. TextButton36.Size = UDim2.new(0.200000003, 0, 1, 0)
  523. TextButton36.BackgroundColor = BrickColor.new("Parsley green")
  524. TextButton36.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  525. TextButton36.BackgroundTransparency = 0.40000000596046
  526. TextButton36.BorderColor = BrickColor.new("Lime green")
  527. TextButton36.BorderColor3 = Color3.new(0, 1, 0)
  528. TextButton36.BorderSizePixel = 3
  529. TextButton36.LayoutOrder = 10
  530. TextButton36.ZIndex = 3
  531. TextButton36.AutoButtonColor = false
  532. TextButton36.FontSize = Enum.FontSize.Size14
  533. TextButton36.Text = "0"
  534. TextButton36.TextColor = BrickColor.new("Lime green")
  535. TextButton36.TextColor3 = Color3.new(0, 1, 0)
  536. TextButton36.TextScaled = true
  537. TextButton36.TextSize = 14
  538. TextButton36.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  539. TextButton36.TextStrokeTransparency = 0
  540. TextButton36.TextWrap = true
  541. TextButton36.TextWrapped = true
  542. UIGridLayout37.Parent = Frame26
  543. UIGridLayout37.HorizontalAlignment = Enum.HorizontalAlignment.Center
  544. UIGridLayout37.SortOrder = Enum.SortOrder.LayoutOrder
  545. UIGridLayout37.VerticalAlignment = Enum.VerticalAlignment.Center
  546. UIGridLayout37.CellPadding = UDim2.new(0, 10, 0, 10)
  547. UIGridLayout37.CellSize = UDim2.new(0, 70, 0, 70)
  548. UIGridLayout37.FillDirectionMaxCells = 4
  549. Frame38.Name = "Enter"
  550. Frame38.Parent = Frame26
  551. Frame38.Size = UDim2.new(0, 100, 0, 100)
  552. Frame38.BackgroundColor = BrickColor.new("Institutional white")
  553. Frame38.BackgroundColor3 = Color3.new(1, 1, 1)
  554. Frame38.BackgroundTransparency = 1
  555. Frame38.LayoutOrder = 11
  556. Frame38.ZIndex = 3
  557. TextButton39.Name = "Button"
  558. TextButton39.Parent = Frame38
  559. TextButton39.Size = UDim2.new(2, 10, 1, 0)
  560. TextButton39.BackgroundColor = BrickColor.new("Parsley green")
  561. TextButton39.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  562. TextButton39.BackgroundTransparency = 0.40000000596046
  563. TextButton39.BorderColor = BrickColor.new("Lime green")
  564. TextButton39.BorderColor3 = Color3.new(0, 1, 0)
  565. TextButton39.BorderSizePixel = 3
  566. TextButton39.LayoutOrder = 1
  567. TextButton39.ZIndex = 3
  568. TextButton39.AutoButtonColor = false
  569. TextButton39.Font = Enum.Font.SourceSansSemibold
  570. TextButton39.FontSize = Enum.FontSize.Size14
  571. TextButton39.Text = "Enter"
  572. TextButton39.TextColor = BrickColor.new("Lime green")
  573. TextButton39.TextColor3 = Color3.new(0, 1, 0)
  574. TextButton39.TextScaled = true
  575. TextButton39.TextSize = 14
  576. TextButton39.TextStrokeColor3 = Color3.new(0, 0.666667, 0)
  577. TextButton39.TextStrokeTransparency = 0
  578. TextButton39.TextWrap = true
  579. TextButton39.TextWrapped = true
  580. Folder40.Name = "WrittenDisplay"
  581. Folder40.Parent = Frame26
  582. TextLabel41.Name = "Display"
  583. TextLabel41.Parent = Folder40
  584. TextLabel41.Position = UDim2.new(0, 0, 1, 0)
  585. TextLabel41.Size = UDim2.new(1, 0, 0, 40)
  586. TextLabel41.BackgroundColor = BrickColor.new("Parsley green")
  587. TextLabel41.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  588. TextLabel41.BackgroundTransparency = 1
  589. TextLabel41.BorderColor = BrickColor.new("Lime green")
  590. TextLabel41.BorderColor3 = Color3.new(0, 1, 0)
  591. TextLabel41.BorderSizePixel = 3
  592. TextLabel41.Font = Enum.Font.SourceSansSemibold
  593. TextLabel41.FontSize = Enum.FontSize.Size48
  594. TextLabel41.Text = ""
  595. TextLabel41.TextColor = BrickColor.new("Lime green")
  596. TextLabel41.TextColor3 = Color3.new(0, 0.666667, 0)
  597. TextLabel41.TextScaled = true
  598. TextLabel41.TextSize = 45
  599. TextLabel41.TextStrokeColor3 = Color3.new(0, 0.333333, 0)
  600. TextLabel41.TextStrokeTransparency = 0.5
  601. TextLabel41.TextWrap = true
  602. TextLabel41.TextWrapped = true
  603. TextButton42.Name = "Close"
  604. TextButton42.Parent = Frame22
  605. TextButton42.Position = UDim2.new(1, 5, 0.5, 10)
  606. TextButton42.Size = UDim2.new(0.200000003, 0, 0.150000006, 0)
  607. TextButton42.BackgroundColor = BrickColor.new("CGA brown")
  608. TextButton42.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  609. TextButton42.BackgroundTransparency = 0.60000002384186
  610. TextButton42.BorderColor = BrickColor.new("Deep orange")
  611. TextButton42.BorderColor3 = Color3.new(1, 0.666667, 0)
  612. TextButton42.BorderSizePixel = 4
  613. TextButton42.AutoButtonColor = false
  614. TextButton42.Font = Enum.Font.Highway
  615. TextButton42.FontSize = Enum.FontSize.Size14
  616. TextButton42.Text = "Close"
  617. TextButton42.TextColor = BrickColor.new("New Yeller")
  618. TextButton42.TextColor3 = Color3.new(1, 1, 0)
  619. TextButton42.TextScaled = true
  620. TextButton42.TextSize = 14
  621. TextButton42.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  622. TextButton42.TextStrokeTransparency = 0
  623. TextButton42.TextWrap = true
  624. TextButton42.TextWrapped = true
  625. TextLabel43.Name = "StartInfo"
  626. TextLabel43.Parent = SurfaceGui5
  627. TextLabel43.Position = UDim2.new(0, 0, 0.300000012, 0)
  628. TextLabel43.Size = UDim2.new(1, 0, 0.300000012, 0)
  629. TextLabel43.BackgroundColor = BrickColor.new("Institutional white")
  630. TextLabel43.BackgroundColor3 = Color3.new(1, 1, 1)
  631. TextLabel43.BackgroundTransparency = 1
  632. TextLabel43.Font = Enum.Font.SourceSansSemibold
  633. TextLabel43.FontSize = Enum.FontSize.Size14
  634. TextLabel43.Text = "Enter the keycard to have access!"
  635. TextLabel43.TextColor = BrickColor.new("Lime green")
  636. TextLabel43.TextColor3 = Color3.new(0, 1, 0)
  637. TextLabel43.TextScaled = true
  638. TextLabel43.TextSize = 14
  639. TextLabel43.TextStrokeColor3 = Color3.new(0, 0.333333, 0)
  640. TextLabel43.TextWrap = true
  641. TextLabel43.TextWrapped = true
  642. SurfaceLight44.Parent = Part4
  643. SurfaceLight44.Face = Enum.NormalId.Back
  644. SurfaceLight44.Range = 15
  645. SurfaceLight44.Shadows = true
  646. Model45.Name = "CardReader"
  647. Model45.Parent = Model1
  648. Part46.Name = "CardReader"
  649. Part46.Parent = Model45
  650. Part46.CFrame = CFrame.new(4.10816193, 3.50000501, 47.0475388, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  651. Part46.Position = Vector3.new(4.10816193, 3.50000501, 47.0475388)
  652. Part46.Color = Color3.new(0, 0, 0)
  653. Part46.Size = Vector3.new(1, 0.200000003, 0.0500000007)
  654. Part46.Anchored = true
  655. Part46.BottomSurface = Enum.SurfaceType.Smooth
  656. Part46.BrickColor = BrickColor.new("Really black")
  657. Part46.Material = Enum.Material.Concrete
  658. Part46.TopSurface = Enum.SurfaceType.Smooth
  659. Part46.brickColor = BrickColor.new("Really black")
  660. UnionOperation47.Name = "CardReaderBack"
  661. UnionOperation47.Parent = Model45
  662. UnionOperation47.CFrame = CFrame.new(4.10814714, 3.50001001, 46.9975433, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. UnionOperation47.Position = Vector3.new(4.10814714, 3.50001001, 46.9975433)
  664. UnionOperation47.Color = Color3.new(0.356863, 0.364706, 0.411765)
  665. UnionOperation47.Size = Vector3.new(1.5, 0.500000477, 0.100013733)
  666. UnionOperation47.Anchored = true
  667. UnionOperation47.BrickColor = BrickColor.new("Smoky grey")
  668. UnionOperation47.Material = Enum.Material.DiamondPlate
  669. UnionOperation47.brickColor = BrickColor.new("Smoky grey")
  670. ModuleScript48.Name = "Settings"
  671. ModuleScript48.Parent = Model1
  672. table.insert(cors,sandbox(ModuleScript48,function()
  673. return {
  674. AccessCode = "6921", -- Only numbers! If no numbers found, default code will be used! Max 12 digits!
  675. TimeBeforeExplosion = 90, -- in seconds
  676. Radius = 1000, -- How big the explosion will be (in studs)
  677.  
  678. KeycardAccess = { -- Enter keycard's TOOL NAME and set it to true to grant that tool access
  679. ["[SCP] Card-Omni"] = true,
  680. ["[SCP] Card-L5"] = false,
  681. ["[SCP] Card-L4"] = false,
  682. ["[SCP] Card-L3"] = false,
  683. ["[SCP] Card-L2"] = false,
  684. ["[SCP] Card-L1"] = false,
  685. ["[SCP] Delta-T"] = true
  686. },
  687. UnanchorParts = 10, -- if all axis of a part's size are smaller than _this_ studs, then part gets unanchored in contact of explosion
  688. DestroyParts = 3, -- if all axis of a part's size are smaller than _this_ studs, then part gets destroyed
  689. DestroyLights = true,
  690. DestroyTextures = true,
  691. DestroySpawns = false, -- Will destroy SpawnLocations if true, if false, it wont and it wont also unanchor small spawns
  692.  
  693. MaterialEffects = { -- Effects applied to parts who have these materials and are in fireball
  694. Colors = {Color3.fromRGB(27,42,53),Color3.fromRGB(17,17,17),Color3.fromRGB(21,21,21),Color3.fromRGB(35,35,35),Color3.fromRGB(69,69,69),Color3.fromRGB(90,95,98),Color3.fromRGB(50,50,50),Color3.fromRGB(42,42,42),Color3.fromRGB(0,0,0)}, -- Burned stuff will have random color of these
  695. Wood = {Material = Enum.Material.Slate},
  696. WoodPlanks = {Material = Enum.Material.Slate},
  697. Grass = {Material = Enum.Material.Sand},
  698. Glass = {Material = Enum.Material.Sand},
  699. Ice = {Material = Enum.Material.Slate},
  700. Plastic = {Material = Enum.Material.Slate},
  701. SmoothPlastic = {Material = Enum.Material.Slate},
  702. Foil = {Material = Enum.Material.Concrete},
  703. Metal = {Material = Enum.Material.CorrodedMetal},
  704. DiamondPlate = {Material = Enum.Material.CorrodedMetal},
  705. Neon = {Material = Enum.Material.Pebble},
  706. Fabric = {Material = Enum.Material.Concrete}
  707. }
  708. }
  709. end))
  710. Folder49.Name = "Assets"
  711. Folder49.Parent = Model1
  712. Sound50.Name = "ExplosionSFX"
  713. Sound50.Parent = Folder49
  714. Sound50.SoundId = "rbxassetid://306225095"
  715. Sound50.Volume = 1
  716. Sound51.Name = "Announcement"
  717. Sound51.Parent = Folder49
  718. Sound51.SoundId = "rbxassetid://421256280"
  719. Sound51.Volume = 1
  720. Sound52.Name = "Alarm"
  721. Sound52.Parent = Folder49
  722. Sound52.Looped = true
  723. Sound52.SoundId = "rbxassetid://421254005"
  724. Sound52.Volume = 1
  725. Sky53.Parent = Folder49
  726. Sky53.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  727. Sky53.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  728. Sky53.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  729. Sky53.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  730. Sky53.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  731. Sky53.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  732. Script54.Name = "MainScript"
  733. Script54.Parent = Model1
  734. table.insert(cors,sandbox(Script54,function()
  735. local Settings = require(script.Parent:WaitForChild("Settings"))
  736. script.Parent:WaitForChild("Settings"):Destroy()
  737. local AssetsF = script.Parent:WaitForChild("Assets")
  738. local CardReader = script.Parent:WaitForChild("CardReader"):WaitForChild("CardReader")
  739. local Light = script.Parent:WaitForChild("Screen"):WaitForChild("Screen"):WaitForChild("SurfaceLight")
  740. local UI = script.Parent:WaitForChild("Screen"):WaitForChild("Screen"):WaitForChild("UI")
  741. local CountdownContainer = UI:WaitForChild("CountdownContainer")
  742. local MainContainer = UI:WaitForChild("MainContainer")
  743.  
  744. local abs, ceil, floor = math.abs,math.ceil,math.floor
  745. local TweenServ = game:GetService("TweenService")
  746. local RunService = game:GetService("RunService")
  747.  
  748. local UIData = {
  749. StartInfo = UI:WaitForChild("StartInfo"),
  750. Credit = UI:WaitForChild("Credit")
  751. }
  752. --CountdownBar UI
  753. UIData.CdwnBar = CountdownContainer:WaitForChild("CountdownBar")
  754. UIData.CdwnTime = UIData.CdwnBar:WaitForChild("Other"):WaitForChild("Countdown")
  755. UIData.CdwnCircle = UIData.CdwnBar:WaitForChild("CircleContainer"):WaitForChild("Circle")
  756. UIData.BGBarF = UIData.CdwnBar:WaitForChild("BGBar")
  757. UIData.BGBar = UIData.BGBarF:WaitForChild("Bar")
  758. UIData.HPBarF = UIData.CdwnBar:WaitForChild("HPBar")
  759. UIData.HPBar = UIData.HPBarF:WaitForChild("Bar")
  760. --MainContainer UI
  761. UIData.MainInfo = MainContainer:WaitForChild("Info")
  762. UIData.MainInfoT = MainContainer:WaitForChild("InfoTitle")
  763. UIData.MainClose = MainContainer:WaitForChild("Close")
  764. UIData.MainCodeBut = MainContainer:WaitForChild("CodeButton")
  765. UIData.MainCode = MainContainer:WaitForChild("CodePanel")
  766. local MainWritten = UIData.MainCode:WaitForChild("WrittenDisplay"):WaitForChild("Display")
  767. UIData.MainEnter = UIData.MainCode:WaitForChild("Enter"):WaitForChild("Button")
  768. --Code Buttons UI
  769. UIData.Main1 = UIData.MainCode:WaitForChild("1")
  770. UIData.Main2 = UIData.MainCode:WaitForChild("2")
  771. UIData.Main3 = UIData.MainCode:WaitForChild("3")
  772. UIData.Main4 = UIData.MainCode:WaitForChild("4")
  773. UIData.Main5 = UIData.MainCode:WaitForChild("5")
  774. UIData.Main6 = UIData.MainCode:WaitForChild("6")
  775. UIData.Main7 = UIData.MainCode:WaitForChild("7")
  776. UIData.Main8 = UIData.MainCode:WaitForChild("8")
  777. UIData.Main9 = UIData.MainCode:WaitForChild("9")
  778. UIData.Main0 = UIData.MainCode:WaitForChild("0")
  779.  
  780. -- Just renames my username in credits
  781. UIData.Credit.Text = "Made by "..game.Players:GetNameFromUserIdAsync(24502450)
  782.  
  783. --Setting up
  784. UIData.MainInfo.Text = "To launch or abort, press the button to right and enter the correct code. Nuke will destroy everything in ".. abs(Settings.Radius).." stud radius!"
  785. MainWritten.Text = ""
  786. UIData.CdwnCircle.Position = UDim2.new(1,-34,0,0)
  787. UIData.CdwnCircle.ImageColor3 = Color3.fromRGB(0,255,0)
  788. UIData.HPBar.Size = UDim2.new(1,0,1,0) UIData.HPBarF.Size = UDim2.new(1,0,1,0)
  789. UIData.BGBar.Size = UDim2.new(0,0,1,0) UIData.BGBar.Position = UDim2.new(0,0,0,0) UIData.BGBarF.Size = UDim2.new(0,0,1,0) UIData.BGBarF.Position = UDim2.new(1,0,0,0)
  790. --open pos 0,0,.825,0
  791. CountdownContainer.Position = UDim2.new(0,0,1.1,0)
  792. --open pos .65,0,.175,0
  793. UIData.MainCode.Position = UDim2.new(1,5,.175,0)
  794. --open pos .05,0,0,0
  795. UIData.MainInfoT.Position = UDim2.new(-.45,0,0,0)
  796. --open pos .05,0,.125,0
  797. UIData.MainInfoT.Position = UDim2.new(-.45,0,.125,0)
  798. --open pos .675,0,.35,-10
  799. UIData.MainCodeBut.Position = UDim2.new(1,5,.35,-10)
  800. --open pos .675,0,.5,10
  801. UIData.MainClose.Position = UDim2.new(1,5,.5,10)
  802.  
  803. local Tweens = {
  804. StartInfo1 = TweenServ:Create(UIData.StartInfo,TweenInfo.new(.5),{TextTransparency = 1}),
  805. StartInfo2 = TweenServ:Create(UIData.StartInfo,TweenInfo.new(.7),{TextTransparency = 0}),
  806.  
  807. InfoT1 = TweenServ:Create(UIData.MainInfoT,TweenInfo.new(.7, Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0.05,0,0,0)}),
  808. InfoT2 = TweenServ:Create(UIData.MainInfoT,TweenInfo.new(.6, Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(-0.45,0,0,0)}),
  809. Info1 = TweenServ:Create(UIData.MainInfo,TweenInfo.new(.7, Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0.05,0,.125,0)}),
  810. Info2 = TweenServ:Create(UIData.MainInfo,TweenInfo.new(.6, Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(-0.45,0,.125,0)}),
  811.  
  812. CodeB1 = TweenServ:Create(UIData.MainCodeBut,TweenInfo.new(.7, Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0.675,0,.35,-10)}),
  813. CodeB2 = TweenServ:Create(UIData.MainCodeBut,TweenInfo.new(.6, Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(1,5,.35,-10)}),
  814. CloseB1 = TweenServ:Create(UIData.MainClose,TweenInfo.new(.7, Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0.675,0,.5,10)}),
  815. CloseB2 = TweenServ:Create(UIData.MainClose,TweenInfo.new(.6, Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(1,5,.5,10)}),
  816.  
  817. Code1 = TweenServ:Create(UIData.MainCode,TweenInfo.new(.5, Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0.65,0,.175,0)}),
  818. Code2 = TweenServ:Create(UIData.MainCode,TweenInfo.new(.5, Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(1,5,.175,0)}),
  819. CdwnF1 = TweenServ:Create(CountdownContainer,TweenInfo.new(.5,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position = UDim2.new(0,0,.825,0)}),
  820. CdwnF2 = TweenServ:Create(CountdownContainer,TweenInfo.new(.5,Enum.EasingStyle.Back,Enum.EasingDirection.In),{Position = UDim2.new(0,0,1.1,0)})
  821. }
  822.  
  823. --[ Making SURE THE TWEENS MAKE GUIS END UP IN RIGHT PLACE AT END >:( ]--
  824. Tweens.InfoT1.Completed:Connect(function() UIData.MainInfoT.Position = UDim2.new(0.05,0,0,0) end)
  825. Tweens.InfoT2.Completed:Connect(function() UIData.MainInfoT.Position = UDim2.new(-0.45,0,0,0) end)
  826. Tweens.Info1.Completed:Connect(function() UIData.MainInfo.Position = UDim2.new(0.05,0,0.125,0) end)
  827. Tweens.Info2.Completed:Connect(function() UIData.MainInfo.Position = UDim2.new(-0.45,0,0.125,0) end)
  828.  
  829. Tweens.CodeB1.Completed:Connect(function() UIData.MainCodeBut.Position = UDim2.new(0.675,0,.35,-10) end)
  830. Tweens.CodeB2.Completed:Connect(function() UIData.MainCodeBut.Position = UDim2.new(1,5,.35,-10) end)
  831. Tweens.CloseB1.Completed:Connect(function() UIData.MainClose.Position = UDim2.new(0.675,0,.5,10) end)
  832. Tweens.CloseB2.Completed:Connect(function() UIData.MainClose.Position = UDim2.new(1,5,.5,10) end)
  833.  
  834. Tweens.Code1.Completed:Connect(function() UIData.MainCode.Position = UDim2.new(0.65,0,.175,0) end)
  835. Tweens.Code2.Completed:Connect(function() UIData.MainCode.Position = UDim2.new(1,5,.175,0) end)
  836. Tweens.CdwnF1.Completed:Connect(function() CountdownContainer.Position = UDim2.new(0,0,.825,0) end)
  837. Tweens.CdwnF2.Completed:Connect(function() CountdownContainer.Position = UDim2.new(0,0,1.1,0) end)
  838.  
  839. local Code = ""
  840. local Code = Settings.AccessCode:gsub("%D","")
  841. if Code == "" or #Code > 12 then Code = "6921" end
  842. --local TimeLeft = Settings.TimeBeforeExplosion
  843. local Counting = false
  844. local Exploding = false
  845. local Explosion, ExplM
  846. local Destroyed = {}
  847.  
  848. RunService.Stepped:Connect(function(_,taim)
  849. local curT = tick()
  850. if Counting and not Exploding then
  851. local TimeLeft = Counting+Settings.TimeBeforeExplosion-curT
  852. if TimeLeft <= 0 then -- Uh oh! NUKE!!!!
  853. Exploding = tick()
  854. Explosion = Instance.new("Part")
  855. Explosion.Name = "Nuke"
  856. Explosion.Size = Vector3.new(1,1,1)
  857. Explosion.Anchored = true
  858. Explosion.Material = Enum.Material.Neon
  859. Explosion.Color = Color3.fromRGB(255,85,0)
  860. Explosion.Transparency = .42
  861. Explosion.CanCollide = false
  862. ExplM = Instance.new("SpecialMesh")
  863. ExplM.MeshType = Enum.MeshType.Sphere
  864. ExplM.Parent = Explosion
  865. Explosion.CFrame = script.Parent:WaitForChild("Screen"):WaitForChild("Screen").CFrame
  866. Explosion.Parent = script.Parent
  867. AssetsF:WaitForChild("Alarm"):Stop() AssetsF:WaitForChild("Alarm"):Destroy()
  868. AssetsF:WaitForChild("Announcement"):Stop() AssetsF:WaitForChild("Announcement"):Destroy()
  869. AssetsF:WaitForChild("ExplosionSFX").PlayOnRemove = true AssetsF:WaitForChild("ExplosionSFX"):Destroy()
  870. Light:Destroy()
  871. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  872. if v.ClassName == "Sky" then
  873. v:Destroy()
  874. end
  875. end
  876. game:GetService("Lighting").TimeOfDay = "12:00:00"
  877. AssetsF:WaitForChild("Sky").Parent = game:GetService("Lighting")
  878. UI:Destroy()
  879. UIData = nil
  880. Tweens = nil
  881. else -- ok we still fine
  882. local asd = TimeLeft/Settings.TimeBeforeExplosion*(1/0.954)-.023
  883. if asd >= 1 then
  884. UIData.CdwnCircle.Position = UDim2.new(1,-34,0,0)
  885. elseif asd <= 0 then
  886. UIData.CdwnCircle.Position = UDim2.new(0,-34,0,0)
  887. else
  888. UIData.CdwnCircle.Position = UDim2.new(asd,-34,0,0)
  889. end
  890. UIData.HPBarF.Size = UDim2.new(TimeLeft/Settings.TimeBeforeExplosion,0,1,0)
  891. UIData.HPBar.Size = UDim2.new(Settings.TimeBeforeExplosion/TimeLeft,0,1,0)
  892. UIData.CdwnTime.Text = floor(TimeLeft*10)/10 .."s left"
  893. UIData.BGBarF.Position = UDim2.new(TimeLeft/Settings.TimeBeforeExplosion,0,0,0)
  894. UIData.BGBarF.Size = UDim2.new(abs(TimeLeft/Settings.TimeBeforeExplosion-1),0,1,0)
  895. UIData.BGBar.Size = UDim2.new(1/(1-TimeLeft/Settings.TimeBeforeExplosion),0,1,0)
  896. UIData.BGBar.Position = UDim2.new(1-(1/(1-TimeLeft/Settings.TimeBeforeExplosion)),0,0,0)
  897. local Alarm = AssetsF:WaitForChild("Alarm")
  898. if not Alarm.IsPlaying then
  899. Alarm:Play()
  900. end
  901. end
  902. elseif Exploding then
  903. local Exploding2 = (curT-Exploding)*100 -- Explosion lasts for around 10 secs per 1000 stud radius
  904. local p = Explosion.Position
  905. local function DestroyParts(ls)
  906. local pp = workspace:FindPartsInRegion3(Region3.new(Vector3.new(p.X-Exploding2,p.Y-Exploding2,p.Z-Exploding2), Vector3.new(p.X+Exploding2,p.Y+Exploding2,p.Z+Exploding2)),nil,math.huge)
  907. for i, v in pairs(pp) do
  908. if not Destroyed[v] and (v.CFrame.p-p).magnitude<=Exploding2 and v ~= Explosion then -- If not affected and in radius
  909. if v.Size.X <= Settings.DestroyParts and v.Size.Y <= Settings.DestroyParts and v.Size.Z <= Settings.DestroyParts then
  910. if not Settings.DestroySpawns and v.ClassName == "SpawnLocation" then
  911. else
  912. v:Destroy()
  913. end
  914. else
  915. Destroyed[v] = true
  916. local e = Instance.new("Explosion")
  917. e.Position = v.Position-Vector3.new(math.random(-100,100)/10,math.random(-100,100)/10,math.random(-100,100)/10)
  918. e.BlastRadius = math.random(10,17)
  919. e.BlastPressure = 210000*v.Size.magnitude
  920. e.Parent = workspace
  921. if Settings.DestroyLights then
  922. for a, av in pairs(v:GetDescendants()) do
  923. if av and av.ClassName == "SurfaceLight" or av.ClassName == "PointLight" or av.ClassName == "SpotLight" then
  924. av:Destroy()
  925. end
  926. end
  927. end
  928. if Settings.DestroyTextures then
  929. for a, av in pairs(v:GetDescendants()) do
  930. if av and av.ClassName == "Decal" or av.ClassName == "Texture" then
  931. av:Destroy()
  932. elseif av and av.ClassName == "FileMesh" or av.ClassName == "SpecialMesh" then
  933. av.TextureId = ""
  934. end
  935. end
  936. if v.ClassName == "MeshPart" then
  937. v.TextureID = ""
  938. end
  939. end
  940. if not Settings.DestroySpawns and v.ClassName == "SpawnLocation" then
  941. else
  942. if v.Size.X <= Settings.UnanchorParts and v.Size.Y <= Settings.UnanchorParts and v.Size.Z <= Settings.UnanchorParts then
  943. v.Anchored = false
  944. end
  945. end
  946. if Settings.MaterialEffects[tostring(v.Material):sub(15,#tostring(v.Material))] then
  947. for a, av in pairs(Settings.MaterialEffects[tostring(v.Material):sub(15,#tostring(v.Material))]) do
  948. v[a] = av
  949. end
  950. end
  951. v.Color = Settings.MaterialEffects.Colors[math.random(1,#Settings.MaterialEffects.Colors)]
  952. if v.ClassName == "NegateOperation" or v.ClassName == "UnionOperation" then
  953. v.UsePartColor = true
  954. end
  955. end
  956. end
  957. end
  958. end
  959. if Exploding2 >= Settings.Radius then
  960. DestroyParts()
  961. Explosion:Destroy()
  962. script:Destroy()
  963. else
  964. DestroyParts()
  965. ExplM.Scale = Vector3.new(Exploding2*2,Exploding2*2,Exploding2*2)
  966. end
  967. end
  968. end)
  969.  
  970. CardReader.Touched:Connect(function(hit)
  971. if hit and UI then
  972. local ToolCheck = hit:FindFirstAncestorOfClass("Tool")
  973. if ToolCheck and Settings.KeycardAccess[ToolCheck.Name] then -- Valid keycard
  974. if UIData.StartInfo.TextTransparency == 0 and UIData.MainClose.Position == UDim2.new(1,5,.5,10) then -- verify that gui is closed
  975. Tweens.StartInfo1:Play()
  976. Tweens.InfoT1:Play()
  977. Tweens.CodeB1:Play()
  978. wait(.1)
  979. Tweens.Info1:Play()
  980. Tweens.CloseB1:Play()
  981. end
  982. end
  983. end
  984. end)
  985.  
  986. --[ Thanks Roblox Wiki for 2D Collision tutorial! ]--
  987. local function collides(g1p,g1s,g2p,g2s)
  988. return ((g1p[1] < g2p[1] + g2s[1] and g1p[1] + g1s[1] > g2p[1]) and (g1p[2] < g2p[2] + g2s[2] and g1p[2] + g1s[2] > g2p[2]));
  989. end;
  990. -------------------------------------------------------------------
  991. local InputCode = ""
  992. local function ButtonClicked(colliding)
  993. if colliding then
  994. if colliding == UIData.MainClose and UIData.StartInfo.TextTransparency == 1 and UIData.MainClose.Position == UDim2.new(.675,0,.5,10) then -- Close UI
  995. Tweens.Info2:Play()
  996. Tweens.CodeB2:Play()
  997. wait(.1)
  998. Tweens.StartInfo2:Play()
  999. Tweens.InfoT2:Play()
  1000. Tweens.CloseB2:Play()
  1001. elseif colliding == UIData.MainCodeBut and UIData.MainClose.Position == UDim2.new(.675,0,.5,10) and UIData.MainCode.Position == UDim2.new(1,5,.175,0) then -- Open Code panel
  1002. MainWritten.Text = ""
  1003. InputCode = ""
  1004. Tweens.CodeB2:Play()
  1005. wait(.1)
  1006. Tweens.CloseB2:Play()
  1007. wait(.4)
  1008. Tweens.Code1:Play()
  1009. elseif (colliding == UIData.Main0 or colliding == UIData.Main1 or colliding == UIData.Main2 or colliding == colliding == UIData.Main3 or colliding == UIData.Main4 or colliding == UIData.Main5
  1010. or colliding == UIData.Main6 or colliding == UIData.Main7 or colliding == UIData.Main8 or colliding == UIData.Main9) and UIData.MainCode.Position == UDim2.new(0.65,0,.175,0) then
  1011. if #InputCode == 12 then -- Overflow
  1012. MainWritten.Text = ""
  1013. InputCode = ""
  1014. Tweens.Code2:Play()
  1015. wait(.4)
  1016. Tweens.CodeB1:Play()
  1017. wait(.1)
  1018. Tweens.CloseB1:Play()
  1019. else
  1020. MainWritten.Text = MainWritten.Text.."●"
  1021. InputCode = InputCode..colliding.Name
  1022. end
  1023. elseif colliding == UIData.MainEnter and UIData.MainCode.Position == UDim2.new(0.65,0,.175,0) then -- Accepting code
  1024. if InputCode == Code then -- Code is correct!
  1025. if not Counting then -- Starting launch timer
  1026. Counting = tick()
  1027. local LaunchButSet = {Text = "Abort",BackgroundColor3 = Color3.fromRGB(0,85,0),BorderColor3 = Color3.fromRGB(0,255,0),TextColor3 = Color3.fromRGB(0,255,0),TextStrokeColor3 = Color3.fromRGB(0,170,0)}
  1028. for a, av in pairs(LaunchButSet) do
  1029. UIData.MainCodeBut[a] = av
  1030. end
  1031. UIData.CdwnTime.Text = floor(Settings.TimeBeforeExplosion*10)/10 .."s left"
  1032. AssetsF:WaitForChild("Announcement"):Play()
  1033. Tweens.CdwnF1:Play()
  1034. else
  1035. Counting = false
  1036. local LaunchButSet = {Text = "Launch",BackgroundColor3 = Color3.fromRGB(85,0,0),BorderColor3 = Color3.fromRGB(255,0,0),TextColor3 = Color3.fromRGB(255,0,0),TextStrokeColor3 = Color3.fromRGB(170,0,0)}
  1037. for a, av in pairs(LaunchButSet) do
  1038. UIData.MainCodeBut[a] = av
  1039. end
  1040. AssetsF:WaitForChild("Alarm"):Stop()
  1041. AssetsF:WaitForChild("Announcement"):Stop()
  1042. Tweens.CdwnF2:Play()
  1043. UIData.CdwnTime.Text = "-s left"
  1044. end
  1045.  
  1046. UIData.MainWritten = ""
  1047. InputCode = ""
  1048. Tweens.Code2:Play()
  1049. wait(.4)
  1050. Tweens.CodeB1:Play()
  1051. wait(.1)
  1052. Tweens.CloseB1:Play()
  1053. else -- Nevermind
  1054. UIData.MainWritten = ""
  1055. InputCode = ""
  1056. Tweens.Code2:Play()
  1057. wait(.4)
  1058. Tweens.CodeB1:Play()
  1059. wait(.1)
  1060. Tweens.CloseB1:Play()
  1061. end
  1062. end
  1063. end
  1064. end
  1065.  
  1066. for i, v in pairs(UI:GetDescendants()) do
  1067. if v.ClassName == "TextButton" then
  1068. v.MouseButton1Click:Connect(function()
  1069. ButtonClicked(v)
  1070. end)
  1071. end
  1072. end
  1073. end))
  1074. Part55.Name = "Wall"
  1075. Part55.Parent = Model0
  1076. Part55.CFrame = CFrame.new(-1.29183996, 4.15001106, 45.9475403, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1077. Part55.Position = Vector3.new(-1.29183996, 4.15001106, 45.9475403)
  1078. Part55.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1079. Part55.Size = Vector3.new(14.2000027, 8.29999828, 2)
  1080. Part55.Anchored = true
  1081. Part55.BottomSurface = Enum.SurfaceType.Smooth
  1082. Part55.BrickColor = BrickColor.new("Black")
  1083. Part55.Material = Enum.Material.Pebble
  1084. Part55.TopSurface = Enum.SurfaceType.Smooth
  1085. Part55.brickColor = BrickColor.new("Black")
  1086. Camera56.Name = "ThumbnailCamera"
  1087. Camera56.Parent = Model0
  1088. Camera56.CFrame = CFrame.new(-57.1991997, 5.33270502, -1.62332988, 0.999619782, -0.0013186523, 0.027545929, -0, 0.998856306, 0.0478162766, -0.0275774766, -0.0477980971, 0.998476267)
  1089. Camera56.CoordinateFrame = CFrame.new(-57.1991997, 5.33270502, -1.62332988, 0.999619782, -0.0013186523, 0.027545929, -0, 0.998856306, 0.0478162766, -0.0275774766, -0.0477980971, 0.998476267)
  1090. Camera56.Focus = CFrame.new(-57.2542915, 5.23707247, -3.62028241, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1091. Camera56.focus = CFrame.new(-57.2542915, 5.23707247, -3.62028241, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1092. for i,v in pairs(mas:GetChildren()) do
  1093. v.Parent = workspace
  1094. pcall(function() v:MakeJoints() end)
  1095. end
  1096. mas:Destroy()
  1097. for i,v in pairs(cors) do
  1098. spawn(function()
  1099. pcall(v)
  1100. end)
  1101. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement