Advertisement
lafur

Untitled

Mar 22nd, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Tool0 = Instance.new("Tool")
  19. Part1 = Instance.new("Part")
  20. SpecialMesh2 = Instance.new("SpecialMesh")
  21. Script3 = Instance.new("Script")
  22. Tool0.Name = "Infinity Gauntlet"
  23. Tool0.Parent = mas
  24. Tool0.TextureId = "http://www.roblox.com/asset?id=130093050"
  25. 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)
  26. Tool0.GripForward = Vector3.new(-0.0368530527, 0.993795276, 0.104942113)
  27. Tool0.GripPos = Vector3.new(-0.0768792778, -0.462749481, 0.1173127)
  28. Tool0.GripRight = Vector3.new(-0.995739818, -0.0276358854, -0.087968871)
  29. Tool0.GripUp = Vector3.new(0.0845228806, 0.107736915, -0.990580022)
  30. Part1.Name = "Handle"
  31. Part1.Parent = Tool0
  32. 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)
  33. Part1.Orientation = Vector3.new(0, 15, -110)
  34. Part1.Position = Vector3.new(0, 22.1269131, 40.5195808)
  35. Part1.Rotation = Vector3.new(0, 15, -110)
  36. Part1.Size = Vector3.new(4, 1, 2)
  37. Part1.BottomSurface = Enum.SurfaceType.Smooth
  38. Part1.TopSurface = Enum.SurfaceType.Smooth
  39. SpecialMesh2.Parent = Part1
  40. SpecialMesh2.MeshId = "rbxassetid://1757389224"
  41. SpecialMesh2.TextureId = "rbxassetid://1757405356"
  42. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  43. Script3.Parent = Tool0
  44. table.insert(cors,sandbox(Script3,function()
  45. function onEquipped()
  46. local isis = Instance.new("Message",workspace)
  47. isis.Text = "*thanos snaps his fingers*"
  48. wait(5)
  49. isis:Destroy()
  50. wait(0.1)
  51. splode = Instance.new("Sound")
  52. sky = Instance.new("Sky")
  53. splode.Parent = game.Workspace
  54. splode.Playing = true
  55. splode.Looped = false
  56. splode.Name = "Boom"
  57. splode.Volume = 9999999
  58. splode.SoundId = "rbxassetid://441372602"
  59. splode.Pitch = 1
  60. game.Lighting.Brightness = 999999999999999999999999999999999999999999999999999
  61. sky.Parent = game.Lighting
  62. sky.Name = "NukeSky"
  63. sky.CelestialBodiesShown = true
  64. sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  65. sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  66. sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  67. sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  68. sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  69. sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  70. sky.StarCount = 0
  71. for i=1,232.35500 do
  72. shockwave = Instance.new("Explosion")
  73. shockwave.Parent = game.Workspace
  74. shockwave.BlastRadius = 9999999999999
  75. shockwave.BlastPressure = 10000000
  76. wait (0.2)
  77. function unanchor (m)
  78. for _,i in pairs (m:GetChildren()) do
  79. if i:IsA("Part","Model") then
  80. i.Anchored = false
  81. i:BreakJoints()
  82. i.Material = "CorrodedMetal"
  83. else
  84. unanchor(i)
  85. end
  86. end
  87. end
  88. unanchor(game.Workspace)
  89. end
  90. sky:Destroy()
  91. game.Lighting.Brightness = 1
  92. local Sound0 = Instance.new("Sound",workspace)
  93. Sound0.TimePosition = 40
  94. Sound0.Playing = true
  95. Sound0.SoundId = "rbxassetid://305204854"
  96. Sound0.Volume = 10
  97. Sound0.Looped = false
  98. wait(10)
  99. game.Workspace.Gravity = 196
  100. Sky0:Destroy()
  101. game.Workspace.Sound:Destroy()
  102. end
  103. script.Parent.Equipped:connect(onEquipped)
  104.  
  105. end))
  106. for i,v in pairs(mas:GetChildren()) do
  107. v.Parent = game:GetService("Players").timetodie23232223.Backpack
  108. pcall(function() v:MakeJoints() end)
  109. end
  110. mas:Destroy()
  111. for i,v in pairs(cors) do
  112. spawn(function()
  113. pcall(v)
  114. end)
  115. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement