TheInsaneScripter77

Roblox blackhole script

Dec 2nd, 2020
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. local UserInputService = game:GetService("UserInputService")
  2. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  3. local Folder = Instance.new("Folder", game:GetService("Workspace"))
  4. local Part = Instance.new("Part", Folder)
  5. local Attachment1 = Instance.new("Attachment", Part)
  6. Part.Anchored = true
  7. Part.CanCollide = false
  8. Part.Transparency = 1
  9. local Updated = Mouse.Hit + Vector3.new(0, 5, 0)
  10. local NetworkAccess = coroutine.create(function()
  11. settings().Physics.AllowSleep = false
  12. while game:GetService("RunService").RenderStepped:Wait() do
  13. for _, Players in next, game:GetService("Players"):GetPlayers() do
  14. if Players ~= game:GetService("Players").LocalPlayer then
  15. Players.MaximumSimulationRadius = 0
  16. sethiddenproperty(Players, "SimulationRadius", 0)
  17. end
  18. end
  19. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  20. setsimulationradius(math.huge)
  21. end
  22. end)
  23. coroutine.resume(NetworkAccess)
  24. local function ForcePart(v)
  25. 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
  26. Mouse.TargetFilter = v
  27. for _, x in next, v:GetChildren() do
  28. 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
  29. x:Destroy()
  30. end
  31. end
  32. if v:FindFirstChild("Attachment") then
  33. v:FindFirstChild("Attachment"):Destroy()
  34. end
  35. if v:FindFirstChild("AlignPosition") then
  36. v:FindFirstChild("AlignPosition"):Destroy()
  37. end
  38. if v:FindFirstChild("Torque") then
  39. v:FindFirstChild("Torque"):Destroy()
  40. end
  41. v.CanCollide = false
  42. local Torque = Instance.new("Torque", v)
  43. Torque.Torque = Vector3.new(100000, 100000, 100000)
  44. local AlignPosition = Instance.new("AlignPosition", v)
  45. local Attachment2 = Instance.new("Attachment", v)
  46. Torque.Attachment0 = Attachment2
  47. AlignPosition.MaxForce = 9999999999999999
  48. AlignPosition.MaxVelocity = math.huge
  49. AlignPosition.Responsiveness = 200
  50. AlignPosition.Attachment0 = Attachment2
  51. AlignPosition.Attachment1 = Attachment1
  52. end
  53. end
  54. for _, v in next, game:GetService("Workspace"):GetDescendants() do
  55. ForcePart(v)
  56. end
  57. game:GetService("Workspace").DescendantAdded:Connect(function(v)
  58. ForcePart(v)
  59. end)
  60. UserInputService.InputBegan:Connect(function(Key, Chat)
  61. if Key.KeyCode == Enum.KeyCode.E and not Chat then
  62. Updated = Mouse.Hit + Vector3.new(0, 5, 0)
  63. end
  64. end)
  65. spawn(function()
  66. while game:GetService("RunService").RenderStepped:Wait() do
  67. Attachment1.WorldCFrame = Updated
  68. end
  69. end)
Add Comment
Please, Sign In to add comment