Advertisement
okban

nani

Feb 8th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 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(self,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. Sound0 = Instance.new("Sound")
  20. Script1 = Instance.new("Script")
  21. Sound0.Name = "Music"
  22. Sound0.Parent = mas
  23. Sound0.SoundId = "rbxassetid://1131624146"
  24. Sound0.Volume = 10
  25. Sound0.Looped = true
  26. Script1.Parent = Sound0
  27. table.insert(cors,sandbox(Script1,function()
  28. while script.Parent.IsPlaying == false do
  29. wait()
  30. script.Parent:Play()
  31. end
  32.  
  33. -- Made by master3395
  34. end))
  35. for i,v in pairs(mas:GetChildren()) do
  36. v.Parent = workspace
  37. pcall(function() v:MakeJoints() end)
  38. end
  39. mas:Destroy()
  40. for i,v in pairs(cors) do
  41. spawn(function()
  42. pcall(v)
  43. end)
  44. end
  45. wait(10)
  46. function sandbox(var,func)
  47. local env = getfenv(func)
  48. local newenv = setmetatable({},{
  49. __index = function(self,k)
  50. if k=="script" then
  51. return var
  52. else
  53. return env[k]
  54. end
  55. end,
  56. })
  57. setfenv(func,newenv)
  58. return func
  59. end
  60. cors = {}
  61. mas = Instance.new("Model",game:GetService("Lighting"))
  62. Sound0 = Instance.new("Sound")
  63. Script1 = Instance.new("Script")
  64. Part2 = Instance.new("Part")
  65. ParticleEmitter3 = Instance.new("ParticleEmitter")
  66. ParticleEmitter4 = Instance.new("ParticleEmitter")
  67. ParticleEmitter5 = Instance.new("ParticleEmitter")
  68. ParticleEmitter6 = Instance.new("ParticleEmitter")
  69. Sound0.Name = "Music"
  70. Sound0.Parent = mas
  71. Sound0.SoundId = "rbxassetid://357562152"
  72. Sound0.Volume = 10
  73. Script1.Parent = Sound0
  74. table.insert(cors,sandbox(Script1,function()
  75. while script.Parent.IsPlaying == false do
  76. wait()
  77. script.Parent:Play()
  78. end
  79.  
  80. -- Made by master3395
  81. end))
  82. Part2.Name = "HumanoidRootPart"
  83. Part2.Parent = mas
  84. Part2.Transparency = 1
  85. Part2.Rotation = Vector3.new(0, -37.3800011, 0)
  86. Part2.Anchored = true
  87. Part2.CanCollide = false
  88. Part2.Locked = true
  89. Part2.FormFactor = Enum.FormFactor.Symmetric
  90. Part2.Size = Vector3.new(2, 2, 1)
  91. Part2.CFrame = CFrame.new(0.00273300009, 60.1759644, -0.000125000006, 0.794624925, 0, -0.607101083, 0, 1, 0, 0.607101083, 0, 0.794624925)
  92. Part2.BottomSurface = Enum.SurfaceType.Smooth
  93. Part2.TopSurface = Enum.SurfaceType.Smooth
  94. Part2.Position = Vector3.new(0.00273300009, 60.1759644, -0.000125000006)
  95. Part2.Orientation = Vector3.new(0, -37.3800011, 0)
  96. ParticleEmitter3.Parent = Part2
  97. ParticleEmitter3.Texture = "rbxassetid://732274592"
  98. ParticleEmitter3.Lifetime = NumberRange.new(20, 30)
  99. ParticleEmitter3.Rate = 500
  100. ParticleEmitter3.VelocitySpread = 200
  101. ParticleEmitter4.Parent = Part2
  102. ParticleEmitter4.Texture = "rbxassetid://732274592"
  103. ParticleEmitter4.Lifetime = NumberRange.new(20, 30)
  104. ParticleEmitter4.Rate = 500
  105. ParticleEmitter4.VelocitySpread = 200
  106. ParticleEmitter5.Parent = Part2
  107. ParticleEmitter5.Texture = "rbxassetid://732274592"
  108. ParticleEmitter5.Lifetime = NumberRange.new(20, 30)
  109. ParticleEmitter5.Rate = 500
  110. ParticleEmitter5.VelocitySpread = 200
  111. ParticleEmitter6.Parent = Part2
  112. ParticleEmitter6.Texture = "rbxassetid://732274592"
  113. ParticleEmitter6.Lifetime = NumberRange.new(20, 30)
  114. ParticleEmitter6.Rate = 500
  115. ParticleEmitter6.VelocitySpread = 200
  116. for i,v in pairs(mas:GetChildren()) do
  117. v.Parent = workspace
  118. pcall(function() v:MakeJoints() end)
  119. end
  120. mas:Destroy()
  121. for i,v in pairs(cors) do
  122. spawn(function()
  123. pcall(v)
  124. end)
  125. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement