RyanDaCoder

1

Sep 13th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. local enabled = true
  2. Player = script.Parent.Parent
  3. --Player:WaitForDataReady()
  4. mouse = Player:GetMouse()
  5. run = game:GetService("RunService")
  6. function onKeyDown(key)
  7. if not enabled then return end
  8. enabled = false
  9. Key = key:lower()
  10. if key == "z" then
  11. RightShoulder = Player.Character.Torso["Right Shoulder"]
  12. LeftShoulder = Player.Character.Torso["Left Shoulder"]
  13. Run = game:GetService("RunService")
  14. for i = 1, 2 do
  15. for i = 1, 12 do
  16. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  17. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  18. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  19. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  20. Run.Stepped:wait(0.01)
  21. end
  22. for i = 1, 12 do
  23. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  24. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  25. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  26. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  27. Run.Stepped:wait(0.005)
  28. end
  29. end
  30. for i = 1, 12 do
  31. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  32. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  33. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  34. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  35. Run.Stepped:wait(0.005)
  36. end
  37. game:GetService("Chat"):Chat(Player.Character.Head, "Fire Style: Fireball Jutsu")
  38. x = Instance.new("Part")
  39. x.BrickColor = BrickColor.new("Bright red")
  40. x.Size = Vector3.new(10, 10, 10)
  41. x.TopSurface = "Smooth"
  42. x.BottomSurface = "Smooth"
  43. x.Shape = "Ball"
  44. x.Name = Player.Name
  45. x.CanCollide = false
  46. x.Transparency = 0.7
  47. fd = script.Firedamage:clone()
  48. fd.Parent = x
  49. y = Instance.new("BodyVelocity")
  50. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  51. y.velocity = Player.Character.Torso.CFrame.lookVector*80
  52. x.Parent = Workspace
  53. y.Parent = x
  54. f = Instance.new("Fire", x)
  55. f.Size = 15
  56. f.Heat = 0
  57. x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -12)
  58. fd.Disabled = false
  59. game.Debris:AddItem(x, 6)
  60. wait(0.25)
  61. for i = 1, 12 do
  62. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
  63. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
  64. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
  65. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
  66. Run.Stepped:wait(0.01)
  67. end
  68. end
  69. wait(2)
  70. enabled = true
  71. end
  72.  
  73. mouse.KeyDown:connect(onKeyDown)
Add Comment
Please, Sign In to add comment