qsenko1

Falling Parts lol

Jul 26th, 2021
1,057
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Variables
  2. local part = script.Parent.Part1
  3. local part2 = script.Parent.Part2
  4. local part3 = script.Parent.Part3
  5. local part4 = script.Parent.Part4
  6. local part5 = script.Parent.Part5
  7. local part6 = script.Parent.Part6
  8. local part7 = script.Parent.Part7
  9. local part8 = script.Parent.Part8
  10. local part9 = script.Parent.Part9
  11. local part10 = script.Parent.Part10
  12. local part11 = script.Parent.Part11
  13. local part12 = script.Parent.Part12
  14. local part13 = script.Parent.Part13
  15. local part14 = script.Parent.Part14
  16. local part15 = script.Parent.Part15
  17. local part16 = script.Parent.Part16
  18. local part17 = script.Parent.Part17
  19. local part18 = script.Parent.Part18
  20. local part19 = script.Parent.Part19
  21. local part20 = script.Parent.Part20
  22. local part21 = script.Parent.Part21
  23. local part22 = script.Parent.Part22
  24. local part23 = script.Parent.Part23
  25. local part24 = script.Parent.Part24
  26. local part25 = script.Parent.Part25
  27. local part26 = script.Parent.Part26
  28. local part27 = script.Parent.Part27
  29. local part28 = script.Parent.Part28
  30. local part29 = script.Parent.Part29
  31. local part30 = script.Parent.Part30
  32. local part31 = script.Parent.Part31
  33. local part32 = script.Parent.Part32
  34. local part33 = script.Parent.Part33
  35. local part34 = script.Parent.Part34
  36. local part35 = script.Parent.Part35
  37. local part36 = script.Parent.Part36
  38. local part37 = script.Parent.Part37
  39. local part38 = script.Parent.Part38
  40. --Debounces
  41. local debounce = false
  42. local debounce2 = false
  43. local debounce3 = false
  44. local debounce4 = false
  45. local debounce5 = false
  46. local debounce6 = false
  47. local debounce7 = false
  48. local debounce8 = false
  49. local debounce9 = false
  50. local debounce10 = false
  51. local debounce11 = false
  52. local debounce12 = false
  53. local debounce13 = false
  54. local debounce14 = false
  55. local debounce15 = false
  56. local debounce16 = false
  57. local debounce17 = false
  58. local debounce18 = false
  59. local debounce19 = false
  60. local debounce20 = false
  61. local debounce21 = false
  62. local debounce22 = false
  63. local debounce23 = false
  64. local debounce24 = false
  65. local debounce25 = false
  66. local debounce26 = false
  67. local debounce27 = false
  68. local debounce28 = false
  69. local debounce29 = false
  70. local debounce30 = false
  71. local debounce31 = false
  72. local debounce32 = false
  73. local debounce33 = false
  74. local debounce34 = false
  75. local debounce35 = false
  76. local debounce36 = false
  77. local debounce37 = false
  78. local debounce38 = false
  79.  
  80. part.Touched:Connect(function(touched)
  81.     if touched.Parent:FindFirstChild("Humanoid") and debounce == false then
  82.         debounce = true
  83.         local copy = part:Clone()      
  84.         part.Transparency = 1
  85.         part.Texture1.Transparency = 1
  86.         part.Texture2.Transparency = 1
  87.         part.Texture3.Transparency = 1
  88.         part.Texture4.Transparency = 1
  89.         part.CanCollide = false            
  90.         copy.Parent = part.Parent
  91.         copy.Anchored = false      
  92.     --  copy.Material = Enum.Material.ForceField
  93.         --print("im first")
  94.         copy.Color = Color3.new(1, 0, 0)
  95.     --  copy.CFrame = copy.CFrame * CFrame.Angles(math.rad(1),math.rad(40),math.rad(5))
  96.     --  wait(.1)
  97.     --  copy.CFrame = copy.CFrame * CFrame.Angles(math.rad(1),math.rad(-40),math.rad(5))
  98.         wait(1.5)
  99.         copy.CanCollide = false
  100.         --print("im second")
  101.         copy:Destroy() 
  102.         part.Texture1.Transparency = 0
  103.         part.Texture2.Transparency = 0
  104.         part.Texture3.Transparency = 0
  105.         part.Texture4.Transparency = 0
  106.         part.Transparency = 0
  107.         part.CanCollide = true
  108.         debounce = false               
  109.     end
  110. end)
  111.  
  112. part2.Touched:Connect(function(touched2)
  113.     if touched2.Parent:FindFirstChild("Humanoid") and debounce2 == false then
  114.         debounce2 = true   
  115.         local copy = part2:Clone()     
  116.         part2.Transparency = 1
  117.         part2.Texture1.Transparency = 1
  118.         part2.Texture2.Transparency = 1
  119.         part2.Texture3.Transparency = 1
  120.         part2.Texture4.Transparency = 1
  121.         part2.CanCollide = false               
  122.         copy.Parent = part2.Parent
  123.         copy.Anchored = false      
  124.         --print("im first")
  125.         copy.Color = Color3.new(1, 0, 0)
  126.         wait(1.5)
  127.         copy.CanCollide = false
  128.         --print("im second")
  129.         copy:Destroy() 
  130.         part2.Texture1.Transparency = 0
  131.         part2.Texture2.Transparency = 0
  132.         part2.Texture3.Transparency = 0
  133.         part2.Texture4.Transparency = 0
  134.         part2.Transparency = 0
  135.         part2.CanCollide = true
  136.         debounce2 = false              
  137.     end
  138. end)
  139.  
  140. part3.Touched:Connect(function(touched3)
  141.     if touched3.Parent:FindFirstChild("Humanoid") and debounce3 == false then
  142.         debounce3 = true   
  143.         local copy = part3:Clone()     
  144.         part3.Transparency = 1
  145.         part3.Texture1.Transparency = 1
  146.         part3.Texture2.Transparency = 1
  147.         part3.Texture3.Transparency = 1
  148.         part3.Texture4.Transparency = 1
  149.         part3.CanCollide = false               
  150.         copy.Parent = part3.Parent
  151.         copy.Anchored = false      
  152.         --print("im first")
  153.         copy.Color = Color3.new(1, 0, 0)
  154.         wait(1.5)
  155.         copy.CanCollide = false
  156.         --print("im second")
  157.         copy:Destroy() 
  158.         part3.Texture1.Transparency = 0
  159.         part3.Texture2.Transparency = 0
  160.         part3.Texture3.Transparency = 0
  161.         part3.Texture4.Transparency = 0
  162.         part3.Transparency = 0
  163.         part3.CanCollide = true
  164.         debounce3 = false              
  165.     end
  166. end)
  167.  
  168. part4.Touched:Connect(function(touched4)
  169.     if touched4.Parent:FindFirstChild("Humanoid") and debounce4 == false then
  170.         debounce4 = true   
  171.         local copy = part4:Clone()     
  172.         part4.Transparency = 1
  173.         part4.Texture1.Transparency = 1
  174.         part4.Texture2.Transparency = 1
  175.         part4.Texture3.Transparency = 1
  176.         part4.Texture4.Transparency = 1
  177.         part4.Texture5.Transparency = 1
  178.         part4.CanCollide = false               
  179.         copy.Parent = part4.Parent
  180.         copy.Anchored = false      
  181.         --print("im first")
  182.         copy.Color = Color3.new(1, 0, 0)
  183.         wait(1.5)
  184.         copy.CanCollide = false
  185.         --print("im second")
  186.         copy:Destroy() 
  187.         part4.Texture1.Transparency = 0
  188.         part4.Texture2.Transparency = 0
  189.         part4.Texture3.Transparency = 0
  190.         part4.Texture4.Transparency = 0
  191.         part4.Texture5.Transparency = 0
  192.         part4.Transparency = 0
  193.         part4.CanCollide = true
  194.         debounce4 = false              
  195.     end
  196. end)
  197.  
  198. part5.Touched:Connect(function(touched5)
  199.     if touched5.Parent:FindFirstChild("Humanoid") and debounce5 == false then
  200.         debounce5 = true   
  201.         local copy = part5:Clone()     
  202.         part5.Transparency = 1
  203.         part5.Texture1.Transparency = 1
  204.         part5.Texture2.Transparency = 1
  205.         part5.Texture3.Transparency = 1
  206.         part5.Texture4.Transparency = 1
  207.         part5.Texture5.Transparency = 1
  208.         part5.CanCollide = false               
  209.         copy.Parent = part5.Parent
  210.         copy.Anchored = false      
  211.         --print("im first")
  212.         copy.Color = Color3.new(1, 0, 0)
  213.         wait(1.5)
  214.         copy.CanCollide = false
  215.         --print("im second")
  216.         copy:Destroy() 
  217.         part5.Texture1.Transparency = 0
  218.         part5.Texture2.Transparency = 0
  219.         part5.Texture3.Transparency = 0
  220.         part5.Texture4.Transparency = 0
  221.         part5.Texture5.Transparency = 0
  222.         part5.Transparency = 0
  223.         part5.CanCollide = true
  224.         debounce5 = false              
  225.     end
  226. end)
  227.  
  228. part6.Touched:Connect(function(touched6)
  229.     if touched6.Parent:FindFirstChild("Humanoid") and debounce6 == false then
  230.         debounce6 = true   
  231.         local copy = part6:Clone()     
  232.         part6.Transparency = 1
  233.         part6.Texture1.Transparency = 1
  234.         part6.Texture2.Transparency = 1
  235.         part6.Texture3.Transparency = 1
  236.         part6.Texture4.Transparency = 1
  237.         part6.Texture5.Transparency = 1
  238.         part6.CanCollide = false               
  239.         copy.Parent = part6.Parent
  240.         copy.Anchored = false      
  241.         --print("im first")
  242.         copy.Color = Color3.new(1, 0, 0)
  243.         wait(1.5)
  244.         copy.CanCollide = false
  245.         --print("im second")
  246.         copy:Destroy() 
  247.         part6.Texture1.Transparency = 0
  248.         part6.Texture2.Transparency = 0
  249.         part6.Texture3.Transparency = 0
  250.         part6.Texture4.Transparency = 0
  251.         part6.Texture5.Transparency = 0
  252.         part6.Transparency = 0
  253.         part6.CanCollide = true
  254.         debounce6 = false              
  255.     end
  256. end)
  257.  
  258. part7.Touched:Connect(function(touched7)
  259.     if touched7.Parent:FindFirstChild("Humanoid") and debounce7 == false then
  260.         debounce7 = true   
  261.         local copy = part7:Clone()     
  262.         part7.Transparency = 1
  263.         part7.Texture1.Transparency = 1
  264.         part7.Texture2.Transparency = 1
  265.         part7.Texture3.Transparency = 1
  266.         part7.Texture4.Transparency = 1
  267.         part7.Texture5.Transparency = 1
  268.         part7.CanCollide = false               
  269.         copy.Parent = part7.Parent
  270.         copy.Anchored = false      
  271.         --print("im first")
  272.         copy.Color = Color3.new(1, 0, 0)
  273.         wait(1.5)
  274.         copy.CanCollide = false
  275.         --print("im second")
  276.         copy:Destroy() 
  277.         part7.Texture1.Transparency = 0
  278.         part7.Texture2.Transparency = 0
  279.         part7.Texture3.Transparency = 0
  280.         part7.Texture4.Transparency = 0
  281.         part7.Texture5.Transparency = 0
  282.         part7.Transparency = 0
  283.         part7.CanCollide = true
  284.         debounce7 = false              
  285.     end
  286. end)
  287.  
  288. part8.Touched:Connect(function(touched8)
  289.     if touched8.Parent:FindFirstChild("Humanoid") and debounce8 == false then
  290.         debounce8 = true   
  291.         local copy = part8:Clone()     
  292.         part8.Transparency = 1
  293.         part8.Texture1.Transparency = 1
  294.         part8.Texture2.Transparency = 1
  295.         part8.Texture3.Transparency = 1
  296.         part8.Texture4.Transparency = 1
  297.         part8.Texture5.Transparency = 1
  298.         part8.CanCollide = false               
  299.         copy.Parent = part8.Parent
  300.         copy.Anchored = false      
  301.         --print("im first")
  302.         copy.Color = Color3.new(1, 0, 0)
  303.         wait(1.5)
  304.         copy.CanCollide = false
  305.         --print("im second")
  306.         copy:Destroy() 
  307.         part8.Texture1.Transparency = 0
  308.         part8.Texture2.Transparency = 0
  309.         part8.Texture3.Transparency = 0
  310.         part8.Texture4.Transparency = 0
  311.         part8.Texture5.Transparency = 0
  312.         part8.Transparency = 0
  313.         part8.CanCollide = true
  314.         debounce8 = false              
  315.     end
  316. end)
  317.  
  318. part9.Touched:Connect(function(touched9)
  319.     if touched9.Parent:FindFirstChild("Humanoid") and debounce9 == false then
  320.         debounce9 = true   
  321.         local copy = part9:Clone()     
  322.         part9.Transparency = 1
  323.         part9.Texture1.Transparency = 1
  324.         part9.Texture2.Transparency = 1
  325.         part9.Texture3.Transparency = 1
  326.         part9.Texture4.Transparency = 1
  327.         part9.Texture5.Transparency = 1
  328.         part9.CanCollide = false               
  329.         copy.Parent = part9.Parent
  330.         copy.Anchored = false      
  331.         --print("im first")
  332.         copy.Color = Color3.new(1, 0, 0)
  333.         wait(1.5)
  334.         copy.CanCollide = false
  335.         --print("im second")
  336.         copy:Destroy() 
  337.         part9.Texture1.Transparency = 0
  338.         part9.Texture2.Transparency = 0
  339.         part9.Texture3.Transparency = 0
  340.         part9.Texture4.Transparency = 0
  341.         part9.Texture5.Transparency = 0
  342.         part9.Transparency = 0
  343.         part9.CanCollide = true
  344.         debounce9 = false              
  345.     end
  346. end)
  347.  
  348. part10.Touched:Connect(function(touched10)
  349.     if touched10.Parent:FindFirstChild("Humanoid") and debounce10 == false then
  350.         debounce10 = true  
  351.         local copy = part10:Clone()    
  352.         part10.Transparency = 1
  353.         part10.Texture1.Transparency = 1
  354.         part10.Texture2.Transparency = 1
  355.         part10.Texture3.Transparency = 1
  356.         part10.Texture4.Transparency = 1
  357.         part10.Texture5.Transparency = 1
  358.         part10.CanCollide = false              
  359.         copy.Parent = part10.Parent
  360.         copy.Anchored = false      
  361.         --print("im first")
  362.         copy.Color = Color3.new(1, 0, 0)
  363.         wait(1.5)
  364.         copy.CanCollide = false
  365.         --print("im second")
  366.         copy:Destroy() 
  367.         part10.Texture1.Transparency = 0
  368.         part10.Texture2.Transparency = 0
  369.         part10.Texture3.Transparency = 0
  370.         part10.Texture4.Transparency = 0
  371.         part10.Texture5.Transparency = 0
  372.         part10.Transparency = 0
  373.         part10.CanCollide = true
  374.         debounce10 = false             
  375.     end
  376. end)
  377.  
  378. part11.Touched:Connect(function(touched11)
  379.     if touched11.Parent:FindFirstChild("Humanoid") and debounce11 == false then
  380.         debounce11 = true  
  381.         local copy = part11:Clone()    
  382.         part11.Transparency = 1
  383.         part11.Texture1.Transparency = 1
  384.         part11.Texture2.Transparency = 1
  385.         part11.Texture3.Transparency = 1
  386.         part11.Texture4.Transparency = 1
  387.         part11.Texture5.Transparency = 1
  388.         part11.CanCollide = false              
  389.         copy.Parent = part11.Parent
  390.         copy.Anchored = false      
  391.         --print("im first")
  392.         copy.Color = Color3.new(1, 0, 0)
  393.         wait(1.5)
  394.         copy.CanCollide = false
  395.         --print("im second")
  396.         copy:Destroy() 
  397.         part11.Texture1.Transparency = 0
  398.         part11.Texture2.Transparency = 0
  399.         part11.Texture3.Transparency = 0
  400.         part11.Texture4.Transparency = 0
  401.         part11.Texture5.Transparency = 0
  402.         part11.Transparency = 0
  403.         part11.CanCollide = true
  404.         debounce11 = false             
  405.     end
  406. end)
  407.  
  408. part12.Touched:Connect(function(touched12)
  409.     if touched12.Parent:FindFirstChild("Humanoid") and debounce12 == false then
  410.         debounce12 = true  
  411.         local copy = part12:Clone()    
  412.         part12.Transparency = 1
  413.         part12.Texture1.Transparency = 1
  414.         part12.Texture2.Transparency = 1
  415.         part12.Texture3.Transparency = 1
  416.         part12.Texture4.Transparency = 1
  417.         part12.Texture5.Transparency = 1
  418.         part12.CanCollide = false              
  419.         copy.Parent = part12.Parent
  420.         copy.Anchored = false      
  421.         --print("im first")
  422.         copy.Color = Color3.new(1, 0, 0)
  423.         wait(1.5)
  424.         copy.CanCollide = false
  425.         --print("im second")
  426.         copy:Destroy() 
  427.         part12.Texture1.Transparency = 0
  428.         part12.Texture2.Transparency = 0
  429.         part12.Texture3.Transparency = 0
  430.         part12.Texture4.Transparency = 0
  431.         part12.Texture5.Transparency = 0
  432.         part12.Transparency = 0
  433.         part12.CanCollide = true
  434.         debounce12 = false             
  435.     end
  436. end)
  437.  
  438. part13.Touched:Connect(function(touched13)
  439.     if touched13.Parent:FindFirstChild("Humanoid") and debounce13 == false then
  440.         debounce13 = true  
  441.         local copy = part13:Clone()    
  442.         part13.Transparency = 1
  443.         part13.Texture1.Transparency = 1
  444.         part13.Texture2.Transparency = 1
  445.         part13.Texture3.Transparency = 1
  446.         part13.Texture4.Transparency = 1
  447.         part13.Texture5.Transparency = 1
  448.         part13.CanCollide = false              
  449.         copy.Parent = part13.Parent
  450.         copy.Anchored = false      
  451.         --print("im first")
  452.         copy.Color = Color3.new(1, 0, 0)
  453.         wait(1.5)
  454.         copy.CanCollide = false
  455.         --print("im second")
  456.         copy:Destroy() 
  457.         part13.Texture1.Transparency = 0
  458.         part13.Texture2.Transparency = 0
  459.         part13.Texture3.Transparency = 0
  460.         part13.Texture4.Transparency = 0
  461.         part13.Texture5.Transparency = 0
  462.         part13.Transparency = 0
  463.         part13.CanCollide = true
  464.         debounce13 = false             
  465.     end
  466. end)
  467.  
  468. part14.Touched:Connect(function(touched14)
  469.     if touched14.Parent:FindFirstChild("Humanoid") and debounce14 == false then
  470.         debounce14 = true  
  471.         local copy = part14:Clone()    
  472.         part14.Transparency = 1
  473.         part14.Texture1.Transparency = 1
  474.         part14.Texture2.Transparency = 1
  475.         part14.Texture3.Transparency = 1
  476.         part14.Texture4.Transparency = 1
  477.         part14.Texture5.Transparency = 1
  478.         part14.CanCollide = false              
  479.         copy.Parent = part14.Parent
  480.         copy.Anchored = false      
  481.         --print("im first")
  482.         copy.Color = Color3.new(1, 0, 0)
  483.         wait(1.5)
  484.         copy.CanCollide = false
  485.         --print("im second")
  486.         copy:Destroy() 
  487.         part14.Texture1.Transparency = 0
  488.         part14.Texture2.Transparency = 0
  489.         part14.Texture3.Transparency = 0
  490.         part14.Texture4.Transparency = 0
  491.         part14.Texture5.Transparency = 0
  492.         part14.Transparency = 0
  493.         part14.CanCollide = true
  494.         debounce14 = false             
  495.     end
  496. end)
  497.  
  498. part15.Touched:Connect(function(touched15)
  499.     if touched15.Parent:FindFirstChild("Humanoid") and debounce15 == false then
  500.         debounce15 = true  
  501.         local copy = part15:Clone()    
  502.         part15.Transparency = 1
  503.         part15.Texture1.Transparency = 1
  504.         part15.Texture2.Transparency = 1
  505.         part15.Texture3.Transparency = 1
  506.         part15.Texture4.Transparency = 1
  507.         part15.Texture5.Transparency = 1
  508.         part15.CanCollide = false              
  509.         copy.Parent = part15.Parent
  510.         copy.Anchored = false      
  511.         --print("im first")
  512.         copy.Color = Color3.new(1, 0, 0)
  513.         wait(1.5)
  514.         copy.CanCollide = false
  515.         --print("im second")
  516.         copy:Destroy() 
  517.         part15.Texture1.Transparency = 0
  518.         part15.Texture2.Transparency = 0
  519.         part15.Texture3.Transparency = 0
  520.         part15.Texture4.Transparency = 0
  521.         part15.Texture5.Transparency = 0
  522.         part15.Transparency = 0
  523.         part15.CanCollide = true
  524.         debounce15 = false             
  525.     end
  526. end)
  527.  
  528. part16.Touched:Connect(function(touched16)
  529.     if touched16.Parent:FindFirstChild("Humanoid") and debounce16 == false then
  530.         debounce16 = true  
  531.         local copy = part16:Clone()    
  532.         part16.Transparency = 1
  533.         part16.Texture1.Transparency = 1
  534.         part16.Texture2.Transparency = 1
  535.         part16.Texture3.Transparency = 1
  536.         part16.Texture4.Transparency = 1
  537.         part16.Texture5.Transparency = 1
  538.         part16.CanCollide = false              
  539.         copy.Parent = part16.Parent
  540.         copy.Anchored = false      
  541.         --print("im first")
  542.         copy.Color = Color3.new(1, 0, 0)
  543.         wait(1.5)
  544.         copy.CanCollide = false
  545.         --print("im second")
  546.         copy:Destroy() 
  547.         part16.Texture1.Transparency = 0
  548.         part16.Texture2.Transparency = 0
  549.         part16.Texture3.Transparency = 0
  550.         part16.Texture4.Transparency = 0
  551.         part16.Texture5.Transparency = 0
  552.         part16.Transparency = 0
  553.         part16.CanCollide = true
  554.         debounce16 = false             
  555.     end
  556. end)
  557.  
  558. part17.Touched:Connect(function(touched17)
  559.     if touched17.Parent:FindFirstChild("Humanoid") and debounce17 == false then
  560.         debounce17 = true  
  561.         local copy = part17:Clone()    
  562.         part17.Transparency = 1
  563.         part17.Texture1.Transparency = 1
  564.         part17.Texture2.Transparency = 1
  565.         part17.Texture3.Transparency = 1
  566.         part17.Texture4.Transparency = 1
  567.         part17.Texture5.Transparency = 1
  568.         part17.CanCollide = false              
  569.         copy.Parent = part17.Parent
  570.         copy.Anchored = false      
  571.         --print("im first")
  572.         copy.Color = Color3.new(1, 0, 0)
  573.         wait(1.5)
  574.         copy.CanCollide = false
  575.         --print("im second")
  576.         copy:Destroy() 
  577.         part17.Texture1.Transparency = 0
  578.         part17.Texture2.Transparency = 0
  579.         part17.Texture3.Transparency = 0
  580.         part17.Texture4.Transparency = 0
  581.         part17.Texture5.Transparency = 0
  582.         part17.Transparency = 0
  583.         part17.CanCollide = true
  584.         debounce17 = false             
  585.     end
  586. end)
  587.  
  588. part18.Touched:Connect(function(touched18)
  589.     if touched18.Parent:FindFirstChild("Humanoid") and debounce18 == false then
  590.         debounce18 = true  
  591.         local copy = part18:Clone()    
  592.         part18.Transparency = 1
  593.         part18.Texture1.Transparency = 1
  594.         part18.Texture2.Transparency = 1
  595.         part18.Texture3.Transparency = 1
  596.         part18.Texture4.Transparency = 1
  597.         part18.Texture5.Transparency = 1
  598.         part18.CanCollide = false              
  599.         copy.Parent = part18.Parent
  600.         copy.Anchored = false      
  601.         --print("im first")
  602.         copy.Color = Color3.new(1, 0, 0)
  603.         wait(1.5)
  604.         copy.CanCollide = false
  605.         --print("im second")
  606.         copy:Destroy() 
  607.         part18.Texture1.Transparency = 0
  608.         part18.Texture2.Transparency = 0
  609.         part18.Texture3.Transparency = 0
  610.         part18.Texture4.Transparency = 0
  611.         part18.Texture5.Transparency = 0
  612.         part18.Transparency = 0
  613.         part18.CanCollide = true
  614.         debounce18 = false             
  615.     end
  616. end)
  617.  
  618. part19.Touched:Connect(function(touched19)
  619.     if touched19.Parent:FindFirstChild("Humanoid") and debounce19 == false then
  620.         debounce19 = true  
  621.         local copy = part19:Clone()    
  622.         part19.Transparency = 1
  623.         part19.Texture1.Transparency = 1
  624.         part19.Texture2.Transparency = 1
  625.         part19.Texture3.Transparency = 1
  626.         part19.Texture4.Transparency = 1
  627.         part19.Texture5.Transparency = 1
  628.         part19.CanCollide = false              
  629.         copy.Parent = part19.Parent
  630.         copy.Anchored = false      
  631.         --print("im first")
  632.         copy.Color = Color3.new(1, 0, 0)
  633.         wait(1.5)
  634.         copy.CanCollide = false
  635.         --print("im second")
  636.         copy:Destroy() 
  637.         part19.Texture1.Transparency = 0
  638.         part19.Texture2.Transparency = 0
  639.         part19.Texture3.Transparency = 0
  640.         part19.Texture4.Transparency = 0
  641.         part19.Texture5.Transparency = 0
  642.         part19.Transparency = 0
  643.         part19.CanCollide = true
  644.         debounce19 = false             
  645.     end
  646. end)
  647.  
  648. part20.Touched:Connect(function(touched20)
  649.     if touched20.Parent:FindFirstChild("Humanoid") and debounce20 == false then
  650.         debounce20 = true  
  651.         local copy = part20:Clone()    
  652.         part20.Transparency = 1
  653.         part20.Texture1.Transparency = 1
  654.         part20.Texture2.Transparency = 1
  655.         part20.Texture3.Transparency = 1
  656.         part20.Texture4.Transparency = 1
  657.         part20.Texture5.Transparency = 1
  658.         part20.CanCollide = false              
  659.         copy.Parent = part20.Parent
  660.         copy.Anchored = false      
  661.         --print("im first")
  662.         copy.Color = Color3.new(1, 0, 0)
  663.         wait(1.5)
  664.         copy.CanCollide = false
  665.         --print("im second")
  666.         copy:Destroy() 
  667.         part20.Texture1.Transparency = 0
  668.         part20.Texture2.Transparency = 0
  669.         part20.Texture3.Transparency = 0
  670.         part20.Texture4.Transparency = 0
  671.         part20.Texture5.Transparency = 0
  672.         part20.Transparency = 0
  673.         part20.CanCollide = true
  674.         debounce20 = false             
  675.     end
  676. end)
  677.  
  678. part21.Touched:Connect(function(touched21)
  679.     if touched21.Parent:FindFirstChild("Humanoid") and debounce21 == false then
  680.         debounce21 = true  
  681.         local copy = part21:Clone()    
  682.         part21.Transparency = 1
  683.         part21.Texture1.Transparency = 1
  684.         part21.Texture2.Transparency = 1
  685.         part21.Texture3.Transparency = 1
  686.         part21.Texture4.Transparency = 1
  687.         part21.Texture5.Transparency = 1
  688.         part21.CanCollide = false              
  689.         copy.Parent = part21.Parent
  690.         copy.Anchored = false      
  691.         --print("im first")
  692.         copy.Color = Color3.new(1, 0, 0)
  693.         wait(1.5)
  694.         copy.CanCollide = false
  695.         --print("im second")
  696.         copy:Destroy() 
  697.         part21.Texture1.Transparency = 0
  698.         part21.Texture2.Transparency = 0
  699.         part21.Texture3.Transparency = 0
  700.         part21.Texture4.Transparency = 0
  701.         part21.Texture5.Transparency = 0
  702.         part21.Transparency = 0
  703.         part21.CanCollide = true
  704.         debounce21 = false             
  705.     end
  706. end)
  707.  
  708. part22.Touched:Connect(function(touched22)
  709.     if touched22.Parent:FindFirstChild("Humanoid") and debounce22 == false then
  710.         debounce22 = true  
  711.         local copy = part22:Clone()    
  712.         part22.Transparency = 1
  713.         part22.Texture1.Transparency = 1
  714.         part22.Texture2.Transparency = 1
  715.         part22.Texture3.Transparency = 1
  716.         part22.Texture4.Transparency = 1
  717.         part22.Texture5.Transparency = 1
  718.         part22.CanCollide = false              
  719.         copy.Parent = part22.Parent
  720.         copy.Anchored = false      
  721.         --print("im first")
  722.         copy.Color = Color3.new(1, 0, 0)
  723.         wait(1.5)
  724.         copy.CanCollide = false
  725.         --print("im second")
  726.         copy:Destroy() 
  727.         part22.Texture1.Transparency = 0
  728.         part22.Texture2.Transparency = 0
  729.         part22.Texture3.Transparency = 0
  730.         part22.Texture4.Transparency = 0
  731.         part22.Texture5.Transparency = 0
  732.         part22.Transparency = 0
  733.         part22.CanCollide = true
  734.         debounce22 = false             
  735.     end
  736. end)
  737.  
  738. part23.Touched:Connect(function(touched23)
  739.     if touched23.Parent:FindFirstChild("Humanoid") and debounce23 == false then
  740.         debounce23 = true  
  741.         local copy = part23:Clone()    
  742.         part23.Transparency = 1
  743.         part23.Texture1.Transparency = 1
  744.         part23.Texture2.Transparency = 1
  745.         part23.Texture3.Transparency = 1
  746.         part23.Texture4.Transparency = 1
  747.         part23.Texture5.Transparency = 1
  748.         part23.CanCollide = false              
  749.         copy.Parent = part23.Parent
  750.         copy.Anchored = false      
  751.         --print("im first")
  752.         copy.Color = Color3.new(1, 0, 0)
  753.         wait(1.5)
  754.         copy.CanCollide = false
  755.         --print("im second")
  756.         copy:Destroy() 
  757.         part23.Texture1.Transparency = 0
  758.         part23.Texture2.Transparency = 0
  759.         part23.Texture3.Transparency = 0
  760.         part23.Texture4.Transparency = 0
  761.         part23.Texture5.Transparency = 0
  762.         part23.Transparency = 0
  763.         part23.CanCollide = true
  764.         debounce23 = false             
  765.     end
  766. end)
  767.  
  768. part24.Touched:Connect(function(touched24)
  769.     if touched24.Parent:FindFirstChild("Humanoid") and debounce24 == false then
  770.         debounce24 = true  
  771.         local copy = part24:Clone()    
  772.         part24.Transparency = 1
  773.         part24.Texture1.Transparency = 1
  774.         part24.Texture2.Transparency = 1
  775.         part24.Texture3.Transparency = 1
  776.         part24.Texture4.Transparency = 1
  777.         part24.Texture5.Transparency = 1
  778.         part24.CanCollide = false              
  779.         copy.Parent = part24.Parent
  780.         copy.Anchored = false      
  781.         --print("im first")
  782.         copy.Color = Color3.new(1, 0, 0)
  783.         wait(1.5)
  784.         copy.CanCollide = false
  785.         --print("im second")
  786.         copy:Destroy() 
  787.         part24.Texture1.Transparency = 0
  788.         part24.Texture2.Transparency = 0
  789.         part24.Texture3.Transparency = 0
  790.         part24.Texture4.Transparency = 0
  791.         part24.Texture5.Transparency = 0
  792.         part24.Transparency = 0
  793.         part24.CanCollide = true
  794.         debounce24 = false             
  795.     end
  796. end)
  797.  
  798. part25.Touched:Connect(function(touched25)
  799.     if touched25.Parent:FindFirstChild("Humanoid") and debounce25 == false then
  800.         debounce25 = true  
  801.         local copy = part25:Clone()    
  802.         part25.Transparency = 1
  803.         part25.Texture1.Transparency = 1
  804.         part25.Texture2.Transparency = 1
  805.         part25.Texture3.Transparency = 1
  806.         part25.Texture4.Transparency = 1
  807.         part25.Texture5.Transparency = 1
  808.         part25.CanCollide = false              
  809.         copy.Parent = part25.Parent
  810.         copy.Anchored = false      
  811.         --print("im first")
  812.         copy.Color = Color3.new(1, 0, 0)
  813.         wait(1.5)
  814.         copy.CanCollide = false
  815.         --print("im second")
  816.         copy:Destroy() 
  817.         part25.Texture1.Transparency = 0
  818.         part25.Texture2.Transparency = 0
  819.         part25.Texture3.Transparency = 0
  820.         part25.Texture4.Transparency = 0
  821.         part25.Texture5.Transparency = 0
  822.         part25.Transparency = 0
  823.         part25.CanCollide = true
  824.         debounce25 = false             
  825.     end
  826. end)
  827.  
  828. part26.Touched:Connect(function(touched26)
  829.     if touched26.Parent:FindFirstChild("Humanoid") and debounce26 == false then
  830.         debounce26 = true  
  831.         local copy = part26:Clone()    
  832.         part26.Transparency = 1
  833.         part26.Texture1.Transparency = 1
  834.         part26.Texture2.Transparency = 1
  835.         part26.Texture3.Transparency = 1
  836.         part26.Texture4.Transparency = 1
  837.         part26.Texture5.Transparency = 1
  838.         part26.CanCollide = false              
  839.         copy.Parent = part26.Parent
  840.         copy.Anchored = false      
  841.         --print("im first")
  842.         copy.Color = Color3.new(1, 0, 0)
  843.         wait(1.5)
  844.         copy.CanCollide = false
  845.         --print("im second")
  846.         copy:Destroy() 
  847.         part26.Texture1.Transparency = 0
  848.         part26.Texture2.Transparency = 0
  849.         part26.Texture3.Transparency = 0
  850.         part26.Texture4.Transparency = 0
  851.         part26.Texture5.Transparency = 0
  852.         part26.Transparency = 0
  853.         part26.CanCollide = true
  854.         debounce26 = false             
  855.     end
  856. end)
  857.  
  858. part27.Touched:Connect(function(touched27)
  859.     if touched27.Parent:FindFirstChild("Humanoid") and debounce27 == false then
  860.         debounce27 = true  
  861.         local copy = part27:Clone()    
  862.         part27.Transparency = 1
  863.         part27.Texture1.Transparency = 1
  864.         part27.Texture2.Transparency = 1
  865.         part27.Texture3.Transparency = 1
  866.         part27.Texture4.Transparency = 1
  867.         part27.Texture5.Transparency = 1
  868.         part27.CanCollide = false              
  869.         copy.Parent = part27.Parent
  870.         copy.Anchored = false      
  871.         --print("im first")
  872.         copy.Color = Color3.new(1, 0, 0)
  873.         wait(1.5)
  874.         copy.CanCollide = false
  875.         --print("im second")
  876.         copy:Destroy() 
  877.         part27.Texture1.Transparency = 0
  878.         part27.Texture2.Transparency = 0
  879.         part27.Texture3.Transparency = 0
  880.         part27.Texture4.Transparency = 0
  881.         part27.Texture5.Transparency = 0
  882.         part27.Transparency = 0
  883.         part27.CanCollide = true
  884.         debounce27 = false             
  885.     end
  886. end)
  887.  
  888. part28.Touched:Connect(function(touched28)
  889.     if touched28.Parent:FindFirstChild("Humanoid") and debounce28 == false then
  890.         debounce28 = true  
  891.         local copy = part28:Clone()    
  892.         part28.Transparency = 1
  893.         part28.Texture1.Transparency = 1
  894.         part28.Texture2.Transparency = 1
  895.         part28.Texture3.Transparency = 1
  896.         part28.Texture4.Transparency = 1
  897.         part28.Texture5.Transparency = 1
  898.         part28.CanCollide = false              
  899.         copy.Parent = part28.Parent
  900.         copy.Anchored = false      
  901.         --print("im first")
  902.         copy.Color = Color3.new(1, 0, 0)
  903.         wait(1.5)
  904.         copy.CanCollide = false
  905.         --print("im second")
  906.         copy:Destroy() 
  907.         part28.Texture1.Transparency = 0
  908.         part28.Texture2.Transparency = 0
  909.         part28.Texture3.Transparency = 0
  910.         part28.Texture4.Transparency = 0
  911.         part28.Texture5.Transparency = 0
  912.         part28.Transparency = 0
  913.         part28.CanCollide = true
  914.         debounce28 = false             
  915.     end
  916. end)
  917.  
  918. part29.Touched:Connect(function(touched29)
  919.     if touched29.Parent:FindFirstChild("Humanoid") and debounce29 == false then
  920.         debounce29 = true  
  921.         local copy = part29:Clone()    
  922.         part29.Transparency = 1
  923.         part29.Texture1.Transparency = 1
  924.         part29.Texture2.Transparency = 1
  925.         part29.Texture3.Transparency = 1
  926.         part29.Texture4.Transparency = 1
  927.         part29.Texture5.Transparency = 1
  928.         part29.CanCollide = false              
  929.         copy.Parent = part29.Parent
  930.         copy.Anchored = false      
  931.         --print("im first")
  932.         copy.Color = Color3.new(1, 0, 0)
  933.         wait(1.5)
  934.         copy.CanCollide = false
  935.         --print("im second")
  936.         copy:Destroy() 
  937.         part29.Texture1.Transparency = 0
  938.         part29.Texture2.Transparency = 0
  939.         part29.Texture3.Transparency = 0
  940.         part29.Texture4.Transparency = 0
  941.         part29.Texture5.Transparency = 0
  942.         part29.Transparency = 0
  943.         part29.CanCollide = true
  944.         debounce29 = false             
  945.     end
  946. end)
  947.  
  948. part30.Touched:Connect(function(touched30)
  949.     if touched30.Parent:FindFirstChild("Humanoid") and debounce30 == false then
  950.         debounce30 = true  
  951.         local copy = part30:Clone()    
  952.         part30.Transparency = 1
  953.         part30.Texture1.Transparency = 1
  954.         part30.Texture2.Transparency = 1
  955.         part30.Texture3.Transparency = 1
  956.         part30.Texture4.Transparency = 1
  957.         part30.Texture5.Transparency = 1
  958.         part30.CanCollide = false              
  959.         copy.Parent = part30.Parent
  960.         copy.Anchored = false      
  961.         --print("im first")
  962.         copy.Color = Color3.new(1, 0, 0)
  963.         wait(1.5)
  964.         copy.CanCollide = false
  965.         --print("im second")
  966.         copy:Destroy() 
  967.         part30.Texture1.Transparency = 0
  968.         part30.Texture2.Transparency = 0
  969.         part30.Texture3.Transparency = 0
  970.         part30.Texture4.Transparency = 0
  971.         part30.Texture5.Transparency = 0
  972.         part30.Transparency = 0
  973.         part30.CanCollide = true
  974.         debounce30 = false             
  975.     end
  976. end)
  977.  
  978. part31.Touched:Connect(function(touched31)
  979.     if touched31.Parent:FindFirstChild("Humanoid") and debounce31 == false then
  980.         debounce31 = true  
  981.         local copy = part31:Clone()    
  982.         part31.Transparency = 1
  983.         part31.Texture1.Transparency = 1
  984.         part31.Texture2.Transparency = 1
  985.         part31.Texture3.Transparency = 1
  986.         part31.Texture4.Transparency = 1
  987.         part31.Texture5.Transparency = 1
  988.         part31.CanCollide = false              
  989.         copy.Parent = part31.Parent
  990.         copy.Anchored = false      
  991.         --print("im first")
  992.         copy.Color = Color3.new(1, 0, 0)
  993.         wait(1.5)
  994.         copy.CanCollide = false
  995.         --print("im second")
  996.         copy:Destroy() 
  997.         part31.Texture1.Transparency = 0
  998.         part31.Texture2.Transparency = 0
  999.         part31.Texture3.Transparency = 0
  1000.         part31.Texture4.Transparency = 0
  1001.         part31.Texture5.Transparency = 0
  1002.         part31.Transparency = 0
  1003.         part31.CanCollide = true
  1004.         debounce31 = false             
  1005.     end
  1006. end)
  1007.  
  1008. part32.Touched:Connect(function(touched32)
  1009.     if touched32.Parent:FindFirstChild("Humanoid") and debounce32 == false then
  1010.         debounce32 = true  
  1011.         local copy = part32:Clone()    
  1012.         part32.Transparency = 1
  1013.         part32.Texture1.Transparency = 1
  1014.         part32.Texture2.Transparency = 1
  1015.         part32.Texture3.Transparency = 1
  1016.         part32.Texture4.Transparency = 1
  1017.         part32.Texture5.Transparency = 1
  1018.         part32.CanCollide = false              
  1019.         copy.Parent = part32.Parent
  1020.         copy.Anchored = false      
  1021.         --print("im first")
  1022.         copy.Color = Color3.new(1, 0, 0)
  1023.         wait(1.5)
  1024.         copy.CanCollide = false
  1025.         --print("im second")
  1026.         copy:Destroy() 
  1027.         part32.Texture1.Transparency = 0
  1028.         part32.Texture2.Transparency = 0
  1029.         part32.Texture3.Transparency = 0
  1030.         part32.Texture4.Transparency = 0
  1031.         part32.Texture5.Transparency = 0
  1032.         part32.Transparency = 0
  1033.         part32.CanCollide = true
  1034.         debounce32 = false             
  1035.     end
  1036. end)
  1037.  
  1038. part33.Touched:Connect(function(touched33)
  1039.     if touched33.Parent:FindFirstChild("Humanoid") and debounce33 == false then
  1040.         debounce33 = true  
  1041.         local copy = part33:Clone()    
  1042.         part33.Transparency = 1
  1043.         part33.Texture1.Transparency = 1
  1044.         part33.Texture2.Transparency = 1
  1045.         part33.Texture3.Transparency = 1
  1046.         part33.Texture4.Transparency = 1
  1047.         part33.Texture5.Transparency = 1
  1048.         part33.CanCollide = false              
  1049.         copy.Parent = part33.Parent
  1050.         copy.Anchored = false      
  1051.         --print("im first")
  1052.         copy.Color = Color3.new(1, 0, 0)
  1053.         wait(1.5)
  1054.         copy.CanCollide = false
  1055.         --print("im second")
  1056.         copy:Destroy() 
  1057.         part33.Texture1.Transparency = 0
  1058.         part33.Texture2.Transparency = 0
  1059.         part33.Texture3.Transparency = 0
  1060.         part33.Texture4.Transparency = 0
  1061.         part33.Texture5.Transparency = 0
  1062.         part33.Transparency = 0
  1063.         part33.CanCollide = true
  1064.         debounce33 = false             
  1065.     end
  1066. end)
  1067.  
  1068. part34.Touched:Connect(function(touched34)
  1069.     if touched34.Parent:FindFirstChild("Humanoid") and debounce34 == false then
  1070.         debounce34 = true  
  1071.         local copy = part34:Clone()    
  1072.         part34.Transparency = 1
  1073.         part34.Texture1.Transparency = 1
  1074.         part34.Texture2.Transparency = 1
  1075.         part34.Texture3.Transparency = 1
  1076.         part34.Texture4.Transparency = 1
  1077.         part34.Texture5.Transparency = 1
  1078.         part34.CanCollide = false              
  1079.         copy.Parent = part34.Parent
  1080.         copy.Anchored = false      
  1081.         --print("im first")
  1082.         copy.Color = Color3.new(1, 0, 0)
  1083.         wait(1.5)
  1084.         copy.CanCollide = false
  1085.         --print("im second")
  1086.         copy:Destroy() 
  1087.         part34.Texture1.Transparency = 0
  1088.         part34.Texture2.Transparency = 0
  1089.         part34.Texture3.Transparency = 0
  1090.         part34.Texture4.Transparency = 0
  1091.         part34.Texture5.Transparency = 0
  1092.         part34.Transparency = 0
  1093.         part34.CanCollide = true
  1094.         debounce34 = false             
  1095.     end
  1096. end)
  1097.  
  1098. part35.Touched:Connect(function(touched35)
  1099.     if touched35.Parent:FindFirstChild("Humanoid") and debounce35 == false then
  1100.         debounce35 = true  
  1101.         local copy = part35:Clone()    
  1102.         part35.Transparency = 1
  1103.         part35.Texture1.Transparency = 1
  1104.         part35.Texture2.Transparency = 1
  1105.         part35.Texture3.Transparency = 1
  1106.         part35.Texture4.Transparency = 1
  1107.         part35.Texture5.Transparency = 1
  1108.         part35.CanCollide = false              
  1109.         copy.Parent = part35.Parent
  1110.         copy.Anchored = false      
  1111.         --print("im first")
  1112.         copy.Color = Color3.new(1, 0, 0)
  1113.         wait(1.5)
  1114.         copy.CanCollide = false
  1115.         --print("im second")
  1116.         copy:Destroy() 
  1117.         part35.Texture1.Transparency = 0
  1118.         part35.Texture2.Transparency = 0
  1119.         part35.Texture3.Transparency = 0
  1120.         part35.Texture4.Transparency = 0
  1121.         part35.Texture5.Transparency = 0
  1122.         part35.Transparency = 0
  1123.         part35.CanCollide = true
  1124.         debounce35 = false             
  1125.     end
  1126. end)
  1127.  
  1128. part36.Touched:Connect(function(touched36)
  1129.     if touched36.Parent:FindFirstChild("Humanoid") and debounce36 == false then
  1130.         debounce36 = true  
  1131.         local copy = part36:Clone()    
  1132.         part36.Transparency = 1
  1133.         part36.Texture1.Transparency = 1
  1134.         part36.Texture2.Transparency = 1
  1135.         part36.Texture3.Transparency = 1
  1136.         part36.Texture4.Transparency = 1
  1137.         part36.CanCollide = false              
  1138.         copy.Parent = part36.Parent
  1139.         copy.Anchored = false      
  1140.         --print("im first")
  1141.         copy.Color = Color3.new(1, 0, 0)
  1142.         wait(1.5)
  1143.         copy.CanCollide = false
  1144.         --print("im second")
  1145.         copy:Destroy() 
  1146.         part36.Texture1.Transparency = 0
  1147.         part36.Texture2.Transparency = 0
  1148.         part36.Texture3.Transparency = 0
  1149.         part36.Texture4.Transparency = 0
  1150.         part36.Transparency = 0
  1151.         part36.CanCollide = true
  1152.         debounce36 = false             
  1153.     end
  1154. end)
  1155.  
  1156. part37.Touched:Connect(function(touched37)
  1157.     if touched37.Parent:FindFirstChild("Humanoid") and debounce37 == false then
  1158.         debounce37 = true  
  1159.         local copy = part37:Clone()    
  1160.         part37.Transparency = 1
  1161.         part37.Texture1.Transparency = 1
  1162.         part37.Texture2.Transparency = 1
  1163.         part37.Texture3.Transparency = 1
  1164.         part37.Texture4.Transparency = 1
  1165.         part37.CanCollide = false              
  1166.         copy.Parent = part37.Parent
  1167.         copy.Anchored = false      
  1168.         --print("im first")
  1169.         copy.Color = Color3.new(1, 0, 0)
  1170.         wait(1.5)
  1171.         copy.CanCollide = false
  1172.         --print("im second")
  1173.         copy:Destroy() 
  1174.         part37.Texture1.Transparency = 0
  1175.         part37.Texture2.Transparency = 0
  1176.         part37.Texture3.Transparency = 0
  1177.         part37.Texture4.Transparency = 0
  1178.         part37.Transparency = 0
  1179.         part37.CanCollide = true
  1180.         debounce37 = false             
  1181.     end
  1182. end)
  1183.  
  1184. part38.Touched:Connect(function(touched38)
  1185.     if touched38.Parent:FindFirstChild("Humanoid") and debounce38 == false then
  1186.         debounce38 = true  
  1187.         local copy = part38:Clone()    
  1188.         part38.Transparency = 1
  1189.         part38.Texture1.Transparency = 1
  1190.         part38.Texture2.Transparency = 1
  1191.         part38.Texture3.Transparency = 1
  1192.         part38.Texture4.Transparency = 1
  1193.         part38.CanCollide = false              
  1194.         copy.Parent = part38.Parent
  1195.         copy.Anchored = false      
  1196.         --print("im first")
  1197.         copy.Color = Color3.new(1, 0, 0)
  1198.         wait(1.5)
  1199.         copy.CanCollide = false
  1200.         --print("im second")
  1201.         copy:Destroy() 
  1202.         part38.Texture1.Transparency = 0
  1203.         part38.Texture2.Transparency = 0
  1204.         part38.Texture3.Transparency = 0
  1205.         part38.Texture4.Transparency = 0
  1206.         part38.Transparency = 0
  1207.         part38.CanCollide = true
  1208.         debounce38 = false             
  1209.     end
  1210. end)
RAW Paste Data