Advertisement
okban

22

Jan 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. BillboardGui0 = Instance.new("BillboardGui")
  18. TextLabel1 = Instance.new("TextLabel")
  19. BillboardGui0.Parent = mas
  20. BillboardGui0.Size = UDim2.new(0, 200, 0, 50)
  21. TextLabel1.Parent = BillboardGui0
  22. TextLabel1.Transparency = 0.30000001192093
  23. TextLabel1.Size = UDim2.new(0, 200, 0, 50)
  24. TextLabel1.Text = "Kyle's pet rock windpws"
  25. TextLabel1.BackgroundColor3 = Color3.new(0, 0, 0)
  26. TextLabel1.BackgroundTransparency = 0.30000001192093
  27. TextLabel1.Font = Enum.Font.Arcade
  28. TextLabel1.FontSize = Enum.FontSize.Size24
  29. TextLabel1.TextColor3 = Color3.new(1, 0.333333, 0)
  30. for i,v in pairs(mas:GetChildren()) do
  31. v.Parent = game:GetService("Players").LocalPlayer.Character
  32. pcall(function() v:MakeJoints() end)
  33. end
  34. mas:Destroy()
  35. for i,v in pairs(cors) do
  36. spawn(function()
  37. pcall(v)
  38. end)
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement