vibrantsinger423

brih

Sep 17th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. prt = Instance.new("Part")
  19. prt.Name = "obamium"
  20. prt.Parent = mas
  21. prt.CFrame = CFrame.new(-120.710297, 3.78997302, 12.5400152, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  22. prt.Orientation = Vector3.new(0, 180, 0)
  23. prt.Position = Vector3.new(-120.710297, 3.78997302, 12.5400152)
  24. prt.Rotation = Vector3.new(-180, 0, -180)
  25. prt.Size = Vector3.new(75.5, 7.5, 10)
  26. msh = Instance.new("SpecialMesh",prt)
  27. msh.MeshId = "rbxassetid://3734353360"
  28. Sound1 = Instance.new("Sound")
  29. BodyPosition2 = Instance.new("BodyPosition")
  30. BodyAngularVelocity3 = Instance.new("BodyAngularVelocity")
  31. Script4 = Instance.new("Script")
  32. Sound1.Name = "obamium"
  33. Sound1.Parent = prt
  34. Sound1.Looped = true
  35. Sound1.Playing = true
  36. Sound1.SoundId = "rbxassetid://909227073"
  37. Sound1.Volume = 10
  38. BodyPosition2.Parent = prt
  39. BodyPosition2.Position = Vector3.new(0, 20, 0)
  40. BodyPosition2.D = 10
  41. BodyPosition2.MaxForce = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
  42. BodyPosition2.maxForce = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
  43. BodyPosition2.position = Vector3.new(0, 20, 0)
  44. BodyAngularVelocity3.Parent = prt
  45. BodyAngularVelocity3.AngularVelocity = Vector3.new(0, 1, 0)
  46. BodyAngularVelocity3.MaxTorque = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
  47. BodyAngularVelocity3.angularvelocity = Vector3.new(0, 1, 0)
  48. BodyAngularVelocity3.maxTorque = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
  49. Script4.Parent = prt
  50. table.insert(cors,sandbox(Script4,function()
  51. script.Parent.Position = workspace.Base.Position + Vector3.new(math.random*400,math.random*10,math.random()*400 )
  52. end))
  53. for i,v in pairs(mas:GetChildren()) do
  54. v.Parent = script
  55. pcall(function() v:MakeJoints() end)
  56. end
  57. mas:Destroy()
  58. for i,v in pairs(cors) do
  59. spawn(function()
  60. pcall(v)
  61. end)
  62. end
Advertisement
Add Comment
Please, Sign In to add comment