Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(Enum,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- UnionOperation2 = Instance.new("UnionOperation")
- Part3 = Instance.new("Part")
- UnionOperation4 = Instance.new("UnionOperation")
- Model5 = Instance.new("Model")
- Part6 = Instance.new("Part")
- BlockMesh7 = Instance.new("BlockMesh")
- Sound8 = Instance.new("Sound")
- Sound9 = Instance.new("Sound")
- Script10 = Instance.new("Script")
- UnionOperation11 = Instance.new("UnionOperation")
- ClickDetector12 = Instance.new("ClickDetector")
- UnionOperation13 = Instance.new("UnionOperation")
- ClickDetector14 = Instance.new("ClickDetector")
- Sound15 = Instance.new("Sound")
- UnionOperation16 = Instance.new("UnionOperation")
- UnionOperation17 = Instance.new("UnionOperation")
- UnionOperation18 = Instance.new("UnionOperation")
- UnionOperation19 = Instance.new("UnionOperation")
- UnionOperation20 = Instance.new("UnionOperation")
- UnionOperation21 = Instance.new("UnionOperation")
- UnionOperation22 = Instance.new("UnionOperation")
- Part23 = Instance.new("Part")
- Part24 = Instance.new("Part")
- SpecialMesh25 = Instance.new("SpecialMesh")
- Part26 = Instance.new("Part")
- SpecialMesh27 = Instance.new("SpecialMesh")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- ClickDetector31 = Instance.new("ClickDetector")
- Script32 = Instance.new("Script")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- ClickDetector37 = Instance.new("ClickDetector")
- Script38 = Instance.new("Script")
- Part39 = Instance.new("Part")
- Part40 = Instance.new("Part")
- Part41 = Instance.new("Part")
- Part42 = Instance.new("Part")
- Snap43 = Instance.new("Snap")
- Weld44 = Instance.new("Weld")
- Weld45 = Instance.new("Weld")
- Snap46 = Instance.new("Snap")
- Snap47 = Instance.new("Snap")
- Snap48 = Instance.new("Snap")
- Snap49 = Instance.new("Snap")
- Part50 = Instance.new("Part")
- UnionOperation51 = Instance.new("UnionOperation")
- Model0.Name = "DoorModel"
- Model0.Parent = mas
- Model1.Name = "Frame"
- Model1.Parent = Model0
- UnionOperation2.Parent = Model1
- UnionOperation2.CFrame = CFrame.new(-14.7875824, 3.80016994, -37.7771111, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1)
- UnionOperation2.Position = Vector3.new(-14.7875824, 3.80016994, -37.7771111)
- UnionOperation2.Color = Color3.new(0.623529, 0.631373, 0.67451)
- UnionOperation2.Size = Vector3.new(10.3998728, 7.60000134, 1.20000005)
- UnionOperation2.Anchored = true
- UnionOperation2.BrickColor = BrickColor.new("Fossil")
- UnionOperation2.Material = Enum.Material.Metal
- UnionOperation2.brickColor = BrickColor.new("Fossil")
- UnionOperation2.UsePartColor = true
- Part3.Parent = Model1
- Part3.CFrame = CFrame.new(-14.7875023, 8.59948635, -37.7771721, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1)
- Part3.Position = Vector3.new(-14.7875023, 8.59948635, -37.7771721)
- Part3.Color = Color3.new(0.623529, 0.631373, 0.67451)
- Part3.Size = Vector3.new(10.3999996, 1.99999964, 1.20000005)
- Part3.Anchored = true
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BrickColor = BrickColor.new("Fossil")
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Material = Enum.Material.Metal
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.brickColor = BrickColor.new("Fossil")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.formFactor = Enum.FormFactor.Symmetric
- UnionOperation4.Parent = Model1
- UnionOperation4.CFrame = CFrame.new(-14.7876863, 3.80016994, -37.7771721, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
- UnionOperation4.Orientation = Vector3.new(0, -90, 0)
- UnionOperation4.Position = Vector3.new(-14.7876863, 3.80016994, -37.7771721)
- UnionOperation4.Rotation = Vector3.new(0, -90, 0)
- UnionOperation4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- UnionOperation4.Size = Vector3.new(0.800006628, 7.60012197, 5.2000618)
- UnionOperation4.Anchored = true
- UnionOperation4.BrickColor = BrickColor.new("Black")
- UnionOperation4.Material = Enum.Material.Metal
- UnionOperation4.brickColor = BrickColor.new("Black")
- UnionOperation4.UsePartColor = true
- Model5.Name = "ScriptedComponents"
- Model5.Parent = Model0
- Part6.Name = "Door"
- Part6.Parent = Model5
- Part6.CFrame = CFrame.new(-14.7844963, 3.86438394, -37.4192009, 3.30000003e-05, -3.9999999e-05, 1, 0, 1, 3.9999999e-05, -1, -1.32e-09, 3.30000003e-05)
- Part6.Orientation = Vector3.new(0, 90, 0)
- Part6.Position = Vector3.new(-14.7844963, 3.86438394, -37.4192009)
- Part6.Rotation = Vector3.new(0, 90, 0)
- Part6.Size = Vector3.new(0.219999775, 7.39000416, 4.85000277)
- Part6.Anchored = true
- Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.Material = Enum.Material.DiamondPlate
- Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.FormFactor = Enum.FormFactor.Custom
- Part6.formFactor = Enum.FormFactor.Custom
- BlockMesh7.Parent = Part6
- BlockMesh7.Scale = Vector3.new(0.600000024, 1, 1)
- Sound8.Name = "DoorOpen"
- Sound8.Parent = Part6
- Sound8.Pitch = 2
- Sound8.PlaybackSpeed = 2
- Sound8.SoundId = "rbxassetid://171412771"
- Sound8.Volume = 1
- Sound9.Name = "DoorClose"
- Sound9.Parent = Part6
- Sound9.Pitch = 2
- Sound9.PlaybackSpeed = 2
- Sound9.SoundId = "rbxassetid://171412771"
- Sound9.Volume = 1
- Script10.Name = "Main"
- Script10.Parent = Model5
- table.insert(cors,sandbox(Script10,function()
- --Made by xImmortalChaos for Site-40.
- local Door = script.Parent.Door
- local Button1 = script.Parent.Button1
- local Button2 = script.Parent.Button2
- local Open = false
- local OpenSound = Door.DoorOpen
- local CloseSound = Door.DoorClose
- local Debounce = false
- function ButtonClicked(Player)
- if not Debounce then
- Debounce = true
- if Open then
- Open = false
- CloseSound:Play()
- Door.Transparency = 0
- for i,v in pairs(Door:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = 0
- end
- end
- for i = 1,(Door.Size.z / 0.30) do
- Door.CFrame = Door.CFrame + (Door.CFrame.lookVector * 0.30)
- wait()
- end
- else
- Open = true
- OpenSound:Play()
- for i = 1,(Door.Size.z / 0.30) do
- Door.CFrame = Door.CFrame - (Door.CFrame.lookVector * 0.30)
- wait()
- end
- Door.Transparency = 1
- for i,v in pairs(Door:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = 1
- end
- end
- end
- wait(0.4)
- Debounce = false
- end
- end
- Button1.ClickDetector.MouseClick:connect(ButtonClicked)
- Button2.ClickDetector.MouseClick:connect(ButtonClicked)
- end))
- UnionOperation11.Name = "Button2"
- UnionOperation11.Parent = Model5
- UnionOperation11.CFrame = CFrame.new(-11.572238, 3.97228098, -37.2059135, 0, 0, -1, -1, 6.90000015e-05, 0, 6.90000015e-05, 1, 0)
- UnionOperation11.Orientation = Vector3.new(0, -90, -90)
- UnionOperation11.Position = Vector3.new(-11.572238, 3.97228098, -37.2059135)
- UnionOperation11.Rotation = Vector3.new(90, -90, 0)
- UnionOperation11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- UnionOperation11.Size = Vector3.new(1, 0.224999994, 0.625)
- UnionOperation11.Anchored = true
- UnionOperation11.BrickColor = BrickColor.new("Dark stone grey")
- UnionOperation11.CustomPhysicalProperties = 7.8499999, 0.300000012, 0, 1, 1
- UnionOperation11.Elasticity = 0
- UnionOperation11.Material = Enum.Material.Metal
- UnionOperation11.brickColor = BrickColor.new("Dark stone grey")
- ClickDetector12.Parent = UnionOperation11
- ClickDetector12.MaxActivationDistance = 8
- UnionOperation13.Name = "Button1"
- UnionOperation13.Parent = Model5
- UnionOperation13.CFrame = CFrame.new(-18.0823517, 3.67199397, -38.4454765, 6.39999998e-05, 0, 1, -1, -6.39999998e-05, 6.39999998e-05, 6.39999998e-05, -1, -4.09599998e-09)
- UnionOperation13.Orientation = Vector3.new(0, 90, -90)
- UnionOperation13.Position = Vector3.new(-18.0823517, 3.67199397, -38.4454765)
- UnionOperation13.Rotation = Vector3.new(-90, 90, 0)
- UnionOperation13.Color = Color3.new(0.388235, 0.372549, 0.384314)
- UnionOperation13.Size = Vector3.new(1, 0.224999994, 0.625)
- UnionOperation13.Anchored = true
- UnionOperation13.BrickColor = BrickColor.new("Dark stone grey")
- UnionOperation13.CustomPhysicalProperties = 7.8499999, 0.300000012, 0, 1, 1
- UnionOperation13.Elasticity = 0
- UnionOperation13.Material = Enum.Material.Metal
- UnionOperation13.brickColor = BrickColor.new("Dark stone grey")
- ClickDetector14.Parent = UnionOperation13
- ClickDetector14.MaxActivationDistance = 8
- Sound15.Parent = Model0
- Sound15.Pitch = 2
- Sound15.PlaybackSpeed = 2
- Sound15.SoundId = "rbxassetid://171412771"
- Sound15.Volume = 1
- UnionOperation16.Name = "Light1"
- UnionOperation16.Parent = Model0
- UnionOperation16.CFrame = CFrame.new(-14.0809917, 4.87439108, -37.7360535, 0.977214217, -0.212255523, 8.77729763e-05, -0.212255493, -0.977214277, -4.01147699e-05, 9.42875849e-05, 2.05704255e-05, -1)
- UnionOperation16.Orientation = Vector3.new(0, 179.990005, -167.75)
- UnionOperation16.Position = Vector3.new(-14.0809917, 4.87439108, -37.7360535)
- UnionOperation16.Rotation = Vector3.new(180, 0.00999999978, 12.25)
- UnionOperation16.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation16.Size = Vector3.new(7.83211994, 2.04753542, 1.31475699)
- UnionOperation16.Anchored = true
- UnionOperation16.Material = Enum.Material.Neon
- UnionOperation16.UsePartColor = true
- UnionOperation17.Name = "Light2"
- UnionOperation17.Parent = Model0
- UnionOperation17.CFrame = CFrame.new(-14.2647076, 4.88756609, -37.7359924, -1, 8.63111054e-05, 4.31590779e-05, 4.31562621e-05, -3.26622794e-05, 1, 8.63125169e-05, 1, 3.26585541e-05)
- UnionOperation17.Orientation = Vector3.new(-90, -180, 0)
- UnionOperation17.Position = Vector3.new(-14.2647076, 4.88756609, -37.7359924)
- UnionOperation17.Rotation = Vector3.new(-90, 0, -180)
- UnionOperation17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation17.Size = Vector3.new(7.99411345, 1.31598508, 0.400443137)
- UnionOperation17.Anchored = true
- UnionOperation17.Material = Enum.Material.Neon
- UnionOperation17.UsePartColor = true
- UnionOperation18.Name = "Light3"
- UnionOperation18.Parent = Model0
- UnionOperation18.CFrame = CFrame.new(-14.1703625, 4.88756609, -37.7394867, -0.977202654, 0.212308615, 8.12528815e-05, -0.212308601, -0.977202654, 0.000100801175, 0.000100801488, 8.12524886e-05, 1)
- UnionOperation18.Orientation = Vector3.new(-0.00999999978, 0, -167.740005)
- UnionOperation18.Position = Vector3.new(-14.1703625, 4.88756609, -37.7394867)
- UnionOperation18.Rotation = Vector3.new(-0.00999999978, 0, -167.740005)
- UnionOperation18.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation18.Size = Vector3.new(8.01174831, 2.05979967, 1.31583416)
- UnionOperation18.Anchored = true
- UnionOperation18.Material = Enum.Material.Neon
- UnionOperation18.UsePartColor = true
- UnionOperation19.Name = "Light6"
- UnionOperation19.Parent = Model0
- UnionOperation19.CFrame = CFrame.new(-11.6344757, 5.07405376, -37.154705, 0.496503234, 7.46548176e-05, -0.868034363, -0.868034363, -4.23192978e-05, -0.49650228, -7.46548176e-05, 0.999999046, 4.42266464e-05)
- UnionOperation19.Orientation = Vector3.new(29.7700005, -90, -90)
- UnionOperation19.Position = Vector3.new(-11.6344757, 5.07405376, -37.154705)
- UnionOperation19.Rotation = Vector3.new(89.9899979, -60.2299995, -0.00999999978)
- UnionOperation19.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation19.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
- UnionOperation19.Anchored = true
- UnionOperation19.Material = Enum.Material.Neon
- UnionOperation19.UsePartColor = true
- UnionOperation20.Name = "Light5"
- UnionOperation20.Parent = UnionOperation19
- UnionOperation20.CFrame = CFrame.new(-11.4801779, 5.07405376, -37.154705, -0.496501327, 3.14116478e-05, 0.868034244, -0.868034244, 0.000119030476, -0.49650234, -0.000118046999, -0.999998987, -3.02791595e-05)
- UnionOperation20.Orientation = Vector3.new(29.7700005, 90, -89.9899979)
- UnionOperation20.Position = Vector3.new(-11.4801779, 5.07405376, -37.154705)
- UnionOperation20.Rotation = Vector3.new(90, 60.2299995, -180)
- UnionOperation20.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation20.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
- UnionOperation20.Anchored = true
- UnionOperation20.Material = Enum.Material.Neon
- UnionOperation20.UsePartColor = true
- UnionOperation21.Name = "Light7"
- UnionOperation21.Parent = Model0
- UnionOperation21.CFrame = CFrame.new(-18.1512432, 4.85388708, -38.3611031, 0.496503234, 7.46548176e-05, -0.868034363, -0.868034363, -4.23192978e-05, -0.49650228, -7.46548176e-05, 0.999999046, 4.42266464e-05)
- UnionOperation21.Orientation = Vector3.new(29.7700005, -90, -90)
- UnionOperation21.Position = Vector3.new(-18.1512432, 4.85388708, -38.3611031)
- UnionOperation21.Rotation = Vector3.new(89.9899979, -60.2299995, -0.00999999978)
- UnionOperation21.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation21.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
- UnionOperation21.Anchored = true
- UnionOperation21.Material = Enum.Material.Neon
- UnionOperation21.UsePartColor = true
- UnionOperation22.Name = "Light4"
- UnionOperation22.Parent = UnionOperation21
- UnionOperation22.CFrame = CFrame.new(-17.9969158, 4.85388708, -38.3610535, -0.496501327, 3.14116478e-05, 0.868034244, -0.868034244, 0.000119030476, -0.49650234, -0.000118046999, -0.999998987, -3.02791595e-05)
- UnionOperation22.Orientation = Vector3.new(29.7700005, 90, -89.9899979)
- UnionOperation22.Position = Vector3.new(-17.9969158, 4.85388708, -38.3610535)
- UnionOperation22.Rotation = Vector3.new(90, 60.2299995, -180)
- UnionOperation22.Color = Color3.new(0.972549, 0.972549, 0.972549)
- UnionOperation22.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
- UnionOperation22.Anchored = true
- UnionOperation22.Material = Enum.Material.Neon
- UnionOperation22.UsePartColor = true
- Part23.Name = "Brick"
- Part23.Parent = mas
- Part23.CFrame = CFrame.new(-15.1175499, 2.61691952, -47.6800041, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
- Part23.Orientation = Vector3.new(0, -177.470001, 0)
- Part23.Position = Vector3.new(-15.1175499, 2.61691952, -47.6800041)
- Part23.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part23.Size = Vector3.new(1.73846054, 0.521538198, 0.434615135)
- Part23.Anchored = true
- Part23.BrickColor = BrickColor.new("Really black")
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.brickColor = BrickColor.new("Really black")
- Part24.Name = "Speaker"
- Part24.Parent = mas
- Part24.CFrame = CFrame.new(-15.6978054, 1.3565371, -46.044693, 0.999025762, 0.0441749245, -0, 0, 0, -1, -0.0441749245, 0.999025762, 0)
- Part24.Orientation = Vector3.new(90, 2.52999997, 0)
- Part24.Position = Vector3.new(-15.6978054, 1.3565371, -46.044693)
- Part24.Rotation = Vector3.new(90, 0, -2.52999997)
- Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part24.Size = Vector3.new(1.30384541, 0.173846051, 1.30384541)
- Part24.Anchored = true
- Part24.BottomSurface = Enum.SurfaceType.Weld
- Part24.BrickColor = BrickColor.new("Really black")
- Part24.TopSurface = Enum.SurfaceType.Smooth
- Part24.brickColor = BrickColor.new("Really black")
- SpecialMesh25.Parent = Part24
- SpecialMesh25.MeshType = Enum.MeshType.Sphere
- Part26.Name = "Speaker"
- Part26.Parent = mas
- Part26.CFrame = CFrame.new(-13.5268421, 1.44345963, -46.1406784, 0.999025762, 0.0441749245, -0, 0, 0, -1, -0.0441749245, 0.999025762, 0)
- Part26.Orientation = Vector3.new(90, 2.52999997, 0)
- Part26.Position = Vector3.new(-13.5268421, 1.44345963, -46.1406784)
- Part26.Rotation = Vector3.new(90, 0, -2.52999997)
- Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part26.Size = Vector3.new(1.30384541, 0.173846051, 1.30384541)
- Part26.Anchored = true
- Part26.BottomSurface = Enum.SurfaceType.Weld
- Part26.BrickColor = BrickColor.new("Really black")
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.brickColor = BrickColor.new("Really black")
- SpecialMesh27.Parent = Part26
- SpecialMesh27.MeshType = Enum.MeshType.Sphere
- Part28.Name = "Brick"
- Part28.Parent = mas
- Part28.CFrame = CFrame.new(-13.3519802, 2.61691952, -47.1055107, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
- Part28.Orientation = Vector3.new(0, -177.470001, 0)
- Part28.Position = Vector3.new(-13.3519802, 2.61691952, -47.1055107)
- Part28.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Size = Vector3.new(1.73846054, 0.521538198, 1.73846054)
- Part28.Anchored = true
- Part28.BrickColor = BrickColor.new("Really black")
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.brickColor = BrickColor.new("Really black")
- Part29.Name = "Brick"
- Part29.Parent = mas
- Part29.CFrame = CFrame.new(-13.1444836, 5.70268679, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part29.Orientation = Vector3.new(0, -87.4700012, -90)
- Part29.Position = Vector3.new(-13.1444836, 5.70268679, -47.3321991)
- Part29.Rotation = Vector3.new(0, -87.4700012, -90)
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part29.Anchored = true
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.BrickColor = BrickColor.new("Really black")
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.brickColor = BrickColor.new("Really black")
- Part29.Shape = Enum.PartType.Cylinder
- Part30.Name = "stop"
- Part30.Parent = mas
- Part30.CFrame = CFrame.new(-14.6449566, 2.61691952, -46.8308182, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
- Part30.Orientation = Vector3.new(0, -177.470001, 0)
- Part30.Position = Vector3.new(-14.6449566, 2.61691952, -46.8308182)
- Part30.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part30.Color = Color3.new(1, 0, 0)
- Part30.Size = Vector3.new(0.86923027, 0.521538198, 1.30384541)
- Part30.Anchored = true
- Part30.BrickColor = BrickColor.new("Really red")
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part30.brickColor = BrickColor.new("Really red")
- ClickDetector31.Parent = Part30
- ClickDetector31.MaxActivationDistance = 50
- Script32.Parent = Part30
- table.insert(cors,sandbox(Script32,function()
- brick=script.Parent
- other=brick.Parent.play
- music=brick.Parent.music
- function onClicked()
- music:Stop()
- brick.Size=Vector3.new(2, 0.8, 3)
- brick.Position=brick.Position-Vector3.new(0, 0.2, 0)
- other.Size=Vector3.new(2, 1.2, 3)
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part33.Name = "Brick"
- Part33.Parent = mas
- Part33.CFrame = CFrame.new(-13.1444836, 5.26807165, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part33.Orientation = Vector3.new(0, -87.4700012, -90)
- Part33.Position = Vector3.new(-13.1444836, 5.26807165, -47.3321991)
- Part33.Rotation = Vector3.new(0, -87.4700012, -90)
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part33.Anchored = true
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.BrickColor = BrickColor.new("Really black")
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.brickColor = BrickColor.new("Really black")
- Part33.Shape = Enum.PartType.Cylinder
- Part34.Name = "Brick"
- Part34.Parent = mas
- Part34.CFrame = CFrame.new(-13.1444836, 4.83345652, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part34.Orientation = Vector3.new(0, -87.4700012, -90)
- Part34.Position = Vector3.new(-13.1444836, 4.83345652, -47.3321991)
- Part34.Rotation = Vector3.new(0, -87.4700012, -90)
- Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part34.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part34.Anchored = true
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.BrickColor = BrickColor.new("Really black")
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part34.brickColor = BrickColor.new("Really black")
- Part34.Shape = Enum.PartType.Cylinder
- Part35.Name = "Head"
- Part35.Parent = mas
- Part35.CFrame = CFrame.new(-13.1444836, 3.52961206, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part35.Orientation = Vector3.new(0, -87.4700012, -90)
- Part35.Position = Vector3.new(-13.1444836, 3.52961206, -47.3321991)
- Part35.Rotation = Vector3.new(0, -87.4700012, -90)
- Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part35.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part35.Anchored = true
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.BrickColor = BrickColor.new("Really black")
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.brickColor = BrickColor.new("Really black")
- Part35.Shape = Enum.PartType.Cylinder
- Part36.Name = "play"
- Part36.Parent = mas
- Part36.CFrame = CFrame.new(-15.5133457, 2.5299964, -46.7924118, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
- Part36.Orientation = Vector3.new(0, -177.470001, 0)
- Part36.Position = Vector3.new(-15.5133457, 2.5299964, -46.7924118)
- Part36.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part36.Color = Color3.new(0, 1, 0)
- Part36.Size = Vector3.new(0.86923027, 0.347692102, 1.30384541)
- Part36.Anchored = true
- Part36.BrickColor = BrickColor.new("Lime green")
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.brickColor = BrickColor.new("Lime green")
- ClickDetector37.Parent = Part36
- ClickDetector37.MaxActivationDistance = 50
- Script38.Parent = Part36
- table.insert(cors,sandbox(Script38,function()
- brick=script.Parent
- other=brick.Parent.stop
- music=brick.Parent.music
- function onClicked()
- music:Play()
- brick.Size=Vector3.new(2, 0.8, 3)
- brick.Position=brick.Position-Vector3.new(0, 0.2, 0)
- other.Size=Vector3.new(2, 1.2, 3)
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part39.Name = "Brick"
- Part39.Parent = mas
- Part39.CFrame = CFrame.new(-13.1444836, 3.09499693, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part39.Orientation = Vector3.new(0, -87.4700012, -90)
- Part39.Position = Vector3.new(-13.1444836, 3.09499693, -47.3321991)
- Part39.Rotation = Vector3.new(0, -87.4700012, -90)
- Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part39.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part39.Anchored = true
- Part39.BottomSurface = Enum.SurfaceType.Smooth
- Part39.BrickColor = BrickColor.new("Really black")
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.brickColor = BrickColor.new("Really black")
- Part39.Shape = Enum.PartType.Cylinder
- Part40.Name = "Brick"
- Part40.Parent = mas
- Part40.CFrame = CFrame.new(-13.1444836, 4.39884138, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part40.Orientation = Vector3.new(0, -87.4700012, -90)
- Part40.Position = Vector3.new(-13.1444836, 4.39884138, -47.3321991)
- Part40.Rotation = Vector3.new(0, -87.4700012, -90)
- Part40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part40.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part40.Anchored = true
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.BrickColor = BrickColor.new("Really black")
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.brickColor = BrickColor.new("Really black")
- Part40.Shape = Enum.PartType.Cylinder
- Part41.Name = "Brick"
- Part41.Parent = mas
- Part41.CFrame = CFrame.new(-13.1444836, 3.96422625, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
- Part41.Orientation = Vector3.new(0, -87.4700012, -90)
- Part41.Position = Vector3.new(-13.1444836, 3.96422625, -47.3321991)
- Part41.Rotation = Vector3.new(0, -87.4700012, -90)
- Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part41.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
- Part41.Anchored = true
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.BrickColor = BrickColor.new("Really black")
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.brickColor = BrickColor.new("Really black")
- Part41.Shape = Enum.PartType.Cylinder
- Part42.Name = "Brick"
- Part42.Parent = mas
- Part42.CFrame = CFrame.new(-14.6545601, 1.31307554, -47.0479126, -0.999025643, 0, -0.0441749208, 0, 1, 0, 0.0441749208, 0, -0.999025643)
- Part42.Orientation = Vector3.new(0, -177.470001, 0)
- Part42.Position = Vector3.new(-14.6545601, 1.31307554, -47.0479126)
- Part42.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part42.Size = Vector3.new(4.34615135, 2.08615279, 1.73846054)
- Part42.Anchored = true
- Part42.BrickColor = BrickColor.new("Really black")
- Part42.brickColor = BrickColor.new("Really black")
- Snap43.Parent = Part42
- Snap43.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap43.C1 = CFrame.new(-0.869232178, -0.173844576, 0.217315674, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
- Snap43.Part0 = Part42
- Snap43.Part1 = Part36
- Snap43.part1 = Part36
- Weld44.Parent = Part42
- Weld44.C0 = CFrame.new(0, 0, -0.86923027, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld44.C1 = CFrame.new(-1.08653831, -0.086933136, 0.130384088, 1.00000012, 0, 0, 0, 0, 1.00000012, 0, -1, 0)
- Weld44.Part0 = Part42
- Weld44.Part1 = Part26
- Weld44.part1 = Part26
- Weld45.Parent = Part42
- Weld45.C0 = CFrame.new(0, 0, -0.86923027, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld45.C1 = CFrame.new(1.08654213, -0.0869216919, 0.0434615612, 1.00000012, 0, 0, 0, 0, 1.00000012, 0, -1, 0)
- Weld45.Part0 = Part42
- Weld45.Part1 = Part24
- Weld45.part1 = Part24
- Snap46.Parent = Part42
- Snap46.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap46.C1 = CFrame.new(3.81469727e-06, -0.260767698, 0.217308044, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
- Snap46.Part0 = Part42
- Snap46.Part1 = Part30
- Snap46.part1 = Part30
- Snap47.Parent = Part42
- Snap47.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap47.C1 = CFrame.new(-0.434614182, -0.260767698, -0.651924133, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
- Snap47.Part0 = Part42
- Snap47.Part1 = Part23
- Snap47.part1 = Part23
- Snap48.Parent = Part42
- Snap48.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap48.C1 = CFrame.new(1.30385017, -0.260767698, 0, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
- Snap48.Part0 = Part42
- Snap48.Part1 = Part28
- Snap48.part1 = Part28
- Snap49.Parent = Part42
- Snap49.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap49.C1 = CFrame.new(-1.73845673, -0.260767698, -3.81469727e-06, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
- Snap49.Part0 = Part42
- Snap49.Part1 = Part50
- Snap49.part1 = Part50
- Part50.Name = "Brick"
- Part50.Parent = mas
- Part50.CFrame = CFrame.new(-16.3913231, 2.61691952, -46.9711189, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
- Part50.Orientation = Vector3.new(0, -177.470001, 0)
- Part50.Position = Vector3.new(-16.3913231, 2.61691952, -46.9711189)
- Part50.Rotation = Vector3.new(-180, -2.52999997, -180)
- Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part50.Size = Vector3.new(0.86923027, 0.521538198, 1.73846054)
- Part50.Anchored = true
- Part50.BrickColor = BrickColor.new("Really black")
- Part50.TopSurface = Enum.SurfaceType.Smooth
- Part50.brickColor = BrickColor.new("Really black")
- UnionOperation51.Parent = mas
- UnionOperation51.CFrame = CFrame.new(-14.731554, 4.60500145, -44.4429283, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation51.Position = Vector3.new(-14.731554, 4.60500145, -44.4429283)
- UnionOperation51.Color = Color3.new(0.639216, 0.635294, 0.647059)
- UnionOperation51.Size = Vector3.new(10.5100012, 9.2100029, 12.2800026)
- UnionOperation51.Anchored = true
- UnionOperation51.BrickColor = BrickColor.new("Medium stone grey")
- UnionOperation51.brickColor = BrickColor.new("Medium stone grey")
- UnionOperation51.UsePartColor = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement