Advertisement
ClashofClans091

Untitled

May 24th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. --------Fireball
  2. local enabled = true
  3. Player = script.Parent.Parent
  4. --Player:WaitForDataReady()
  5. mouse = Player:GetMouse()
  6. run = game:GetService("RunService")
  7. function onKeyDown(key)
  8. if not enabled then return end
  9. enabled = false
  10. Key = key:lower()
  11. if key == "f" then
  12. RightShoulder = Player.Character.Torso["Right Shoulder"]
  13. LeftShoulder = Player.Character.Torso["Left Shoulder"]
  14. Run = game:GetService("RunService")
  15. for i = 1, 2 do
  16. for i = 1, 12 do
  17. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  18. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  19. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  20. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  21. Run.Stepped:wait(0.01)
  22. end
  23. for i = 1, 12 do
  24. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  25. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  26. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  27. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  28. Run.Stepped:wait(0.005)
  29. end
  30. end
  31. for i = 1, 12 do
  32. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  33. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  34. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  35. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  36. Run.Stepped:wait(0.005)
  37. end
  38. game:GetService("Chat"):Chat(Player.Character.Head, "Aaahhhhhhhhh!!!")
  39. x = Instance.new("Part")
  40. x.BrickColor = BrickColor.new("Really black")
  41. x.Size = Vector3.new(5, 5, 5)
  42. x.TopSurface = "Smooth"
  43. x.BottomSurface = "Smooth"
  44. x.Shape = "Ball"
  45. x.Name = Player.Name
  46. x.CanCollide = true
  47. x.Transparency = 0
  48. x.Material = "Neon"
  49. fd = script.Firedamage:clone()
  50. fd.Parent = x
  51. y = Instance.new("BodyVelocity")
  52. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  53. y.velocity = Player.Character.Torso.CFrame.lookVector*80
  54. x.Parent = Workspace
  55. y.Parent = x
  56. f = Instance.new("Fire", x)
  57. f.Size = 10
  58. f.Heat = 0
  59. x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -12)
  60. fd.Disabled = false
  61. game.Debris:AddItem(x, 6)
  62. wait(0.25)
  63. for i = 1, 12 do
  64. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  65. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  66. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  67. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  68. Run.Stepped:wait(0.01)
  69. end
  70. end
  71. wait(2)
  72. enabled = true
  73. end
  74.  
  75. mouse.KeyDown:connect(onKeyDown)
  76. ---------Firedamage------------
  77. function onDamage(Part)
  78. if Part.Parent:FindFirstChild("Humanoid") ~= nil and Part.Parent.Name ~= "script.Parent.Name" then
  79. script.Disabled = true
  80. f = Instance.new("Fire", Part)
  81. for i = 1,25 do
  82. f.Size = f.Size +0.25
  83. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -80
  84. wait(0.05)
  85. end
  86. Part.Parent.Humanoid.Sit = true
  87. f:remove()
  88. script.Parent:remove()
  89. end
  90. wait(0.025)
  91. end
  92.  
  93. script.Parent.Touched:connect(onDamage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement