Advertisement
cat568

Untitled

Jan 12th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.98 KB | None | 0 0
  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. Script1 = Instance.new("Script")
  21. Sound2 = Instance.new("Sound")
  22. Sound3 = Instance.new("Sound")
  23. Sound4 = Instance.new("Sound")
  24. Sound5 = Instance.new("Sound")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. Sound8 = Instance.new("Sound")
  28. Sound9 = Instance.new("Sound")
  29. Sound10 = Instance.new("Sound")
  30. Sound11 = Instance.new("Sound")
  31. Sound12 = Instance.new("Sound")
  32. Script13 = Instance.new("Script")
  33. Script14 = Instance.new("Script")
  34. Script15 = Instance.new("Script")
  35. Sound16 = Instance.new("Sound")
  36. Script17 = Instance.new("Script")
  37. Sound18 = Instance.new("Sound")
  38. Script19 = Instance.new("Script")
  39. Sound20 = Instance.new("Sound")
  40. Script21 = Instance.new("Script")
  41. Script22 = Instance.new("Script")
  42. Script23 = Instance.new("Script")
  43. Sound24 = Instance.new("Sound")
  44. Sound25 = Instance.new("Sound")
  45. Sound26 = Instance.new("Sound")
  46. Sound27 = Instance.new("Sound")
  47. Sound28 = Instance.new("Sound")
  48. Sound29 = Instance.new("Sound")
  49. Sound30 = Instance.new("Sound")
  50. Sound31 = Instance.new("Sound")
  51. Sound32 = Instance.new("Sound")
  52. Script33 = Instance.new("Script")
  53. Sound34 = Instance.new("Sound")
  54. Sound35 = Instance.new("Sound")
  55. Script36 = Instance.new("Script")
  56. Script37 = Instance.new("Script")
  57. Sound38 = Instance.new("Sound")
  58. Sound39 = Instance.new("Sound")
  59. Sound40 = Instance.new("Sound")
  60. Script41 = Instance.new("Script")
  61. Model42 = Instance.new("Model")
  62. Humanoid43 = Instance.new("Humanoid")
  63. Part44 = Instance.new("Part")
  64. CylinderMesh45 = Instance.new("CylinderMesh")
  65. Snap46 = Instance.new("Snap")
  66. Part47 = Instance.new("Part")
  67. CylinderMesh48 = Instance.new("CylinderMesh")
  68. Script49 = Instance.new("Script")
  69. ClickDetector50 = Instance.new("ClickDetector")
  70. Model0.Name = "Robux Trap"
  71. Model0.Parent = mas
  72. Script1.Name = "Gate"
  73. Script1.Parent = Model0
  74. table.insert(cors,sandbox(Script1,function()
  75. local g = Instance.new("Hint",Workspace)
  76. g.Text = "Warning! The self destruct sequence has been activated!"
  77. wait(2)
  78. g:Destroy()
  79. script.Serverlite.Disabled = false
  80. script.ReverseAlarm.Disabled = false
  81. --script.warn1:Play()
  82. --wait(19)
  83. script.music:Play()
  84. wait(9)
  85. script.music6:Play()
  86. local msg = Instance.new("Message")
  87. msg.Parent = game.Workspace
  88. msg.Name = 'HelloBrick'
  89. msg.Text = "Warning: Selfdestructsystem initiated"
  90. wait(4)
  91. msg.Text = "Have a nice day"
  92. wait(3.2)
  93. script.music6:Stop()
  94. game.Workspace.HelloBrick:remove()
  95. wait(1)
  96. script.Countdown.Disabled = false
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. end))
  108. Script1.Disabled = true
  109. Sound2.Name = "music"
  110. Sound2.Parent = Script1
  111. Sound2.EmitterSize = 0
  112. Sound2.MinDistance = 0
  113. Sound2.SoundId = "http://www.roblox.com/asset/?id=130894143"
  114. Sound2.Volume = 1
  115. Sound3.Name = "music1"
  116. Sound3.Parent = Script1
  117. Sound3.EmitterSize = 0
  118. Sound3.MinDistance = 0
  119. Sound3.SoundId = "http://www.roblox.com/asset/?id=130894379"
  120. Sound3.Volume = 1
  121. Sound4.Name = "music2"
  122. Sound4.Parent = Script1
  123. Sound4.EmitterSize = 0
  124. Sound4.MinDistance = 0
  125. Sound4.SoundId = "http://www.roblox.com/asset/?id=130886114"
  126. Sound4.Volume = 1
  127. Sound5.Name = "music3"
  128. Sound5.Parent = Script1
  129. Sound5.EmitterSize = 0
  130. Sound5.MinDistance = 0
  131. Sound5.SoundId = "http://www.roblox.com/asset/?id=130886089"
  132. Sound5.Volume = 1
  133. Sound6.Name = "music4"
  134. Sound6.Parent = Script1
  135. Sound6.EmitterSize = 0
  136. Sound6.MinDistance = 0
  137. Sound6.SoundId = "http://www.roblox.com/asset/?id=130894483"
  138. Sound6.Volume = 1
  139. Sound7.Name = "music5"
  140. Sound7.Parent = Script1
  141. Sound7.EmitterSize = 0
  142. Sound7.MinDistance = 0
  143. Sound7.SoundId = "http://www.roblox.com/asset/?id=130895130"
  144. Sound7.Volume = 1
  145. Sound8.Name = "music6"
  146. Sound8.Parent = Script1
  147. Sound8.Looped = true
  148. Sound8.EmitterSize = 0
  149. Sound8.MinDistance = 0
  150. Sound8.SoundId = "rbxassetid://240040664"
  151. Sound8.Volume = 1
  152. Sound9.Name = "music7"
  153. Sound9.Parent = Script1
  154. Sound9.Looped = true
  155. Sound9.EmitterSize = 0
  156. Sound9.MinDistance = 0
  157. Sound9.SoundId = "http://www.roblox.com/asset/?id=141279377"
  158. Sound9.Volume = 1
  159. Sound10.Name = "firesound"
  160. Sound10.Parent = Script1
  161. Sound10.Looped = true
  162. Sound10.EmitterSize = 0
  163. Sound10.MinDistance = 0
  164. Sound10.SoundId = "http://www.roblox.com/asset/?id=31760113"
  165. Sound10.Volume = 0.10000000149012
  166. Sound11.Name = "explosiondistant"
  167. Sound11.Parent = Script1
  168. Sound11.EmitterSize = 0
  169. Sound11.MinDistance = 0
  170. Sound11.Pitch = 0.20000000298023
  171. Sound11.PlaybackSpeed = 0.20000000298023
  172. Sound11.SoundId = "http://roblox.com/asset/?id=10209859"
  173. Sound11.Volume = 1
  174. Sound12.Name = "explosionbang"
  175. Sound12.Parent = Script1
  176. Sound12.EmitterSize = 0
  177. Sound12.MinDistance = 0
  178. Sound12.PlayOnRemove = true
  179. Sound12.SoundId = "http://www.roblox.com/asset/?id=2248511"
  180. Sound12.Volume = 0.30000001192093
  181. Script13.Name = "Countdown"
  182. Script13.Parent = Script1
  183. table.insert(cors,sandbox(Script13,function()
  184. Countdown = 300
  185. script.Parent.Alarmy:play()
  186. script.Parent.Epic:Play()
  187.  
  188.  
  189.  
  190. Count = Countdown
  191. local m = Instance.new("Hint", game.Workspace)
  192. while true do
  193. if Countdown == 9.99 then
  194. Countdown = Count
  195. else
  196. wait(0.1)
  197. m.Text = "T-"..Countdown.." intill your doomed and cant escape because some retard set it off."
  198.  
  199. Countdown = Countdown - 1
  200.  
  201.  
  202.  
  203. if m.Text == "T-0 intill your doomed and cant escape because some retard set it off." then
  204. m:remove()
  205. script.Parent.Voice.Disabled = false
  206. script.Parent.Explosion01:Play()
  207. script.Parent.Alarmy:stop()
  208.  
  209.  
  210.  
  211. end
  212. end
  213. end
  214.  
  215.  
  216.  
  217. end))
  218. Script13.Disabled = true
  219. Script14.Name = "Voice"
  220. Script14.Parent = Script1
  221. table.insert(cors,sandbox(Script14,function()
  222. wait(1)
  223. script.about2die.Disabled = false
  224. --script.Parent.Soon2Die:stop()
  225. script.OMGYES:Play()
  226. --script.Parent.TenToZero:Play()
  227. --script.Parent.Tsunami:Play()
  228. script.Parent.Epic:stop()
  229. script.Parent.Music1338:stop()
  230. wait(14.5)
  231. game.Workspace.ABOUT2DIE:Destroy()
  232. script.about2die.Disabled = true
  233.  
  234. --wait(13)
  235.  
  236.  
  237. --game.Lighting.Ambient=Color3.new(255,0,0)
  238. --script.Parent.Explosion02:Play()
  239. script.Parent.MUCHBIG:Play()
  240. --script.Parent.End:Play()
  241. --wait(3)
  242.  
  243. --script.Parent.explosion:Play()
  244.  
  245. --script.Parent.explosionbang:Play()
  246. --script.Parent.explosiondistant:Play()
  247. --script.Parent.firesound:Play()
  248.  
  249.  
  250.  
  251. --wait(10)
  252. --script.Parent.Explosion01:Play()
  253. --wait(5)
  254. --script.Parent.Explosion03:Play()
  255. --wait(2)
  256. game.Workspace.Nuke.Blast.Disabled = false
  257. game.Workspace.Nuke.Main.Script3.Disabled = false
  258. game.Workspace.Nuke.Main.Script4.Disabled = false
  259. game.Workspace.Nuke.Main.Transparency = 0.7
  260. --game.Workspace.Nuke.Glow.Transparency = 0
  261.  
  262. wait(2)
  263. script.NOOO.Play()
  264. --wait(10)
  265. script.Parent.CountMusic:stop()
  266.  
  267. wait(30)
  268. script.Parent.Die:play()
  269. wait(20)
  270.  
  271. local m = Instance.new("Hint", game.Workspace)
  272. m.Text = "Sever Terrain Ruined, Reseting... Please Wait.."
  273. wait(10)
  274. m.Text = "Sever Reseted. Game Is Shutdown. ~Rejoin City Builders~"
  275.  
  276. for _,v in pairs(game.Players:GetPlayers()) do
  277. v:Remove()
  278. end
  279.  
  280.  
  281.  
  282.  
  283. end))
  284. Script14.Disabled = true
  285. Script15.Name = "Detonate"
  286. Script15.Parent = Script14
  287. table.insert(cors,sandbox(Script15,function()
  288.  
  289.  
  290.  
  291.  
  292. local m = Instance.new("Hint", game.Workspace)
  293.  
  294.  
  295.  
  296. m.Text = "! 10 !"
  297. wait(1)
  298.  
  299. m.Text = " 9 "
  300. wait(1)
  301.  
  302. m.Text = "! 8 !"
  303. wait(1)
  304.  
  305. m.Text = " 7 "
  306. wait(1)
  307. m.Text = "! 6 !"
  308. wait(1)
  309. m.Text = " 5 "
  310. wait(1)
  311. m.Text = "! 4 !"
  312. wait(1)
  313. m.Text = " 3 "
  314. wait(1)
  315. m.Text = "! 2 !"
  316. wait(1)
  317. m.Text = " 1 "
  318. wait(1)
  319. m.Text = "! DESTROY !"
  320. wait(1.6)
  321. m:remove()
  322.  
  323.  
  324.  
  325. end))
  326. Script15.Disabled = true
  327. Sound16.Name = "OMGYES"
  328. Sound16.Parent = Script14
  329. Sound16.EmitterSize = 0
  330. Sound16.MinDistance = 0
  331. Sound16.Pitch = 1.2000000476837
  332. Sound16.PlaybackSpeed = 1.2000000476837
  333. Sound16.SoundId = "rbxassetid://474619470"
  334. Sound16.Volume = 10
  335. Script17.Name = "about2die"
  336. Script17.Parent = Script14
  337. table.insert(cors,sandbox(Script17,function()
  338.  
  339.  
  340.  
  341.  
  342. local die = Instance.new("Hint", game.Workspace)
  343. die.Name = "ABOUT2DIE"
  344.  
  345. while true do
  346.  
  347. die.Text = "! ABOUT2DIE !"
  348. wait(0.1)
  349. die.Text = "!! ABOUT2DIE !!"
  350. wait(0.1)
  351. die.Text = "!!! ABOUT2DIE !!!"
  352. wait(0.1)
  353. die.Text = "!!!! ABOUT2DIE !!!!"
  354. wait(0.1)
  355. die.Text = "!!!!! ABOUT2DIE !!!!!"
  356. wait(0.1)
  357. die.Text = "!!!! ABOUT2DIE !!!!"
  358. wait(0.1)
  359. die.Text = "!!! ABOUT2DIE !!!"
  360. wait(0.1)
  361. die.Text = "!! ABOUT2DIE !!"
  362. wait(0.1)
  363. die.Text = "! ABOUT2DIE !"
  364. wait(0.1)
  365.  
  366. end
  367.  
  368.  
  369.  
  370.  
  371. end))
  372. Script17.Disabled = true
  373. Sound18.Name = "NOOO"
  374. Sound18.Parent = Script14
  375. Sound18.EmitterSize = 0
  376. Sound18.MinDistance = 0
  377. Sound18.SoundId = "http://www.roblox.com/asset/?id=133507013"
  378. Sound18.Volume = 1
  379. Script19.Name = "Start"
  380. Script19.Parent = Script1
  381. table.insert(cors,sandbox(Script19,function()
  382. while true do
  383. wait(5)
  384. if game.Workspace.Temp.Current.Value > 1300 then
  385.  
  386. game.Workspace.Gate.Disabled = false
  387. end
  388. end
  389.  
  390.  
  391. end))
  392. Sound20.Name = "Alarmy"
  393. Sound20.Parent = Script1
  394. Sound20.Looped = true
  395. Sound20.EmitterSize = 0
  396. Sound20.MinDistance = 0
  397. Sound20.SoundId = "http://www.roblox.com/asset/?id=135587922"
  398. Sound20.Volume = 0.10000000149012
  399. Script21.Name = "ReverseAlarm"
  400. Script21.Parent = Script1
  401. table.insert(cors,sandbox(Script21,function()
  402. while true do
  403. wait(1)
  404. local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
  405. for i,WarningLight in pairs(WarningLights)do
  406.  
  407. WarningLight.Toggle.Value = true
  408.  
  409.  
  410. end
  411.  
  412. end
  413.  
  414.  
  415.  
  416. end))
  417. Script21.Disabled = true
  418. Script22.Name = "Alarms"
  419. Script22.Parent = Script1
  420. table.insert(cors,sandbox(Script22,function()
  421. while true do
  422. wait(1)
  423. if game.Workspace.Temp.Current.Value > 700 then
  424. local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
  425. for i,WarningLight in pairs(WarningLights)do
  426.  
  427. WarningLight.Toggle.Value = true
  428.  
  429.  
  430. end
  431.  
  432. end
  433. end
  434.  
  435.  
  436. end))
  437. Script23.Name = "Shake2"
  438. Script23.Parent = Script1
  439. table.insert(cors,sandbox(Script23,function()
  440. local childList = { }
  441.  
  442. function checkObject(obj)
  443. if (obj.className == "Part") then
  444. if (obj.Locked == false) then
  445. table.insert(childList, 1, obj)
  446. end
  447. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  448. local child = obj:GetChildren()
  449. for x = 1, #child do
  450. checkObject(child[x])
  451. end
  452. obj.ChildAdded:connect(checkObject)
  453. end
  454. end
  455.  
  456. checkObject(game.Workspace)
  457.  
  458. local n = 0
  459.  
  460. while true do
  461. wait(.001)
  462. if n < #childList then
  463. n = n + 1
  464. if n % 800 == 0 then
  465. wait()
  466. end
  467. else
  468. n = 1
  469. wait()
  470. end
  471. local p = math.random(n)
  472. local child = childList[p]
  473.  
  474. child.Anchored = false
  475. child:BreakJoints()
  476. table.remove(childList, p)
  477. end
  478.  
  479. end))
  480. Script23.Disabled = true
  481. Sound24.Name = "MUCHBIG"
  482. Sound24.Parent = Script1
  483. Sound24.EmitterSize = 0
  484. Sound24.MinDistance = 0
  485. Sound24.PlayOnRemove = true
  486. Sound24.SoundId = "http://www.roblox.com/asset/?id=NOPE"
  487. Sound24.Volume = 1
  488. Sound25.Name = "TenToZero"
  489. Sound25.Parent = Script1
  490. Sound25.EmitterSize = 0
  491. Sound25.MinDistance = 0
  492. Sound25.SoundId = "http://www.roblox.com/asset/?id=131018898"
  493. Sound25.Volume = 1
  494. Sound26.Name = "Explosion01"
  495. Sound26.Parent = Script1
  496. Sound26.EmitterSize = 0
  497. Sound26.MinDistance = 0
  498. Sound26.SoundId = "http://www.roblox.com/asset/?id=138210320"
  499. Sound26.Volume = 1
  500. Sound27.Name = "Explosion02"
  501. Sound27.Parent = Script1
  502. Sound27.EmitterSize = 0
  503. Sound27.MinDistance = 0
  504. Sound27.SoundId = "http://www.roblox.com/asset/?id=138104921"
  505. Sound27.Volume = 1
  506. Sound28.Name = "Explosion03"
  507. Sound28.Parent = Script1
  508. Sound28.EmitterSize = 0
  509. Sound28.MinDistance = 0
  510. Sound28.SoundId = "http://www.roblox.com/asset/?id=133680244"
  511. Sound28.Volume = 1
  512. Sound29.Name = "CountMusic"
  513. Sound29.Parent = Script1
  514. Sound29.Looped = true
  515. Sound29.EmitterSize = 0
  516. Sound29.MinDistance = 0
  517. Sound29.SoundId = "http://www.roblox.com/asset/?id=134002644"
  518. Sound29.Volume = 0.30000001192093
  519. Sound30.Name = "Die"
  520. Sound30.Parent = Script1
  521. Sound30.EmitterSize = 0
  522. Sound30.MinDistance = 0
  523. Sound30.Pitch = 1.2000000476837
  524. Sound30.PlaybackSpeed = 1.2000000476837
  525. Sound30.SoundId = "http://www.roblox.com/asset/?id=142288053"
  526. Sound30.Volume = 10
  527. Sound31.Name = "Spy"
  528. Sound31.Parent = Script1
  529. Sound31.EmitterSize = 0
  530. Sound31.MinDistance = 0
  531. Sound31.SoundId = "http://www.roblox.com/asset/?id=144107944"
  532. Sound31.Volume = 1
  533. Sound32.Name = "Music1337"
  534. Sound32.Parent = Script1
  535. Sound32.Looped = true
  536. Sound32.EmitterSize = 0
  537. Sound32.MinDistance = 0
  538. Sound32.SoundId = "http://www.roblox.com/asset/?id=142402582"
  539. Sound32.Volume = 1
  540. Script33.Name = "Serverlite"
  541. Script33.Parent = Script1
  542. table.insert(cors,sandbox(Script33,function()
  543. local tab = {}
  544. function GetAllDL(ta, p)
  545. for _, d in pairs(p:GetChildren()) do
  546. if d:IsA("SpotLight") or d:IsA("PointLight") then
  547. table.insert(ta,d)
  548. elseif d:IsA("BasePart") or d:IsA("Model") then
  549. GetAllDL(ta,d)
  550. end
  551. end
  552. end
  553.  
  554.  
  555. GetAllDL(tab,Workspace)
  556. wait(2)
  557. for _, g in pairs(tab) do
  558. if g ~= nil then
  559. g.Color = Color3.new(255,0,0)
  560. g.Parent.BrickColor = BrickColor.new("Bright red")
  561. end
  562. end
  563.  
  564.  
  565.  
  566.  
  567.  
  568. end))
  569. Script33.Disabled = true
  570. Sound34.Name = "Music1338"
  571. Sound34.Parent = Script1
  572. Sound34.Looped = true
  573. Sound34.EmitterSize = 0
  574. Sound34.MinDistance = 0
  575. Sound34.SoundId = "http://www.roblox.com/asset/?id=142367679"
  576. Sound34.Volume = 1
  577. Sound35.Name = "End"
  578. Sound35.Parent = Script1
  579. Sound35.EmitterSize = 0
  580. Sound35.MinDistance = 0
  581. Sound35.SoundId = "http://www.roblox.com/asset/?id=143492438"
  582. Sound35.Volume = 1
  583. Script36.Name = "Shake"
  584. Script36.Parent = Script1
  585. table.insert(cors,sandbox(Script36,function()
  586. local childList = { }
  587.  
  588. function checkObject(obj)
  589. if (obj.className == "Part") then
  590. if (obj.Locked == false) then
  591. table.insert(childList, 1, obj)
  592. end
  593. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  594. local child = obj:GetChildren()
  595. for x = 1, #child do
  596. checkObject(child[x])
  597. end
  598. obj.ChildAdded:connect(checkObject)
  599. end
  600. end
  601.  
  602. checkObject(game.Workspace)
  603.  
  604. local n = 0
  605.  
  606. while true do
  607. wait(.1)
  608. if n < #childList then
  609. n = n + 1
  610. if n % 800 == 0 then
  611. wait()
  612. end
  613. else
  614. n = 1
  615. wait()
  616. end
  617. local p = math.random(n)
  618. local child = childList[p]
  619.  
  620. child.Anchored = false
  621. child:BreakJoints()
  622. table.remove(childList, p)
  623. end
  624.  
  625. end))
  626. Script36.Disabled = true
  627. Script37.Name = "Start3"
  628. Script37.Parent = Script1
  629. table.insert(cors,sandbox(Script37,function()
  630. while true do
  631. wait(5)
  632. if game.Workspace.Temp.Current.Value > 1200 then
  633.  
  634. script.Parent.Spy:play()
  635.  
  636. wait(2)
  637. script:remove()
  638. end
  639. end
  640.  
  641.  
  642. end))
  643. Sound38.Name = "Epic"
  644. Sound38.Parent = Script1
  645. Sound38.Looped = true
  646. Sound38.EmitterSize = 0
  647. Sound38.MinDistance = 0
  648. Sound38.SoundId = "rbxassetid://1094536879"
  649. Sound38.Volume = 10
  650. Sound39.Name = "warn2"
  651. Sound39.Parent = Script1
  652. Sound39.EmitterSize = 0
  653. Sound39.MinDistance = 0
  654. Sound39.SoundId = "http://www.roblox.com/asset/?id=132505666"
  655. Sound39.Volume = 0.60000002384186
  656. Sound40.Name = "warn1"
  657. Sound40.Parent = Script1
  658. Sound40.EmitterSize = 0
  659. Sound40.MinDistance = 0
  660. Sound40.SoundId = "http://www.roblox.com/asset/?id=132506361"
  661. Sound40.Volume = 0.60000002384186
  662. Script41.Name = "[IMPORTANT] READ ME"
  663. Script41.Parent = Model0
  664. table.insert(cors,sandbox(Script41,function()
  665. --Thanks for taking my self destruct system!
  666. --Please leave the nuke model in workspace and position it anywhere you want!
  667. --Do NOT clone the Nuke or it will not work. The WarningLight may be cloned anywhere you want.
  668. --Only edit the script if you know what you are doing. The scripts are Gate, and the scripts inside Gate.
  669. --There are some unused sounds you may use. Anyways, thanks for using my self destruct system,
  670. --and have a nice day!
  671. end))
  672. Model42.Name = "Dont Click Me >:c"
  673. Model42.Parent = Model0
  674. Humanoid43.Parent = Model42
  675. Humanoid43.Health = 0
  676. Humanoid43.MaxHealth = 0
  677. Humanoid43.maxHealth = 0
  678. Part44.Parent = Model42
  679. Part44.CFrame = CFrame.new(171.160629, 2.60017991, 81.940361, -1, -2.13036183e-05, -8.53186648e-05, -2.18054993e-05, 1, -4.40008043e-05, 8.73449899e-05, -4.39989853e-05, -1)
  680. Part44.Orientation = Vector3.new(0, -180, 0)
  681. Part44.Position = Vector3.new(171.160629, 2.60017991, 81.940361)
  682. Part44.Rotation = Vector3.new(180, 0, 180)
  683. Part44.Size = Vector3.new(5, 1.20000005, 5)
  684. Part44.Anchored = true
  685. Part44.Reflectance = 0.5
  686. CylinderMesh45.Parent = Part44
  687. Snap46.Parent = Part44
  688. Snap46.C0 = CFrame.new(0, 0.600000024, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  689. Snap46.C1 = CFrame.new(0, -0.600036621, -3.05175781e-05, -1, -5.06341053e-07, -1.26430649e-07, 1.26430649e-07, 0, 1, 5.06341053e-07, 1, 0)
  690. Snap46.Part0 = Part44
  691. Snap46.Part1 = Part47
  692. Snap46.part1 = Part47
  693. Part47.Name = "Head"
  694. Part47.Parent = Model42
  695. Part47.CFrame = CFrame.new(171.160599, 3.80019212, 81.9402771, -1, -2.13036183e-05, -8.53186648e-05, -2.18054993e-05, 1, -4.40008043e-05, 8.73449899e-05, -4.39989853e-05, -1)
  696. Part47.Orientation = Vector3.new(0, -180, 0)
  697. Part47.Position = Vector3.new(171.160599, 3.80019212, 81.9402771)
  698. Part47.Rotation = Vector3.new(180, 0, 180)
  699. Part47.Color = Color3.new(0.121569, 0.501961, 0.113725)
  700. Part47.Size = Vector3.new(5, 1.20000005, 5)
  701. Part47.Anchored = true
  702. Part47.BrickColor = BrickColor.new("Forest green")
  703. Part47.brickColor = BrickColor.new("Forest green")
  704. CylinderMesh48.Parent = Part47
  705. CylinderMesh48.Scale = Vector3.new(0.75, 1, 0.75)
  706. Script49.Parent = Part47
  707. table.insert(cors,sandbox(Script49,function()
  708. function onClicked()
  709. script.Parent.Parent.Parent.Gate.Disabled = false
  710. end
  711.  
  712. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  713.  
  714. end))
  715. ClickDetector50.Parent = Part47
  716. for i,v in pairs(mas:GetChildren()) do
  717. v.Parent = workspace
  718. pcall(function() v:MakeJoints() end)
  719. end
  720. mas:Destroy()
  721. for i,v in pairs(cors) do
  722. spawn(function()
  723. pcall(v)
  724. end)
  725. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement