Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- 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"))
- Part0 = Instance.new("Part")
- Script1 = Instance.new("Script")
- Part0.Name = "Music Brick"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(236.902039, -4.41121197, -64.5827332, -0, 0, 1, -0, 1, 0, -1, 0, 0)
- Part0.Orientation = Vector3.new(0, 90, 0)
- Part0.Position = Vector3.new(236.902039, -4.41121197, -64.5827332)
- Part0.Rotation = Vector3.new(0, 90, 0)
- Part0.Color = Color3.new(1, 1, 0)
- Part0.Size = Vector3.new(1, 0.400000006, 1)
- Part0.Anchored = true
- Part0.BrickColor = BrickColor.new("New Yeller")
- Part0.Reflectance = 0.5
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.brickColor = BrickColor.new("New Yeller")
- Part0.FormFactor = Enum.FormFactor.Plate
- Part0.formFactor = Enum.FormFactor.Plate
- Script1.Parent = Part0
- table.insert(cors,sandbox(Script1,function()
- --Made by Servano
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "http://www.roblox.com/asset/?id=2536388446"
- s.Volume = 9
- s.Pitch = 1
- s.Looped = true
- s.archivable = false
- s.Parent = game.Workspace
- wait()
- s:play()
- end))
- 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