SHOW:
|
|
- or go back to the newest paste.
| 1 | - | |
| 1 | + | |
| 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 | Accessory0 = Instance.new("Accessory")
| |
| 19 | Part1 = Instance.new("Part")
| |
| 20 | SpecialMesh2 = Instance.new("SpecialMesh")
| |
| 21 | Vector3Value3 = Instance.new("Vector3Value")
| |
| 22 | Part4 = Instance.new("Part")
| |
| 23 | SpecialMesh5 = Instance.new("SpecialMesh")
| |
| 24 | Vector3Value6 = Instance.new("Vector3Value")
| |
| 25 | Weld7 = Instance.new("Weld")
| |
| 26 | Accessory0.Name = "Evil Pumpkin2" | |
| 27 | Accessory0.Parent = mas | |
| 28 | Accessory0.AttachmentPoint = CFrame.new(0, 0.449999988, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 29 | Accessory0.AttachmentPos = Vector3.new(0, 0.449999988, 0) | |
| 30 | Part1.Name = "Handle" | |
| 31 | Part1.Parent = Accessory0 | |
| 32 | Part1.CFrame = CFrame.new(-39.5230942, 1.00001204, 10.3485136, 1, -2.51150537e-30, 3.02998127e-15, -1.25575325e-30, 1, -3.70576914e-22, -3.02998127e-15, 3.70576914e-22, 1) | |
| 33 | Part1.Position = Vector3.new(-39.5230942, 1.00001204, 10.3485136) | |
| 34 | Part1.Size = Vector3.new(2, 2, 2) | |
| 35 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 36 | Part1.CanCollide = false | |
| 37 | Part1.Locked = true | |
| 38 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 39 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
| 40 | Part1.formFactor = Enum.FormFactor.Symmetric | |
| 41 | SpecialMesh2.Parent = Part1 | |
| 42 | SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=16973748" | |
| 43 | SpecialMesh2.TextureId = "rbxassetid://1090019344" | |
| 44 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
| 45 | Vector3Value3.Name = "OriginalSize" | |
| 46 | Vector3Value3.Parent = Part1 | |
| 47 | Vector3Value3.Value = Vector3.new(2, 2, 2) | |
| 48 | Part4.Name = "Glasses" | |
| 49 | Part4.Parent = Part1 | |
| 50 | Part4.CFrame = CFrame.new(-39.5230942, 1.33001196, 10.0585146, 1, -1.25575212e-30, 3.02998127e-15, 1.35200639e-39, 1, -3.70576914e-22, -3.02998127e-15, 3.70576914e-22, 1) | |
| 51 | Part4.Position = Vector3.new(-39.5230942, 1.33001196, 10.0585146) | |
| 52 | Part4.Size = Vector3.new(2, 2, 2) | |
| 53 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
| 54 | Part4.CanCollide = false | |
| 55 | Part4.Locked = true | |
| 56 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
| 57 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
| 58 | Part4.formFactor = Enum.FormFactor.Symmetric | |
| 59 | SpecialMesh5.Parent = Part4 | |
| 60 | SpecialMesh5.MeshId = "rbxassetid://134026193" | |
| 61 | SpecialMesh5.Scale = Vector3.new(1.5, 1, 2) | |
| 62 | SpecialMesh5.TextureId = "rbxassetid://134026217" | |
| 63 | SpecialMesh5.MeshType = Enum.MeshType.FileMesh | |
| 64 | Vector3Value6.Name = "OriginalSize" | |
| 65 | Vector3Value6.Parent = Part4 | |
| 66 | Vector3Value6.Value = Vector3.new(2, 2, 2) | |
| 67 | Weld7.Name = "BTWeld" | |
| 68 | Weld7.Parent = Part4 | |
| 69 | Weld7.C1 = CFrame.new(0, 0.329999924, -0.289999008, 1, -1.25575325e-30, 0, -1.25575325e-30, 1, 0, 0, 0, 1) | |
| 70 | Weld7.Part0 = Part4 | |
| 71 | Weld7.Part1 = Part1 | |
| 72 | Weld7.part1 = Part1 | |
| 73 | for i,v in pairs(mas:GetChildren()) do | |
| 74 | v.Parent = owner.Character | |
| 75 | pcall(function() v:MakeJoints() end) | |
| 76 | end | |
| 77 | mas:Destroy() | |
| 78 | for i,v in pairs(cors) do | |
| 79 | spawn(function() | |
| 80 | pcall(v) | |
| 81 | end) | |
| 82 | end |