Advertisement
anphu04

EXPLOSION RINGS v3

Sep 21st, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. repeat
  3. wait()
  4. until player.Character ~= nil
  5.  
  6. local char = player.Character
  7. local torso = char:FindFirstChild("Torso")
  8. local pos = 0
  9. local angle = math.rad(0)
  10. local distance = 30
  11.  
  12.  
  13. while true do
  14. repeat
  15. wait()
  16. until char and torso
  17. local explosion = Instance.new("Explosion")
  18. explosion.BlastPressure = 0 -- completely safe
  19. explosion.BlastRadius = 50
  20. explosion.Position = (torso.CFrame * CFrame.fromEulerAnglesXYZ(angle, angle, angle) * CFrame.new(0, -distance, distance)).p
  21. explosion.Parent = workspace
  22. game.Debris:AddItem(explosion, 3)
  23. explosion.Hit:connect(function(hit)
  24. if not hit:IsDescendantOf(char) then
  25. hit:BreakJoints()
  26. end
  27. end)
  28.  
  29. local explosion2 = Instance.new("Explosion")
  30. explosion2.BlastPressure = 0 -- completely safe
  31. explosion2.BlastRadius = 50
  32. explosion2.Position = (torso.CFrame * CFrame.fromEulerAnglesXYZ(-angle, -angle, -angle) * CFrame.new(0, distance, -distance)).p
  33. explosion2.Parent = workspace
  34. game.Debris:AddItem(explosion2, 3)
  35. explosion2.Hit:connect(function(hit)
  36. if not hit:IsDescendantOf(char) then
  37. hit:BreakJoints()
  38. end
  39. end)
  40. angle = angle + math.rad(7)
  41.  
  42. wait(0.1)
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement