Advertisement
Diamond_Nicholas

Untitled

Jan 30th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(Enum,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Part0 = Instance.new("Part")
  20. Script1 = Instance.new("Script")
  21. Part0.Name = "Music Brick"
  22. Part0.Parent = mas
  23. Part0.CFrame = CFrame.new(236.902039, -4.41121197, -64.5827332, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  24. Part0.Orientation = Vector3.new(0, 90, 0)
  25. Part0.Position = Vector3.new(236.902039, -4.41121197, -64.5827332)
  26. Part0.Rotation = Vector3.new(0, 90, 0)
  27. Part0.Color = Color3.new(1, 1, 0)
  28. Part0.Size = Vector3.new(1, 0.400000006, 1)
  29. Part0.Anchored = true
  30. Part0.BrickColor = BrickColor.new("New Yeller")
  31. Part0.Reflectance = 0.5
  32. Part0.TopSurface = Enum.SurfaceType.Smooth
  33. Part0.brickColor = BrickColor.new("New Yeller")
  34. Part0.FormFactor = Enum.FormFactor.Plate
  35. Part0.formFactor = Enum.FormFactor.Plate
  36. Script1.Parent = Part0
  37. table.insert(cors,sandbox(Script1,function()
  38. --Made by Servano
  39.  
  40. local s = Instance.new("Sound")
  41.  
  42. s.Name = "Sound"
  43. s.SoundId = "http://www.roblox.com/asset/?id=2536388446"
  44. s.Volume = 9
  45. s.Pitch = 1
  46. s.Looped = true
  47. s.archivable = false
  48.  
  49. s.Parent = game.Workspace
  50.  
  51. wait()
  52.  
  53. s:play()
  54.  
  55. end))
  56. for i,v in pairs(mas:GetChildren()) do
  57. v.Parent = workspace
  58. pcall(function() v:MakeJoints() end)
  59. end
  60. for i,v in pairs(cors) do
  61. spawn(function()
  62. pcall(v)
  63. end)
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement