Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local part = script.Parent.Part1
- local part2 = script.Parent.Part2
- local part3 = script.Parent.Part3
- local part4 = script.Parent.Part4
- local part5 = script.Parent.Part5
- local part6 = script.Parent.Part6
- local part7 = script.Parent.Part7
- local part8 = script.Parent.Part8
- local part9 = script.Parent.Part9
- local part10 = script.Parent.Part10
- local part11 = script.Parent.Part11
- local part12 = script.Parent.Part12
- local part13 = script.Parent.Part13
- local part14 = script.Parent.Part14
- local part15 = script.Parent.Part15
- local part16 = script.Parent.Part16
- local part17 = script.Parent.Part17
- local part18 = script.Parent.Part18
- local part19 = script.Parent.Part19
- local part20 = script.Parent.Part20
- local part21 = script.Parent.Part21
- local part22 = script.Parent.Part22
- local part23 = script.Parent.Part23
- local part24 = script.Parent.Part24
- local part25 = script.Parent.Part25
- local part26 = script.Parent.Part26
- local part27 = script.Parent.Part27
- local part28 = script.Parent.Part28
- local part29 = script.Parent.Part29
- local part30 = script.Parent.Part30
- local part31 = script.Parent.Part31
- local part32 = script.Parent.Part32
- local part33 = script.Parent.Part33
- local part34 = script.Parent.Part34
- local part35 = script.Parent.Part35
- local part36 = script.Parent.Part36
- local part37 = script.Parent.Part37
- local part38 = script.Parent.Part38
- --Debounces
- local debounce = false
- local debounce2 = false
- local debounce3 = false
- local debounce4 = false
- local debounce5 = false
- local debounce6 = false
- local debounce7 = false
- local debounce8 = false
- local debounce9 = false
- local debounce10 = false
- local debounce11 = false
- local debounce12 = false
- local debounce13 = false
- local debounce14 = false
- local debounce15 = false
- local debounce16 = false
- local debounce17 = false
- local debounce18 = false
- local debounce19 = false
- local debounce20 = false
- local debounce21 = false
- local debounce22 = false
- local debounce23 = false
- local debounce24 = false
- local debounce25 = false
- local debounce26 = false
- local debounce27 = false
- local debounce28 = false
- local debounce29 = false
- local debounce30 = false
- local debounce31 = false
- local debounce32 = false
- local debounce33 = false
- local debounce34 = false
- local debounce35 = false
- local debounce36 = false
- local debounce37 = false
- local debounce38 = false
- part.Touched:Connect(function(touched)
- if touched.Parent:FindFirstChild("Humanoid") and debounce == false then
- debounce = true
- local copy = part:Clone()
- part.Transparency = 1
- part.Texture1.Transparency = 1
- part.Texture2.Transparency = 1
- part.Texture3.Transparency = 1
- part.Texture4.Transparency = 1
- part.CanCollide = false
- copy.Parent = part.Parent
- copy.Anchored = false
- -- copy.Material = Enum.Material.ForceField
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- -- copy.CFrame = copy.CFrame * CFrame.Angles(math.rad(1),math.rad(40),math.rad(5))
- -- wait(.1)
- -- copy.CFrame = copy.CFrame * CFrame.Angles(math.rad(1),math.rad(-40),math.rad(5))
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part.Texture1.Transparency = 0
- part.Texture2.Transparency = 0
- part.Texture3.Transparency = 0
- part.Texture4.Transparency = 0
- part.Transparency = 0
- part.CanCollide = true
- debounce = false
- end
- end)
- part2.Touched:Connect(function(touched2)
- if touched2.Parent:FindFirstChild("Humanoid") and debounce2 == false then
- debounce2 = true
- local copy = part2:Clone()
- part2.Transparency = 1
- part2.Texture1.Transparency = 1
- part2.Texture2.Transparency = 1
- part2.Texture3.Transparency = 1
- part2.Texture4.Transparency = 1
- part2.CanCollide = false
- copy.Parent = part2.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part2.Texture1.Transparency = 0
- part2.Texture2.Transparency = 0
- part2.Texture3.Transparency = 0
- part2.Texture4.Transparency = 0
- part2.Transparency = 0
- part2.CanCollide = true
- debounce2 = false
- end
- end)
- part3.Touched:Connect(function(touched3)
- if touched3.Parent:FindFirstChild("Humanoid") and debounce3 == false then
- debounce3 = true
- local copy = part3:Clone()
- part3.Transparency = 1
- part3.Texture1.Transparency = 1
- part3.Texture2.Transparency = 1
- part3.Texture3.Transparency = 1
- part3.Texture4.Transparency = 1
- part3.CanCollide = false
- copy.Parent = part3.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part3.Texture1.Transparency = 0
- part3.Texture2.Transparency = 0
- part3.Texture3.Transparency = 0
- part3.Texture4.Transparency = 0
- part3.Transparency = 0
- part3.CanCollide = true
- debounce3 = false
- end
- end)
- part4.Touched:Connect(function(touched4)
- if touched4.Parent:FindFirstChild("Humanoid") and debounce4 == false then
- debounce4 = true
- local copy = part4:Clone()
- part4.Transparency = 1
- part4.Texture1.Transparency = 1
- part4.Texture2.Transparency = 1
- part4.Texture3.Transparency = 1
- part4.Texture4.Transparency = 1
- part4.Texture5.Transparency = 1
- part4.CanCollide = false
- copy.Parent = part4.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part4.Texture1.Transparency = 0
- part4.Texture2.Transparency = 0
- part4.Texture3.Transparency = 0
- part4.Texture4.Transparency = 0
- part4.Texture5.Transparency = 0
- part4.Transparency = 0
- part4.CanCollide = true
- debounce4 = false
- end
- end)
- part5.Touched:Connect(function(touched5)
- if touched5.Parent:FindFirstChild("Humanoid") and debounce5 == false then
- debounce5 = true
- local copy = part5:Clone()
- part5.Transparency = 1
- part5.Texture1.Transparency = 1
- part5.Texture2.Transparency = 1
- part5.Texture3.Transparency = 1
- part5.Texture4.Transparency = 1
- part5.Texture5.Transparency = 1
- part5.CanCollide = false
- copy.Parent = part5.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part5.Texture1.Transparency = 0
- part5.Texture2.Transparency = 0
- part5.Texture3.Transparency = 0
- part5.Texture4.Transparency = 0
- part5.Texture5.Transparency = 0
- part5.Transparency = 0
- part5.CanCollide = true
- debounce5 = false
- end
- end)
- part6.Touched:Connect(function(touched6)
- if touched6.Parent:FindFirstChild("Humanoid") and debounce6 == false then
- debounce6 = true
- local copy = part6:Clone()
- part6.Transparency = 1
- part6.Texture1.Transparency = 1
- part6.Texture2.Transparency = 1
- part6.Texture3.Transparency = 1
- part6.Texture4.Transparency = 1
- part6.Texture5.Transparency = 1
- part6.CanCollide = false
- copy.Parent = part6.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part6.Texture1.Transparency = 0
- part6.Texture2.Transparency = 0
- part6.Texture3.Transparency = 0
- part6.Texture4.Transparency = 0
- part6.Texture5.Transparency = 0
- part6.Transparency = 0
- part6.CanCollide = true
- debounce6 = false
- end
- end)
- part7.Touched:Connect(function(touched7)
- if touched7.Parent:FindFirstChild("Humanoid") and debounce7 == false then
- debounce7 = true
- local copy = part7:Clone()
- part7.Transparency = 1
- part7.Texture1.Transparency = 1
- part7.Texture2.Transparency = 1
- part7.Texture3.Transparency = 1
- part7.Texture4.Transparency = 1
- part7.Texture5.Transparency = 1
- part7.CanCollide = false
- copy.Parent = part7.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part7.Texture1.Transparency = 0
- part7.Texture2.Transparency = 0
- part7.Texture3.Transparency = 0
- part7.Texture4.Transparency = 0
- part7.Texture5.Transparency = 0
- part7.Transparency = 0
- part7.CanCollide = true
- debounce7 = false
- end
- end)
- part8.Touched:Connect(function(touched8)
- if touched8.Parent:FindFirstChild("Humanoid") and debounce8 == false then
- debounce8 = true
- local copy = part8:Clone()
- part8.Transparency = 1
- part8.Texture1.Transparency = 1
- part8.Texture2.Transparency = 1
- part8.Texture3.Transparency = 1
- part8.Texture4.Transparency = 1
- part8.Texture5.Transparency = 1
- part8.CanCollide = false
- copy.Parent = part8.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part8.Texture1.Transparency = 0
- part8.Texture2.Transparency = 0
- part8.Texture3.Transparency = 0
- part8.Texture4.Transparency = 0
- part8.Texture5.Transparency = 0
- part8.Transparency = 0
- part8.CanCollide = true
- debounce8 = false
- end
- end)
- part9.Touched:Connect(function(touched9)
- if touched9.Parent:FindFirstChild("Humanoid") and debounce9 == false then
- debounce9 = true
- local copy = part9:Clone()
- part9.Transparency = 1
- part9.Texture1.Transparency = 1
- part9.Texture2.Transparency = 1
- part9.Texture3.Transparency = 1
- part9.Texture4.Transparency = 1
- part9.Texture5.Transparency = 1
- part9.CanCollide = false
- copy.Parent = part9.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part9.Texture1.Transparency = 0
- part9.Texture2.Transparency = 0
- part9.Texture3.Transparency = 0
- part9.Texture4.Transparency = 0
- part9.Texture5.Transparency = 0
- part9.Transparency = 0
- part9.CanCollide = true
- debounce9 = false
- end
- end)
- part10.Touched:Connect(function(touched10)
- if touched10.Parent:FindFirstChild("Humanoid") and debounce10 == false then
- debounce10 = true
- local copy = part10:Clone()
- part10.Transparency = 1
- part10.Texture1.Transparency = 1
- part10.Texture2.Transparency = 1
- part10.Texture3.Transparency = 1
- part10.Texture4.Transparency = 1
- part10.Texture5.Transparency = 1
- part10.CanCollide = false
- copy.Parent = part10.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part10.Texture1.Transparency = 0
- part10.Texture2.Transparency = 0
- part10.Texture3.Transparency = 0
- part10.Texture4.Transparency = 0
- part10.Texture5.Transparency = 0
- part10.Transparency = 0
- part10.CanCollide = true
- debounce10 = false
- end
- end)
- part11.Touched:Connect(function(touched11)
- if touched11.Parent:FindFirstChild("Humanoid") and debounce11 == false then
- debounce11 = true
- local copy = part11:Clone()
- part11.Transparency = 1
- part11.Texture1.Transparency = 1
- part11.Texture2.Transparency = 1
- part11.Texture3.Transparency = 1
- part11.Texture4.Transparency = 1
- part11.Texture5.Transparency = 1
- part11.CanCollide = false
- copy.Parent = part11.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part11.Texture1.Transparency = 0
- part11.Texture2.Transparency = 0
- part11.Texture3.Transparency = 0
- part11.Texture4.Transparency = 0
- part11.Texture5.Transparency = 0
- part11.Transparency = 0
- part11.CanCollide = true
- debounce11 = false
- end
- end)
- part12.Touched:Connect(function(touched12)
- if touched12.Parent:FindFirstChild("Humanoid") and debounce12 == false then
- debounce12 = true
- local copy = part12:Clone()
- part12.Transparency = 1
- part12.Texture1.Transparency = 1
- part12.Texture2.Transparency = 1
- part12.Texture3.Transparency = 1
- part12.Texture4.Transparency = 1
- part12.Texture5.Transparency = 1
- part12.CanCollide = false
- copy.Parent = part12.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part12.Texture1.Transparency = 0
- part12.Texture2.Transparency = 0
- part12.Texture3.Transparency = 0
- part12.Texture4.Transparency = 0
- part12.Texture5.Transparency = 0
- part12.Transparency = 0
- part12.CanCollide = true
- debounce12 = false
- end
- end)
- part13.Touched:Connect(function(touched13)
- if touched13.Parent:FindFirstChild("Humanoid") and debounce13 == false then
- debounce13 = true
- local copy = part13:Clone()
- part13.Transparency = 1
- part13.Texture1.Transparency = 1
- part13.Texture2.Transparency = 1
- part13.Texture3.Transparency = 1
- part13.Texture4.Transparency = 1
- part13.Texture5.Transparency = 1
- part13.CanCollide = false
- copy.Parent = part13.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part13.Texture1.Transparency = 0
- part13.Texture2.Transparency = 0
- part13.Texture3.Transparency = 0
- part13.Texture4.Transparency = 0
- part13.Texture5.Transparency = 0
- part13.Transparency = 0
- part13.CanCollide = true
- debounce13 = false
- end
- end)
- part14.Touched:Connect(function(touched14)
- if touched14.Parent:FindFirstChild("Humanoid") and debounce14 == false then
- debounce14 = true
- local copy = part14:Clone()
- part14.Transparency = 1
- part14.Texture1.Transparency = 1
- part14.Texture2.Transparency = 1
- part14.Texture3.Transparency = 1
- part14.Texture4.Transparency = 1
- part14.Texture5.Transparency = 1
- part14.CanCollide = false
- copy.Parent = part14.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part14.Texture1.Transparency = 0
- part14.Texture2.Transparency = 0
- part14.Texture3.Transparency = 0
- part14.Texture4.Transparency = 0
- part14.Texture5.Transparency = 0
- part14.Transparency = 0
- part14.CanCollide = true
- debounce14 = false
- end
- end)
- part15.Touched:Connect(function(touched15)
- if touched15.Parent:FindFirstChild("Humanoid") and debounce15 == false then
- debounce15 = true
- local copy = part15:Clone()
- part15.Transparency = 1
- part15.Texture1.Transparency = 1
- part15.Texture2.Transparency = 1
- part15.Texture3.Transparency = 1
- part15.Texture4.Transparency = 1
- part15.Texture5.Transparency = 1
- part15.CanCollide = false
- copy.Parent = part15.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part15.Texture1.Transparency = 0
- part15.Texture2.Transparency = 0
- part15.Texture3.Transparency = 0
- part15.Texture4.Transparency = 0
- part15.Texture5.Transparency = 0
- part15.Transparency = 0
- part15.CanCollide = true
- debounce15 = false
- end
- end)
- part16.Touched:Connect(function(touched16)
- if touched16.Parent:FindFirstChild("Humanoid") and debounce16 == false then
- debounce16 = true
- local copy = part16:Clone()
- part16.Transparency = 1
- part16.Texture1.Transparency = 1
- part16.Texture2.Transparency = 1
- part16.Texture3.Transparency = 1
- part16.Texture4.Transparency = 1
- part16.Texture5.Transparency = 1
- part16.CanCollide = false
- copy.Parent = part16.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part16.Texture1.Transparency = 0
- part16.Texture2.Transparency = 0
- part16.Texture3.Transparency = 0
- part16.Texture4.Transparency = 0
- part16.Texture5.Transparency = 0
- part16.Transparency = 0
- part16.CanCollide = true
- debounce16 = false
- end
- end)
- part17.Touched:Connect(function(touched17)
- if touched17.Parent:FindFirstChild("Humanoid") and debounce17 == false then
- debounce17 = true
- local copy = part17:Clone()
- part17.Transparency = 1
- part17.Texture1.Transparency = 1
- part17.Texture2.Transparency = 1
- part17.Texture3.Transparency = 1
- part17.Texture4.Transparency = 1
- part17.Texture5.Transparency = 1
- part17.CanCollide = false
- copy.Parent = part17.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part17.Texture1.Transparency = 0
- part17.Texture2.Transparency = 0
- part17.Texture3.Transparency = 0
- part17.Texture4.Transparency = 0
- part17.Texture5.Transparency = 0
- part17.Transparency = 0
- part17.CanCollide = true
- debounce17 = false
- end
- end)
- part18.Touched:Connect(function(touched18)
- if touched18.Parent:FindFirstChild("Humanoid") and debounce18 == false then
- debounce18 = true
- local copy = part18:Clone()
- part18.Transparency = 1
- part18.Texture1.Transparency = 1
- part18.Texture2.Transparency = 1
- part18.Texture3.Transparency = 1
- part18.Texture4.Transparency = 1
- part18.Texture5.Transparency = 1
- part18.CanCollide = false
- copy.Parent = part18.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part18.Texture1.Transparency = 0
- part18.Texture2.Transparency = 0
- part18.Texture3.Transparency = 0
- part18.Texture4.Transparency = 0
- part18.Texture5.Transparency = 0
- part18.Transparency = 0
- part18.CanCollide = true
- debounce18 = false
- end
- end)
- part19.Touched:Connect(function(touched19)
- if touched19.Parent:FindFirstChild("Humanoid") and debounce19 == false then
- debounce19 = true
- local copy = part19:Clone()
- part19.Transparency = 1
- part19.Texture1.Transparency = 1
- part19.Texture2.Transparency = 1
- part19.Texture3.Transparency = 1
- part19.Texture4.Transparency = 1
- part19.Texture5.Transparency = 1
- part19.CanCollide = false
- copy.Parent = part19.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part19.Texture1.Transparency = 0
- part19.Texture2.Transparency = 0
- part19.Texture3.Transparency = 0
- part19.Texture4.Transparency = 0
- part19.Texture5.Transparency = 0
- part19.Transparency = 0
- part19.CanCollide = true
- debounce19 = false
- end
- end)
- part20.Touched:Connect(function(touched20)
- if touched20.Parent:FindFirstChild("Humanoid") and debounce20 == false then
- debounce20 = true
- local copy = part20:Clone()
- part20.Transparency = 1
- part20.Texture1.Transparency = 1
- part20.Texture2.Transparency = 1
- part20.Texture3.Transparency = 1
- part20.Texture4.Transparency = 1
- part20.Texture5.Transparency = 1
- part20.CanCollide = false
- copy.Parent = part20.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part20.Texture1.Transparency = 0
- part20.Texture2.Transparency = 0
- part20.Texture3.Transparency = 0
- part20.Texture4.Transparency = 0
- part20.Texture5.Transparency = 0
- part20.Transparency = 0
- part20.CanCollide = true
- debounce20 = false
- end
- end)
- part21.Touched:Connect(function(touched21)
- if touched21.Parent:FindFirstChild("Humanoid") and debounce21 == false then
- debounce21 = true
- local copy = part21:Clone()
- part21.Transparency = 1
- part21.Texture1.Transparency = 1
- part21.Texture2.Transparency = 1
- part21.Texture3.Transparency = 1
- part21.Texture4.Transparency = 1
- part21.Texture5.Transparency = 1
- part21.CanCollide = false
- copy.Parent = part21.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part21.Texture1.Transparency = 0
- part21.Texture2.Transparency = 0
- part21.Texture3.Transparency = 0
- part21.Texture4.Transparency = 0
- part21.Texture5.Transparency = 0
- part21.Transparency = 0
- part21.CanCollide = true
- debounce21 = false
- end
- end)
- part22.Touched:Connect(function(touched22)
- if touched22.Parent:FindFirstChild("Humanoid") and debounce22 == false then
- debounce22 = true
- local copy = part22:Clone()
- part22.Transparency = 1
- part22.Texture1.Transparency = 1
- part22.Texture2.Transparency = 1
- part22.Texture3.Transparency = 1
- part22.Texture4.Transparency = 1
- part22.Texture5.Transparency = 1
- part22.CanCollide = false
- copy.Parent = part22.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part22.Texture1.Transparency = 0
- part22.Texture2.Transparency = 0
- part22.Texture3.Transparency = 0
- part22.Texture4.Transparency = 0
- part22.Texture5.Transparency = 0
- part22.Transparency = 0
- part22.CanCollide = true
- debounce22 = false
- end
- end)
- part23.Touched:Connect(function(touched23)
- if touched23.Parent:FindFirstChild("Humanoid") and debounce23 == false then
- debounce23 = true
- local copy = part23:Clone()
- part23.Transparency = 1
- part23.Texture1.Transparency = 1
- part23.Texture2.Transparency = 1
- part23.Texture3.Transparency = 1
- part23.Texture4.Transparency = 1
- part23.Texture5.Transparency = 1
- part23.CanCollide = false
- copy.Parent = part23.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part23.Texture1.Transparency = 0
- part23.Texture2.Transparency = 0
- part23.Texture3.Transparency = 0
- part23.Texture4.Transparency = 0
- part23.Texture5.Transparency = 0
- part23.Transparency = 0
- part23.CanCollide = true
- debounce23 = false
- end
- end)
- part24.Touched:Connect(function(touched24)
- if touched24.Parent:FindFirstChild("Humanoid") and debounce24 == false then
- debounce24 = true
- local copy = part24:Clone()
- part24.Transparency = 1
- part24.Texture1.Transparency = 1
- part24.Texture2.Transparency = 1
- part24.Texture3.Transparency = 1
- part24.Texture4.Transparency = 1
- part24.Texture5.Transparency = 1
- part24.CanCollide = false
- copy.Parent = part24.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part24.Texture1.Transparency = 0
- part24.Texture2.Transparency = 0
- part24.Texture3.Transparency = 0
- part24.Texture4.Transparency = 0
- part24.Texture5.Transparency = 0
- part24.Transparency = 0
- part24.CanCollide = true
- debounce24 = false
- end
- end)
- part25.Touched:Connect(function(touched25)
- if touched25.Parent:FindFirstChild("Humanoid") and debounce25 == false then
- debounce25 = true
- local copy = part25:Clone()
- part25.Transparency = 1
- part25.Texture1.Transparency = 1
- part25.Texture2.Transparency = 1
- part25.Texture3.Transparency = 1
- part25.Texture4.Transparency = 1
- part25.Texture5.Transparency = 1
- part25.CanCollide = false
- copy.Parent = part25.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part25.Texture1.Transparency = 0
- part25.Texture2.Transparency = 0
- part25.Texture3.Transparency = 0
- part25.Texture4.Transparency = 0
- part25.Texture5.Transparency = 0
- part25.Transparency = 0
- part25.CanCollide = true
- debounce25 = false
- end
- end)
- part26.Touched:Connect(function(touched26)
- if touched26.Parent:FindFirstChild("Humanoid") and debounce26 == false then
- debounce26 = true
- local copy = part26:Clone()
- part26.Transparency = 1
- part26.Texture1.Transparency = 1
- part26.Texture2.Transparency = 1
- part26.Texture3.Transparency = 1
- part26.Texture4.Transparency = 1
- part26.Texture5.Transparency = 1
- part26.CanCollide = false
- copy.Parent = part26.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part26.Texture1.Transparency = 0
- part26.Texture2.Transparency = 0
- part26.Texture3.Transparency = 0
- part26.Texture4.Transparency = 0
- part26.Texture5.Transparency = 0
- part26.Transparency = 0
- part26.CanCollide = true
- debounce26 = false
- end
- end)
- part27.Touched:Connect(function(touched27)
- if touched27.Parent:FindFirstChild("Humanoid") and debounce27 == false then
- debounce27 = true
- local copy = part27:Clone()
- part27.Transparency = 1
- part27.Texture1.Transparency = 1
- part27.Texture2.Transparency = 1
- part27.Texture3.Transparency = 1
- part27.Texture4.Transparency = 1
- part27.Texture5.Transparency = 1
- part27.CanCollide = false
- copy.Parent = part27.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part27.Texture1.Transparency = 0
- part27.Texture2.Transparency = 0
- part27.Texture3.Transparency = 0
- part27.Texture4.Transparency = 0
- part27.Texture5.Transparency = 0
- part27.Transparency = 0
- part27.CanCollide = true
- debounce27 = false
- end
- end)
- part28.Touched:Connect(function(touched28)
- if touched28.Parent:FindFirstChild("Humanoid") and debounce28 == false then
- debounce28 = true
- local copy = part28:Clone()
- part28.Transparency = 1
- part28.Texture1.Transparency = 1
- part28.Texture2.Transparency = 1
- part28.Texture3.Transparency = 1
- part28.Texture4.Transparency = 1
- part28.Texture5.Transparency = 1
- part28.CanCollide = false
- copy.Parent = part28.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part28.Texture1.Transparency = 0
- part28.Texture2.Transparency = 0
- part28.Texture3.Transparency = 0
- part28.Texture4.Transparency = 0
- part28.Texture5.Transparency = 0
- part28.Transparency = 0
- part28.CanCollide = true
- debounce28 = false
- end
- end)
- part29.Touched:Connect(function(touched29)
- if touched29.Parent:FindFirstChild("Humanoid") and debounce29 == false then
- debounce29 = true
- local copy = part29:Clone()
- part29.Transparency = 1
- part29.Texture1.Transparency = 1
- part29.Texture2.Transparency = 1
- part29.Texture3.Transparency = 1
- part29.Texture4.Transparency = 1
- part29.Texture5.Transparency = 1
- part29.CanCollide = false
- copy.Parent = part29.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part29.Texture1.Transparency = 0
- part29.Texture2.Transparency = 0
- part29.Texture3.Transparency = 0
- part29.Texture4.Transparency = 0
- part29.Texture5.Transparency = 0
- part29.Transparency = 0
- part29.CanCollide = true
- debounce29 = false
- end
- end)
- part30.Touched:Connect(function(touched30)
- if touched30.Parent:FindFirstChild("Humanoid") and debounce30 == false then
- debounce30 = true
- local copy = part30:Clone()
- part30.Transparency = 1
- part30.Texture1.Transparency = 1
- part30.Texture2.Transparency = 1
- part30.Texture3.Transparency = 1
- part30.Texture4.Transparency = 1
- part30.Texture5.Transparency = 1
- part30.CanCollide = false
- copy.Parent = part30.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part30.Texture1.Transparency = 0
- part30.Texture2.Transparency = 0
- part30.Texture3.Transparency = 0
- part30.Texture4.Transparency = 0
- part30.Texture5.Transparency = 0
- part30.Transparency = 0
- part30.CanCollide = true
- debounce30 = false
- end
- end)
- part31.Touched:Connect(function(touched31)
- if touched31.Parent:FindFirstChild("Humanoid") and debounce31 == false then
- debounce31 = true
- local copy = part31:Clone()
- part31.Transparency = 1
- part31.Texture1.Transparency = 1
- part31.Texture2.Transparency = 1
- part31.Texture3.Transparency = 1
- part31.Texture4.Transparency = 1
- part31.Texture5.Transparency = 1
- part31.CanCollide = false
- copy.Parent = part31.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part31.Texture1.Transparency = 0
- part31.Texture2.Transparency = 0
- part31.Texture3.Transparency = 0
- part31.Texture4.Transparency = 0
- part31.Texture5.Transparency = 0
- part31.Transparency = 0
- part31.CanCollide = true
- debounce31 = false
- end
- end)
- part32.Touched:Connect(function(touched32)
- if touched32.Parent:FindFirstChild("Humanoid") and debounce32 == false then
- debounce32 = true
- local copy = part32:Clone()
- part32.Transparency = 1
- part32.Texture1.Transparency = 1
- part32.Texture2.Transparency = 1
- part32.Texture3.Transparency = 1
- part32.Texture4.Transparency = 1
- part32.Texture5.Transparency = 1
- part32.CanCollide = false
- copy.Parent = part32.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part32.Texture1.Transparency = 0
- part32.Texture2.Transparency = 0
- part32.Texture3.Transparency = 0
- part32.Texture4.Transparency = 0
- part32.Texture5.Transparency = 0
- part32.Transparency = 0
- part32.CanCollide = true
- debounce32 = false
- end
- end)
- part33.Touched:Connect(function(touched33)
- if touched33.Parent:FindFirstChild("Humanoid") and debounce33 == false then
- debounce33 = true
- local copy = part33:Clone()
- part33.Transparency = 1
- part33.Texture1.Transparency = 1
- part33.Texture2.Transparency = 1
- part33.Texture3.Transparency = 1
- part33.Texture4.Transparency = 1
- part33.Texture5.Transparency = 1
- part33.CanCollide = false
- copy.Parent = part33.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part33.Texture1.Transparency = 0
- part33.Texture2.Transparency = 0
- part33.Texture3.Transparency = 0
- part33.Texture4.Transparency = 0
- part33.Texture5.Transparency = 0
- part33.Transparency = 0
- part33.CanCollide = true
- debounce33 = false
- end
- end)
- part34.Touched:Connect(function(touched34)
- if touched34.Parent:FindFirstChild("Humanoid") and debounce34 == false then
- debounce34 = true
- local copy = part34:Clone()
- part34.Transparency = 1
- part34.Texture1.Transparency = 1
- part34.Texture2.Transparency = 1
- part34.Texture3.Transparency = 1
- part34.Texture4.Transparency = 1
- part34.Texture5.Transparency = 1
- part34.CanCollide = false
- copy.Parent = part34.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part34.Texture1.Transparency = 0
- part34.Texture2.Transparency = 0
- part34.Texture3.Transparency = 0
- part34.Texture4.Transparency = 0
- part34.Texture5.Transparency = 0
- part34.Transparency = 0
- part34.CanCollide = true
- debounce34 = false
- end
- end)
- part35.Touched:Connect(function(touched35)
- if touched35.Parent:FindFirstChild("Humanoid") and debounce35 == false then
- debounce35 = true
- local copy = part35:Clone()
- part35.Transparency = 1
- part35.Texture1.Transparency = 1
- part35.Texture2.Transparency = 1
- part35.Texture3.Transparency = 1
- part35.Texture4.Transparency = 1
- part35.Texture5.Transparency = 1
- part35.CanCollide = false
- copy.Parent = part35.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part35.Texture1.Transparency = 0
- part35.Texture2.Transparency = 0
- part35.Texture3.Transparency = 0
- part35.Texture4.Transparency = 0
- part35.Texture5.Transparency = 0
- part35.Transparency = 0
- part35.CanCollide = true
- debounce35 = false
- end
- end)
- part36.Touched:Connect(function(touched36)
- if touched36.Parent:FindFirstChild("Humanoid") and debounce36 == false then
- debounce36 = true
- local copy = part36:Clone()
- part36.Transparency = 1
- part36.Texture1.Transparency = 1
- part36.Texture2.Transparency = 1
- part36.Texture3.Transparency = 1
- part36.Texture4.Transparency = 1
- part36.CanCollide = false
- copy.Parent = part36.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part36.Texture1.Transparency = 0
- part36.Texture2.Transparency = 0
- part36.Texture3.Transparency = 0
- part36.Texture4.Transparency = 0
- part36.Transparency = 0
- part36.CanCollide = true
- debounce36 = false
- end
- end)
- part37.Touched:Connect(function(touched37)
- if touched37.Parent:FindFirstChild("Humanoid") and debounce37 == false then
- debounce37 = true
- local copy = part37:Clone()
- part37.Transparency = 1
- part37.Texture1.Transparency = 1
- part37.Texture2.Transparency = 1
- part37.Texture3.Transparency = 1
- part37.Texture4.Transparency = 1
- part37.CanCollide = false
- copy.Parent = part37.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part37.Texture1.Transparency = 0
- part37.Texture2.Transparency = 0
- part37.Texture3.Transparency = 0
- part37.Texture4.Transparency = 0
- part37.Transparency = 0
- part37.CanCollide = true
- debounce37 = false
- end
- end)
- part38.Touched:Connect(function(touched38)
- if touched38.Parent:FindFirstChild("Humanoid") and debounce38 == false then
- debounce38 = true
- local copy = part38:Clone()
- part38.Transparency = 1
- part38.Texture1.Transparency = 1
- part38.Texture2.Transparency = 1
- part38.Texture3.Transparency = 1
- part38.Texture4.Transparency = 1
- part38.CanCollide = false
- copy.Parent = part38.Parent
- copy.Anchored = false
- --print("im first")
- copy.Color = Color3.new(1, 0, 0)
- wait(1.5)
- copy.CanCollide = false
- --print("im second")
- copy:Destroy()
- part38.Texture1.Transparency = 0
- part38.Texture2.Transparency = 0
- part38.Texture3.Transparency = 0
- part38.Texture4.Transparency = 0
- part38.Transparency = 0
- part38.CanCollide = true
- debounce38 = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement