Advertisement
TheUnknownDiscord

blackhole gu n

Dec 6th, 2021 (edited)
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tool = Instance.new("Tool")
  2. Part = Instance.new("Part")
  3. Part.Name = "Handle"
  4. Part.Parent = tool
  5. tool.Parent = owner.Character
  6. tool.Grip = CFrame.Angles(0,0,math.rad(-90))
  7. alive = false
  8. toolout = false
  9. notouch = false
  10. local where
  11. tool.Equipped:Connect(function()
  12. toolout = true
  13. task.wait()
  14. end)
  15. local tweenService = game:GetService("TweenService")
  16. local timeToFade = 0.25
  17. local object = tool
  18. local tweenInfo = TweenInfo.new(timeToFade)
  19. local goal = {}
  20. goal.GripPos = Vector3.new(0,0,0.5)
  21. local shot = tweenService:Create(object, tweenInfo, goal)
  22. local returnshot = {}
  23. returnshot.GripPos = tool.GripPos
  24. local shot2 = tweenService:Create(object, tweenInfo, returnshot)
  25.  
  26. tool.Unequipped:Connect(function()
  27. toolout = false
  28. end)
  29. local isTouched = false
  30. function thinghere(plr,hit)
  31. if toolout then
  32. blackhole = Instance.new("SpawnLocation",owner.Character)
  33. blackhole.Enabled = false
  34. blackhole.CFrame = hit
  35. blackhole.Anchored = true
  36. blackhole.CanCollide = false
  37. blackhole.Shape = "Ball"
  38. blackhole.Color = Color3.fromRGB()
  39. blackhole.Material = "Neon"
  40. blackhole.Size = Vector3.new()
  41. coroutine.wrap(function()
  42. shot:Play()
  43. wait(0.5)
  44. shot2:Play()
  45. end)
  46. alive = true
  47. task.wait()
  48. coroutine.wrap(function()
  49. while alive do
  50. task.wait()
  51. for i, hit in pairs(workspace:GetPartsInPart(blackhole)) do
  52. coroutine.wrap(function()
  53. if hit.Name ~= "Base" then
  54. pcall(function()
  55. if hit:FindFirstChildOfClass("SpecialMesh") then
  56. hit:FindFirstChildOfClass("SpecialMesh"):Destroy()
  57. end
  58. local U = hit:SubtractAsync({blackhole})
  59. local D = hit.Parent:GetDescendants() or hit:GetDescendants()
  60. for i = 1,#D do
  61. if D[i]:IsA("JointInstance") then
  62. if D[i].Part0 == D then
  63. D[i].Part0 = U
  64. end
  65. if D[i].Part1 == D then
  66. D[i].Part1 = U
  67. end
  68. end
  69. end
  70. local O = hit.Parent
  71. hit.Parent = nil
  72. U.Parent = O
  73. end)
  74. end
  75. end)()
  76. end
  77. end
  78. end)()
  79. local tweenService = game:GetService("TweenService")
  80. local timeToFade = 1
  81. local object = blackhole
  82. local tweenInfo = TweenInfo.new(timeToFade)
  83. local goal = {}
  84. goal.Size = Vector3.new(20,20,20)
  85. local tween = tweenService:Create(object, tweenInfo, goal)
  86. local tweenInfo = TweenInfo.new(timeToFade)
  87. local goal2 = {}
  88. goal2.Size = Vector3.new(0,0,0)
  89. local tween2 = tweenService:Create(object, tweenInfo, goal2)
  90. game:GetService("Debris"):AddItem(blackhole,6)
  91. tween:Play()
  92. wait(2)
  93. tween2:Play()
  94. wait(3)
  95. alive = false
  96. end
  97. end
  98.  
  99.  
  100. local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  101. local Mouse = owner:GetMouse()
  102. function ButtonDown()
  103. if Mouse.Hit ~= nil then
  104. E:FireServer(Mouse.Hit)
  105. end
  106. end
  107. Mouse.Button1Down:Connect(ButtonDown)
  108. ]],owner.PlayerGui))
  109. E.OnServerEvent:Connect(thinghere)
  110. part1 = Part
  111. local part2 = Instance.new("Part", part1)
  112. part1.Size = Vector3.new(1.25,1.005,1.75)
  113. part2.Size = Vector3.new(1,2,2)
  114. part2.Shape = "Cylinder"
  115. part2.Color = Color3.fromRGB(199, 20, 0)
  116. part1.Color = Color3.fromRGB(199, 20, 0)
  117. part2.Material = "SmoothPlastic"
  118. part1.Material = "SmoothPlastic"
  119. local part3 = Instance.new("Part", part1)
  120. part3.Size = Vector3.new(1.0625,1.65,1.65)
  121. part3.Shape = "Cylinder"
  122. part3.Color = Color3.fromRGB(43, 43, 43)
  123. part3.Material = "SmoothPlastic"
  124. local part4 = Instance.new("Part", part1)
  125. part4.Size = Vector3.new(1.255,1.01,0.95)
  126. part4.Color = Color3.fromRGB(43, 43, 43)
  127. part4.Material = "SmoothPlastic"
  128. part3.Massless = true
  129. part2.Massless = true
  130. part1.Massless = true
  131. local weld = Instance.new("Weld", part1)
  132. weld.Part0 = part2
  133. weld.Part1 = part1
  134. weld.C0 = CFrame.Angles(0,0,math.rad(90)) * CFrame.new(0,0,-1.35)
  135. local weld2 = Instance.new("Weld", part1)
  136. weld2.Part0 = part3
  137. weld2.Part1 = part1
  138. weld2.C0 = CFrame.Angles(0,0,math.rad(90)) * CFrame.new(0,0,-1.35)
  139. local weld3 = Instance.new("Weld", part1)
  140. weld3.Part0 = part4
  141. weld3.Part1 = part1
  142. weld3.C0 = CFrame.new(0,0,0.39)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement