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"))
- Hat0 = Instance.new("Hat")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Script3 = Instance.new("Script")
- Camera4 = Instance.new("Camera")
- Hat0.Name = "GrassBlock"
- Hat0.Parent = mas
- Hat0.AttachmentForward = Vector3.new(1, 0, 0)
- Hat0.AttachmentPoint = CFrame.new(0, 0, 0, -0, 0, -1, 0, 1, -0, 1, -0, -0)
- Hat0.AttachmentRight = Vector3.new(-0, 0, 1)
- Part1.Name = "Handle"
- Part1.Parent = Hat0
- Part1.CFrame = CFrame.new(-84.9989624, 0.657658994, -152.10675, 0.990557015, 0.00293421024, -0.137069911, -0.00283294427, 0.99999553, 0.000933861709, 0.137072027, -0.000536731794, 0.990560949)
- Part1.Orientation = Vector3.new(-0.0500000007, -7.88000011, -0.159999996)
- Part1.Position = Vector3.new(-84.9989624, 0.657658994, -152.10675)
- Part1.Rotation = Vector3.new(-0.0500000007, -7.88000011, -0.170000002)
- Part1.Size = Vector3.new(1.38, 1.30999804, 1.5)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.Locked = true
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "rbxassetid://9856898"
- SpecialMesh2.Offset = Vector3.new(0, 0.400000006, 0)
- SpecialMesh2.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=3709921014"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Script3.Parent = Part1
- table.insert(cors,sandbox(Script3,function()
- script.Parent.Parent.AttachmentUp = CFrame.new(0, 2, 0)
- end))
- Camera4.Name = "ThumbnailCamera"
- Camera4.Parent = Hat0
- Camera4.CFrame = CFrame.new(-1.0826391, 0.23564665, -7.67947292, -0.927184224, 0.0310839489, -0.373314023, -1.86264537e-09, 0.996551394, 0.0829777345, 0.374605924, 0.0769356489, -0.923986614)
- Camera4.CoordinateFrame = CFrame.new(-1.0826391, 0.23564665, -7.67947292, -0.927184224, 0.0310839489, -0.373314023, -1.86264537e-09, 0.996551394, 0.0829777345, 0.374605924, 0.0769356489, -0.923986614)
- Camera4.Focus = CFrame.new(-2.86102295e-05, -0.00498872995, -4.99991226, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera4.focus = CFrame.new(-2.86102295e-05, -0.00498872995, -4.99991226, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = owner.Character
- 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