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(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"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Script3 = Instance.new("Script")
- Tool0.Name = "Infinity Gauntlet"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset?id=130093050"
- Tool0.Grip = CFrame.new(-0.0768792778, -0.462749481, 0.1173127, -0.995739818, 0.0845228806, 0.0368530527, -0.0276358854, 0.107736915, -0.993795276, -0.087968871, -0.990580022, -0.104942113)
- Tool0.GripForward = Vector3.new(-0.0368530527, 0.993795276, 0.104942113)
- Tool0.GripPos = Vector3.new(-0.0768792778, -0.462749481, 0.1173127)
- Tool0.GripRight = Vector3.new(-0.995739818, -0.0276358854, -0.087968871)
- Tool0.GripUp = Vector3.new(0.0845228806, 0.107736915, -0.990580022)
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(0, 22.1269131, 40.5195808, -0.330365866, 0.907672405, 0.258822799, -0.939692616, -0.342020124, -6.95698077e-07, 0.0885219723, -0.243214116, 0.965924799)
- Part1.Orientation = Vector3.new(0, 15, -110)
- Part1.Position = Vector3.new(0, 22.1269131, 40.5195808)
- Part1.Rotation = Vector3.new(0, 15, -110)
- Part1.Size = Vector3.new(4, 1, 2)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "rbxassetid://1757389224"
- SpecialMesh2.TextureId = "rbxassetid://1757405356"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Script3.Parent = Tool0
- table.insert(cors,sandbox(Script3,function()
- function onEquipped()
- local isis = Instance.new("Message",workspace)
- isis.Text = "*thanos snaps his fingers*"
- wait(5)
- isis:Destroy()
- wait(0.1)
- splode = Instance.new("Sound")
- sky = Instance.new("Sky")
- splode.Parent = game.Workspace
- splode.Playing = true
- splode.Looped = false
- splode.Name = "Boom"
- splode.Volume = 9999999
- splode.SoundId = "rbxassetid://441372602"
- splode.Pitch = 1
- game.Lighting.Brightness = 999999999999999999999999999999999999999999999999999
- sky.Parent = game.Lighting
- sky.Name = "NukeSky"
- sky.CelestialBodiesShown = true
- sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
- sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
- sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
- sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
- sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
- sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
- sky.StarCount = 0
- for i=1,232.35500 do
- shockwave = Instance.new("Explosion")
- shockwave.Parent = game.Workspace
- shockwave.BlastRadius = 9999999999999
- shockwave.BlastPressure = 10000000
- wait (0.2)
- function unanchor (m)
- for _,i in pairs (m:GetChildren()) do
- if i:IsA("Part","Model") then
- i.Anchored = false
- i:BreakJoints()
- i.Material = "CorrodedMetal"
- else
- unanchor(i)
- end
- end
- end
- unanchor(game.Workspace)
- end
- sky:Destroy()
- game.Lighting.Brightness = 1
- local Sound0 = Instance.new("Sound",workspace)
- Sound0.TimePosition = 40
- Sound0.Playing = true
- Sound0.SoundId = "rbxassetid://305204854"
- Sound0.Volume = 10
- Sound0.Looped = false
- wait(10)
- game.Workspace.Gravity = 196
- Sky0:Destroy()
- game.Workspace.Sound:Destroy()
- end
- script.Parent.Equipped:connect(onEquipped)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").timetodie23232223.Backpack
- 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
Advertisement