Advertisement
lafur

Untitled

Oct 19th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.85 KB | None | 0 0
  1. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  2. --What's Added To M2S with Dittoide's Edit?
  3. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  4. --/ Removed Gui In Bottom-Left for when you are making guis.
  5. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  6. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  7. --Errors: Camera,Terrain,UnionOperation
  8. local runDummyScript = function(f,scri)
  9. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  10. local Dummy_CoRoutine = coroutine.create(function()
  11. getfenv().script = scri
  12. ypcall(function() f() end)
  13. end)
  14. table.insert(cors,Dummy_CoRoutine);
  15. coroutine.resume(Dummy_CoRoutine);
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. mas.Name = "M2S_Model"
  20. o3 = Instance.new("Model")
  21. o4 = Instance.new("Model")
  22. o5 = Instance.new("Model")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("SpecialMesh")
  25. o8 = Instance.new("Part")
  26. o9 = Instance.new("SpecialMesh")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("SpecialMesh")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Script")
  31. o14 = Instance.new("ClickDetector")
  32. o15 = Instance.new("Script")
  33. o16 = Instance.new("Smoke")
  34. o17 = Instance.new("Script")
  35. o18 = Instance.new("BlockMesh")
  36. o19 = Instance.new("Part")
  37. o20 = Instance.new("BlockMesh")
  38. o21 = Instance.new("Part")
  39. o22 = Instance.new("SpecialMesh")
  40. o23 = Instance.new("Part")
  41. o24 = Instance.new("SpecialMesh")
  42. o25 = Instance.new("Part")
  43. o26 = Instance.new("SpecialMesh")
  44. o27 = Instance.new("Part")
  45. o28 = Instance.new("CylinderMesh")
  46. o29 = Instance.new("Part")
  47. o30 = Instance.new("SpecialMesh")
  48. o31 = Instance.new("Part")
  49. o32 = Instance.new("CylinderMesh")
  50. o33 = Instance.new("Part")
  51. o34 = Instance.new("CylinderMesh")
  52. o35 = Instance.new("Part")
  53. o36 = Instance.new("CylinderMesh")
  54. o37 = Instance.new("Part")
  55. o38 = Instance.new("CylinderMesh")
  56. o39 = Instance.new("Part")
  57. o40 = Instance.new("SpecialMesh")
  58. o41 = Instance.new("Part")
  59. o42 = Instance.new("CylinderMesh")
  60. o43 = Instance.new("VehicleSeat")
  61. o44 = Instance.new("Part")
  62. o45 = Instance.new("SpecialMesh")
  63. o46 = Instance.new("Part")
  64. o47 = Instance.new("BlockMesh")
  65. o48 = Instance.new("Part")
  66. o49 = Instance.new("SpecialMesh")
  67. o50 = Instance.new("Part")
  68. o51 = Instance.new("BlockMesh")
  69. o52 = Instance.new("Part")
  70. o53 = Instance.new("BlockMesh")
  71. o54 = Instance.new("Part")
  72. o55 = Instance.new("SpecialMesh")
  73. o56 = Instance.new("Part")
  74. o57 = Instance.new("Part")
  75. o58 = Instance.new("Part")
  76. o59 = Instance.new("Part")
  77. o60 = Instance.new("Model")
  78. o62 = Instance.new("Script")
  79. o63 = Instance.new("Model")
  80. o65 = Instance.new("Script")
  81. o3.Parent = mas
  82. o4.Parent = o3
  83. o5.Parent = o4
  84. o6.Parent = o5
  85. o6.BrickColor = BrickColor.new("Dark stone grey")
  86. o6.Position = Vector3.new(4, 8.80768776, 13.5)
  87. o6.Rotation = Vector3.new(0, -90, 0)
  88. o6.Locked = true
  89. o6.Size = Vector3.new(3, 1.20000005, 2)
  90. o6.CFrame = CFrame.new(4, 8.80768776, 13.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91. o6.BackSurface = Enum.SurfaceType.Weld
  92. o6.BottomSurface = Enum.SurfaceType.Weld
  93. o6.FrontSurface = Enum.SurfaceType.Weld
  94. o6.LeftSurface = Enum.SurfaceType.Weld
  95. o6.RightSurface = Enum.SurfaceType.Weld
  96. o6.TopSurface = Enum.SurfaceType.Weld
  97. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  98. o6.Position = Vector3.new(4, 8.80768776, 13.5)
  99. o7.Parent = o6
  100. o7.MeshType = Enum.MeshType.Torso
  101. o8.Parent = o5
  102. o8.BrickColor = BrickColor.new("Dark stone grey")
  103. o8.Position = Vector3.new(10, 8.80768776, 13.5)
  104. o8.Rotation = Vector3.new(0, -90, 0)
  105. o8.Locked = true
  106. o8.Size = Vector3.new(3, 1.20000005, 2)
  107. o8.CFrame = CFrame.new(10, 8.80768776, 13.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  108. o8.BackSurface = Enum.SurfaceType.Weld
  109. o8.BottomSurface = Enum.SurfaceType.Weld
  110. o8.FrontSurface = Enum.SurfaceType.Weld
  111. o8.LeftSurface = Enum.SurfaceType.Weld
  112. o8.RightSurface = Enum.SurfaceType.Weld
  113. o8.TopSurface = Enum.SurfaceType.Weld
  114. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  115. o8.Position = Vector3.new(10, 8.80768776, 13.5)
  116. o9.Parent = o8
  117. o9.MeshType = Enum.MeshType.Torso
  118. o10.Parent = o5
  119. o10.Position = Vector3.new(7, 9.40769005, 13.5)
  120. o10.Rotation = Vector3.new(0, -90, 0)
  121. o10.Locked = true
  122. o10.Size = Vector3.new(5, 1.20000005, 4)
  123. o10.CFrame = CFrame.new(7, 9.40769005, 13.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  124. o10.BackSurface = Enum.SurfaceType.Weld
  125. o10.BottomSurface = Enum.SurfaceType.Weld
  126. o10.FrontSurface = Enum.SurfaceType.Weld
  127. o10.LeftSurface = Enum.SurfaceType.Weld
  128. o10.RightSurface = Enum.SurfaceType.Weld
  129. o10.TopSurface = Enum.SurfaceType.Weld
  130. o10.Position = Vector3.new(7, 9.40769005, 13.5)
  131. o11.Parent = o10
  132. o11.Scale = Vector3.new(0.889999986, 1, 1)
  133. o11.MeshType = Enum.MeshType.Torso
  134. o12.Name = "Switch"
  135. o12.Parent = o5
  136. o12.BrickColor = BrickColor.new("Bright blue")
  137. o12.Position = Vector3.new(8.5, 9.30768776, 10.7999992)
  138. o12.Rotation = Vector3.new(90, 0, 0)
  139. o12.Locked = true
  140. o12.FormFactor = Enum.FormFactor.Plate
  141. o12.Size = Vector3.new(1, 0.400000006, 1)
  142. o12.CFrame = CFrame.new(8.5, 9.30768776, 10.7999992, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  143. o12.BackSurface = Enum.SurfaceType.Weld
  144. o12.BottomSurface = Enum.SurfaceType.Weld
  145. o12.LeftSurface = Enum.SurfaceType.Weld
  146. o12.RightSurface = Enum.SurfaceType.Weld
  147. o12.TopSurface = Enum.SurfaceType.Smooth
  148. o12.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  149. o12.Position = Vector3.new(8.5, 9.30768776, 10.7999992)
  150. o13.Name = "CannonBall"
  151. o13.Parent = o12
  152. o13.Disabled = true
  153.  
  154. runDummyScript(function()
  155. ball = script.Parent
  156. damage = 100
  157.  
  158. function onTouched(hit)
  159.  
  160.  
  161. local humanoid = hit.Parent:findFirstChild("Humanoid")
  162. if humanoid~=nil then
  163. tagHumanoid(humanoid)
  164. humanoid.Health = 0
  165. wait()
  166. untagHumanoid(humanoid)
  167. connection:disconnect()
  168. else
  169. damage = damage / 2
  170. if damage < 2 then
  171. connection:disconnect()
  172. ball.Parent = nil
  173. end
  174. end
  175.  
  176. explosion = Instance.new("Explosion")
  177. explosion.BlastRadius = 20
  178. explosion.BlastPressure = 800000
  179. explosion.Position = script.Parent.Position
  180. explosion.Parent = game.Workspace
  181. connection:disconnect()
  182. ball.Parent = nil
  183. end
  184.  
  185. function tagHumanoid(humanoid)
  186. -- todo: make tag expire
  187. local tag = ball:findFirstChild("creator")
  188. if tag ~= nil then
  189. local new_tag = tag:clone()
  190. new_tag.Parent = humanoid
  191. end
  192. end
  193.  
  194.  
  195. function untagHumanoid(humanoid)
  196. if humanoid ~= nil then
  197. local tag = humanoid:findFirstChild("creator")
  198. if tag ~= nil then
  199. tag.Parent = nil
  200. end
  201. end
  202. end
  203.  
  204. connection = ball.Touched:connect(onTouched)
  205.  
  206. r = game:service("RunService")
  207. t, s = r.Stepped:wait()
  208. d = t + 5.0 - s
  209. while t < d do
  210. t = r.Stepped:wait()
  211. end
  212.  
  213. ball.Parent = nil
  214. end,o13)
  215.  
  216. o14.Parent = o12
  217. o14.MaxActivationDistance = 20
  218. o15.Name = "FireGun"
  219. o15.Parent = o12
  220.  
  221. runDummyScript(function()
  222. local switch = script.Parent
  223.  
  224. local debounce = false
  225.  
  226. local cannonBall = Instance.new("Part")
  227. cannonBall.Size = Vector3.new(3,3,3)
  228. cannonBall.BrickColor = BrickColor.new(1)
  229. cannonBall.Shape = 0
  230. cannonBall.BottomSurface = 0
  231. cannonBall.TopSurface = 0
  232. cannonBall.Name = "Cannon Shot"
  233. cannonBall.Elasticity = .1
  234. cannonBall.Reflectance = 0
  235. cannonBall.Friction = 0
  236.  
  237. function fire(gun)
  238. local sound = gun:findFirstChild("Fire")
  239. if sound == nil then
  240. sound = Instance.new("Sound")
  241. sound.Name = "Fire"
  242. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  243. sound.Pitch = 1
  244. sound.Volume = 1
  245. sound.Parent = gun
  246. end
  247. sound:play()
  248. local smoke = gun:findFirstChild("Smoke")
  249. if smoke == nil then
  250. smoke = switch.Smoke:clone()
  251. smoke.Parent = gun
  252. smoke.Script.Disabled = false
  253. end
  254. smoke.Enabled = true
  255.  
  256. local spawnPos = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)) * Vector3.new(0, 0, -15)
  257.  
  258. local v = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)).lookVector * 800
  259.  
  260. local missile = cannonBall:clone()
  261.  
  262. missile.Position = spawnPos
  263. missile.Velocity = v
  264.  
  265. local force = Instance.new("BodyForce")
  266. force.force = Vector3.new(0,(missile:GetMass() * 95),0)
  267. force.Parent = missile
  268.  
  269. local new_script = script.Parent.CannonBall:clone()
  270. new_script.Disabled = false
  271. new_script.Parent = missile
  272.  
  273. missile.Parent = game.Workspace
  274.  
  275. game.Debris:AddItem(missile,14)
  276. end
  277.  
  278. function onClicked()
  279. if debounce == false then
  280. debounce = true
  281. switch.BrickColor = BrickColor.new("Bright red")
  282. fire(script.Parent.Parent.Gun)
  283.  
  284. wait(1)
  285. debounce = false
  286. switch.BrickColor = BrickColor.new("Bright blue")
  287. end
  288. end
  289.  
  290.  
  291. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  292.  
  293.  
  294.  
  295. end,o15)
  296.  
  297. o16.Parent = o12
  298. o16.Color = Color3.new(0.109804, 0.109804, 0.109804)
  299. o16.Enabled = false
  300. o16.RiseVelocity = 8
  301. o17.Parent = o16
  302. o17.Disabled = true
  303.  
  304. runDummyScript(function()
  305. function Check()
  306. if script.Parent.Enabled == true then
  307. wait(0.25)
  308. script.Parent.Enabled = false
  309. end
  310. end
  311.  
  312. script.Parent.Changed:connect(Check)
  313. end,o17)
  314.  
  315. o18.Parent = o12
  316. o18.Scale = Vector3.new(1, 1, 0.5)
  317. o19.Parent = o5
  318. o19.Position = Vector3.new(7, 4.60768461, 15)
  319. o19.Locked = true
  320. o19.Size = Vector3.new(2, 1.20000005, 2)
  321. o19.CFrame = CFrame.new(7, 4.60768461, 15, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  322. o19.BackSurface = Enum.SurfaceType.Weld
  323. o19.BottomSurface = Enum.SurfaceType.Weld
  324. o19.FrontSurface = Enum.SurfaceType.Weld
  325. o19.LeftSurface = Enum.SurfaceType.Weld
  326. o19.RightSurface = Enum.SurfaceType.Weld
  327. o19.TopSurface = Enum.SurfaceType.Weld
  328. o19.Position = Vector3.new(7, 4.60768461, 15)
  329. o20.Parent = o19
  330. o21.Parent = o5
  331. o21.Position = Vector3.new(5.5, 7.00768709, 13.5)
  332. o21.Rotation = Vector3.new(0, 90, 0)
  333. o21.Locked = true
  334. o21.Size = Vector3.new(5, 3.60000014, 1)
  335. o21.CFrame = CFrame.new(5.5, 7.00768709, 13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  336. o21.BackSurface = Enum.SurfaceType.Weld
  337. o21.BottomSurface = Enum.SurfaceType.Weld
  338. o21.FrontSurface = Enum.SurfaceType.Weld
  339. o21.LeftSurface = Enum.SurfaceType.Weld
  340. o21.RightSurface = Enum.SurfaceType.Weld
  341. o21.TopSurface = Enum.SurfaceType.Weld
  342. o21.Position = Vector3.new(5.5, 7.00768709, 13.5)
  343. o22.Parent = o21
  344. o22.MeshType = Enum.MeshType.Torso
  345. o23.Parent = o5
  346. o23.BrickColor = BrickColor.new("Mid gray")
  347. o23.Position = Vector3.new(7, 7.00768709, 15.5)
  348. o23.Rotation = Vector3.new(0, 90, 0)
  349. o23.Locked = true
  350. o23.Size = Vector3.new(1, 3.60000014, 2)
  351. o23.CFrame = CFrame.new(7, 7.00768709, 15.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  352. o23.BackSurface = Enum.SurfaceType.Weld
  353. o23.BottomSurface = Enum.SurfaceType.Weld
  354. o23.FrontSurface = Enum.SurfaceType.Weld
  355. o23.LeftSurface = Enum.SurfaceType.Weld
  356. o23.RightSurface = Enum.SurfaceType.Weld
  357. o23.TopSurface = Enum.SurfaceType.Weld
  358. o23.Color = Color3.new(0.803922, 0.803922, 0.803922)
  359. o23.Position = Vector3.new(7, 7.00768709, 15.5)
  360. o24.Parent = o23
  361. o24.MeshType = Enum.MeshType.Torso
  362. o25.Parent = o5
  363. o25.BrickColor = BrickColor.new("Dark stone grey")
  364. o25.Position = Vector3.new(3.5, 6.90768862, 13.7999992)
  365. o25.Rotation = Vector3.new(-90, -90, 0)
  366. o25.Locked = true
  367. o25.Size = Vector3.new(1, 2.4000001, 1)
  368. o25.CFrame = CFrame.new(3.5, 6.90768862, 13.7999992, 0, 0, -1, 1, 0, -0, 0, -1, 0)
  369. o25.BackSurface = Enum.SurfaceType.Weld
  370. o25.BottomSurface = Enum.SurfaceType.Weld
  371. o25.FrontSurface = Enum.SurfaceType.Weld
  372. o25.LeftSurface = Enum.SurfaceType.Weld
  373. o25.RightSurface = Enum.SurfaceType.Weld
  374. o25.TopSurface = Enum.SurfaceType.Weld
  375. o25.Color = Color3.new(0.388235, 0.372549, 0.384314)
  376. o25.Position = Vector3.new(3.5, 6.90768862, 13.7999992)
  377. o26.Parent = o25
  378. o26.MeshType = Enum.MeshType.Torso
  379. o27.Name = "Smooth Block Model"
  380. o27.Parent = o5
  381. o27.Position = Vector3.new(3.5, 7.80768633, 13.5)
  382. o27.Rotation = Vector3.new(0, 90, 0)
  383. o27.Locked = true
  384. o27.FormFactor = Enum.FormFactor.Plate
  385. o27.Size = Vector3.new(1, 0.800000012, 1)
  386. o27.CFrame = CFrame.new(3.5, 7.80768633, 13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  387. o27.BackSurface = Enum.SurfaceType.Weld
  388. o27.BottomSurface = Enum.SurfaceType.Weld
  389. o27.FrontSurface = Enum.SurfaceType.Weld
  390. o27.LeftSurface = Enum.SurfaceType.Weld
  391. o27.RightSurface = Enum.SurfaceType.Weld
  392. o27.TopSurface = Enum.SurfaceType.Weld
  393. o27.Position = Vector3.new(3.5, 7.80768633, 13.5)
  394. o28.Parent = o27
  395. o28.Scale = Vector3.new(1, 2, 1)
  396. o29.Parent = o5
  397. o29.Position = Vector3.new(8.5, 7.00768709, 13.5)
  398. o29.Rotation = Vector3.new(0, 90, 0)
  399. o29.Locked = true
  400. o29.Size = Vector3.new(5, 3.60000014, 1)
  401. o29.CFrame = CFrame.new(8.5, 7.00768709, 13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  402. o29.BackSurface = Enum.SurfaceType.Weld
  403. o29.BottomSurface = Enum.SurfaceType.Weld
  404. o29.FrontSurface = Enum.SurfaceType.Weld
  405. o29.LeftSurface = Enum.SurfaceType.Weld
  406. o29.RightSurface = Enum.SurfaceType.Weld
  407. o29.TopSurface = Enum.SurfaceType.Weld
  408. o29.Position = Vector3.new(8.5, 7.00768709, 13.5)
  409. o30.Parent = o29
  410. o30.MeshType = Enum.MeshType.Torso
  411. o31.Name = "Smooth Block Model"
  412. o31.Parent = o5
  413. o31.Position = Vector3.new(3.5, 6.90768862, 15.5999975)
  414. o31.Rotation = Vector3.new(-90, 90, 0)
  415. o31.Locked = true
  416. o31.FormFactor = Enum.FormFactor.Plate
  417. o31.Size = Vector3.new(1, 1.20000005, 1)
  418. o31.CFrame = CFrame.new(3.5, 6.90768862, 15.5999975, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  419. o31.BackSurface = Enum.SurfaceType.Weld
  420. o31.BottomSurface = Enum.SurfaceType.Weld
  421. o31.FrontSurface = Enum.SurfaceType.Weld
  422. o31.LeftSurface = Enum.SurfaceType.Weld
  423. o31.RightSurface = Enum.SurfaceType.Weld
  424. o31.TopSurface = Enum.SurfaceType.Weld
  425. o31.Position = Vector3.new(3.5, 6.90768862, 15.5999975)
  426. o32.Parent = o31
  427. o32.Scale = Vector3.new(1, 3, 1)
  428. o33.Name = "Gun"
  429. o33.Parent = o5
  430. o33.BrickColor = BrickColor.new("Really black")
  431. o33.Position = Vector3.new(3.5, 6.90768862, 16.6999969)
  432. o33.Rotation = Vector3.new(-90, 0, -180)
  433. o33.Locked = true
  434. o33.Elasticity = 0
  435. o33.FormFactor = Enum.FormFactor.Symmetric
  436. o33.Size = Vector3.new(1, 1, 1)
  437. o33.CFrame = CFrame.new(3.5, 6.90768862, 16.6999969, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  438. o33.BackSurface = Enum.SurfaceType.Weld
  439. o33.BottomSurface = Enum.SurfaceType.Weld
  440. o33.FrontSurface = Enum.SurfaceType.Weld
  441. o33.LeftSurface = Enum.SurfaceType.Weld
  442. o33.RightSurface = Enum.SurfaceType.Weld
  443. o33.TopSurface = Enum.SurfaceType.Weld
  444. o33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  445. o33.Position = Vector3.new(3.5, 6.90768862, 16.6999969)
  446. o34.Parent = o33
  447. o34.Scale = Vector3.new(1.20000005, 1, 1.20000005)
  448. o35.Name = "Gun"
  449. o35.Parent = o5
  450. o35.BrickColor = BrickColor.new("Really black")
  451. o35.Position = Vector3.new(10.5, 6.90768862, 16.6999989)
  452. o35.Rotation = Vector3.new(-90, 0, -180)
  453. o35.Locked = true
  454. o35.Elasticity = 0
  455. o35.FormFactor = Enum.FormFactor.Symmetric
  456. o35.Size = Vector3.new(1, 1, 1)
  457. o35.CFrame = CFrame.new(10.5, 6.90768862, 16.6999989, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  458. o35.BackSurface = Enum.SurfaceType.Weld
  459. o35.BottomSurface = Enum.SurfaceType.Weld
  460. o35.FrontSurface = Enum.SurfaceType.Weld
  461. o35.LeftSurface = Enum.SurfaceType.Weld
  462. o35.RightSurface = Enum.SurfaceType.Weld
  463. o35.TopSurface = Enum.SurfaceType.Weld
  464. o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  465. o35.Position = Vector3.new(10.5, 6.90768862, 16.6999989)
  466. o36.Parent = o35
  467. o36.Scale = Vector3.new(1.20000005, 1, 1.20000005)
  468. o37.Name = "Smooth Block Model"
  469. o37.Parent = o5
  470. o37.Position = Vector3.new(10.5, 6.90768862, 15.6000004)
  471. o37.Rotation = Vector3.new(-90, 90, 0)
  472. o37.Locked = true
  473. o37.FormFactor = Enum.FormFactor.Plate
  474. o37.Size = Vector3.new(1, 1.20000005, 1)
  475. o37.CFrame = CFrame.new(10.5, 6.90768862, 15.6000004, -0, 0, 1, -1, 0, 0, 0, -1, 0)
  476. o37.BackSurface = Enum.SurfaceType.Weld
  477. o37.BottomSurface = Enum.SurfaceType.Weld
  478. o37.FrontSurface = Enum.SurfaceType.Weld
  479. o37.LeftSurface = Enum.SurfaceType.Weld
  480. o37.RightSurface = Enum.SurfaceType.Weld
  481. o37.TopSurface = Enum.SurfaceType.Weld
  482. o37.Position = Vector3.new(10.5, 6.90768862, 15.6000004)
  483. o38.Parent = o37
  484. o38.Scale = Vector3.new(1, 3, 1)
  485. o39.Parent = o5
  486. o39.BrickColor = BrickColor.new("Dark stone grey")
  487. o39.Position = Vector3.new(10.5, 6.90768862, 13.7999992)
  488. o39.Rotation = Vector3.new(-90, -90, 0)
  489. o39.Locked = true
  490. o39.Size = Vector3.new(1, 2.4000001, 1)
  491. o39.CFrame = CFrame.new(10.5, 6.90768862, 13.7999992, 0, 0, -1, 1, 0, -0, 0, -1, 0)
  492. o39.BackSurface = Enum.SurfaceType.Weld
  493. o39.BottomSurface = Enum.SurfaceType.Weld
  494. o39.FrontSurface = Enum.SurfaceType.Weld
  495. o39.LeftSurface = Enum.SurfaceType.Weld
  496. o39.RightSurface = Enum.SurfaceType.Weld
  497. o39.TopSurface = Enum.SurfaceType.Weld
  498. o39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  499. o39.Position = Vector3.new(10.5, 6.90768862, 13.7999992)
  500. o40.Parent = o39
  501. o40.MeshType = Enum.MeshType.Torso
  502. o41.Name = "Smooth Block Model"
  503. o41.Parent = o5
  504. o41.Position = Vector3.new(10.5, 7.80768633, 13.5)
  505. o41.Rotation = Vector3.new(0, 90, 0)
  506. o41.Locked = true
  507. o41.FormFactor = Enum.FormFactor.Plate
  508. o41.Size = Vector3.new(1, 0.800000012, 1)
  509. o41.CFrame = CFrame.new(10.5, 7.80768633, 13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  510. o41.BackSurface = Enum.SurfaceType.Weld
  511. o41.BottomSurface = Enum.SurfaceType.Weld
  512. o41.FrontSurface = Enum.SurfaceType.Weld
  513. o41.LeftSurface = Enum.SurfaceType.Weld
  514. o41.RightSurface = Enum.SurfaceType.Weld
  515. o41.TopSurface = Enum.SurfaceType.Weld
  516. o41.Position = Vector3.new(10.5, 7.80768633, 13.5)
  517. o42.Parent = o41
  518. o42.Scale = Vector3.new(1, 2, 1)
  519. o43.Parent = o5
  520. o43.BrickColor = BrickColor.new("Light stone grey")
  521. o43.Position = Vector3.new(7, 4.50768614, 13)
  522. o43.Rotation = Vector3.new(-180, 0, -180)
  523. o43.Locked = true
  524. o43.Size = Vector3.new(2, 1, 2)
  525. o43.CFrame = CFrame.new(7, 4.50768614, 13, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  526. o43.BackSurface = Enum.SurfaceType.Weld
  527. o43.BottomSurface = Enum.SurfaceType.Weld
  528. o43.FrontSurface = Enum.SurfaceType.Weld
  529. o43.LeftSurface = Enum.SurfaceType.Weld
  530. o43.RightSurface = Enum.SurfaceType.Weld
  531. o43.TopSurface = Enum.SurfaceType.Weld
  532. o43.MaxSpeed = 10
  533. o43.Torque = 1
  534. o43.Color = Color3.new(0.898039, 0.894118, 0.87451)
  535. o43.Position = Vector3.new(7, 4.50768614, 13)
  536. o44.Parent = o5
  537. o44.Position = Vector3.new(10, 4.60768461, 13.5)
  538. o44.Rotation = Vector3.new(0, 90, 0)
  539. o44.Locked = true
  540. o44.Size = Vector3.new(7, 1.20000005, 2)
  541. o44.CFrame = CFrame.new(10, 4.60768461, 13.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  542. o44.BackSurface = Enum.SurfaceType.Weld
  543. o44.BottomSurface = Enum.SurfaceType.Smooth
  544. o44.FrontSurface = Enum.SurfaceType.Weld
  545. o44.LeftSurface = Enum.SurfaceType.Weld
  546. o44.RightSurface = Enum.SurfaceType.Weld
  547. o44.TopSurface = Enum.SurfaceType.Weld
  548. o44.Position = Vector3.new(10, 4.60768461, 13.5)
  549. o45.Parent = o44
  550. o45.Scale = Vector3.new(1, 2, 1.10000002)
  551. o45.MeshType = Enum.MeshType.Torso
  552. o46.Parent = o5
  553. o46.Position = Vector3.new(5.5, 4.60768461, 13.5)
  554. o46.Locked = true
  555. o46.Size = Vector3.new(1, 1.20000005, 5)
  556. o46.CFrame = CFrame.new(5.5, 4.60768461, 13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  557. o46.BackSurface = Enum.SurfaceType.Weld
  558. o46.BottomSurface = Enum.SurfaceType.Weld
  559. o46.FrontSurface = Enum.SurfaceType.Weld
  560. o46.LeftSurface = Enum.SurfaceType.Weld
  561. o46.RightSurface = Enum.SurfaceType.Weld
  562. o46.TopSurface = Enum.SurfaceType.Weld
  563. o46.Position = Vector3.new(5.5, 4.60768461, 13.5)
  564. o47.Parent = o46
  565. o48.Parent = o5
  566. o48.Position = Vector3.new(4, 4.60768461, 13.5)
  567. o48.Rotation = Vector3.new(0, -90, 0)
  568. o48.Locked = true
  569. o48.Size = Vector3.new(7, 1.20000005, 2)
  570. o48.CFrame = CFrame.new(4, 4.60768461, 13.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  571. o48.BackSurface = Enum.SurfaceType.Weld
  572. o48.BottomSurface = Enum.SurfaceType.Smooth
  573. o48.FrontSurface = Enum.SurfaceType.Weld
  574. o48.LeftSurface = Enum.SurfaceType.Weld
  575. o48.RightSurface = Enum.SurfaceType.Weld
  576. o48.TopSurface = Enum.SurfaceType.Weld
  577. o48.Position = Vector3.new(4, 4.60768461, 13.5)
  578. o49.Parent = o48
  579. o49.Scale = Vector3.new(1, 2, 1.10000002)
  580. o49.MeshType = Enum.MeshType.Torso
  581. o50.Parent = o5
  582. o50.Position = Vector3.new(8.5, 4.60768461, 13.5)
  583. o50.Locked = true
  584. o50.Size = Vector3.new(1, 1.20000005, 5)
  585. o50.CFrame = CFrame.new(8.5, 4.60768461, 13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  586. o50.BackSurface = Enum.SurfaceType.Weld
  587. o50.BottomSurface = Enum.SurfaceType.Weld
  588. o50.FrontSurface = Enum.SurfaceType.Weld
  589. o50.LeftSurface = Enum.SurfaceType.Weld
  590. o50.RightSurface = Enum.SurfaceType.Weld
  591. o50.TopSurface = Enum.SurfaceType.Weld
  592. o50.Position = Vector3.new(8.5, 4.60768461, 13.5)
  593. o51.Parent = o50
  594. o52.Parent = o5
  595. o52.BrickColor = BrickColor.new("Dark stone grey")
  596. o52.Position = Vector3.new(7, 4.60768461, 11.5)
  597. o52.Locked = true
  598. o52.Size = Vector3.new(2, 1.20000005, 1)
  599. o52.CFrame = CFrame.new(7, 4.60768461, 11.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  600. o52.BackSurface = Enum.SurfaceType.Weld
  601. o52.BottomSurface = Enum.SurfaceType.Weld
  602. o52.FrontSurface = Enum.SurfaceType.Weld
  603. o52.LeftSurface = Enum.SurfaceType.Weld
  604. o52.RightSurface = Enum.SurfaceType.Weld
  605. o52.TopSurface = Enum.SurfaceType.Weld
  606. o52.Color = Color3.new(0.388235, 0.372549, 0.384314)
  607. o52.Position = Vector3.new(7, 4.60768461, 11.5)
  608. o53.Parent = o52
  609. o54.Parent = o5
  610. o54.BrickColor = BrickColor.new("Dark stone grey")
  611. o54.Position = Vector3.new(7, 3.40768766, 13.5)
  612. o54.Rotation = Vector3.new(180, 90, 0)
  613. o54.Locked = true
  614. o54.Size = Vector3.new(5, 1.20000005, 4)
  615. o54.CFrame = CFrame.new(7, 3.40768766, 13.5, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  616. o54.BottomSurface = Enum.SurfaceType.Weld
  617. o54.TopSurface = Enum.SurfaceType.Weld
  618. o54.Color = Color3.new(0.388235, 0.372549, 0.384314)
  619. o54.Position = Vector3.new(7, 3.40768766, 13.5)
  620. o55.Parent = o54
  621. o55.MeshType = Enum.MeshType.Torso
  622. o56.Parent = o5
  623. o56.BrickColor = BrickColor.new("Really black")
  624. o56.Position = Vector3.new(3.9967041, 3.00201607, 14.9719543)
  625. o56.Rotation = Vector3.new(-89.8600006, 0.0199999996, 179.970001)
  626. o56.Locked = true
  627. o56.FormFactor = Enum.FormFactor.Symmetric
  628. o56.Shape = Enum.PartType.Cylinder
  629. o56.Size = Vector3.new(2, 2, 2)
  630. o56.CFrame = CFrame.new(3.9967041, 3.00201607, 14.9719543, -0.999999821, -0.000599359802, 0.000287420582, 0.000288863317, -0.0024084649, 0.99999702, -0.00059866556, 0.99999702, 0.0024086379)
  631. o56.BottomSurface = Enum.SurfaceType.Smooth
  632. o56.LeftSurface = Enum.SurfaceType.Hinge
  633. o56.TopSurface = Enum.SurfaceType.Smooth
  634. o56.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  635. o56.Position = Vector3.new(3.9967041, 3.00201607, 14.9719543)
  636. o57.Parent = o5
  637. o57.BrickColor = BrickColor.new("Really black")
  638. o57.Position = Vector3.new(9.9967041, 3.0002861, 14.9755402)
  639. o57.Rotation = Vector3.new(90.1399994, -0.0199999996, 0.0299999993)
  640. o57.Locked = true
  641. o57.FormFactor = Enum.FormFactor.Symmetric
  642. o57.Shape = Enum.PartType.Cylinder
  643. o57.Size = Vector3.new(2, 2, 2)
  644. o57.CFrame = CFrame.new(9.9967041, 3.0002861, 14.9755402, 0.999999821, -0.000599359802, -0.000287420582, -0.000288863317, -0.0024084649, -0.99999702, 0.00059866556, 0.99999702, -0.0024086379)
  645. o57.BottomSurface = Enum.SurfaceType.Smooth
  646. o57.LeftSurface = Enum.SurfaceType.Hinge
  647. o57.TopSurface = Enum.SurfaceType.Smooth
  648. o57.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  649. o57.Position = Vector3.new(9.9967041, 3.0002861, 14.9755402)
  650. o58.Parent = o5
  651. o58.BrickColor = BrickColor.new("Really black")
  652. o58.Position = Vector3.new(3.99850512, 3.0092411, 11.9719582)
  653. o58.Rotation = Vector3.new(-89.8600006, 0.0199999996, 179.970001)
  654. o58.Locked = true
  655. o58.FormFactor = Enum.FormFactor.Symmetric
  656. o58.Shape = Enum.PartType.Cylinder
  657. o58.Size = Vector3.new(2, 2, 2)
  658. o58.CFrame = CFrame.new(3.99850512, 3.0092411, 11.9719582, -0.999999821, -0.000599359802, 0.000287420582, 0.000288863317, -0.0024084649, 0.99999702, -0.00059866556, 0.99999702, 0.0024086379)
  659. o58.BottomSurface = Enum.SurfaceType.Smooth
  660. o58.LeftSurface = Enum.SurfaceType.Hinge
  661. o58.TopSurface = Enum.SurfaceType.Smooth
  662. o58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  663. o58.Position = Vector3.new(3.99850512, 3.0092411, 11.9719582)
  664. o59.Parent = o5
  665. o59.BrickColor = BrickColor.new("Really black")
  666. o59.Position = Vector3.new(9.99850368, 3.0075109, 11.9755545)
  667. o59.Rotation = Vector3.new(90.1399994, -0.0199999996, 0.0299999993)
  668. o59.Locked = true
  669. o59.FormFactor = Enum.FormFactor.Symmetric
  670. o59.Shape = Enum.PartType.Cylinder
  671. o59.Size = Vector3.new(2, 2, 2)
  672. o59.CFrame = CFrame.new(9.99850368, 3.0075109, 11.9755545, 0.999999821, -0.000599359802, -0.000287420582, -0.000288863317, -0.0024084649, -0.99999702, 0.00059866556, 0.99999702, -0.0024086379)
  673. o59.BottomSurface = Enum.SurfaceType.Smooth
  674. o59.LeftSurface = Enum.SurfaceType.Hinge
  675. o59.TopSurface = Enum.SurfaceType.Smooth
  676. o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  677. o59.Position = Vector3.new(9.99850368, 3.0075109, 11.9755545)
  678. o60.Parent = o4
  679. o62.Parent = mas
  680.  
  681. runDummyScript(function()
  682. function touch(hit)
  683. if hit.Parent:findFirstChild("Humanoid")~=nil then
  684. hit.Parent:findFirstChild("Humanoid").Health=0
  685. end
  686. end
  687. script.Parent.touched:connect(touch)
  688. end,o62)
  689.  
  690. o63.Parent = o4
  691. o65.Parent = mas
  692.  
  693. runDummyScript(function()
  694. function touch(hit)
  695. if hit.Parent:findFirstChild("Humanoid")~=nil then
  696. hit.Parent:findFirstChild("Humanoid").Health=0
  697. end
  698. end
  699. script.Parent.touched:connect(touch)
  700. end,o65)
  701.  
  702. mas.Parent = workspace
  703. mas:MakeJoints()
  704. local mas1 = mas:GetChildren()
  705. for i=1,#mas1 do
  706. mas1[i].Parent = script
  707. ypcall(function() mas1[i]:MakeJoints() end)
  708. end
  709. mas:Destroy()
  710. for i=1,#cors do
  711. coroutine.resume(cors[i])
  712. end
  713. mess_handle.Text = "Resetting"
  714. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  715. v:LoadCharacter()
  716. end
  717. wait(1)
  718. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement