Advertisement
firebudgy

Untitled

Jan 20th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. CylinderMesh2 = Instance.new("CylinderMesh")
  22. Part3 = Instance.new("Part")
  23. SpecialMesh4 = Instance.new("SpecialMesh")
  24. Script5 = Instance.new("Script")
  25. WedgePart6 = Instance.new("WedgePart")
  26. Part7 = Instance.new("Part")
  27. CylinderMesh8 = Instance.new("CylinderMesh")
  28. Part9 = Instance.new("Part")
  29. CylinderMesh10 = Instance.new("CylinderMesh")
  30. Model11 = Instance.new("Model")
  31. Part12 = Instance.new("Part")
  32. CylinderMesh13 = Instance.new("CylinderMesh")
  33. Humanoid14 = Instance.new("Humanoid")
  34. Script15 = Instance.new("Script")
  35. Sound16 = Instance.new("Sound")
  36. Sound17 = Instance.new("Sound")
  37. Part18 = Instance.new("Part")
  38. CylinderMesh19 = Instance.new("CylinderMesh")
  39. Part20 = Instance.new("Part")
  40. BlockMesh21 = Instance.new("BlockMesh")
  41. Part22 = Instance.new("Part")
  42. CylinderMesh23 = Instance.new("CylinderMesh")
  43. Part24 = Instance.new("Part")
  44. SpecialMesh25 = Instance.new("SpecialMesh")
  45. Part26 = Instance.new("Part")
  46. CylinderMesh27 = Instance.new("CylinderMesh")
  47. Script28 = Instance.new("Script")
  48. Sparkles29 = Instance.new("Sparkles")
  49. Part30 = Instance.new("Part")
  50. SpecialMesh31 = Instance.new("SpecialMesh")
  51. WedgePart32 = Instance.new("WedgePart")
  52. Part33 = Instance.new("Part")
  53. CylinderMesh34 = Instance.new("CylinderMesh")
  54. Part35 = Instance.new("Part")
  55. CylinderMesh36 = Instance.new("CylinderMesh")
  56. Part37 = Instance.new("Part")
  57. BlockMesh38 = Instance.new("BlockMesh")
  58. WedgePart39 = Instance.new("WedgePart")
  59. Part40 = Instance.new("Part")
  60. BlockMesh41 = Instance.new("BlockMesh")
  61. Part42 = Instance.new("Part")
  62. Part43 = Instance.new("Part")
  63. Part44 = Instance.new("Part")
  64. Part45 = Instance.new("Part")
  65. SpecialMesh46 = Instance.new("SpecialMesh")
  66. Part47 = Instance.new("Part")
  67. SpecialMesh48 = Instance.new("SpecialMesh")
  68. ClickDetector49 = Instance.new("ClickDetector")
  69. WedgePart50 = Instance.new("WedgePart")
  70. Part51 = Instance.new("Part")
  71. BlockMesh52 = Instance.new("BlockMesh")
  72. Part53 = Instance.new("Part")
  73. CylinderMesh54 = Instance.new("CylinderMesh")
  74. WedgePart55 = Instance.new("WedgePart")
  75. Part56 = Instance.new("Part")
  76. CylinderMesh57 = Instance.new("CylinderMesh")
  77. WedgePart58 = Instance.new("WedgePart")
  78. Part59 = Instance.new("Part")
  79. BlockMesh60 = Instance.new("BlockMesh")
  80. Model0.Name = "AntiMissile"
  81. Model0.Parent = mas
  82. Part1.Parent = Model0
  83. Part1.BrickColor = BrickColor.new("Dark stone grey")
  84. Part1.Reflectance = 0.10000000149012
  85. Part1.Rotation = Vector3.new(0, 90, 0)
  86. Part1.Anchored = true
  87. Part1.FormFactor = Enum.FormFactor.Plate
  88. Part1.Size = Vector3.new(3, 0.400000006, 3)
  89. Part1.CFrame = CFrame.new(-39.5, 4.20000076, -19.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  90. Part1.BottomSurface = Enum.SurfaceType.Smooth
  91. Part1.TopSurface = Enum.SurfaceType.Smooth
  92. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  93. Part1.Position = Vector3.new(-39.5, 4.20000076, -19.5)
  94. Part1.Orientation = Vector3.new(0, 90, 0)
  95. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  96. CylinderMesh2.Parent = Part1
  97. Part3.Name = "Sensor"
  98. Part3.Parent = Model0
  99. Part3.BrickColor = BrickColor.new("Dark stone grey")
  100. Part3.Rotation = Vector3.new(180, 0, -180)
  101. Part3.Anchored = true
  102. Part3.FormFactor = Enum.FormFactor.Plate
  103. Part3.Size = Vector3.new(1, 4, 1)
  104. Part3.CFrame = CFrame.new(-39.5, 6.4000001, -19.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  105. Part3.BottomSurface = Enum.SurfaceType.Smooth
  106. Part3.TopSurface = Enum.SurfaceType.Smooth
  107. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  108. Part3.Position = Vector3.new(-39.5, 6.4000001, -19.5)
  109. Part3.Orientation = Vector3.new(0, -180, 0)
  110. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  111. SpecialMesh4.Parent = Part3
  112. SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=1095752"
  113. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  114. SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=1095753"
  115. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  116. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  117. Script5.Name = "Spin"
  118. Script5.Parent = Part3
  119. Script5.Disabled = true
  120. table.insert(cors,sandbox(Script5,function()
  121. while true do
  122. wait()
  123. script.Parent.CFrame = script.Parent.CFrame*CFrame.Angles(0,math.rad(2),0)
  124. end
  125.  
  126.  
  127. end))
  128. WedgePart6.Parent = Model0
  129. WedgePart6.BrickColor = BrickColor.new("Dark stone grey")
  130. WedgePart6.Reflectance = 0.10000000149012
  131. WedgePart6.Anchored = true
  132. WedgePart6.FormFactor = Enum.FormFactor.Symmetric
  133. WedgePart6.Size = Vector3.new(5, 1, 1)
  134. WedgePart6.CFrame = CFrame.new(-39.5000648, 3.49994898, -22.4998627, 1, 1.63477409e-07, 1.26453813e-07, -1.6347704e-07, 1, -2.86094496e-06, -1.26454282e-07, 2.86094496e-06, 1)
  135. WedgePart6.BottomSurface = Enum.SurfaceType.Smooth
  136. WedgePart6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  137. WedgePart6.Position = Vector3.new(-39.5000648, 3.49994898, -22.4998627)
  138. WedgePart6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  139. Part7.Parent = Model0
  140. Part7.BrickColor = BrickColor.new("Bright yellow")
  141. Part7.Rotation = Vector3.new(-124.709999, -89.9700012, -79.7099991)
  142. Part7.Anchored = true
  143. Part7.FormFactor = Enum.FormFactor.Custom
  144. Part7.Size = Vector3.new(1, 0.200000003, 1)
  145. Part7.CFrame = CFrame.new(-40.9000626, 3.56562996, -22.5755997, 4.75109774e-09, 2.61796274e-08, -0.999999881, 0.707104862, 0.707108676, 2.18713545e-08, 0.707108736, -0.707104683, -1.51522048e-08)
  146. Part7.BackSurface = Enum.SurfaceType.Weld
  147. Part7.BottomSurface = Enum.SurfaceType.Weld
  148. Part7.FrontSurface = Enum.SurfaceType.Weld
  149. Part7.LeftSurface = Enum.SurfaceType.Weld
  150. Part7.RightSurface = Enum.SurfaceType.Weld
  151. Part7.TopSurface = Enum.SurfaceType.Weld
  152. Part7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  153. Part7.Position = Vector3.new(-40.9000626, 3.56562996, -22.5755997)
  154. Part7.Orientation = Vector3.new(0, -90, 45)
  155. Part7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  156. CylinderMesh8.Parent = Part7
  157. Part9.Parent = Model0
  158. Part9.BrickColor = BrickColor.new("Bright yellow")
  159. Part9.Rotation = Vector3.new(-125.779999, -89.9499969, -80.7799988)
  160. Part9.Anchored = true
  161. Part9.FormFactor = Enum.FormFactor.Custom
  162. Part9.Size = Vector3.new(1, 0.200000003, 1)
  163. Part9.CFrame = CFrame.new(-38.1000633, 3.56562996, -22.5755997, 4.2483177e-09, 2.61796345e-08, -0.999999642, 0.707104683, 0.707108736, 2.15158469e-08, 0.707108736, -0.707104683, -1.55077071e-08)
  164. Part9.BackSurface = Enum.SurfaceType.Weld
  165. Part9.BottomSurface = Enum.SurfaceType.Weld
  166. Part9.FrontSurface = Enum.SurfaceType.Weld
  167. Part9.LeftSurface = Enum.SurfaceType.Weld
  168. Part9.RightSurface = Enum.SurfaceType.Weld
  169. Part9.TopSurface = Enum.SurfaceType.Weld
  170. Part9.Color = Color3.new(0.960784, 0.803922, 0.188235)
  171. Part9.Position = Vector3.new(-38.1000633, 3.56562996, -22.5755997)
  172. Part9.Orientation = Vector3.new(0, -90, 45)
  173. Part9.Color = Color3.new(0.960784, 0.803922, 0.188235)
  174. CylinderMesh10.Parent = Part9
  175. Model11.Name = ""
  176. Model11.Parent = Model0
  177. Part12.Name = "Head"
  178. Part12.Parent = Model11
  179. Part12.BrickColor = BrickColor.new("Black")
  180. Part12.Anchored = true
  181. Part12.FormFactor = Enum.FormFactor.Custom
  182. Part12.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  183. Part12.CFrame = CFrame.new(-39.5, 5.10000706, -15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  184. Part12.BackSurface = Enum.SurfaceType.Weld
  185. Part12.BottomSurface = Enum.SurfaceType.Weld
  186. Part12.FrontSurface = Enum.SurfaceType.Weld
  187. Part12.LeftSurface = Enum.SurfaceType.Weld
  188. Part12.RightSurface = Enum.SurfaceType.Weld
  189. Part12.TopSurface = Enum.SurfaceType.Weld
  190. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  191. Part12.Position = Vector3.new(-39.5, 5.10000706, -15.5)
  192. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  193. CylinderMesh13.Parent = Part12
  194. CylinderMesh13.Scale = Vector3.new(1, 2.5, 1)
  195. CylinderMesh13.Scale = Vector3.new(1, 2.5, 1)
  196. Humanoid14.Parent = Model11
  197. Humanoid14.Health = 0
  198. Humanoid14.MaxHealth = 0
  199. Script15.Name = "Anti-Missile"
  200. Script15.Parent = Model11
  201. table.insert(cors,sandbox(Script15,function()
  202. local bin = script.Parent.Parent
  203. local switch = bin.Switch
  204. local light = bin.Light
  205. local sensor = bin.Sensor
  206. local prop = bin.Prop
  207. local sphere1 = bin.Sphere1
  208. local sphere2 = bin.Sphere2
  209.  
  210. local critDist = 50
  211. local maxDist = 300
  212.  
  213.  
  214. local On = false
  215.  
  216. local factor = critDist*2
  217.  
  218. local OriginalDist = maxDist
  219.  
  220. function display(text)
  221. script.Parent.Name = text
  222. end
  223.  
  224. function destroy(target)
  225. sphere1.Reflectance = 1
  226. sphere2.Reflectance = 1
  227. sphere1.Mesh.Scale = Vector3.new(factor,factor,factor)
  228. sphere2.Mesh.Scale = Vector3.new(-factor,-factor,-factor)
  229.  
  230. local exp = Instance.new("Explosion")
  231. exp.Position = target.Position
  232. exp.Parent = game.Workspace
  233. exp.BlastPressure = 0
  234. exp.BlastRadius = 3
  235. local sound = script.Explosion:clone()
  236. sound.Parent = target
  237. sound.PlayOnRemove = true
  238.  
  239.  
  240. target:remove()
  241.  
  242. display("Target Destroyed!")
  243.  
  244. for x = 1 , 20 do
  245. sphere1.Reflectance = sphere1.Reflectance - 0.05
  246. sphere2.Reflectance = sphere2.Reflectance - 0.05
  247. wait()
  248. end
  249.  
  250. sphere1.Mesh.Scale = Vector3.new(0,0,0)
  251. sphere2.Mesh.Scale = Vector3.new(0,0,0)
  252. end
  253.  
  254. switch.CD.MouseClick:connect(function()
  255. if On == false then
  256. On = true
  257. switch.BrickColor = BrickColor.new("Bright green")
  258. sensor.Spin.Disabled = false
  259. prop.Shine.Disabled = false
  260. else
  261. On = false
  262. switch.BrickColor = BrickColor.new("Bright red")
  263. sensor.Spin.Disabled = true
  264. prop.Shine.Disabled = true
  265. light.BrickColor = BrickColor.new("Dark stone grey")
  266. prop.BrickColor = BrickColor.new("Dark stone grey")
  267. prop.sparkle.Enabled = false
  268. display("")
  269. end
  270. end)
  271.  
  272. function scan()
  273. local maxDist = OriginalDist
  274. local bits = game.Workspace:children()
  275. local target = nil
  276. local temp = nil
  277. local temp2 = nil
  278. for i = 1, #bits do
  279. temp2 = bits[i]
  280. if bits[i].className == "Part" or bits[i].className == "WedgePart" or bits[i].className == "TrussPart" then
  281. if string.lower(temp2.Name) == "paintball" or string.lower(temp2.Name) == "cannonshot" or string.lower(temp2.Name) == "cannonball" or string.lower(temp2.Name) == "missile" or string.lower(temp2.Name) == "bullet" or string.lower(temp2.Name) == "cannon shot" or string.lower(temp2.Name) == "cannon ball" or temp2:findFirstChild("RocketScript") ~= nil or temp2:findFirstChild("CannonBall")~= nil or temp2:findFirstChild("BombScript")~= nil or temp2:findFirstChild("Missile") ~= nil then
  282. temp = temp2
  283. if temp~= nil then
  284. if (temp.Position - sensor.Position).magnitude < maxDist then
  285. target = true
  286. maxDist = (temp.Position - sensor.Position).magnitude
  287. targDist = (temp.Position - sensor.Position).magnitude
  288. if (temp.Position - sensor.Position).magnitude < critDist then
  289. destroy(temp)
  290. end
  291. end
  292. end
  293. end
  294. end
  295. end
  296. return target
  297. end
  298.  
  299. local c = 0
  300.  
  301. while true do
  302. wait()
  303. if On == true then
  304. if scan() == true then
  305. if targDist <= maxDist then
  306. light.BrickColor = BrickColor.new("Bright red")
  307. prop.sparkle.Enabled = true
  308. c = c+1
  309. if c >= targDist/5 then
  310. display("Warning: Target at:"..math.floor(targDist).." Studs away")
  311. script.Beep:play()
  312. c = 0
  313. end
  314. else
  315. light.BrickColor = BrickColor.new("Dark green")
  316. prop.sparkle.Enabled = false
  317. end
  318. else
  319. light.BrickColor = BrickColor.new("Dark green")
  320. prop.sparkle.Enabled = false
  321. display("Scanning...")
  322. end
  323. end
  324. end
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. end))
  332. Sound16.Name = "Beep"
  333. Sound16.Parent = Script15
  334. Sound16.Pitch = 1.5
  335. Sound16.SoundId = "http://www.roblox.com/asset/?id=15666462"
  336. Sound16.Volume = 1
  337. Sound17.Name = "Explosion"
  338. Sound17.Parent = Script15
  339. Sound17.Pitch = 0.5
  340. Sound17.SoundId = "rbxasset://sounds/collide.wav"
  341. Sound17.Volume = 1
  342. Part18.Parent = Model0
  343. Part18.BrickColor = BrickColor.new("Black")
  344. Part18.Anchored = true
  345. Part18.FormFactor = Enum.FormFactor.Custom
  346. Part18.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  347. Part18.CFrame = CFrame.new(-39.5, 5.900002, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. Part18.BackSurface = Enum.SurfaceType.Weld
  349. Part18.BottomSurface = Enum.SurfaceType.Weld
  350. Part18.FrontSurface = Enum.SurfaceType.Weld
  351. Part18.LeftSurface = Enum.SurfaceType.Weld
  352. Part18.RightSurface = Enum.SurfaceType.Weld
  353. Part18.TopSurface = Enum.SurfaceType.Weld
  354. Part18.Color = Color3.new(0.105882, 0.164706, 0.207843)
  355. Part18.Position = Vector3.new(-39.5, 5.900002, -13.5)
  356. Part18.Color = Color3.new(0.105882, 0.164706, 0.207843)
  357. CylinderMesh19.Parent = Part18
  358. Part20.Parent = Model0
  359. Part20.BrickColor = BrickColor.new("Dark stone grey")
  360. Part20.Reflectance = 0.10000000149012
  361. Part20.Rotation = Vector3.new(0, 90, 0)
  362. Part20.Anchored = true
  363. Part20.FormFactor = Enum.FormFactor.Custom
  364. Part20.Size = Vector3.new(1, 0.800000012, 0.200000003)
  365. Part20.CFrame = CFrame.new(-41.0999985, 5.4000001, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  366. Part20.BottomSurface = Enum.SurfaceType.Smooth
  367. Part20.TopSurface = Enum.SurfaceType.Smooth
  368. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  369. Part20.Position = Vector3.new(-41.0999985, 5.4000001, -13.5)
  370. Part20.Orientation = Vector3.new(0, 90, 0)
  371. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  372. BlockMesh21.Parent = Part20
  373. Part22.Parent = Model0
  374. Part22.BrickColor = BrickColor.new("Dark stone grey")
  375. Part22.Anchored = true
  376. Part22.FormFactor = Enum.FormFactor.Custom
  377. Part22.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  378. Part22.CFrame = CFrame.new(-39.5, 7.400002, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  379. Part22.BackSurface = Enum.SurfaceType.Weld
  380. Part22.BottomSurface = Enum.SurfaceType.Weld
  381. Part22.FrontSurface = Enum.SurfaceType.Weld
  382. Part22.LeftSurface = Enum.SurfaceType.Weld
  383. Part22.RightSurface = Enum.SurfaceType.Weld
  384. Part22.TopSurface = Enum.SurfaceType.Weld
  385. Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  386. Part22.Position = Vector3.new(-39.5, 7.400002, -13.5)
  387. Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  388. CylinderMesh23.Parent = Part22
  389. Part24.Name = "Sphere1"
  390. Part24.Parent = Model0
  391. Part24.BrickColor = BrickColor.new("Really blue")
  392. Part24.Transparency = 0.99000000953674
  393. Part24.Anchored = true
  394. Part24.FormFactor = Enum.FormFactor.Symmetric
  395. Part24.Size = Vector3.new(1, 1, 1)
  396. Part24.CFrame = CFrame.new(-39.5, 4.49999905, -17.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  397. Part24.BottomSurface = Enum.SurfaceType.Smooth
  398. Part24.TopSurface = Enum.SurfaceType.Smooth
  399. Part24.Color = Color3.new(0, 0, 1)
  400. Part24.Position = Vector3.new(-39.5, 4.49999905, -17.5)
  401. Part24.Color = Color3.new(0, 0, 1)
  402. SpecialMesh25.Parent = Part24
  403. SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=1185246"
  404. SpecialMesh25.Scale = Vector3.new(0, 0, 0)
  405. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  406. SpecialMesh25.Scale = Vector3.new(0, 0, 0)
  407. Part26.Name = "Prop"
  408. Part26.Parent = Model0
  409. Part26.BrickColor = BrickColor.new("Dark stone grey")
  410. Part26.Anchored = true
  411. Part26.FormFactor = Enum.FormFactor.Custom
  412. Part26.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
  413. Part26.CFrame = CFrame.new(-39.5, 9.00000763, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  414. Part26.BackSurface = Enum.SurfaceType.Weld
  415. Part26.BottomSurface = Enum.SurfaceType.Weld
  416. Part26.FrontSurface = Enum.SurfaceType.Weld
  417. Part26.LeftSurface = Enum.SurfaceType.Weld
  418. Part26.RightSurface = Enum.SurfaceType.Weld
  419. Part26.TopSurface = Enum.SurfaceType.Weld
  420. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  421. Part26.Position = Vector3.new(-39.5, 9.00000763, -13.5)
  422. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  423. CylinderMesh27.Parent = Part26
  424. Script28.Name = "Shine"
  425. Script28.Parent = Part26
  426. Script28.Disabled = true
  427. table.insert(cors,sandbox(Script28,function()
  428. while true do
  429. wait(0.5)
  430. script.Parent.BrickColor = BrickColor.new("Dark stone grey")
  431. wait(0.5)
  432. script.Parent.BrickColor = BrickColor.new("Bright red")
  433. end
  434.  
  435. end))
  436. Sparkles29.Name = "sparkle"
  437. Sparkles29.Parent = Part26
  438. Sparkles29.Color = Color3.new(0.888889, 0, 0)
  439. Sparkles29.Enabled = false
  440. Sparkles29.SparkleColor = Color3.new(0.501961, 0, 0)
  441. Sparkles29.Color = Color3.new(0.888889, 0, 0)
  442. Part30.Name = "Light"
  443. Part30.Parent = Model0
  444. Part30.BrickColor = BrickColor.new("Dark stone grey")
  445. Part30.Transparency = 0.40000000596046
  446. Part30.Anchored = true
  447. Part30.FormFactor = Enum.FormFactor.Custom
  448. Part30.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  449. Part30.CFrame = CFrame.new(-39.5, 5.50000381, -15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  450. Part30.BackSurface = Enum.SurfaceType.Weld
  451. Part30.BottomSurface = Enum.SurfaceType.Weld
  452. Part30.FrontSurface = Enum.SurfaceType.Weld
  453. Part30.LeftSurface = Enum.SurfaceType.Weld
  454. Part30.RightSurface = Enum.SurfaceType.Weld
  455. Part30.TopSurface = Enum.SurfaceType.Weld
  456. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  457. Part30.Position = Vector3.new(-39.5, 5.50000381, -15.5)
  458. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  459. SpecialMesh31.Parent = Part30
  460. WedgePart32.Parent = Model0
  461. WedgePart32.BrickColor = BrickColor.new("Dark stone grey")
  462. WedgePart32.Reflectance = 0.10000000149012
  463. WedgePart32.Rotation = Vector3.new(-90, 0, 0)
  464. WedgePart32.Anchored = true
  465. WedgePart32.FormFactor = Enum.FormFactor.Symmetric
  466. WedgePart32.Size = Vector3.new(5, 1, 2)
  467. WedgePart32.CFrame = CFrame.new(-39.5, 2.00000501, -22.5, 1, -0, 0, 0, -0, 1, 0, -1, 0)
  468. WedgePart32.BottomSurface = Enum.SurfaceType.Smooth
  469. WedgePart32.Color = Color3.new(0.388235, 0.372549, 0.384314)
  470. WedgePart32.Position = Vector3.new(-39.5, 2.00000501, -22.5)
  471. WedgePart32.Orientation = Vector3.new(-90, 0, 0)
  472. WedgePart32.Color = Color3.new(0.388235, 0.372549, 0.384314)
  473. Part33.Parent = Model0
  474. Part33.BrickColor = BrickColor.new("Black")
  475. Part33.Reflectance = 0.20000000298023
  476. Part33.Rotation = Vector3.new(-90, 0, 90)
  477. Part33.Anchored = true
  478. Part33.FormFactor = Enum.FormFactor.Custom
  479. Part33.Size = Vector3.new(3, 1, 3)
  480. Part33.CFrame = CFrame.new(-42.5, 1.50000095, -20.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  481. Part33.BottomSurface = Enum.SurfaceType.Smooth
  482. Part33.TopSurface = Enum.SurfaceType.Smooth
  483. Part33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  484. Part33.Position = Vector3.new(-42.5, 1.50000095, -20.5)
  485. Part33.Orientation = Vector3.new(-90, 90, 0)
  486. Part33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  487. CylinderMesh34.Parent = Part33
  488. Part35.Parent = Model0
  489. Part35.BrickColor = BrickColor.new("Black")
  490. Part35.Reflectance = 0.20000000298023
  491. Part35.Rotation = Vector3.new(-90, 0, 90)
  492. Part35.Anchored = true
  493. Part35.FormFactor = Enum.FormFactor.Symmetric
  494. Part35.Size = Vector3.new(3, 1, 3)
  495. Part35.CFrame = CFrame.new(-36.5, 1.50000095, -20.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  496. Part35.BottomSurface = Enum.SurfaceType.Smooth
  497. Part35.TopSurface = Enum.SurfaceType.Smooth
  498. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  499. Part35.Position = Vector3.new(-36.5, 1.50000095, -20.5)
  500. Part35.Orientation = Vector3.new(-90, 90, 0)
  501. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  502. CylinderMesh36.Parent = Part35
  503. Part37.Parent = Model0
  504. Part37.BrickColor = BrickColor.new("Dark stone grey")
  505. Part37.Reflectance = 0.10000000149012
  506. Part37.Rotation = Vector3.new(0, 90, 0)
  507. Part37.Anchored = true
  508. Part37.FormFactor = Enum.FormFactor.Symmetric
  509. Part37.Size = Vector3.new(3, 1, 5)
  510. Part37.CFrame = CFrame.new(-39.5, 4.49999905, -14.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  511. Part37.BottomSurface = Enum.SurfaceType.Smooth
  512. Part37.TopSurface = Enum.SurfaceType.Smooth
  513. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  514. Part37.Position = Vector3.new(-39.5, 4.49999905, -14.5)
  515. Part37.Orientation = Vector3.new(0, 90, 0)
  516. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  517. BlockMesh38.Parent = Part37
  518. WedgePart39.Parent = Model0
  519. WedgePart39.BrickColor = BrickColor.new("Dark stone grey")
  520. WedgePart39.Reflectance = 0.10000000149012
  521. WedgePart39.Anchored = true
  522. WedgePart39.FormFactor = Enum.FormFactor.Custom
  523. WedgePart39.Size = Vector3.new(3.40000057, 0.800000012, 0.400000006)
  524. WedgePart39.CFrame = CFrame.new(-39.5, 5.400002, -14.199996, 0.999998331, 0, 1.77635324e-15, 0, 0.999996781, -2.980223e-08, -8.88176832e-16, 2.98022762e-08, 0.999998331)
  525. WedgePart39.BottomSurface = Enum.SurfaceType.Smooth
  526. WedgePart39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  527. WedgePart39.Position = Vector3.new(-39.5, 5.400002, -14.199996)
  528. WedgePart39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  529. Part40.Parent = Model0
  530. Part40.BrickColor = BrickColor.new("Dark stone grey")
  531. Part40.Reflectance = 0.10000000149012
  532. Part40.Rotation = Vector3.new(0, 90, 0)
  533. Part40.Anchored = true
  534. Part40.FormFactor = Enum.FormFactor.Custom
  535. Part40.Size = Vector3.new(1, 0.200000003, 3)
  536. Part40.CFrame = CFrame.new(-39.5, 5.70000076, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  537. Part40.BottomSurface = Enum.SurfaceType.Smooth
  538. Part40.TopSurface = Enum.SurfaceType.Smooth
  539. Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
  540. Part40.Position = Vector3.new(-39.5, 5.70000076, -13.5)
  541. Part40.Orientation = Vector3.new(0, 90, 0)
  542. Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
  543. BlockMesh41.Parent = Part40
  544. Part42.Parent = Model0
  545. Part42.BrickColor = BrickColor.new("Black")
  546. Part42.Rotation = Vector3.new(0, 90, 0)
  547. Part42.Anchored = true
  548. Part42.FormFactor = Enum.FormFactor.Custom
  549. Part42.Size = Vector3.new(1, 0.200000003, 3)
  550. Part42.CFrame = CFrame.new(-39.5, 5.09999895, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  551. Part42.BottomSurface = Enum.SurfaceType.Smooth
  552. Part42.TopSurface = Enum.SurfaceType.Smooth
  553. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  554. Part42.Position = Vector3.new(-39.5, 5.09999895, -13.5)
  555. Part42.Orientation = Vector3.new(0, 90, 0)
  556. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  557. Part43.Parent = Model0
  558. Part43.BrickColor = BrickColor.new("Black")
  559. Part43.Rotation = Vector3.new(0, 90, 0)
  560. Part43.Anchored = true
  561. Part43.FormFactor = Enum.FormFactor.Custom
  562. Part43.Size = Vector3.new(1, 0.200000003, 3)
  563. Part43.CFrame = CFrame.new(-39.5, 5.29999924, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  564. Part43.BottomSurface = Enum.SurfaceType.Smooth
  565. Part43.TopSurface = Enum.SurfaceType.Smooth
  566. Part43.Color = Color3.new(0.105882, 0.164706, 0.207843)
  567. Part43.Position = Vector3.new(-39.5, 5.29999924, -13.5)
  568. Part43.Orientation = Vector3.new(0, 90, 0)
  569. Part43.Color = Color3.new(0.105882, 0.164706, 0.207843)
  570. Part44.Parent = Model0
  571. Part44.BrickColor = BrickColor.new("Black")
  572. Part44.Rotation = Vector3.new(0, 90, 0)
  573. Part44.Anchored = true
  574. Part44.FormFactor = Enum.FormFactor.Custom
  575. Part44.Size = Vector3.new(1, 0.200000003, 3)
  576. Part44.CFrame = CFrame.new(-39.5, 5.49999809, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  577. Part44.BottomSurface = Enum.SurfaceType.Smooth
  578. Part44.TopSurface = Enum.SurfaceType.Smooth
  579. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  580. Part44.Position = Vector3.new(-39.5, 5.49999809, -13.5)
  581. Part44.Orientation = Vector3.new(0, 90, 0)
  582. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  583. Part45.Name = "Sphere2"
  584. Part45.Parent = Model0
  585. Part45.BrickColor = BrickColor.new("Really blue")
  586. Part45.Transparency = 0.99000000953674
  587. Part45.Anchored = true
  588. Part45.FormFactor = Enum.FormFactor.Symmetric
  589. Part45.Size = Vector3.new(1, 1, 1)
  590. Part45.CFrame = CFrame.new(-39.5, 4.49999905, -17.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  591. Part45.BottomSurface = Enum.SurfaceType.Smooth
  592. Part45.TopSurface = Enum.SurfaceType.Smooth
  593. Part45.Color = Color3.new(0, 0, 1)
  594. Part45.Position = Vector3.new(-39.5, 4.49999905, -17.5)
  595. Part45.Color = Color3.new(0, 0, 1)
  596. SpecialMesh46.Parent = Part45
  597. SpecialMesh46.MeshId = "http://www.roblox.com/asset/?id=1185246"
  598. SpecialMesh46.Scale = Vector3.new(0, 0, 0)
  599. SpecialMesh46.VertexColor = Vector3.new(2, 0, 0)
  600. SpecialMesh46.MeshType = Enum.MeshType.FileMesh
  601. SpecialMesh46.Scale = Vector3.new(0, 0, 0)
  602. Part47.Name = "Switch"
  603. Part47.Parent = Model0
  604. Part47.BrickColor = BrickColor.new("Bright red")
  605. Part47.Anchored = true
  606. Part47.FormFactor = Enum.FormFactor.Custom
  607. Part47.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  608. Part47.CFrame = CFrame.new(-37.8999977, 5.09999895, -15.5, 0.999995649, 6.82121026e-13, -8.21119812e-08, -6.11066753e-13, 0.999993563, 1.40070915e-06, 8.21118391e-08, -1.22189522e-06, 0.999994993)
  609. Part47.BackSurface = Enum.SurfaceType.Weld
  610. Part47.BottomSurface = Enum.SurfaceType.Weld
  611. Part47.FrontSurface = Enum.SurfaceType.Weld
  612. Part47.LeftSurface = Enum.SurfaceType.Weld
  613. Part47.RightSurface = Enum.SurfaceType.Weld
  614. Part47.TopSurface = Enum.SurfaceType.Weld
  615. Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
  616. Part47.Position = Vector3.new(-37.8999977, 5.09999895, -15.5)
  617. Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
  618. SpecialMesh48.Parent = Part47
  619. SpecialMesh48.MeshType = Enum.MeshType.Torso
  620. ClickDetector49.Name = "CD"
  621. ClickDetector49.Parent = Part47
  622. ClickDetector49.MaxActivationDistance = 10
  623. WedgePart50.Parent = Model0
  624. WedgePart50.BrickColor = BrickColor.new("Dark stone grey")
  625. WedgePart50.Reflectance = 0.10000000149012
  626. WedgePart50.Anchored = true
  627. WedgePart50.FormFactor = Enum.FormFactor.Symmetric
  628. WedgePart50.Size = Vector3.new(5, 1, 1)
  629. WedgePart50.CFrame = CFrame.new(-39.5, 4.49999905, -16.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  630. WedgePart50.BottomSurface = Enum.SurfaceType.Smooth
  631. WedgePart50.Color = Color3.new(0.388235, 0.372549, 0.384314)
  632. WedgePart50.Position = Vector3.new(-39.5, 4.49999905, -16.5)
  633. WedgePart50.Color = Color3.new(0.388235, 0.372549, 0.384314)
  634. Part51.Parent = Model0
  635. Part51.BrickColor = BrickColor.new("Dark stone grey")
  636. Part51.Reflectance = 0.10000000149012
  637. Part51.Rotation = Vector3.new(0, 90, 0)
  638. Part51.Anchored = true
  639. Part51.FormFactor = Enum.FormFactor.Symmetric
  640. Part51.Size = Vector3.new(9, 3, 5)
  641. Part51.CFrame = CFrame.new(-39.5, 2.50000191, -17.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  642. Part51.BottomSurface = Enum.SurfaceType.Smooth
  643. Part51.TopSurface = Enum.SurfaceType.Smooth
  644. Part51.Color = Color3.new(0.388235, 0.372549, 0.384314)
  645. Part51.Position = Vector3.new(-39.5, 2.50000191, -17.5)
  646. Part51.Orientation = Vector3.new(0, 90, 0)
  647. Part51.Color = Color3.new(0.388235, 0.372549, 0.384314)
  648. BlockMesh52.Parent = Part51
  649. Part53.Parent = Model0
  650. Part53.BrickColor = BrickColor.new("Black")
  651. Part53.Reflectance = 0.20000000298023
  652. Part53.Rotation = Vector3.new(-90, 0, 90)
  653. Part53.Anchored = true
  654. Part53.FormFactor = Enum.FormFactor.Symmetric
  655. Part53.Size = Vector3.new(3, 1, 3)
  656. Part53.CFrame = CFrame.new(-36.5, 1.50000095, -14.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  657. Part53.BottomSurface = Enum.SurfaceType.Smooth
  658. Part53.TopSurface = Enum.SurfaceType.Smooth
  659. Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  660. Part53.Position = Vector3.new(-36.5, 1.50000095, -14.5)
  661. Part53.Orientation = Vector3.new(-90, 90, 0)
  662. Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  663. CylinderMesh54.Parent = Part53
  664. WedgePart55.Parent = Model0
  665. WedgePart55.BrickColor = BrickColor.new("Dark stone grey")
  666. WedgePart55.Reflectance = 0.10000000149012
  667. WedgePart55.Rotation = Vector3.new(90, 0, 0)
  668. WedgePart55.Anchored = true
  669. WedgePart55.FormFactor = Enum.FormFactor.Symmetric
  670. WedgePart55.Size = Vector3.new(5, 1, 1)
  671. WedgePart55.CFrame = CFrame.new(-39.5, 4.49999905, -12.5, 1, 0, -0, 0, 0, -1, 0, 1, -0)
  672. WedgePart55.BottomSurface = Enum.SurfaceType.Smooth
  673. WedgePart55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  674. WedgePart55.Position = Vector3.new(-39.5, 4.49999905, -12.5)
  675. WedgePart55.Orientation = Vector3.new(90, 0, 0)
  676. WedgePart55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  677. Part56.Parent = Model0
  678. Part56.BrickColor = BrickColor.new("Black")
  679. Part56.Reflectance = 0.20000000298023
  680. Part56.Rotation = Vector3.new(-90, 0, 90)
  681. Part56.Anchored = true
  682. Part56.FormFactor = Enum.FormFactor.Symmetric
  683. Part56.Size = Vector3.new(3, 1, 3)
  684. Part56.CFrame = CFrame.new(-42.5, 1.50000095, -14.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  685. Part56.BottomSurface = Enum.SurfaceType.Smooth
  686. Part56.TopSurface = Enum.SurfaceType.Smooth
  687. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  688. Part56.Position = Vector3.new(-42.5, 1.50000095, -14.5)
  689. Part56.Orientation = Vector3.new(-90, 90, 0)
  690. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  691. CylinderMesh57.Parent = Part56
  692. WedgePart58.Parent = Model0
  693. WedgePart58.BrickColor = BrickColor.new("Dark stone grey")
  694. WedgePart58.Reflectance = 0.10000000149012
  695. WedgePart58.Rotation = Vector3.new(180, 0, 0)
  696. WedgePart58.Anchored = true
  697. WedgePart58.FormFactor = Enum.FormFactor.Symmetric
  698. WedgePart58.Size = Vector3.new(5, 3, 1)
  699. WedgePart58.CFrame = CFrame.new(-39.5, 2.50000191, -12.5, 1, -0, -0, 0, -1, -0, 0, -0, -1)
  700. WedgePart58.BottomSurface = Enum.SurfaceType.Smooth
  701. WedgePart58.Color = Color3.new(0.388235, 0.372549, 0.384314)
  702. WedgePart58.Position = Vector3.new(-39.5, 2.50000191, -12.5)
  703. WedgePart58.Orientation = Vector3.new(0, -180, 180)
  704. WedgePart58.Color = Color3.new(0.388235, 0.372549, 0.384314)
  705. Part59.Parent = Model0
  706. Part59.BrickColor = BrickColor.new("Dark stone grey")
  707. Part59.Reflectance = 0.10000000149012
  708. Part59.Rotation = Vector3.new(0, 90, 0)
  709. Part59.Anchored = true
  710. Part59.FormFactor = Enum.FormFactor.Custom
  711. Part59.Size = Vector3.new(1, 0.800000012, 0.200000003)
  712. Part59.CFrame = CFrame.new(-37.9000015, 5.40000677, -13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  713. Part59.BottomSurface = Enum.SurfaceType.Smooth
  714. Part59.TopSurface = Enum.SurfaceType.Smooth
  715. Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
  716. Part59.Position = Vector3.new(-37.9000015, 5.40000677, -13.5)
  717. Part59.Orientation = Vector3.new(0, 90, 0)
  718. Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
  719. BlockMesh60.Parent = Part59
  720. for i,v in pairs(mas:GetChildren()) do
  721. v.Parent = workspace
  722. pcall(function() v:MakeJoints() end)
  723. end
  724. mas:Destroy()
  725. for i,v in pairs(cors) do
  726. spawn(function()
  727. pcall(v)
  728. end)
  729. end
  730.  
  731. --Converted with ttyyuu12345's model to script plugin v4
  732. function sandbox(var,func)
  733. local env = getfenv(func)
  734. local newenv = setmetatable({},{
  735. __index = function(self,k)
  736. if k=="script" then
  737. return var
  738. else
  739. return env[k]
  740. end
  741. end,
  742. })
  743. setfenv(func,newenv)
  744. return func
  745. end
  746. cors = {}
  747. mas = Instance.new("Model",game:GetService("Lighting"))
  748. Model0 = Instance.new("Model")
  749. Part1 = Instance.new("Part")
  750. CylinderMesh2 = Instance.new("CylinderMesh")
  751. Part3 = Instance.new("Part")
  752. SpecialMesh4 = Instance.new("SpecialMesh")
  753. Script5 = Instance.new("Script")
  754. WedgePart6 = Instance.new("WedgePart")
  755. Part7 = Instance.new("Part")
  756. CylinderMesh8 = Instance.new("CylinderMesh")
  757. Part9 = Instance.new("Part")
  758. CylinderMesh10 = Instance.new("CylinderMesh")
  759. Model11 = Instance.new("Model")
  760. Part12 = Instance.new("Part")
  761. CylinderMesh13 = Instance.new("CylinderMesh")
  762. Humanoid14 = Instance.new("Humanoid")
  763. Script15 = Instance.new("Script")
  764. Sound16 = Instance.new("Sound")
  765. Sound17 = Instance.new("Sound")
  766. Part18 = Instance.new("Part")
  767. CylinderMesh19 = Instance.new("CylinderMesh")
  768. Part20 = Instance.new("Part")
  769. BlockMesh21 = Instance.new("BlockMesh")
  770. Part22 = Instance.new("Part")
  771. CylinderMesh23 = Instance.new("CylinderMesh")
  772. Part24 = Instance.new("Part")
  773. SpecialMesh25 = Instance.new("SpecialMesh")
  774. Part26 = Instance.new("Part")
  775. CylinderMesh27 = Instance.new("CylinderMesh")
  776. Script28 = Instance.new("Script")
  777. Sparkles29 = Instance.new("Sparkles")
  778. Part30 = Instance.new("Part")
  779. SpecialMesh31 = Instance.new("SpecialMesh")
  780. WedgePart32 = Instance.new("WedgePart")
  781. Part33 = Instance.new("Part")
  782. CylinderMesh34 = Instance.new("CylinderMesh")
  783. Part35 = Instance.new("Part")
  784. CylinderMesh36 = Instance.new("CylinderMesh")
  785. Part37 = Instance.new("Part")
  786. BlockMesh38 = Instance.new("BlockMesh")
  787. WedgePart39 = Instance.new("WedgePart")
  788. Part40 = Instance.new("Part")
  789. BlockMesh41 = Instance.new("BlockMesh")
  790. Part42 = Instance.new("Part")
  791. Part43 = Instance.new("Part")
  792. Part44 = Instance.new("Part")
  793. Part45 = Instance.new("Part")
  794. SpecialMesh46 = Instance.new("SpecialMesh")
  795. Part47 = Instance.new("Part")
  796. SpecialMesh48 = Instance.new("SpecialMesh")
  797. ClickDetector49 = Instance.new("ClickDetector")
  798. WedgePart50 = Instance.new("WedgePart")
  799. Part51 = Instance.new("Part")
  800. BlockMesh52 = Instance.new("BlockMesh")
  801. Part53 = Instance.new("Part")
  802. CylinderMesh54 = Instance.new("CylinderMesh")
  803. WedgePart55 = Instance.new("WedgePart")
  804. Part56 = Instance.new("Part")
  805. CylinderMesh57 = Instance.new("CylinderMesh")
  806. WedgePart58 = Instance.new("WedgePart")
  807. Part59 = Instance.new("Part")
  808. BlockMesh60 = Instance.new("BlockMesh")
  809. Model0.Name = "AntiMissile"
  810. Model0.Parent = mas
  811. Part1.Parent = Model0
  812. Part1.BrickColor = BrickColor.new("Dark stone grey")
  813. Part1.Reflectance = 0.10000000149012
  814. Part1.Rotation = Vector3.new(0, 90, 0)
  815. Part1.Anchored = true
  816. Part1.FormFactor = Enum.FormFactor.Plate
  817. Part1.Size = Vector3.new(3, 0.400000006, 3)
  818. Part1.CFrame = CFrame.new(-39.5, 4.20000076, -19.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  819. Part1.BottomSurface = Enum.SurfaceType.Smooth
  820. Part1.TopSurface = Enum.SurfaceType.Smooth
  821. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  822. Part1.Position = Vector3.new(-39.5, 4.20000076, -19.5)
  823. Part1.Orientation = Vector3.new(0, 90, 0)
  824. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  825. CylinderMesh2.Parent = Part1
  826. Part3.Name = "Sensor"
  827. Part3.Parent = Model0
  828. Part3.BrickColor = BrickColor.new("Dark stone grey")
  829. Part3.Rotation = Vector3.new(180, 0, -180)
  830. Part3.Anchored = true
  831. Part3.FormFactor = Enum.FormFactor.Plate
  832. Part3.Size = Vector3.new(1, 4, 1)
  833. Part3.CFrame = CFrame.new(-39.5, 6.4000001, -19.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  834. Part3.BottomSurface = Enum.SurfaceType.Smooth
  835. Part3.TopSurface = Enum.SurfaceType.Smooth
  836. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  837. Part3.Position = Vector3.new(-39.5, 6.4000001, -19.5)
  838. Part3.Orientation = Vector3.new(0, -180, 0)
  839. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  840. SpecialMesh4.Parent = Part3
  841. SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=1095752"
  842. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  843. SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=1095753"
  844. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  845. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  846. Script5.Name = "Spin"
  847. Script5.Parent = Part3
  848. Script5.Disabled = true
  849. table.insert(cors,sandbox(Script5,function()
  850. while true do
  851. wait()
  852. script.Parent.CFrame = script.Parent.CFrame*CFrame.Angles(0,math.rad(2),0)
  853. end
  854.  
  855.  
  856. end))
  857. WedgePart6.Parent = Model0
  858. WedgePart6.BrickColor = BrickColor.new("Dark stone grey")
  859. WedgePart6.Reflectance = 0.10000000149012
  860. WedgePart6.Anchored = true
  861. WedgePart6.FormFactor = Enum.FormFactor.Symmetric
  862. WedgePart6.Size = Vector3.new(5, 1, 1)
  863. WedgePart6.CFrame = CFrame.new(-39.5000648, 3.49994898, -22.4998627, 1, 1.63477409e-07, 1.26453813e-07, -1.6347704e-07, 1, -2.86094496e-06, -1.26454282e-07, 2.86094496e-06, 1)
  864. WedgePart6.BottomSurface = Enum.SurfaceType.Smooth
  865. WedgePart6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  866. WedgePart6.Position = Vector3.new(-39.5000648, 3.49994898, -22.4998627)
  867. WedgePart6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  868. Part7.Parent = Model0
  869. Part7.BrickColor = BrickColor.new("Bright yellow")
  870. Part7.Rotation = Vector3.new(-124.709999, -89.9700012, -79.7099991)
  871. Part7.Anchored = true
  872. Part7.FormFactor = Enum.FormFactor.Custom
  873. Part7.Size = Vector3.new(1, 0.200000003, 1)
  874. Part7.CFrame = CFrame.new(-40.9000626, 3.56562996, -22.5755997, 4.75109774e-09, 2.61796274e-08, -0.999999881, 0.707104862, 0.707108676, 2.18713545e-08, 0.707108736, -0.707104683, -1.51522048e-08)
  875. Part7.BackSurface = Enum.SurfaceType.Weld
  876. Part7.BottomSurface = Enum.SurfaceType.Weld
  877. Part7.FrontSurface = Enum.SurfaceType.Weld
  878. Part7.LeftSurface = Enum.SurfaceType.Weld
  879. Part7.RightSurface = Enum.SurfaceType.Weld
  880. Part7.TopSurface = Enum.SurfaceType.Weld
  881. Part7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  882. Part7.Position = Vector3.new(-40.9000626, 3.56562996, -22.5755997)
  883. Part7.Orientation = Vector3.new(0, -90, 45)
  884. Part7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  885. CylinderMesh8.Parent = Part7
  886. Part9.Parent = Model0
  887. Part9.BrickColor = BrickColor.new("Bright yellow")
  888. Part9.Rotation = Vector3.new(-125.779999, -89.9499969, -80.7799988)
  889. Part9.Anchored = true
  890. Part9.FormFactor = Enum.FormFactor.Custom
  891. Part9.Size = Vector3.new(1, 0.200000003, 1)
  892. Part9.CFrame = CFrame.new(-38.1000633, 3.56562996, -22.5755997, 4.2483177e-09, 2.61796345e-08, -0.999999642, 0.707104683, 0.707108736, 2.15158469e-08, 0.707108736, -0.707104683, -1.55077071e-08)
  893. Part9.BackSurface = Enum.SurfaceType.Weld
  894. Part9.BottomSurface = Enum.SurfaceType.Weld
  895. Part9.FrontSurface = Enum.SurfaceType.Weld
  896. Part9.LeftSurface = Enum.SurfaceType.Weld
  897. Part9.RightSurface = Enum.SurfaceType.Weld
  898. Part9.TopSurface = Enum.SurfaceType.Weld
  899. Part9.Color = Color3.new(0.960784, 0.803922, 0.188235)
  900. Part9.Position = Vector3.new(-38.1000633, 3.56562996, -22.5755997)
  901. Part9.Orientation = Vector3.new(0, -90, 45)
  902. Part9.Color = Color3.new(0.960784, 0.803922, 0.188235)
  903. CylinderMesh10.Parent = Part9
  904. Model11.Name = ""
  905. Model11.Parent = Model0
  906. Part12.Name = "Head"
  907. Part12.Parent = Model11
  908. Part12.BrickColor = BrickColor.new("Black")
  909. Part12.Anchored = true
  910. Part12.FormFactor = Enum.FormFactor.Custom
  911. Part12.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  912. Part12.CFrame = CFrame.new(-39.5, 5.10000706, -15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  913. Part12.BackSurface = Enum.SurfaceType.Weld
  914. Part12.BottomSurface = Enum.SurfaceType.Weld
  915. Part12.FrontSurface = Enum.SurfaceType.Weld
  916. Part12.LeftSurface = Enum.SurfaceType.Weld
  917. Part12.RightSurface = Enum.SurfaceType.Weld
  918. Part12.TopSurface = Enum.SurfaceType.Weld
  919. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  920. Part12.Position = Vector3.new(-39.5, 5.10000706, -15.5)
  921. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  922. CylinderMesh13.Parent = Part12
  923. CylinderMesh13.Scale = Vector3.new(1, 2.5, 1)
  924. CylinderMesh13.Scale = Vector3.new(1, 2.5, 1)
  925. Humanoid14.Parent = Model11
  926. Humanoid14.Health = 0
  927. Humanoid14.MaxHealth = 0
  928. Script15.Name = "Anti-Missile"
  929. Script15.Parent = Model11
  930. table.insert(cors,sandbox(Script15,function()
  931. local bin = script.Parent.Parent
  932. local switch = bin.Switch
  933. local light = bin.Light
  934. local sensor = bin.Sensor
  935. local prop = bin.Prop
  936. local sphere1 = bin.Sphere1
  937. local sphere2 = bin.Sphere2
  938.  
  939. local critDist = 50
  940. local maxDist = 300
  941.  
  942.  
  943. local On = false
  944.  
  945. local factor = critDist*2
  946.  
  947. local OriginalDist = maxDist
  948.  
  949. function display(text)
  950. script.Parent.Name = text
  951. end
  952.  
  953. function destroy(target)
  954. sphere1.Reflectance = 1
  955. sphere2.Reflectance = 1
  956. sphere1.Mesh.Scale = Vector3.new(factor,factor,factor)
  957. sphere2.Mesh.Scale = Vector3.new(-factor,-factor,-factor)
  958.  
  959. local exp = Instance.new("Explosion")
  960. exp.Position = target.Position
  961. exp.Parent = game.Workspace
  962. exp.BlastPressure = 0
  963. exp.BlastRadius = 3
  964. local sound = script.Explosion:clone()
  965. sound.Parent = target
  966. sound.PlayOnRemove = true
  967.  
  968.  
  969. target:remove()
  970.  
  971. display("Target Destroyed!")
  972.  
  973. for x = 1 , 20 do
  974. sphere1.Reflectance = sphere1.Reflectance - 0.05
  975. sphere2.Reflectance = sphere2.Reflectance - 0.05
  976. wait()
  977. end
  978.  
  979. sphere1.Mesh.Scale = Vector3.new(0,0,0)
  980. sphere2.Mesh.Scale = Vector3.new(0,0,0)
  981. end
  982.  
  983. switch.CD.MouseClick:connect(function()
  984. if On == false then
  985. On = true
  986. switch.BrickColor = BrickColor.new("Bright green")
  987. sensor.Spin.Disabled = false
  988. prop.Shine.Disabled = false
  989. else
  990. On = false
  991. switch.BrickColor = BrickColor.new("Bright red")
  992. sensor.Spin.Disabled = true
  993. prop.Shine.Disabled = true
  994. light.BrickColor = BrickColor.new("Dark stone grey")
  995. prop.BrickColor = BrickColor.new("Dark stone grey")
  996. prop.sparkle.Enabled = false
  997. display("")
  998. end
  999. end)
  1000.  
  1001. function scan()
  1002. local maxDist = OriginalDist
  1003. local bits = game.Workspace:children()
  1004. local target = nil
  1005. local temp = nil
  1006. local temp2 = nil
  1007. for i = 1, #bits do
  1008. temp2 = bits[i]
  1009. if bits[i].className == "Part" or bits[i].className == "WedgePart" or bits[i].className == "TrussPart" then
  1010. if string.lower(temp2.Name) == "paintball" or string.lower(temp2.Name) == "cannonshot" or string.lower(temp2.Name) == "cannonball" or string.lower(temp2.Name) == "missile" or string.lower(temp2.Name) == "bullet" or string.lower(temp2.Name) == "cannon shot" or string.lower(temp2.Name) == "cannon ball" or temp2:findFirstChild("RocketScript") ~= nil or temp2:findFirstChild("CannonBall")~= nil or temp2:findFirstChild("BombScript")~= nil or temp2:findFirstChild("Missile") ~= nil then
  1011. temp = temp2
  1012. if temp~= nil then
  1013. if (temp.Position - sensor.Position).magnitude < maxDist then
  1014. target = true
  1015. maxDist = (temp.Position - sensor.Position).magnitude
  1016. targDist = (temp.Position - sensor.Position).magnitude
  1017. if (temp.Position - sensor.Position).magnitude < critDist then
  1018. destroy(temp)
  1019. end
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025. return target
  1026. end
  1027.  
  1028. local c = 0
  1029.  
  1030. while true do
  1031. wait()
  1032. if On == true then
  1033. if scan() == true then
  1034. if targDist <= maxDist then
  1035. light.BrickColor = BrickColor.new("Bright red")
  1036. prop.sparkle.Enabled = true
  1037. c = c+1
  1038. if c >= targDist/5 then
  1039. display("Warning: Target at:"..math.floor(targDist).." Studs away")
  1040. script.Beep:play()
  1041. c = 0
  1042. end
  1043. else
  1044. light.BrickColor = BrickColor.new("Dark green")
  1045. prop.sparkle.Enabled = false
  1046. end
  1047. else
  1048. light.BrickColor = BrickColor.new("Dark green")
  1049. prop.sparkle.Enabled = false
  1050. display("Scanning...")
  1051. end
  1052. end
  1053. end
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. end))
  1061. Sound16.Name = "Beep"
  1062. Sound16.Parent = Script15
  1063. Sound16.Pitch = 1.5
  1064. Sound16.SoundId = "http://www.roblox.com/asset/?id=15666462"
  1065. Sound16.Volume = 1
  1066. Sound17.Name = "Explosion"
  1067. Sound17.Parent = Script15
  1068. Sound17.Pitch = 0.5
  1069. Sound17.SoundId = "rbxasset://sounds/collide.wav"
  1070. Sound17.Volume = 1
  1071. Part18.Parent = Model0
  1072. Part18.BrickColor = BrickColor.new("Black")
  1073. Part18.Anchored = true
  1074. Part18.FormFactor = Enum.FormFactor.Custom
  1075. Part18.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1076. Part18.CFrame = CFrame.new(-39.5, 5.900002, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1077. Part18.BackSurface = Enum.SurfaceType.Weld
  1078. Part18.BottomSurface = Enum.SurfaceType.Weld
  1079. Part18.FrontSurface = Enum.SurfaceType.Weld
  1080. Part18.LeftSurface = Enum.SurfaceType.Weld
  1081. Part18.RightSurface = Enum.SurfaceType.Weld
  1082. Part18.TopSurface = Enum.SurfaceType.Weld
  1083. Part18.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1084. Part18.Position = Vector3.new(-39.5, 5.900002, -13.5)
  1085. Part18.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1086. CylinderMesh19.Parent = Part18
  1087. Part20.Parent = Model0
  1088. Part20.BrickColor = BrickColor.new("Dark stone grey")
  1089. Part20.Reflectance = 0.10000000149012
  1090. Part20.Rotation = Vector3.new(0, 90, 0)
  1091. Part20.Anchored = true
  1092. Part20.FormFactor = Enum.FormFactor.Custom
  1093. Part20.Size = Vector3.new(1, 0.800000012, 0.200000003)
  1094. Part20.CFrame = CFrame.new(-41.0999985, 5.4000001, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1095. Part20.BottomSurface = Enum.SurfaceType.Smooth
  1096. Part20.TopSurface = Enum.SurfaceType.Smooth
  1097. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1098. Part20.Position = Vector3.new(-41.0999985, 5.4000001, -13.5)
  1099. Part20.Orientation = Vector3.new(0, 90, 0)
  1100. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1101. BlockMesh21.Parent = Part20
  1102. Part22.Parent = Model0
  1103. Part22.BrickColor = BrickColor.new("Dark stone grey")
  1104. Part22.Anchored = true
  1105. Part22.FormFactor = Enum.FormFactor.Custom
  1106. Part22.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  1107. Part22.CFrame = CFrame.new(-39.5, 7.400002, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1108. Part22.BackSurface = Enum.SurfaceType.Weld
  1109. Part22.BottomSurface = Enum.SurfaceType.Weld
  1110. Part22.FrontSurface = Enum.SurfaceType.Weld
  1111. Part22.LeftSurface = Enum.SurfaceType.Weld
  1112. Part22.RightSurface = Enum.SurfaceType.Weld
  1113. Part22.TopSurface = Enum.SurfaceType.Weld
  1114. Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1115. Part22.Position = Vector3.new(-39.5, 7.400002, -13.5)
  1116. Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1117. CylinderMesh23.Parent = Part22
  1118. Part24.Name = "Sphere1"
  1119. Part24.Parent = Model0
  1120. Part24.BrickColor = BrickColor.new("Really blue")
  1121. Part24.Transparency = 0.99000000953674
  1122. Part24.Anchored = true
  1123. Part24.FormFactor = Enum.FormFactor.Symmetric
  1124. Part24.Size = Vector3.new(1, 1, 1)
  1125. Part24.CFrame = CFrame.new(-39.5, 4.49999905, -17.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1126. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1127. Part24.TopSurface = Enum.SurfaceType.Smooth
  1128. Part24.Color = Color3.new(0, 0, 1)
  1129. Part24.Position = Vector3.new(-39.5, 4.49999905, -17.5)
  1130. Part24.Color = Color3.new(0, 0, 1)
  1131. SpecialMesh25.Parent = Part24
  1132. SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1133. SpecialMesh25.Scale = Vector3.new(0, 0, 0)
  1134. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  1135. SpecialMesh25.Scale = Vector3.new(0, 0, 0)
  1136. Part26.Name = "Prop"
  1137. Part26.Parent = Model0
  1138. Part26.BrickColor = BrickColor.new("Dark stone grey")
  1139. Part26.Anchored = true
  1140. Part26.FormFactor = Enum.FormFactor.Custom
  1141. Part26.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
  1142. Part26.CFrame = CFrame.new(-39.5, 9.00000763, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1143. Part26.BackSurface = Enum.SurfaceType.Weld
  1144. Part26.BottomSurface = Enum.SurfaceType.Weld
  1145. Part26.FrontSurface = Enum.SurfaceType.Weld
  1146. Part26.LeftSurface = Enum.SurfaceType.Weld
  1147. Part26.RightSurface = Enum.SurfaceType.Weld
  1148. Part26.TopSurface = Enum.SurfaceType.Weld
  1149. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1150. Part26.Position = Vector3.new(-39.5, 9.00000763, -13.5)
  1151. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1152. CylinderMesh27.Parent = Part26
  1153. Script28.Name = "Shine"
  1154. Script28.Parent = Part26
  1155. Script28.Disabled = true
  1156. table.insert(cors,sandbox(Script28,function()
  1157. while true do
  1158. wait(0.5)
  1159. script.Parent.BrickColor = BrickColor.new("Dark stone grey")
  1160. wait(0.5)
  1161. script.Parent.BrickColor = BrickColor.new("Bright red")
  1162. end
  1163.  
  1164. end))
  1165. Sparkles29.Name = "sparkle"
  1166. Sparkles29.Parent = Part26
  1167. Sparkles29.Color = Color3.new(0.888889, 0, 0)
  1168. Sparkles29.Enabled = false
  1169. Sparkles29.SparkleColor = Color3.new(0.501961, 0, 0)
  1170. Sparkles29.Color = Color3.new(0.888889, 0, 0)
  1171. Part30.Name = "Light"
  1172. Part30.Parent = Model0
  1173. Part30.BrickColor = BrickColor.new("Dark stone grey")
  1174. Part30.Transparency = 0.40000000596046
  1175. Part30.Anchored = true
  1176. Part30.FormFactor = Enum.FormFactor.Custom
  1177. Part30.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1178. Part30.CFrame = CFrame.new(-39.5, 5.50000381, -15.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1179. Part30.BackSurface = Enum.SurfaceType.Weld
  1180. Part30.BottomSurface = Enum.SurfaceType.Weld
  1181. Part30.FrontSurface = Enum.SurfaceType.Weld
  1182. Part30.LeftSurface = Enum.SurfaceType.Weld
  1183. Part30.RightSurface = Enum.SurfaceType.Weld
  1184. Part30.TopSurface = Enum.SurfaceType.Weld
  1185. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1186. Part30.Position = Vector3.new(-39.5, 5.50000381, -15.5)
  1187. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1188. SpecialMesh31.Parent = Part30
  1189. WedgePart32.Parent = Model0
  1190. WedgePart32.BrickColor = BrickColor.new("Dark stone grey")
  1191. WedgePart32.Reflectance = 0.10000000149012
  1192. WedgePart32.Rotation = Vector3.new(-90, 0, 0)
  1193. WedgePart32.Anchored = true
  1194. WedgePart32.FormFactor = Enum.FormFactor.Symmetric
  1195. WedgePart32.Size = Vector3.new(5, 1, 2)
  1196. WedgePart32.CFrame = CFrame.new(-39.5, 2.00000501, -22.5, 1, -0, 0, 0, -0, 1, 0, -1, 0)
  1197. WedgePart32.BottomSurface = Enum.SurfaceType.Smooth
  1198. WedgePart32.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1199. WedgePart32.Position = Vector3.new(-39.5, 2.00000501, -22.5)
  1200. WedgePart32.Orientation = Vector3.new(-90, 0, 0)
  1201. WedgePart32.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1202. Part33.Parent = Model0
  1203. Part33.BrickColor = BrickColor.new("Black")
  1204. Part33.Reflectance = 0.20000000298023
  1205. Part33.Rotation = Vector3.new(-90, 0, 90)
  1206. Part33.Anchored = true
  1207. Part33.FormFactor = Enum.FormFactor.Custom
  1208. Part33.Size = Vector3.new(3, 1, 3)
  1209. Part33.CFrame = CFrame.new(-42.5, 1.50000095, -20.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  1210. Part33.BottomSurface = Enum.SurfaceType.Smooth
  1211. Part33.TopSurface = Enum.SurfaceType.Smooth
  1212. Part33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1213. Part33.Position = Vector3.new(-42.5, 1.50000095, -20.5)
  1214. Part33.Orientation = Vector3.new(-90, 90, 0)
  1215. Part33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1216. CylinderMesh34.Parent = Part33
  1217. Part35.Parent = Model0
  1218. Part35.BrickColor = BrickColor.new("Black")
  1219. Part35.Reflectance = 0.20000000298023
  1220. Part35.Rotation = Vector3.new(-90, 0, 90)
  1221. Part35.Anchored = true
  1222. Part35.FormFactor = Enum.FormFactor.Symmetric
  1223. Part35.Size = Vector3.new(3, 1, 3)
  1224. Part35.CFrame = CFrame.new(-36.5, 1.50000095, -20.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  1225. Part35.BottomSurface = Enum.SurfaceType.Smooth
  1226. Part35.TopSurface = Enum.SurfaceType.Smooth
  1227. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1228. Part35.Position = Vector3.new(-36.5, 1.50000095, -20.5)
  1229. Part35.Orientation = Vector3.new(-90, 90, 0)
  1230. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1231. CylinderMesh36.Parent = Part35
  1232. Part37.Parent = Model0
  1233. Part37.BrickColor = BrickColor.new("Dark stone grey")
  1234. Part37.Reflectance = 0.10000000149012
  1235. Part37.Rotation = Vector3.new(0, 90, 0)
  1236. Part37.Anchored = true
  1237. Part37.FormFactor = Enum.FormFactor.Symmetric
  1238. Part37.Size = Vector3.new(3, 1, 5)
  1239. Part37.CFrame = CFrame.new(-39.5, 4.49999905, -14.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1240. Part37.BottomSurface = Enum.SurfaceType.Smooth
  1241. Part37.TopSurface = Enum.SurfaceType.Smooth
  1242. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1243. Part37.Position = Vector3.new(-39.5, 4.49999905, -14.5)
  1244. Part37.Orientation = Vector3.new(0, 90, 0)
  1245. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1246. BlockMesh38.Parent = Part37
  1247. WedgePart39.Parent = Model0
  1248. WedgePart39.BrickColor = BrickColor.new("Dark stone grey")
  1249. WedgePart39.Reflectance = 0.10000000149012
  1250. WedgePart39.Anchored = true
  1251. WedgePart39.FormFactor = Enum.FormFactor.Custom
  1252. WedgePart39.Size = Vector3.new(3.40000057, 0.800000012, 0.400000006)
  1253. WedgePart39.CFrame = CFrame.new(-39.5, 5.400002, -14.199996, 0.999998331, 0, 1.77635324e-15, 0, 0.999996781, -2.980223e-08, -8.88176832e-16, 2.98022762e-08, 0.999998331)
  1254. WedgePart39.BottomSurface = Enum.SurfaceType.Smooth
  1255. WedgePart39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1256. WedgePart39.Position = Vector3.new(-39.5, 5.400002, -14.199996)
  1257. WedgePart39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1258. Part40.Parent = Model0
  1259. Part40.BrickColor = BrickColor.new("Dark stone grey")
  1260. Part40.Reflectance = 0.10000000149012
  1261. Part40.Rotation = Vector3.new(0, 90, 0)
  1262. Part40.Anchored = true
  1263. Part40.FormFactor = Enum.FormFactor.Custom
  1264. Part40.Size = Vector3.new(1, 0.200000003, 3)
  1265. Part40.CFrame = CFrame.new(-39.5, 5.70000076, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1266. Part40.BottomSurface = Enum.SurfaceType.Smooth
  1267. Part40.TopSurface = Enum.SurfaceType.Smooth
  1268. Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1269. Part40.Position = Vector3.new(-39.5, 5.70000076, -13.5)
  1270. Part40.Orientation = Vector3.new(0, 90, 0)
  1271. Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1272. BlockMesh41.Parent = Part40
  1273. Part42.Parent = Model0
  1274. Part42.BrickColor = BrickColor.new("Black")
  1275. Part42.Rotation = Vector3.new(0, 90, 0)
  1276. Part42.Anchored = true
  1277. Part42.FormFactor = Enum.FormFactor.Custom
  1278. Part42.Size = Vector3.new(1, 0.200000003, 3)
  1279. Part42.CFrame = CFrame.new(-39.5, 5.09999895, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1280. Part42.BottomSurface = Enum.SurfaceType.Smooth
  1281. Part42.TopSurface = Enum.SurfaceType.Smooth
  1282. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1283. Part42.Position = Vector3.new(-39.5, 5.09999895, -13.5)
  1284. Part42.Orientation = Vector3.new(0, 90, 0)
  1285. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1286. Part43.Parent = Model0
  1287. Part43.BrickColor = BrickColor.new("Black")
  1288. Part43.Rotation = Vector3.new(0, 90, 0)
  1289. Part43.Anchored = true
  1290. Part43.FormFactor = Enum.FormFactor.Custom
  1291. Part43.Size = Vector3.new(1, 0.200000003, 3)
  1292. Part43.CFrame = CFrame.new(-39.5, 5.29999924, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1293. Part43.BottomSurface = Enum.SurfaceType.Smooth
  1294. Part43.TopSurface = Enum.SurfaceType.Smooth
  1295. Part43.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1296. Part43.Position = Vector3.new(-39.5, 5.29999924, -13.5)
  1297. Part43.Orientation = Vector3.new(0, 90, 0)
  1298. Part43.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1299. Part44.Parent = Model0
  1300. Part44.BrickColor = BrickColor.new("Black")
  1301. Part44.Rotation = Vector3.new(0, 90, 0)
  1302. Part44.Anchored = true
  1303. Part44.FormFactor = Enum.FormFactor.Custom
  1304. Part44.Size = Vector3.new(1, 0.200000003, 3)
  1305. Part44.CFrame = CFrame.new(-39.5, 5.49999809, -13.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1306. Part44.BottomSurface = Enum.SurfaceType.Smooth
  1307. Part44.TopSurface = Enum.SurfaceType.Smooth
  1308. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1309. Part44.Position = Vector3.new(-39.5, 5.49999809, -13.5)
  1310. Part44.Orientation = Vector3.new(0, 90, 0)
  1311. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1312. Part45.Name = "Sphere2"
  1313. Part45.Parent = Model0
  1314. Part45.BrickColor = BrickColor.new("Really blue")
  1315. Part45.Transparency = 0.99000000953674
  1316. Part45.Anchored = true
  1317. Part45.FormFactor = Enum.FormFactor.Symmetric
  1318. Part45.Size = Vector3.new(1, 1, 1)
  1319. Part45.CFrame = CFrame.new(-39.5, 4.49999905, -17.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1320. Part45.BottomSurface = Enum.SurfaceType.Smooth
  1321. Part45.TopSurface = Enum.SurfaceType.Smooth
  1322. Part45.Color = Color3.new(0, 0, 1)
  1323. Part45.Position = Vector3.new(-39.5, 4.49999905, -17.5)
  1324. Part45.Color = Color3.new(0, 0, 1)
  1325. SpecialMesh46.Parent = Part45
  1326. SpecialMesh46.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1327. SpecialMesh46.Scale = Vector3.new(0, 0, 0)
  1328. SpecialMesh46.VertexColor = Vector3.new(2, 0, 0)
  1329. SpecialMesh46.MeshType = Enum.MeshType.FileMesh
  1330. SpecialMesh46.Scale = Vector3.new(0, 0, 0)
  1331. Part47.Name = "Switch"
  1332. Part47.Parent = Model0
  1333. Part47.BrickColor = BrickColor.new("Bright red")
  1334. Part47.Anchored = true
  1335. Part47.FormFactor = Enum.FormFactor.Custom
  1336. Part47.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1337. Part47.CFrame = CFrame.new(-37.8999977, 5.09999895, -15.5, 0.999995649, 6.82121026e-13, -8.21119812e-08, -6.11066753e-13, 0.999993563, 1.40070915e-06, 8.21118391e-08, -1.22189522e-06, 0.999994993)
  1338. Part47.BackSurface = Enum.SurfaceType.Weld
  1339. Part47.BottomSurface = Enum.SurfaceType.Weld
  1340. Part47.FrontSurface = Enum.SurfaceType.Weld
  1341. Part47.LeftSurface = Enum.SurfaceType.Weld
  1342. Part47.RightSurface = Enum.SurfaceType.Weld
  1343. Part47.TopSurface = Enum.SurfaceType.Weld
  1344. Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1345. Part47.Position = Vector3.new(-37.8999977, 5.09999895, -15.5)
  1346. Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1347. SpecialMesh48.Parent = Part47
  1348. SpecialMesh48.MeshType = Enum.MeshType.Torso
  1349. ClickDetector49.Name = "CD"
  1350. ClickDetector49.Parent = Part47
  1351. ClickDetector49.MaxActivationDistance = 10
  1352. WedgePart50.Parent = Model0
  1353. WedgePart50.BrickColor = BrickColor.new("Dark stone grey")
  1354. WedgePart50.Reflectance = 0.10000000149012
  1355. WedgePart50.Anchored = true
  1356. WedgePart50.FormFactor = Enum.FormFactor.Symmetric
  1357. WedgePart50.Size = Vector3.new(5, 1, 1)
  1358. WedgePart50.CFrame = CFrame.new(-39.5, 4.49999905, -16.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1359. WedgePart50.BottomSurface = Enum.SurfaceType.Smooth
  1360. WedgePart50.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1361. WedgePart50.Position = Vector3.new(-39.5, 4.49999905, -16.5)
  1362. WedgePart50.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1363. Part51.Parent = Model0
  1364. Part51.BrickColor = BrickColor.new("Dark stone grey")
  1365. Part51.Reflectance = 0.10000000149012
  1366. Part51.Rotation = Vector3.new(0, 90, 0)
  1367. Part51.Anchored = true
  1368. Part51.FormFactor = Enum.FormFactor.Symmetric
  1369. Part51.Size = Vector3.new(9, 3, 5)
  1370. Part51.CFrame = CFrame.new(-39.5, 2.50000191, -17.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  1371. Part51.BottomSurface = Enum.SurfaceType.Smooth
  1372. Part51.TopSurface = Enum.SurfaceType.Smooth
  1373. Part51.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1374. Part51.Position = Vector3.new(-39.5, 2.50000191, -17.5)
  1375. Part51.Orientation = Vector3.new(0, 90, 0)
  1376. Part51.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1377. BlockMesh52.Parent = Part51
  1378. Part53.Parent = Model0
  1379. Part53.BrickColor = BrickColor.new("Black")
  1380. Part53.Reflectance = 0.20000000298023
  1381. Part53.Rotation = Vector3.new(-90, 0, 90)
  1382. Part53.Anchored = true
  1383. Part53.FormFactor = Enum.FormFactor.Symmetric
  1384. Part53.Size = Vector3.new(3, 1, 3)
  1385. Part53.CFrame = CFrame.new(-36.5, 1.50000095, -14.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  1386. Part53.BottomSurface = Enum.SurfaceType.Smooth
  1387. Part53.TopSurface = Enum.SurfaceType.Smooth
  1388. Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1389. Part53.Position = Vector3.new(-36.5, 1.50000095, -14.5)
  1390. Part53.Orientation = Vector3.new(-90, 90, 0)
  1391. Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1392. CylinderMesh54.Parent = Part53
  1393. WedgePart55.Parent = Model0
  1394. WedgePart55.BrickColor = BrickColor.new("Dark stone grey")
  1395. WedgePart55.Reflectance = 0.10000000149012
  1396. WedgePart55.Rotation = Vector3.new(90, 0, 0)
  1397. WedgePart55.Anchored = true
  1398. WedgePart55.FormFactor = Enum.FormFactor.Symmetric
  1399. WedgePart55.Size = Vector3.new(5, 1, 1)
  1400. WedgePart55.CFrame = CFrame.new(-39.5, 4.49999905, -12.5, 1, 0, -0, 0, 0, -1, 0, 1, -0)
  1401. WedgePart55.BottomSurface = Enum.SurfaceType.Smooth
  1402. WedgePart55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1403. WedgePart55.Position = Vector3.new(-39.5, 4.49999905, -12.5)
  1404. WedgePart55.Orientation = Vector3.new(90, 0, 0)
  1405. WedgePart55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1406. Part56.Parent = Model0
  1407. Part56.BrickColor = BrickColor.new("Black")
  1408. Part56.Reflectance = 0.20000000298023
  1409. Part56.Rotation = Vector3.new(-90, 0, 90)
  1410. Part56.Anchored = true
  1411. Part56.FormFactor = Enum.FormFactor.Symmetric
  1412. Part56.Size = Vector3.new(3, 1, 3)
  1413. Part56.CFrame = CFrame.new(-42.5, 1.50000095, -14.5, -0, -1, 0, -0, -0, 1, -1, -0, 0)
  1414. Part56.BottomSurface = Enum.SurfaceType.Smooth
  1415. Part56.TopSurface = Enum.SurfaceType.Smooth
  1416. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1417. Part56.Position = Vector3.new(-42.5, 1.50000095, -14.5)
  1418. Part56.Orientation = Vector3.new(-90, 90, 0)
  1419. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1420. CylinderMesh57.Parent = Part56
  1421. WedgePart58.Parent = Model0
  1422. WedgePart58.BrickColor = BrickColor.new("Dark stone grey")
  1423. WedgePart58.Reflectance = 0.10000000149012
  1424. WedgePart58.Rotation = Vector3.new(180, 0, 0)
  1425. WedgePart58.Anchored = true
  1426. WedgePart58.FormFactor = Enum.FormFactor.Symmetric
  1427. WedgePart58.Size = Vector3.new(5, 3, 1)
  1428. WedgePart58.CFrame = CFrame.new(-39.5, 2.50000191, -12.5, 1, -0, -0, 0, -1, -0, 0, -0, -1)
  1429. WedgePart58.BottomSurface = Enum.SurfaceType.Smooth
  1430. WedgePart58.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1431. WedgePart58.Position = Vector3.new(-39.5, 2.50000191, -12.5)
  1432. WedgePart58.Orientation = Vector3.new(0, -180, 180)
  1433. WedgePart58.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1434. Part59.Parent = Model0
  1435. Part59.BrickColor = BrickColor.new("Dark stone grey")
  1436. Part59.Reflectance = 0.10000000149012
  1437. Part59.Rotation = Vector3.new(0, 90, 0)
  1438. Part59.Anchored = true
  1439. Part59.FormFactor = Enum.FormFactor.Custom
  1440. Part59.Size = Vector3.new(1, 0.800000012, 0.200000003)
  1441. Part59.CFrame = CFrame.new(-37.9000015, 5.40000677, -13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1442. Part59.BottomSurface = Enum.SurfaceType.Smooth
  1443. Part59.TopSurface = Enum.SurfaceType.Smooth
  1444. Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1445. Part59.Position = Vector3.new(-37.9000015, 5.40000677, -13.5)
  1446. Part59.Orientation = Vector3.new(0, 90, 0)
  1447. Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1448. BlockMesh60.Parent = Part59
  1449. for i,v in pairs(mas:GetChildren()) do
  1450. v.Parent = workspace
  1451. pcall(function() v:MakeJoints() end)
  1452. end
  1453. mas:Destroy()
  1454. for i,v in pairs(cors) do
  1455. spawn(function()
  1456. pcall(v)
  1457. end)
  1458. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement