Advertisement
HenloMyDude

grass

Aug 22nd, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Hat0 = Instance.new("Hat")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Script3 = Instance.new("Script")
  23. Camera4 = Instance.new("Camera")
  24. Hat0.Name = "GrassBlock"
  25. Hat0.Parent = mas
  26. Hat0.AttachmentForward = Vector3.new(1, 0, 0)
  27. Hat0.AttachmentPoint = CFrame.new(0, 0, 0, -0, 0, -1, 0, 1, -0, 1, -0, -0)
  28. Hat0.AttachmentRight = Vector3.new(-0, 0, 1)
  29. Part1.Name = "Handle"
  30. Part1.Parent = Hat0
  31. 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)
  32. Part1.Orientation = Vector3.new(-0.0500000007, -7.88000011, -0.159999996)
  33. Part1.Position = Vector3.new(-84.9989624, 0.657658994, -152.10675)
  34. Part1.Rotation = Vector3.new(-0.0500000007, -7.88000011, -0.170000002)
  35. Part1.Size = Vector3.new(1.38, 1.30999804, 1.5)
  36. Part1.BottomSurface = Enum.SurfaceType.Smooth
  37. Part1.Locked = true
  38. Part1.TopSurface = Enum.SurfaceType.Smooth
  39. Part1.FormFactor = Enum.FormFactor.Custom
  40. Part1.formFactor = Enum.FormFactor.Custom
  41. SpecialMesh2.Parent = Part1
  42. SpecialMesh2.MeshId = "rbxassetid://9856898"
  43. SpecialMesh2.Offset = Vector3.new(0, 0.400000006, 0)
  44. SpecialMesh2.Scale = Vector3.new(1.5, 1.5, 1.5)
  45. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=3709921014"
  46. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  47. Script3.Parent = Part1
  48. table.insert(cors,sandbox(Script3,function()
  49.  
  50.  
  51.  
  52. script.Parent.Parent.AttachmentUp = CFrame.new(0, 2, 0)
  53. end))
  54. Camera4.Name = "ThumbnailCamera"
  55. Camera4.Parent = Hat0
  56. 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)
  57. 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)
  58. Camera4.Focus = CFrame.new(-2.86102295e-05, -0.00498872995, -4.99991226, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  59. Camera4.focus = CFrame.new(-2.86102295e-05, -0.00498872995, -4.99991226, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  60. for i,v in pairs(mas:GetChildren()) do
  61. v.Parent = owner.Character
  62. pcall(function() v:MakeJoints() end)
  63. end
  64. mas:Destroy()
  65. for i,v in pairs(cors) do
  66. spawn(function()
  67. pcall(v)
  68. end)
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement