Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Part")
- o5 = Instance.new("Seat")
- o6 = Instance.new("Script")
- o8 = Instance.new("Sound")
- o9 = Instance.new("Part")
- o10 = Instance.new("WedgePart")
- o11 = Instance.new("Script")
- o13 = Instance.new("Sound")
- o14 = Instance.new("Part")
- o15 = Instance.new("Part")
- o16 = Instance.new("Part")
- o17 = Instance.new("Part")
- o18 = Instance.new("Part")
- o19 = Instance.new("Part")
- o20 = Instance.new("Part")
- o21 = Instance.new("Part")
- o22 = Instance.new("Part")
- o1.Parent = mas
- o2.Parent = o1
- o2.Material = Enum.Material.Wood
- o2.BrickColor = BrickColor.new("Brown")
- o2.Position = Vector3.new(-29.5, 12, 10.5)
- o2.Anchored = true
- o2.Size = Vector3.new(1, 14, 1)
- o2.CFrame = CFrame.new(-29.5, 12, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o2.Position = Vector3.new(-29.5, 12, 10.5)
- o3.Parent = o1
- o3.Material = Enum.Material.Wood
- o3.BrickColor = BrickColor.new("Brown")
- o3.Position = Vector3.new(-26.5, 3, 10.5)
- o3.Anchored = true
- o3.Size = Vector3.new(1, 2, 1)
- o3.CFrame = CFrame.new(-26.5, 3, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o3.Position = Vector3.new(-26.5, 3, 10.5)
- o4.Parent = o1
- o4.Material = Enum.Material.Wood
- o4.BrickColor = BrickColor.new("Brown")
- o4.Position = Vector3.new(-28, 1.00000095, 10.5)
- o4.Anchored = true
- o4.Size = Vector3.new(4, 2, 1)
- o4.CFrame = CFrame.new(-28, 1.00000095, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o4.Position = Vector3.new(-28, 1.00000095, 10.5)
- o5.Parent = o1
- o5.BrickColor = BrickColor.new("Black")
- o5.Transparency = 1
- o5.Position = Vector3.new(-28, 2.50000334, 8)
- o5.Rotation = Vector3.new(-90, 0.000194657754, -180)
- o5.Anchored = true
- o5.Size = Vector3.new(2, 1, 2)
- o5.CFrame = CFrame.new(-28, 2.50000334, 8, -1, 0, 3.3974186e-006, 3.3974186e-006, 0, 1, 0, 1, 0)
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Position = Vector3.new(-28, 2.50000334, 8)
- o6.Parent = o5
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- script.Parent.Touched : connect(function()
- script.Parent.Sound : play()
- wait(script.Parent.Sound.TimeLength)
- script.Parent.Parent.Parts1.Anchored = false
- script.Parent.Parent.Parts2.Anchored = false
- end)
- end,o6)
- end))
- o8.Parent = o5
- o8.SoundId = "rbxassetid://130781067"
- o8.Volume = 1
- o9.Parent = o1
- o9.Material = Enum.Material.Wood
- o9.BrickColor = BrickColor.new("Brown")
- o9.Position = Vector3.new(-29.5, 3.00000095, 10.5)
- o9.Anchored = true
- o9.Size = Vector3.new(1, 2, 1)
- o9.CFrame = CFrame.new(-29.5, 3.00000095, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o9.Position = Vector3.new(-29.5, 3.00000095, 10.5)
- o10.Name = "Parts2"
- o10.Parent = o1
- o10.Material = Enum.Material.Metal
- o10.Position = Vector3.new(-28, 17.5, 10.5)
- o10.Rotation = Vector3.new(-180, 0, -0)
- o10.Anchored = true
- o10.Size = Vector3.new(2, 1, 1)
- o10.CFrame = CFrame.new(-28, 17.5, 10.5, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o10.Position = Vector3.new(-28, 17.5, 10.5)
- o11.Parent = o10
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- script.Parent.Touched : connect(function(Part)
- script.Parent.Sound : play()
- Part.Parent.Humanoid.Health = 0
- wait(5)
- script.Parent.Parent : Destroy()
- end)
- end,o11)
- end))
- o13.Parent = o10
- o13.SoundId = "rbxassetid://566593606"
- o13.Volume = 5
- o14.Parent = o1
- o14.Material = Enum.Material.Wood
- o14.BrickColor = BrickColor.new("Brown")
- o14.Position = Vector3.new(-26.5, 12, 10.5)
- o14.Anchored = true
- o14.Size = Vector3.new(1, 14, 1)
- o14.CFrame = CFrame.new(-26.5, 12, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o14.Position = Vector3.new(-26.5, 12, 10.5)
- o15.Parent = o1
- o15.Material = Enum.Material.Wood
- o15.BrickColor = BrickColor.new("Brown")
- o15.Position = Vector3.new(-28, 4.5, 10.5)
- o15.Anchored = true
- o15.CanCollide = false
- o15.Size = Vector3.new(4, 1, 1)
- o15.CFrame = CFrame.new(-28, 4.5, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o15.Position = Vector3.new(-28, 4.5, 10.5)
- o16.Parent = o1
- o16.Material = Enum.Material.Wood
- o16.BrickColor = BrickColor.new("Brown")
- o16.Position = Vector3.new(-28, 19.5, 10.5)
- o16.Anchored = true
- o16.Size = Vector3.new(4, 1, 1)
- o16.CFrame = CFrame.new(-28, 19.5, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o16.Position = Vector3.new(-28, 19.5, 10.5)
- o17.Name = "Parts1"
- o17.Parent = o1
- o17.Material = Enum.Material.Metal
- o17.Position = Vector3.new(-28, 18.5, 10.5)
- o17.Anchored = true
- o17.Size = Vector3.new(2, 1, 1)
- o17.CFrame = CFrame.new(-28, 18.5, 10.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.BottomSurface = Enum.SurfaceType.Studs
- o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.Position = Vector3.new(-28, 18.5, 10.5)
- o18.Parent = o1
- o18.Material = Enum.Material.Wood
- o18.BrickColor = BrickColor.new("Brown")
- o18.Position = Vector3.new(-28, 1, 8)
- o18.Anchored = true
- o18.Size = Vector3.new(4, 1, 2)
- o18.CFrame = CFrame.new(-28, 1, 8, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o18.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o18.Position = Vector3.new(-28, 1, 8)
- o19.Parent = o1
- o19.Material = Enum.Material.Wood
- o19.BrickColor = BrickColor.new("Brown")
- o19.Position = Vector3.new(-29.5, 8.5624876, 5.84156704)
- o19.Rotation = Vector3.new(21.6357803, 0, -0)
- o19.Anchored = true
- o19.Size = Vector3.new(1, 21, 1)
- o19.CFrame = CFrame.new(-29.5, 8.5624876, 5.84156704, 1, 0, 0, 0, 0.929546297, -0.368705094, 0, 0.368705124, 0.929546416)
- o19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o19.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o19.Position = Vector3.new(-29.5, 8.5624876, 5.84156704)
- o20.Parent = o1
- o20.Transparency = 1
- o20.Position = Vector3.new(-28, 12, 11.1000004)
- o20.Anchored = true
- o20.Size = Vector3.new(2, 14, 0.200000003)
- o20.CFrame = CFrame.new(-28, 12, 11.1000004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o20.Position = Vector3.new(-28, 12, 11.1000004)
- o21.Parent = o1
- o21.Transparency = 1
- o21.Position = Vector3.new(-28, 12, 9.89000988)
- o21.Anchored = true
- o21.Size = Vector3.new(2, 14, 0.200000003)
- o21.CFrame = CFrame.new(-28, 12, 9.89000988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o21.Position = Vector3.new(-28, 12, 9.89000988)
- o22.Parent = o1
- o22.Material = Enum.Material.Wood
- o22.BrickColor = BrickColor.new("Brown")
- o22.Position = Vector3.new(-26.5, 8.5624876, 5.84156704)
- o22.Rotation = Vector3.new(21.6357803, 0, -0)
- o22.Anchored = true
- o22.Size = Vector3.new(1, 21, 1)
- o22.CFrame = CFrame.new(-26.5, 8.5624876, 5.84156704, 1, 0, 0, 0, 0.929546297, -0.368705094, 0, 0.368705124, 0.929546416)
- o22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o22.Color = Color3.new(0.486275, 0.360784, 0.27451)
- o22.Position = Vector3.new(-26.5, 8.5624876, 5.84156704)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement