Advertisement
Dfgjfj

Hollow Nuke script

Jan 18th, 2025 (edited)
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. -- // This Code Was Writed By Allvideo
  2. local Player = game:GetService("Players")
  3. local TweenService = game:GetService("TweenService")
  4. local ServerStorage = game:GetService("ServerStorage")
  5. local Blue = ServerStorage.Nuke:FindFirstChild("Blue")
  6. local Red = ServerStorage.Nuke:FindFirstChild("Red")
  7. local Purple = ServerStorage.Nuke:FindFirstChild("Purple")
  8. local Debounce = false
  9. local Circle = true
  10. local radius = 35
  11. local speed = 12
  12. local cooldown = 50
  13. local Damage = 50
  14. local Damaged = {} --ignore
  15.  
  16. function MakeTween(Part,Destination,Delay)
  17. local info = TweenInfo.new(Delay,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  18. local create = TweenService:Create(Part,info,{CFrame = Destination})
  19. create:Play()
  20. return create
  21. end
  22.  
  23. script.Parent.Activated:connect(function()
  24. if not Debounce then
  25. Debounce = true
  26. local char = script.Parent.Parent
  27. local LocalPlayer = Player:GetPlayerFromCharacter(char)
  28. local Humanoid = char:FindFirstChild("Humanoid")
  29. local HumanoidRootPart = char:FindFirstChild("HumanoidRootPart")
  30. local launched = false
  31. if char and Red and Blue and Purple and Humanoid and HumanoidRootPart then
  32.  
  33. Humanoid.WalkSpeed = 0
  34. Humanoid.JumpPower = 0
  35. Humanoid.AutoRotate = false
  36. task.wait(0.5)
  37. char.Animate.Disabled = true
  38. --play sound
  39.  
  40.  
  41. wait(4)
  42. HumanoidRootPart.Anchored = true
  43. local RedClone = Red:Clone()
  44. RedClone.Parent = char
  45. RedClone.Anchored = true
  46. RedClone.CFrame = char.HumanoidRootPart.CFrame
  47. MakeTween(RedClone,char.HumanoidRootPart.CFrame * CFrame.new(0,55,0),1.5)
  48. wait(4.5)
  49.  
  50. local BlueClone = Blue:Clone()
  51. BlueClone.Parent = char
  52. BlueClone.Anchored = true
  53. BlueClone.CFrame = char.HumanoidRootPart.CFrame
  54. MakeTween(BlueClone,char.HumanoidRootPart.CFrame * CFrame.new(35,0,0),1)
  55. wait(2)
  56. task.defer(function()
  57. local angle = 85 + speed * 0.01
  58.  
  59. while true do
  60. if BlueClone and Circle then
  61. BlueClone.CFrame = CFrame.new(char.HumanoidRootPart.Position) * CFrame.new(math.cos(angle) * radius, 0, math.sin(angle) * radius)
  62. angle = angle + speed * 0.01
  63. wait(0.03)
  64. else
  65. break
  66. end
  67. end
  68.  
  69.  
  70.  
  71.  
  72. end)
  73. wait(1)
  74. local tweenfinish = MakeTween(char.HumanoidRootPart,char.HumanoidRootPart.CFrame * CFrame.new(0,45,0),4)
  75. tweenfinish.Completed:connect(function()
  76. wait(2)
  77. MakeTween(RedClone,RedClone.CFrame * CFrame.new(-5,0,0),2)
  78. wait(1)
  79. Circle = false
  80.  
  81. MakeTween(BlueClone,RedClone.CFrame * CFrame.new(10,0,0),1.5)
  82. wait(1.5)
  83. MakeTween(BlueClone,BlueClone.CFrame * CFrame.new(-5,0,0),2)
  84. MakeTween(RedClone,RedClone.CFrame * CFrame.new(5,0,0),2)
  85. wait(2)
  86. local PurpleClone = Purple:Clone()
  87. PurpleClone.Parent = char
  88. PurpleClone.Anchored = true
  89. PurpleClone.CFrame = BlueClone.CFrame * CFrame.new(-3,4,0)
  90. BlueClone:Destroy()
  91. RedClone:Destroy()
  92. wait(2)
  93. PurpleClone:Destroy()
  94. local boom = ServerStorage.Nuke.Boom:Clone()
  95. boom.CFrame = char.HumanoidRootPart.CFrame
  96. boom.Parent = char
  97. for i,v in next, boom:GetDescendants() do
  98. if v:IsA("ParticleEmitter") then
  99. v.Enabled = true
  100. end
  101. end
  102.  
  103. for i = 1,Damage do
  104. local nearest = Workspace:GetPartBoundsInBox(char.HumanoidRootPart.CFrame,Vector3.new(243, 100, 143))
  105. for i2,v in next, nearest do
  106. if v.Parent:FindFirstChild("Humanoid") and not Damaged[v.Parent] and v.Parent.Humanoid ~= Humanoid then
  107. Damaged[v.Parent] = true
  108. v.Parent.Humanoid:TakeDamage(1)
  109. end
  110. end
  111. Damaged = {}
  112. task.wait(0.1)
  113. end
  114.  
  115. task.wait(17)
  116. for i,v in next, boom:GetDescendants() do
  117. if v:IsA("ParticleEmitter") then
  118. v.Enabled = false
  119. end
  120. end
  121. boom:Destroy()
  122.  
  123. local LastTween = MakeTween(char.HumanoidRootPart,char.HumanoidRootPart.CFrame * CFrame.new(0,-45,0),4)
  124. LastTween.Completed:connect(function()
  125. Humanoid.WalkSpeed = 16
  126. Humanoid.JumpPower = 50
  127. Humanoid.AutoRotate = true
  128. HumanoidRootPart.Anchored = false
  129. char.Animate.Disabled = false
  130. end)
  131. end)
  132.  
  133.  
  134.  
  135.  
  136.  
  137. end
  138.  
  139.  
  140. task.wait(37)
  141.  
  142.  
  143.  
  144. for i = 1,cooldown do
  145. script.Parent.Name = cooldown - i
  146. wait(1)
  147. end
  148. script.Parent.Name = "Hollow Nuke"
  149. Debounce = false
  150. end
  151. end)
  152.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement