Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- /'''''''''''\ --
- --| elevator |--
- -- \___________/ --
- --run script as raw or it wont load--
- model = Instance.new("Model")
- model.Parent = workspace
- model.Name = "Elevator"
- floor = Instance.new("Part")
- floor.Parent = model
- floor.Name = "floor"
- floor.Position = Vector3.new(0, 0.5, 0)
- floor.BrickColor = BrickColor.new("Medium stone grey")
- floor.Material = "Concrete"
- floor.CanCollide = true
- floor.Anchored = true
- floor.TopSurface = "Smooth"
- floor.Locked = true
- floor.Size = Vector3.new(18, 1, 18)
- light = Instance.new("Part")
- light.Parent = model
- light.Name = "light"
- light.Locked = true
- light.Transparency = 1
- light.Anchored = true
- light.CanCollide = false
- light.Locked = true
- light.Size = Vector3.new(4, 1, 2)
- light.Position = Vector3.new(-1, 8.5, -1)
- pointlight = Instance.new("PointLight")
- pointlight.Parent = light
- pointlight.Color = Color3.new(255, 255, 255)
- pointlight.Range = 15
- pointlight.Shadows = false
- pointlight.Name = "PointLight"
- pointlight.Enabled = true
- pointlight.Brightness = 1
- door = Instance.new("Part")
- door.Parent = model
- door.Name = "door"
- door.BrickColor = BrickColor.new("Medium stone grey")
- door.Material = "Metal"
- door.Position = Vector3.new(-0.5, 4, 9.5)
- door.Anchored = true
- door.CanCollide = true
- door.TopSurface = "Smooth"
- door.Size = Vector3.new(7, 8, 1)
- roof = Instance.new("Part")
- roof.Parent = model
- roof.Locked = true
- roof.Size = Vector3.new(18, 1, 18)
- roof.Anchored = true
- roof.CanCollide = false
- roof.Position = Vector3.new(0, 17.5, 0)
- roof.Material = "WoodPlanks"
- roof.BrickColor = BrickColor.new("Dark orange")
- front1 = Instance.new("Part")
- front1.Parent = model
- front1.Locked = true
- front1.BrickColor = BrickColor.new("Cool yellow")
- front1.Material = "Wood"
- front1.Position = Vector3.new(-7, 9, 9.5)
- front1.Size = Vector3.new(6, 18, 1)
- front1.Anchored = true
- front1.CanCollide = true
- front2 = Instance.new("Part")
- front2.Parent = model
- front2.Locked = true
- front2.BrickColor = BrickColor.new("Cool yellow")
- front2.Material = "Wood"
- front2.Position = Vector3.new(-0.5, 13, 9.5)
- front2.Size = Vector3.new(7, 10, 1)
- front2.Anchored = true
- front2.CanCollide = true
- front3 = Instance.new("Part")
- front3.Parent = model
- front3.Locked = true
- front3.BrickColor = BrickColor.new("Cool yellow")
- front3.Material = "Wood"
- front3.Position = Vector3.new(6.5, 9, 9.5)
- front3.Size = Vector3.new(7, 18, 1)
- front3.Anchored = true
- front3.CanCollide = true
- part1 = Instance.new("Part")
- part1.Parent = model
- part1.Locked = true
- part1.BrickColor = BrickColor.new("Cool yellow")
- part1.Material = "Wood"
- part1.Position = Vector3.new(0, 9, -9.5)
- part1.Size = Vector3.new(20, 18, 1)
- part1.Anchored = true
- part1.CanCollide = true
- part2 = Instance.new("Part")
- part2.Parent = model
- part2.Locked = true
- part2.BrickColor = BrickColor.new("Cool yellow")
- part2.Material = "Wood"
- part2.Position = Vector3.new(-9.5, 9, 0)
- part2.Size = Vector3.new(1, 18, 18)
- part2.Anchored = true
- part2.CanCollide = true
- part3 = Instance.new("Part")
- part3.Parent = model
- part3.Locked = true
- part3.BrickColor = BrickColor.new("Cool yellow")
- part3.Material = "Wood"
- part3.Position = Vector3.new(9.5, 9, 0)
- part3.Size = Vector3.new(1, 18, 18)
- part3.Anchored = true
- part3.CanCollide = true
- sp = Instance.new("SpawnLocation")
- sp.Parent = model
- sp.Transparency = 1
- sp.Anchored = true
- sp.CanCollide = false
- sp.Position = Vector3.new(-1, 1.025, 1)
- sp.Size = Vector3.new(2, 0.05, 2)
- sp.Locked = true
- sp.Enabled = true
- --elevator song--
- es = Instance.new("Sound")
- es.Parent = light
- es.SoundId = "rbxassetid://573374397"
- es.Volume = 9999999999999999999999999999999999999999999
- es.Looped = true
- es.Playing = true
- --elevator events--
- while true do
- game.Workspace.Base.CanCollide = true
- --cat event--
- wait(10)
- door.CanCollide = true
- door.Transparency = 0.5
- wait(0.12)
- door.Transparency = 1
- es.Playing = false
- game.Workspace.Base.CanCollide = true
- es.Playing = false
- catmusic = Instance.new("Sound")
- catmusic.Parent = light
- catmusic.Playing = true
- catmusic.Looped = true
- catmusic.SoundId = "rbxassetid://224845627"
- catmusic.Volume = 4
- cat = Instance.new("Part")
- cat.Position = door.Position + Vector3.new(0, 0.5, 3)
- cat.Anchored = true
- cat.CanCollide = false
- cat.Locked = true
- cat.Parent = model
- cat.Name = "event_cat_kittycatmodel"
- mcat = Instance.new("SpecialMesh")
- mcat.Parent = cat
- mcat.Scale = Vector3.new(7, 7, 7)
- mcat.MeshId = "rbxassetid://998226551"
- mcat.TextureId = "rbxassetid://998226560"
- wait(1)
- cat.Orientation = Vector3.new(10, 40, 23)
- wait(1)
- cat.Orientation = Vector3.new(23, 9, 31)
- wait(1)
- cat.Orientation = Vector3.new(50, 21, 78)
- wait(1)
- cat.Orientation = Vector3.new(25, 54, 12)
- wait(1)
- cat.Orientation = Vector3.new(24, 157, 76)
- wait(1)
- cat.Orientation = Vector3.new(566, 32, 886)
- wait(1)
- cat.Orientation = Vector3.new(842, 600, 329)
- wait(1)
- cat.Orientation = Vector3.new(424, 502, 193)
- wait(1)
- cat.Orientation = Vector3.new(100, 57, 76)
- wait(1.5)
- catmusic:Destroy()
- cat:Destroy()
- mcat:Destroy()
- door.Transparency = 0.5
- wait(0.12)
- door.Transparency = 0
- es.Playing = true
- wait(10)
- --shark escape--
- door.Transparency = 0.5
- es.Playing = true
- wait(0.12)
- door.Transparency = 1
- door.CanCollide = false
- water = Instance.new("Part")
- water.Parent = model
- water.Locked = true
- water.Anchored = true
- water.CanCollide = false
- water.Transparency = 0.3
- water.Material = "Sand"
- water.Name = "sharkescape_water"
- water.BrickColor = BrickColor.new("Medium blue")
- water.Position = Vector3.new(0, 0, 44)
- water.Size = Vector3.new(1000, 1, 1000)
- function die(hit)
- thing = hit.Parent:FindFirstChild("Humanoid")
- hp = 0
- thing = hp
- end
- water.Touched:Connect(die)
- wood1 = Instance.new("Part")
- wood1.Parent = model
- wood1.Name = "wood1"
- wood1.Locked = true
- wood1.Anchored = true
- wood1.CanCollide = true
- wood1.Material = "WoodPlanks"
- wood1.Position = Vector3.new(-2.13, 1, 19.134)
- wood1.Size = Vector3.new(10, 1, 3)
- wood1.BrickColor = BrickColor.new("Dark orange")
- wood2 = Instance.new("Part")
- wood2.Parent = model
- wood2.Name = "wood2"
- wood2.Locked = true
- wood2.Anchored = true
- wood2.CanCollide = true
- wood2.Material = "WoodPlanks"
- wood2.Position = Vector3.new(2.87, 1, 27.134)
- wood2.Size = Vector3.new(10, 1, 3)
- wood2.Transparency = 0
- wood2.BrickColor = BrickColor.new("Dark orange")
- wood3 = Instance.new("Part")
- wood3.Parent = model
- wood3.Name = "wood3"
- wood3.Locked = true
- wood3.Orientation = Vector3.new(0, 45, 0)
- wood3.Anchored = true
- wood3.CanCollide = true
- wood3.Transparency = 0
- wood3.BrickColor = BrickColor.new("Dark orange")
- wood3.Position = Vector3.new(-5.13, 1, 35.134)
- wood3.Size = Vector3.new(10, 1, 3)
- wood3.Material = "WoodPlanks"
- wood4 = Instance.new("Part")
- wood4.Parent = model
- wood4.Name = "wood4"
- wood4.Locked = true
- wood4.Orientation = Vector3.new(0, -75, 0)
- wood4.Material = "WoodPlanks"
- wood4.BrickColor = BrickColor.new("Dark orange")
- wood4.Position = Vector3.new(-7.13, 1, 47)
- wood4.Size = Vector3.new(10, 1, 3)
- wood5 = Instance.new("Part")
- wood5.Parent = model
- wood5.Name = "wood5"
- wood5.Locked = true
- wood5.Material = "WoodPlanks"
- wood5.Position = Vector3.new(2.87, 1, 55.134)
- wood5.Size = Vector3.new(10, 1, 3)
- wood5.Anchored = true
- wood5.CanCollide = true
- wood5.BrickColor = BrickColor.new("Dark orange")
- wood6 = Instance.new("Part")
- wood6.Parent = model
- wood6.Name = "wood6"
- wood6.Locked = true
- wood6.Material = "WoodPlanks"
- wood6.BrickColor = BrickColor.new("Dark orange")
- wood6.Position = Vector3.new(-3.13, 1, 69.134)
- wood6.Size = Vector3.new(10, 1, 3)
- wood6.Anchored = true
- win = Instance.new("Part")
- win.Parent = model
- win.Locked = true
- win.Anchored = true
- win.Name = "Win"
- win.CanCollide = true
- win.BrickColor = BrickColor.new("Lime green")
- win.Material = "WoodPlanks"
- win.Size = Vector3.new(20, 1, 19)
- win.Position = Vector3.new(0, 0.5, 87.5)
- win.Touched:Connect(function()
- ws = Instance.new("Sound")
- ws.Parent = win
- ws.Playing = true
- ws.SoundId = "rbxassetid://12222253"
- wait(1)
- ws:Destroy()
- end)
- es.SoundId = "rbxassetid://2663958637"
- game.Workspace.Base.CanCollide = false
- wait(1.7)
- shark = Instance.new("Part")
- shark.Parent = model
- shark.Name = "shark"
- shark.Locked = true
- shark.Anchored = true
- shark.CanCollide = true
- shark.Position = Vector3.new(0, 25, -70)
- shark.Size = Vector3.new(50, 51.44, 132.109)
- shark.Orientation = Vector3.new(0, 180, 0)
- function eaten(hit)
- eat = hit.Parent
- eat:Destroy()
- end
- mshark = Instance.new("SpecialMesh")
- mshark.Parent = shark
- mshark.MeshId = "rbxassetid://2041810005"
- mshark.TextureId = "rbxassetid://2041810021"
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(1)
- shark.Position = shark.Position + Vector3.new(0, 0, 7)
- wait(5)
- shark:Destroy()
- wood1:Destroy()
- wood2:Destroy()
- water:Destroy()
- wood3:Destroy()
- wood4:Destroy()
- wood5:Destroy()
- wood6:Destroy()
- win:Destroy()
- wait(0.12)
- door.Transparency = 0.5
- wait(0.12)
- door.Transparency = 0
- door.CanCollide = true
- game.Workspace.Base.CanCollide = true
- es.Playing = true
- es.SoundId ="rbxassetid://2687649276"
- wait(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement