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(self,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")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Seat7 = Instance.new("Seat")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Model12 = Instance.new("Model")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Decal21 = Instance.new("Decal")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Decal24 = Instance.new("Decal")
- Sound25 = Instance.new("Sound")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- WedgePart34 = Instance.new("WedgePart")
- WedgePart35 = Instance.new("WedgePart")
- Script36 = Instance.new("Script")
- Animation37 = Instance.new("Animation")
- Animation38 = Instance.new("Animation")
- Model0.Name = "Upright Piano"
- Model0.Parent = mas
- Model1.Name = "Bench"
- Model1.Parent = Model0
- Part2.Parent = Model1
- Part2.CFrame = CFrame.new(-21.6999512, 0.500072002, -27.1001587, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part2.Orientation = Vector3.new(0, 90, 0)
- Part2.Position = Vector3.new(-21.6999512, 0.500072002, -27.1001587)
- Part2.Rotation = Vector3.new(0, 90, 0)
- Part2.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part2.Size = Vector3.new(0.200000003, 1, 0.200000003)
- Part2.Anchored = true
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BrickColor = BrickColor.new("Dirt brown")
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Material = Enum.Material.Wood
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.brickColor = BrickColor.new("Dirt brown")
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.formFactor = Enum.FormFactor.Custom
- Part3.Parent = Model1
- Part3.CFrame = CFrame.new(-21.5, 1.30005896, -25.8000488, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part3.Orientation = Vector3.new(0, 90, 0)
- Part3.Position = Vector3.new(-21.5, 1.30005896, -25.8000488)
- Part3.Rotation = Vector3.new(0, 90, 0)
- Part3.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part3.Size = Vector3.new(1.20000005, 0.200000003, 1)
- Part3.Anchored = true
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BrickColor = BrickColor.new("Dirt brown")
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Material = Enum.Material.Wood
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.brickColor = BrickColor.new("Dirt brown")
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.formFactor = Enum.FormFactor.Custom
- Part4.Parent = Model1
- Part4.CFrame = CFrame.new(-21.1999512, 1.30005896, -26.9000854, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Position = Vector3.new(-21.1999512, 1.30005896, -26.9000854)
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part4.Size = Vector3.new(1, 0.200000003, 1.60000014)
- Part4.Anchored = true
- Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BrickColor = BrickColor.new("Dirt brown")
- Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.Material = Enum.Material.Wood
- Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.brickColor = BrickColor.new("Dirt brown")
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.formFactor = Enum.FormFactor.Custom
- Part5.Parent = Model1
- Part5.CFrame = CFrame.new(-21.1999512, 1.30005896, -24.7001953, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part5.Orientation = Vector3.new(0, 90, 0)
- Part5.Position = Vector3.new(-21.1999512, 1.30005896, -24.7001953)
- Part5.Rotation = Vector3.new(0, 90, 0)
- Part5.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part5.Size = Vector3.new(1, 0.200000003, 1.60000002)
- Part5.Anchored = true
- Part5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.BrickColor = BrickColor.new("Dirt brown")
- Part5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.Material = Enum.Material.Wood
- Part5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.brickColor = BrickColor.new("Dirt brown")
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.formFactor = Enum.FormFactor.Custom
- Part6.Parent = Model1
- Part6.CFrame = CFrame.new(-21.1999512, 1.10007596, -25.8001099, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part6.Orientation = Vector3.new(0, 90, 0)
- Part6.Position = Vector3.new(-21.1999512, 1.10007596, -25.8001099)
- Part6.Rotation = Vector3.new(0, 90, 0)
- Part6.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part6.Size = Vector3.new(2.79999995, 0.200000003, 1.19999993)
- Part6.Anchored = true
- Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BrickColor = BrickColor.new("Dirt brown")
- Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.Material = Enum.Material.Wood
- Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.brickColor = BrickColor.new("Dirt brown")
- Part6.FormFactor = Enum.FormFactor.Custom
- Part6.formFactor = Enum.FormFactor.Custom
- Seat7.Parent = Model1
- Seat7.CFrame = CFrame.new(-20.7999878, 1.30005896, -25.8001099, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Seat7.Orientation = Vector3.new(0, 90, 0)
- Seat7.Position = Vector3.new(-20.7999878, 1.30005896, -25.8001099)
- Seat7.Rotation = Vector3.new(0, 90, 0)
- Seat7.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Seat7.Size = Vector3.new(1.19999981, 0.200000003, 0.400000066)
- Seat7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat7.BottomSurface = Enum.SurfaceType.Weld
- Seat7.BrickColor = BrickColor.new("Dirt brown")
- Seat7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat7.Material = Enum.Material.Wood
- Seat7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat7.brickColor = BrickColor.new("Dirt brown")
- Seat7.FormFactor = Enum.FormFactor.Custom
- Seat7.formFactor = Enum.FormFactor.Custom
- Part8.Parent = Model1
- Part8.CFrame = CFrame.new(-20.6999512, 0.500072002, -27.1001587, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part8.Orientation = Vector3.new(0, 90, 0)
- Part8.Position = Vector3.new(-20.6999512, 0.500072002, -27.1001587)
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part8.Size = Vector3.new(0.200000003, 1, 0.200000003)
- Part8.Anchored = true
- Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.BrickColor = BrickColor.new("Dirt brown")
- Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.Material = Enum.Material.Wood
- Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.brickColor = BrickColor.new("Dirt brown")
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.formFactor = Enum.FormFactor.Custom
- Part9.Parent = Model1
- Part9.CFrame = CFrame.new(-20.6999512, 0.500072002, -24.5000629, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part9.Orientation = Vector3.new(0, 90, 0)
- Part9.Position = Vector3.new(-20.6999512, 0.500072002, -24.5000629)
- Part9.Rotation = Vector3.new(0, 90, 0)
- Part9.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part9.Size = Vector3.new(0.200000003, 1, 0.200000003)
- Part9.Anchored = true
- Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.BrickColor = BrickColor.new("Dirt brown")
- Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.Material = Enum.Material.Wood
- Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.brickColor = BrickColor.new("Dirt brown")
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.formFactor = Enum.FormFactor.Custom
- Part10.Parent = Model1
- Part10.CFrame = CFrame.new(-20.4999371, 1.30005896, -25.8000488, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part10.Orientation = Vector3.new(0, 90, 0)
- Part10.Position = Vector3.new(-20.4999371, 1.30005896, -25.8000488)
- Part10.Rotation = Vector3.new(0, 90, 0)
- Part10.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part10.Size = Vector3.new(1.20000005, 0.200000003, 0.200000003)
- Part10.Anchored = true
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BrickColor = BrickColor.new("Dirt brown")
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Material = Enum.Material.Wood
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.brickColor = BrickColor.new("Dirt brown")
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.formFactor = Enum.FormFactor.Custom
- Part11.Parent = Model1
- Part11.CFrame = CFrame.new(-21.6999512, 0.500072002, -24.5000629, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part11.Orientation = Vector3.new(0, 90, 0)
- Part11.Position = Vector3.new(-21.6999512, 0.500072002, -24.5000629)
- Part11.Rotation = Vector3.new(0, 90, 0)
- Part11.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part11.Size = Vector3.new(0.200000003, 1, 0.200000003)
- Part11.Anchored = true
- Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BrickColor = BrickColor.new("Dirt brown")
- Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Material = Enum.Material.Wood
- Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.brickColor = BrickColor.new("Dirt brown")
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.formFactor = Enum.FormFactor.Custom
- Model12.Name = "Piano"
- Model12.Parent = Model0
- Part13.Parent = Model12
- Part13.CFrame = CFrame.new(-22.6000366, 1.30005896, -22.6000977, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part13.Orientation = Vector3.new(0, -90, 0)
- Part13.Position = Vector3.new(-22.6000366, 1.30005896, -22.6000977)
- Part13.Rotation = Vector3.new(0, -90, 0)
- Part13.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part13.Size = Vector3.new(0.399999857, 1.80000019, 0.399999976)
- Part13.Anchored = true
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.BrickColor = BrickColor.new("Dirt brown")
- Part13.Material = Enum.Material.Wood
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.brickColor = BrickColor.new("Dirt brown")
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.formFactor = Enum.FormFactor.Custom
- Part14.Parent = Model12
- Part14.CFrame = CFrame.new(-24.4000854, 2.80001307, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part14.Orientation = Vector3.new(0, -90, 0)
- Part14.Position = Vector3.new(-24.4000854, 2.80001307, -26.0001831)
- Part14.Rotation = Vector3.new(0, -90, 0)
- Part14.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part14.Size = Vector3.new(8, 5.5999999, 1.60000002)
- Part14.Anchored = true
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.BrickColor = BrickColor.new("Dirt brown")
- Part14.Material = Enum.Material.Wood
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.brickColor = BrickColor.new("Dirt brown")
- Part14.FormFactor = Enum.FormFactor.Custom
- Part14.formFactor = Enum.FormFactor.Custom
- Part15.Parent = Model12
- Part15.CFrame = CFrame.new(-22.8999634, 0.200047001, -29.4002075, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part15.Orientation = Vector3.new(0, -90, 0)
- Part15.Position = Vector3.new(-22.8999634, 0.200047001, -29.4002075)
- Part15.Rotation = Vector3.new(0, -90, 0)
- Part15.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part15.Size = Vector3.new(0.799999833, 0.400000095, 1.39999998)
- Part15.Anchored = true
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.BrickColor = BrickColor.new("Dirt brown")
- Part15.Material = Enum.Material.Wood
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.brickColor = BrickColor.new("Dirt brown")
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.formFactor = Enum.FormFactor.Custom
- Part16.Name = "Pedal"
- Part16.Parent = Model12
- Part16.CFrame = CFrame.new(-23.3001099, 0.100079, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part16.Orientation = Vector3.new(0, -90, 0)
- Part16.Position = Vector3.new(-23.3001099, 0.100079, -26.0001831)
- Part16.Rotation = Vector3.new(0, -90, 0)
- Part16.Color = Color3.new(0.411765, 0.4, 0.360784)
- Part16.Size = Vector3.new(0.200000003, 0.200000003, 0.599999964)
- Part16.Anchored = true
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.BrickColor = BrickColor.new("Flint")
- Part16.Material = Enum.Material.Metal
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part16.brickColor = BrickColor.new("Flint")
- Part16.FormFactor = Enum.FormFactor.Custom
- Part16.formFactor = Enum.FormFactor.Custom
- Part17.Parent = Model12
- Part17.CFrame = CFrame.new(-23.5001221, 4.60000801, -22.6001625, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part17.Orientation = Vector3.new(0, -90, 0)
- Part17.Position = Vector3.new(-23.5001221, 4.60000801, -22.6001625)
- Part17.Rotation = Vector3.new(0, -90, 0)
- Part17.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part17.Size = Vector3.new(0.39999944, 2, 0.200000003)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.BrickColor = BrickColor.new("Dirt brown")
- Part17.Material = Enum.Material.Wood
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.brickColor = BrickColor.new("Dirt brown")
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.formFactor = Enum.FormFactor.Custom
- Part18.Parent = Model12
- Part18.CFrame = CFrame.new(-22.9000854, 2.40001392, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part18.Orientation = Vector3.new(0, -90, 0)
- Part18.Position = Vector3.new(-22.9000854, 2.40001392, -26.0001831)
- Part18.Rotation = Vector3.new(0, -90, 0)
- Part18.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part18.Size = Vector3.new(7.5999999, 0.400000095, 1.39999998)
- Part18.Anchored = true
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.BrickColor = BrickColor.new("Dirt brown")
- Part18.Material = Enum.Material.Wood
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.brickColor = BrickColor.new("Dirt brown")
- Part18.FormFactor = Enum.FormFactor.Custom
- Part18.formFactor = Enum.FormFactor.Custom
- Part19.Parent = Model12
- Part19.CFrame = CFrame.new(-22.6000366, 1.30005896, -29.4002075, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part19.Orientation = Vector3.new(0, -90, 0)
- Part19.Position = Vector3.new(-22.6000366, 1.30005896, -29.4002075)
- Part19.Rotation = Vector3.new(0, -90, 0)
- Part19.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part19.Size = Vector3.new(0.399999857, 1.80000019, 0.399999976)
- Part19.Anchored = true
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.BrickColor = BrickColor.new("Dirt brown")
- Part19.Material = Enum.Material.Wood
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.brickColor = BrickColor.new("Dirt brown")
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.formFactor = Enum.FormFactor.Custom
- Part20.Name = "Keys"
- Part20.Parent = Model12
- Part20.CFrame = CFrame.new(-22.7000732, 2.70000696, -26.0001831, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part20.Position = Vector3.new(-22.7000732, 2.70000696, -26.0001831)
- Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part20.Size = Vector3.new(0.999999881, 0.200000003, 6.80000019)
- Part20.Anchored = true
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.BrickColor = BrickColor.new("Institutional white")
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.brickColor = BrickColor.new("Institutional white")
- Part20.FormFactor = Enum.FormFactor.Custom
- Part20.formFactor = Enum.FormFactor.Custom
- Decal21.Parent = Part20
- Decal21.Texture = "http://www.roblox.com/asset/?id=2204142"
- Decal21.Face = Enum.NormalId.Top
- Part22.Parent = Model12
- Part22.CFrame = CFrame.new(-22.8999634, 0.200047001, -22.6000977, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part22.Orientation = Vector3.new(0, -90, 0)
- Part22.Position = Vector3.new(-22.8999634, 0.200047001, -22.6000977)
- Part22.Rotation = Vector3.new(0, -90, 0)
- Part22.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part22.Size = Vector3.new(0.799999833, 0.400000095, 1.39999998)
- Part22.Anchored = true
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.BrickColor = BrickColor.new("Dirt brown")
- Part22.Material = Enum.Material.Wood
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.brickColor = BrickColor.new("Dirt brown")
- Part22.FormFactor = Enum.FormFactor.Custom
- Part22.formFactor = Enum.FormFactor.Custom
- Part23.Name = "SheetMusic"
- Part23.Parent = Model12
- Part23.CFrame = CFrame.new(-23.5985107, 4.39999819, -26.0001831, 0, -0.12403439, -0.99227792, 0, 0.99227792, -0.12403439, 1, 0, -0)
- Part23.Orientation = Vector3.new(7.11999989, -90, 0)
- Part23.Position = Vector3.new(-23.5985107, 4.39999819, -26.0001831)
- Part23.Rotation = Vector3.new(90, -82.8799973, 90)
- Part23.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part23.Size = Vector3.new(1.20000005, 1.60000002, 0.200000003)
- Part23.Anchored = true
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.BrickColor = BrickColor.new("Institutional white")
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.brickColor = BrickColor.new("Institutional white")
- Part23.FormFactor = Enum.FormFactor.Custom
- Part23.formFactor = Enum.FormFactor.Custom
- Decal24.Parent = Part23
- Decal24.Texture = "http://www.roblox.com/asset/?id=143675742"
- Sound25.Parent = Part23
- Sound25.Looped = true
- Sound25.SoundId = "rbxassetid://3749844870"
- Sound25.Volume = 1
- Part26.Name = "Pedal"
- Part26.Parent = Model12
- Part26.CFrame = CFrame.new(-23.2999878, 0.100079, -25.7000732, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part26.Orientation = Vector3.new(0, -90, 0)
- Part26.Position = Vector3.new(-23.2999878, 0.100079, -25.7000732)
- Part26.Rotation = Vector3.new(0, -90, 0)
- Part26.Color = Color3.new(0.411765, 0.4, 0.360784)
- Part26.Size = Vector3.new(0.200000003, 0.200000003, 0.599999964)
- Part26.Anchored = true
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.BrickColor = BrickColor.new("Flint")
- Part26.Material = Enum.Material.Metal
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.brickColor = BrickColor.new("Flint")
- Part26.FormFactor = Enum.FormFactor.Custom
- Part26.formFactor = Enum.FormFactor.Custom
- Part27.Parent = Model12
- Part27.CFrame = CFrame.new(-24.3001099, 5.69997978, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part27.Orientation = Vector3.new(0, -90, 0)
- Part27.Position = Vector3.new(-24.3001099, 5.69997978, -26.0001831)
- Part27.Rotation = Vector3.new(0, -90, 0)
- Part27.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part27.Size = Vector3.new(8.39999962, 0.200000003, 1.80000007)
- Part27.Anchored = true
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.BrickColor = BrickColor.new("Dirt brown")
- Part27.Material = Enum.Material.Wood
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.brickColor = BrickColor.new("Dirt brown")
- Part27.FormFactor = Enum.FormFactor.Custom
- Part27.formFactor = Enum.FormFactor.Custom
- Part28.Parent = Model12
- Part28.CFrame = CFrame.new(-23.4000854, 3.10002995, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part28.Orientation = Vector3.new(0, -90, 0)
- Part28.Position = Vector3.new(-23.4000854, 3.10002995, -26.0001831)
- Part28.Rotation = Vector3.new(0, -90, 0)
- Part28.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part28.Size = Vector3.new(7.60000038, 1.00000012, 0.399999976)
- Part28.Anchored = true
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.BrickColor = BrickColor.new("Dirt brown")
- Part28.Material = Enum.Material.Wood
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.brickColor = BrickColor.new("Dirt brown")
- Part28.FormFactor = Enum.FormFactor.Custom
- Part28.formFactor = Enum.FormFactor.Custom
- Part29.Parent = Model12
- Part29.CFrame = CFrame.new(-22.7000732, 2.90001392, -22.4000854, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part29.Orientation = Vector3.new(0, -90, 0)
- Part29.Position = Vector3.new(-22.7000732, 2.90001392, -22.4000854)
- Part29.Rotation = Vector3.new(0, -90, 0)
- Part29.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part29.Size = Vector3.new(0.400000036, 0.600000083, 1)
- Part29.Anchored = true
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.BrickColor = BrickColor.new("Dirt brown")
- Part29.Material = Enum.Material.Wood
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.brickColor = BrickColor.new("Dirt brown")
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.formFactor = Enum.FormFactor.Custom
- Part30.Name = "Pedal"
- Part30.Parent = Model12
- Part30.CFrame = CFrame.new(-23.2999878, 0.100079, -26.3001709, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part30.Orientation = Vector3.new(0, -90, 0)
- Part30.Position = Vector3.new(-23.2999878, 0.100079, -26.3001709)
- Part30.Rotation = Vector3.new(0, -90, 0)
- Part30.Color = Color3.new(0.411765, 0.4, 0.360784)
- Part30.Size = Vector3.new(0.200000003, 0.200000003, 0.599999964)
- Part30.Anchored = true
- Part30.BottomSurface = Enum.SurfaceType.Smooth
- Part30.BrickColor = BrickColor.new("Flint")
- Part30.Material = Enum.Material.Metal
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part30.brickColor = BrickColor.new("Flint")
- Part30.FormFactor = Enum.FormFactor.Custom
- Part30.formFactor = Enum.FormFactor.Custom
- Part31.Parent = Model12
- Part31.CFrame = CFrame.new(-23.5001221, 4.60000801, -29.4002075, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part31.Orientation = Vector3.new(0, -90, 0)
- Part31.Position = Vector3.new(-23.5001221, 4.60000801, -29.4002075)
- Part31.Rotation = Vector3.new(0, -90, 0)
- Part31.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part31.Size = Vector3.new(0.39999944, 2, 0.200000003)
- Part31.Anchored = true
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.BrickColor = BrickColor.new("Dirt brown")
- Part31.Material = Enum.Material.Wood
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.brickColor = BrickColor.new("Dirt brown")
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.formFactor = Enum.FormFactor.Custom
- Part32.Parent = Model12
- Part32.CFrame = CFrame.new(-23.3001099, 3.6999929, -26.0001831, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part32.Orientation = Vector3.new(0, -90, 0)
- Part32.Position = Vector3.new(-23.3001099, 3.6999929, -26.0001831)
- Part32.Rotation = Vector3.new(0, -90, 0)
- Part32.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part32.Size = Vector3.new(2.79999995, 0.200000003, 0.200000003)
- Part32.Anchored = true
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.BrickColor = BrickColor.new("Dirt brown")
- Part32.Material = Enum.Material.Wood
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.brickColor = BrickColor.new("Dirt brown")
- Part32.FormFactor = Enum.FormFactor.Custom
- Part32.formFactor = Enum.FormFactor.Custom
- Part33.Parent = Model12
- Part33.CFrame = CFrame.new(-22.7000732, 2.90001392, -29.6001587, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part33.Orientation = Vector3.new(0, -90, 0)
- Part33.Position = Vector3.new(-22.7000732, 2.90001392, -29.6001587)
- Part33.Rotation = Vector3.new(0, -90, 0)
- Part33.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part33.Size = Vector3.new(0.400000036, 0.600000083, 1)
- Part33.Anchored = true
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.BrickColor = BrickColor.new("Dirt brown")
- Part33.Material = Enum.Material.Wood
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.brickColor = BrickColor.new("Dirt brown")
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.formFactor = Enum.FormFactor.Custom
- WedgePart34.Parent = Model12
- WedgePart34.CFrame = CFrame.new(-22.8001099, 3.40000296, -22.3999634, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- WedgePart34.Orientation = Vector3.new(0, -90, 0)
- WedgePart34.Position = Vector3.new(-22.8001099, 3.40000296, -22.3999634)
- WedgePart34.Rotation = Vector3.new(0, -90, 0)
- WedgePart34.Color = Color3.new(0.337255, 0.258824, 0.211765)
- WedgePart34.Size = Vector3.new(0.399999917, 0.400000006, 0.800000012)
- WedgePart34.Anchored = true
- WedgePart34.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart34.BrickColor = BrickColor.new("Dirt brown")
- WedgePart34.Material = Enum.Material.Wood
- WedgePart34.brickColor = BrickColor.new("Dirt brown")
- WedgePart34.FormFactor = Enum.FormFactor.Custom
- WedgePart34.formFactor = Enum.FormFactor.Custom
- WedgePart35.Parent = Model12
- WedgePart35.CFrame = CFrame.new(-22.8001099, 3.40000296, -29.6000366, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- WedgePart35.Orientation = Vector3.new(0, -90, 0)
- WedgePart35.Position = Vector3.new(-22.8001099, 3.40000296, -29.6000366)
- WedgePart35.Rotation = Vector3.new(0, -90, 0)
- WedgePart35.Color = Color3.new(0.337255, 0.258824, 0.211765)
- WedgePart35.Size = Vector3.new(0.399999917, 0.400000006, 0.800000012)
- WedgePart35.Anchored = true
- WedgePart35.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart35.BrickColor = BrickColor.new("Dirt brown")
- WedgePart35.Material = Enum.Material.Wood
- WedgePart35.brickColor = BrickColor.new("Dirt brown")
- WedgePart35.FormFactor = Enum.FormFactor.Custom
- WedgePart35.formFactor = Enum.FormFactor.Custom
- Script36.Name = "PianoScript"
- Script36.Parent = Model0
- table.insert(cors,sandbox(Script36,function()
- local seat = script.Parent.Bench.Seat
- local sheetMusic = script.Parent.Piano.SheetMusic
- local occupant = nil
- local tune = nil
- local oldTune = nil
- local animation = nil
- local r6Anim = script.PlayingR6
- local r15Anim = script.PlayingR15
- tunes = {
- "rbxassetid://3749844870", -- REMOVE RAGTIME
- "rbxassetid://224027197", -- Scott Joplin - The Strenuous Life
- "rbxassetid://912184820", -- USSR ANTHEM
- }
- seat.ChildAdded:Connect(function(obj)
- if obj.Name == "SeatWeld" then
- local player = game.Players:GetPlayerFromCharacter(obj.Part1.Parent)
- if player then
- local hum = player.Character:FindFirstChild("Humanoid")
- occupant = obj.Part1.Parent
- if hum.RigType == Enum.HumanoidRigType.R6 then
- animation = hum:LoadAnimation(r6Anim)
- else
- animation = hum:LoadAnimation(r15Anim)
- end
- animation:Play()
- end
- end
- end)
- seat.ChildRemoved:Connect(function(obj)
- if obj.Name == "SeatWeld" then
- local player = game.Players:GetPlayerFromCharacter(obj.Part1.Parent)
- if player then
- animation:Stop()
- occupant = nil
- sheetMusic.Sound:Stop()
- end
- end
- end)
- while wait(0.1) do
- if occupant ~= nil then
- repeat
- tune = tunes[math.random(1, #tunes)]
- until tune ~= oldTune
- oldTune = tune
- sheetMusic.Sound.SoundId = tune
- sheetMusic.Sound:Play()
- repeat
- wait()
- until not sheetMusic.Sound.Playing
- end
- end
- end))
- Animation37.Name = "PlayingR6"
- Animation37.Parent = Script36
- Animation37.AnimationId = "rbxassetid://673670051"
- Animation38.Name = "PlayingR15"
- Animation38.Parent = Script36
- Animation38.AnimationId = "rbxassetid://673670434"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement