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")
- Script1 = Instance.new("Script")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Tool0.Name = "InfinityGuantlet"
- Tool0.Parent = owner.Backpack
- Tool0.TextureId = "rbxassetid://2988454230"
- Tool0.CanBeDropped = false
- Tool0.Grip = CFrame.new(-0.0127496719, 0.63266778, -0.0348548889, 0.0626006722, -0.997026205, 0.044944223, 0, 0.0450325459, 0.998985589, -0.99803865, -0.0625371709, 0.00281906757)
- Tool0.GripForward = Vector3.new(-0.044944223, -0.998985589, -0.00281906757)
- Tool0.GripPos = Vector3.new(-0.0127496719, 0.63266778, -0.0348548889)
- Tool0.GripRight = Vector3.new(0.0626006722, 0, -0.99803865)
- Tool0.GripUp = Vector3.new(-0.997026205, 0.0450325459, -0.0625371709)
- Tool0.ToolTip = "go commit thanos snap"
- Part2.Name = "Handle"
- Part2.Parent = Tool0
- Part2.CFrame = CFrame.new(-5.71000004, 2.53001451, -11.3100004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(-5.71000004, 2.53001451, -11.3100004)
- Part2.Size = Vector3.new(4, 1, 2)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Massless = true
- Part2.CanCollide = false
- SpecialMesh3.Parent = Part2
- SpecialMesh3.MeshId = "rbxassetid://2988437577"
- SpecialMesh3.TextureId = "rbxassetid://2988454230"
- SpecialMesh3.MeshType = Enum.MeshType.FileMesh
- SpecialMesh3.Scale = Vector3.new(1.5,1.5,2)
- Script1.Parent = Tool0
- table.insert(cors,sandbox(Script1,function()
- script.Parent.Activated:Connect(function()
- local ownerplr = owner
- local ownerchar = ownerplr.Character
- wait()
- local p = Instance.new("Part",workspace)
- local a = Instance.new("Sound",p)
- a.Name = "snap"
- a.SoundId = "rbxassetid://3091498183"
- a.Volume = 2
- a:Play()
- p.Material = Enum.Material.ForceField
- p.Anchored = true
- p.Shape = Enum.PartType.Ball
- p.Transparency = 0
- p.Position = script.Parent.Handle.Position
- p.CanCollide = false
- p.Size = Vector3.new(1,1,1)
- p.TopSurface = Enum.SurfaceType.Smooth
- p.BottomSurface = Enum.SurfaceType.Smooth
- local ts = game:GetService("TweenService")
- local part = p
- local info = TweenInfo.new(1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0)
- local goals = {Transparency = 1,Size = Vector3.new(30,30,30) }
- local t = ts:Create(part,info,goals)
- t:Play()
- p.Touched:Connect(function(hit)
- local char = hit.Parent
- local plr = game.Players:GetPlayerFromCharacter(char)
- local hum = char:FindFirstChildWhichIsA("Humanoid")
- if hum then
- if char ~= ownerchar then
- for _, child in pairs(char:GetDescendants()) do
- if child:IsA("Part") or child:IsA("MeshPart") or child:IsA("Decal") then
- part = child
- local goals = {Transparency = 1}
- local t = ts:Create(part,info,goals)
- t:Play()
- end
- end
- wait(1.5)
- a:Destroy()
- char:Destroy()
- else
- hum.MaxHealth = math.huge
- wait()
- hum.Health = hum.MaxHealth
- end
- end
- end)
- p.Touched:Connect(function(hit)
- local char = hit.Parent
- local ts = game:GetService("TweenService")
- if char:FindFirstChildWhichIsA("Humanoid") and char ~= ownerchar and not char.Head:FindFirstChild("thanossnapbbord") and not char:FindFirstChild("thanossnapalreadydone") then
- local bbord = Instance.new("BillboardGui",char.Head)
- local marker = Instance.new("BoolValue",char)
- marker.Name = "thanossnapalreadydone"
- marker.Value = true
- bbord.Name = "thanossnapbbord"
- bbord.Size = UDim2.new(7,0,1,0)
- bbord.StudsOffset = Vector3.new(0,3,0)
- bbord.LightInfluence = 0
- local t = Instance.new("TextLabel",bbord)
- t.Size = UDim2.new(1,0,1,0)
- t.TextScaled = true
- t.TextColor3 = Color3.fromRGB(99, 95, 98)
- t.Font = Enum.Font.SourceSans
- t.Text = "I don't feel so good.."
- t.TextStrokeTransparency = 0
- t.BackgroundTransparency = 1
- local info = TweenInfo.new(1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0)
- local goals = {TextTransparency = 1, TextStrokeTransparency = 1}
- ts:Create(t,info,goals):Play()
- wait(1)
- bbord:Destroy()
- end
- end)
- wait(1)
- p:Destroy()
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment