View difference between Paste ID: 5KM1PEQ7 and iKWFrN9L
SHOW: | | - or go back to the newest paste.
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
game.Workspace.Gravity = 1000000000000000000
52
game.Workspace.Base:Destroy()
53
local x = Instance.new("Explosion",game.Workspace.noellr.Torso)
54
	x.BlastPressure = 99999999999999999999999999999999999999999999
55
	x.BlastRadius = 9999999999999999999999999999999999999999999999
56
local Sky0 = Instance.new("Sky",game.Lighting)
57
Sky0.SkyboxBk = "rbxassetid://57389521"
58
Sky0.SkyboxDn = "rbxassetid://57389521"
59
Sky0.SkyboxFt = "rbxassetid://57389521"
60
Sky0.SkyboxLf = "rbxassetid://57389521"
61
Sky0.SkyboxRt = "rbxassetid://57389521"
62
Sky0.SkyboxUp = "rbxassetid://57389521"
63
local Sound0 = Instance.new("Sound",workspace)
64
Sound0.TimePosition = 40
65
Sound0.Playing = true
66
Sound0.SoundId = "rbxassetid://305204854"
67
Sound0.Volume = 10
68
Sound0.Looped = false
69
wait(10)
70
game.Workspace.Gravity = 196
71
Sky0:Destroy()
72
game.Workspace.Sound:Destroy()
73
end
74
script.Parent.Equipped:connect(onEquipped)
75
76
end))
77
for i,v in pairs(mas:GetChildren()) do
78
	v.Parent = game:GetService("Players").lafur2.Backpack
79-
	v.Parent = game:GetService("Players").notsoname.Backpack
79+
80
end
81
mas:Destroy()
82
for i,v in pairs(cors) do
83
	spawn(function()
84
		pcall(v)
85
	end)
86
end