Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. -- params : ...
  2.  
  3. wait(2)
  4. local player = game.Players.LocalPlayer
  5. repeat
  6. wait(0)
  7. until player.Character ~= nil
  8. local character = player.Character
  9. local Humanoid = character.Humanoid
  10. local Torso = character.Torso
  11. local Head = character.Head
  12. local mouse = player.GetMouse(player)
  13. local deb = false
  14. mouse.KeyDown:connect(function(key)
  15.  
  16. if key == "g" and not deb then
  17. deb = true
  18. local tor = Instance.new("Model", Torso.Neck)
  19. do
  20. local origT = Torso.CFrame
  21. for i = 1, 100, 10 do
  22. do
  23. coroutine.resume(coroutine.create(function()
  24.  
  25. local q = Instance.new("Part", tor)
  26. q.FormFactor = "Custom"
  27. q.Name = i
  28. if i >= 101 then
  29. q.Size = Vector3.new(67, 95, 67)
  30. else
  31. q.Size = Vector3.new(40, 170, 40)
  32. end
  33. q.BrickColor = BrickColor.new("Really red")
  34. q.TopSurface = 0
  35. q.CanCollide = false
  36. local xxx = Instance.new("BodyVelocity", q)
  37. xxx.velocity = Vector3.new(0, 0.001, 0)
  38. q.CFrame = origT * CFrame.new(0, -10, -(i + 3) - q.Size.X / 2 - 10)
  39. local m = Instance.new("SpecialMesh", q)
  40. m.Scale = Vector3.new(1, 0, 1)
  41. m.MeshType = "Sphere"
  42. q.Touched:connect(function(part)
  43.  
  44. if part.Parent:FindFirstChild("Humanoid") and part.Parent:FindFirstChild("Torso") then
  45. local torso = part.Parent:FindFirstChild("Torso")
  46. local head = part.Parent:FindFirstChild("Head")
  47. local humanoid = part.Parent:FindFirstChild("Humanoid")
  48. if not torso:FindFirstChild("FireWaveBP" .. q.Name) and humanoid ~= Humanoid then
  49. local bv = Instance.new("BodyVelocity")
  50. bv.Name = "FireWaveBP" .. q.Name
  51. bv.maxForce = Vector3.new(1 / 0, 1 / 0, 1 / 0)
  52. bv.velocity = q.CFrame.lookVector * 100
  53. bv.Parent = torso
  54. if humanoid then
  55. humanoid:TakeDamage(15)
  56. end
  57. game.Debris:AddItem(bv, 0.11)
  58. end
  59. end
  60. end
  61. )
  62. for i_ = 1, 15 do
  63. q.Transparency = i_ / 15
  64. m.Scale = m.Scale + Vector3.new(0, 0.3, 0)
  65. wait(0.03)
  66. end
  67. q:Destroy()
  68. end
  69. ))
  70. wait(0.1)
  71. end
  72. end
  73. deb = false
  74. end
  75. end
  76. end
  77. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement