Advertisement
2AreYouMental110

Black hole script FE (kind of buggy)

Dec 7th, 2020 (edited)
3,488
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- SCRIPT DOESNT WORK FOR COOK BURGERS
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10. -- script from doxxmane https://www.youtube.com/channel/UCQgIUwaUCXZRcwIqFQmIL1g
  11.  
  12.  
  13. local UserInputService = game:GetService("UserInputService")
  14. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  15. local Folder = Instance.new("Folder", game:GetService("Workspace"))
  16. local Part = Instance.new("Part", Folder)
  17. local Attachment1 = Instance.new("Attachment", Part)
  18. Part.Anchored = true
  19. Part.CanCollide = false
  20. Part.Transparency = 1
  21. local Updated = Mouse.Hit + Vector3.new(0, 5, 0)
  22. local NetworkAccess = coroutine.create(function()
  23.     settings().Physics.AllowSleep = false
  24.     while game:GetService("RunService").RenderStepped:Wait() do
  25.         for _, Players in next, game:GetService("Players"):GetPlayers() do
  26.             if Players ~= game:GetService("Players").LocalPlayer then
  27.                 Players.MaximumSimulationRadius = 0
  28.                 sethiddenproperty(Players, "SimulationRadius", 0)
  29.             end
  30.         end
  31.         game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  32.         setsimulationradius(math.huge)
  33.     end
  34. end)
  35. coroutine.resume(NetworkAccess)
  36. local function ForcePart(v)
  37.     if v:IsA("Part") and v.Anchored == false and v.Parent:FindFirstChild("Humanoid") == nil and v.Parent:FindFirstChild("Head") == nil and v.Name ~= "Handle" then
  38.         Mouse.TargetFilter = v
  39.         for _, x in next, v:GetChildren() do
  40.             if x:IsA("BodyAngularVelocity") or x:IsA("BodyForce") or x:IsA("BodyGyro") or x:IsA("BodyPosition") or x:IsA("BodyThrust") or x:IsA("BodyVelocity") or x:IsA("RocketPropulsion") then
  41.                 x:Destroy()
  42.             end
  43.         end
  44.         if v:FindFirstChild("Attachment") then
  45.             v:FindFirstChild("Attachment"):Destroy()
  46.         end
  47.         if v:FindFirstChild("AlignPosition") then
  48.             v:FindFirstChild("AlignPosition"):Destroy()
  49.         end
  50.         if v:FindFirstChild("Torque") then
  51.             v:FindFirstChild("Torque"):Destroy()
  52.         end
  53.         v.CanCollide = false
  54.         local Torque = Instance.new("Torque", v)
  55.         Torque.Torque = Vector3.new(100000, 100000, 100000)
  56.         local AlignPosition = Instance.new("AlignPosition", v)
  57.         local Attachment2 = Instance.new("Attachment", v)
  58.         Torque.Attachment0 = Attachment2
  59.         AlignPosition.MaxForce = 9999999999999999
  60.         AlignPosition.MaxVelocity = math.huge
  61.         AlignPosition.Responsiveness = 200
  62.         AlignPosition.Attachment0 = Attachment2
  63.         AlignPosition.Attachment1 = Attachment1
  64.     end
  65. end
  66. for _, v in next, game:GetService("Workspace"):GetDescendants() do
  67.     ForcePart(v)
  68. end
  69. game:GetService("Workspace").DescendantAdded:Connect(function(v)
  70.     ForcePart(v)
  71. end)
  72. UserInputService.InputBegan:Connect(function(Key, Chat)
  73.     if Key.KeyCode == Enum.KeyCode.E and not Chat then
  74.        Updated = Mouse.Hit + Vector3.new(0, 5, 0)
  75.     end
  76. end)
  77. spawn(function()
  78.     while game:GetService("RunService").RenderStepped:Wait() do
  79.         Attachment1.WorldCFrame = Updated
  80.     end
  81. end)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement