Advertisement
Diamond_Nicholas

part

Apr 25th, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 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(Enum,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. Part0 = Instance.new("Part")
  20. Part0.Parent = mas
  21. Part0.CFrame = CFrame.new(-6.19000006, 0.500003994, -11.4299984, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  22. Part0.Position = Vector3.new(-6.19000006, 0.500003994, -11.4299984)
  23. Part0.Size = Vector3.new(4, 1, 2)
  24. Part0.Anchored = true
  25. Part0.BottomSurface = Enum.SurfaceType.Smooth
  26. Part0.TopSurface = Enum.SurfaceType.Smooth
  27. for i,v in pairs(mas:GetChildren()) do
  28. v.Parent = workspace
  29. pcall(function() v:MakeJoints() end)
  30. end
  31. for i,v in pairs(cors) do
  32. spawn(function()
  33. pcall(v)
  34. end)
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement