Advertisement
End_Wolf

Untitled

Jun 20th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 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. for i,v in pairs(mas:GetChildren()) do
  20. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  21. pcall(function() v:MakeJoints() end)
  22. end
  23. mas:Destroy()
  24. for i,v in pairs(cors) do
  25. spawn(function()
  26. pcall(v)
  27. end)
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement