Advertisement
Sheckles

ecks dee

Jul 5th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 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. Part0 = Instance.new("Part")
  20. Part0.Parent = mas
  21. Part0.CFrame = CFrame.new(-0.300000012, 0.500003994, 12.3699999, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  22. Part0.Position = Vector3.new(-0.300000012, 0.500003994, 12.3699999)
  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 = script
  29. pcall(function() v:MakeJoints() end)
  30. end
  31. mas:Destroy()
  32. for i,v in pairs(cors) do
  33. spawn(function()
  34. pcall(v)
  35. end)
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement