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(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"))
- prt = Instance.new("Part")
- prt.Name = "obamium"
- prt.Parent = mas
- prt.CFrame = CFrame.new(-120.710297, 3.78997302, 12.5400152, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- prt.Orientation = Vector3.new(0, 180, 0)
- prt.Position = Vector3.new(-120.710297, 3.78997302, 12.5400152)
- prt.Rotation = Vector3.new(-180, 0, -180)
- prt.Size = Vector3.new(75.5, 7.5, 10)
- msh = Instance.new("SpecialMesh",prt)
- msh.MeshId = "rbxassetid://3734353360"
- Sound1 = Instance.new("Sound")
- BodyPosition2 = Instance.new("BodyPosition")
- BodyAngularVelocity3 = Instance.new("BodyAngularVelocity")
- Script4 = Instance.new("Script")
- Sound1.Name = "obamium"
- Sound1.Parent = prt
- Sound1.Looped = true
- Sound1.Playing = true
- Sound1.SoundId = "rbxassetid://909227073"
- Sound1.Volume = 10
- BodyPosition2.Parent = prt
- BodyPosition2.Position = Vector3.new(0, 20, 0)
- BodyPosition2.D = 10
- BodyPosition2.MaxForce = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
- BodyPosition2.maxForce = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
- BodyPosition2.position = Vector3.new(0, 20, 0)
- BodyAngularVelocity3.Parent = prt
- BodyAngularVelocity3.AngularVelocity = Vector3.new(0, 1, 0)
- BodyAngularVelocity3.MaxTorque = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
- BodyAngularVelocity3.angularvelocity = Vector3.new(0, 1, 0)
- BodyAngularVelocity3.maxTorque = Vector3.new(8.99999949e+09, 8.99999949e+09, 8.99999949e+09)
- Script4.Parent = prt
- table.insert(cors,sandbox(Script4,function()
- script.Parent.Position = workspace.Base.Position + Vector3.new(math.random*400,math.random*10,math.random()*400 )
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- 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