Advertisement
scriptingtales

Roblox Artificial Void

Mar 16th, 2024 (edited)
633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.67 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  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. BillboardGui1 = Instance.new("BillboardGui")
  20. TextLabel2 = Instance.new("TextLabel")
  21. Script3 = Instance.new("Script")
  22. Part0.Name = "Voido"
  23. Part0.Parent = mas
  24. Part0.CFrame = CFrame.new(-25.75, 0.125, -29, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  25. Part0.Position = Vector3.new(-25.75, 0.125, -29)
  26. Part0.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  27. Part0.Size = Vector3.new(9, 0.25, 9)
  28. Part0.Anchored = true
  29. Part0.BottomSurface = Enum.SurfaceType.Smooth
  30. Part0.BrickColor = BrickColor.new("Really black")
  31. Part0.Material = Enum.Material.Neon
  32. Part0.TopSurface = Enum.SurfaceType.Smooth
  33. Part0.brickColor = BrickColor.new("Really black")
  34. BillboardGui1.Name = "BillboardGui2"
  35. BillboardGui1.Parent = Part0
  36. BillboardGui1.Size = UDim2.new(0, 400, 0, 100)
  37. BillboardGui1.Active = true
  38. BillboardGui1.ClipsDescendants = true
  39. BillboardGui1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  40. BillboardGui1.Adornee = Part0
  41. BillboardGui1.ExtentsOffsetWorldSpace = Vector3.new(0, 50, 0)
  42. TextLabel2.Name = "TextWarn"
  43. TextLabel2.Parent = BillboardGui1
  44. TextLabel2.Position = UDim2.new(0, 2, 0, 0)
  45. TextLabel2.Size = UDim2.new(0, 400, 0, 100)
  46. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  47. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  48. TextLabel2.BackgroundTransparency = 1
  49. TextLabel2.BorderColor = BrickColor.new("Really black")
  50. TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
  51. TextLabel2.BorderSizePixel = 0
  52. TextLabel2.Font = Enum.Font.Cartoon
  53. TextLabel2.FontSize = Enum.FontSize.Size14
  54. TextLabel2.Text = "This is a void, drop any object, it will disintigrate, that includes you!"
  55. TextLabel2.TextColor = BrickColor.new("Really black")
  56. TextLabel2.TextColor3 = Color3.new(0, 0, 0)
  57. TextLabel2.TextScaled = true
  58. TextLabel2.TextSize = 14
  59. TextLabel2.TextStrokeColor3 = Color3.new(1, 1, 1)
  60. TextLabel2.TextStrokeTransparency = 0
  61. TextLabel2.TextWrap = true
  62. TextLabel2.TextWrapped = true
  63. Script3.Name = "VoidEnabler"
  64. Script3.Parent = Part0
  65. table.insert(cors,sandbox(Script3,function()
  66. nan = 0/0
  67.  
  68. workspace.Voido.RotVelocity = Vector3.new(nan, nan, nan)
  69. workspace.Voido.Velocity = Vector3.new(nan, nan, nan)
  70. end))
  71. for i,v in pairs(mas:GetChildren()) do
  72.     v.Parent = workspace
  73.     pcall(function() v:MakeJoints() end)
  74. end
  75. mas:Destroy()
  76. for i,v in pairs(cors) do
  77.     spawn(function()
  78.         pcall(v)
  79.     end)
  80. end
  81.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement