Advertisement
Laau

[LUA] Perry the noob

Oct 5th, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. -- welcome to perry destroyer hahaha lol
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Part0 = Instance.new("Part")
  19. Decal1 = Instance.new("Decal")
  20. Part2 = Instance.new("Part")
  21. Decal3 = Instance.new("Decal")
  22. Part0.Parent = mas
  23. Part0.Size = Vector3.new(70, 56, 2)
  24. Part0.CFrame = CFrame.new(-61, 30, 93, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  25. Part0.Position = Vector3.new(-61, 30, 93)
  26. Decal1.Parent = Part0
  27. Decal1.Texture = "rbxassetid://60102939"
  28. Part2.Parent = mas
  29. Part2.Rotation = Vector3.new(0, 45, 0)
  30. Part2.Size = Vector3.new(67, 54, 2)
  31. Part2.CFrame = CFrame.new(7.5, 29, 85, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)
  32. Part2.Position = Vector3.new(7.5, 29, 85)
  33. Part2.Orientation = Vector3.new(0, 45, 0)
  34. Decal3.Parent = Part2
  35. Decal3.Texture = "rbxassetid://73732550"
  36. for i,v in pairs(mas:GetChildren()) do
  37. v.Parent = workspace
  38. pcall(function() v:MakeJoints() end)
  39. end
  40. mas:Destroy()
  41. for i,v in pairs(cors) do
  42. spawn(function()
  43. pcall(v)
  44. end)
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement