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")
- Decal2 = Instance.new("Decal")
- Script3 = Instance.new("Script")
- Tool0.Name = "SLAM"
- Tool0.Parent = mas
- Tool0.TextureId = "rbxassetid://2816459863"
- Tool0.Grip = CFrame.new(0, 0, 0.285591125, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0, 0, 0.285591125)
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(8.739995, 3.03500557, 43.375, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(8.739995, 3.03500557, 43.375)
- Part1.Size = Vector3.new(1.8199991, 2.06999946, 0.150000051)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Decal2.Parent = Part1
- Decal2.Texture = "rbxassetid://2816459863"
- Script3.Parent = Tool0
- table.insert(cors,sandbox(Script3,function()
- script.Parent.Parent = owner.Backpack
- wait ()
- script:Destroy()
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement