Demonlord27

fire

Mar 28th, 2015
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = Player.Character
  3. RS = Character.Torso["Right Shoulder"]
  4. local Mouse = Player:GetMouse()
  5.  
  6.  
  7.  
  8. function onKeyDown(key)
  9. key = key:lower()
  10. if key == "f" then
  11. for i = 1,3 do
  12. RS.C0 = RS.C0*CFrame.Angles(0,0,0.5)
  13. wait()
  14. end
  15. Chat = game:GetService("Chat"):Chat(Character.Head, "Fire Style: Fireball Jutsu", Enum.ChatColor.Red)
  16. local Fireball = Instance.new("Part", Character)
  17. Fireball.Name = "Fireball"
  18. game.Debris:AddItem(Fireball, 7)
  19. Fireball.Shape = "Ball"
  20. Fireball.BrickColor = BrickColor.new("Really red")
  21. Fireball.Transparency = 0.7
  22. local FireEffect = Instance.new("Fire", Fireball)
  23. FireEffect.Size = 25
  24. FireEffect.Heat = 25
  25. Fireball.TopSurface = 0
  26. Fireball.BottomSurface = 0
  27. Fireball.CanCollide = false
  28. Fireball.Locked = true
  29. Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-12)
  30. local BodyVelocity = Instance.new("BodyVelocity", Fireball)
  31. BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  32. BodyVelocity.velocity = Character.Torso.CFrame.lookVector*80
  33. function Hurt(Part)
  34. if Part.Parent:FindFirstChild("Humanoid") then
  35. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health-15
  36. end
  37. end
  38. Fireball.Touched:connect(Hurt)
  39. wait(5)
  40. for i = 1,3 do
  41. RS.C0 = RS.C0*CFrame.Angles(0,0,-0.5)
  42. wait()
  43. end
  44. end
  45. end
  46. Mouse.KeyDown:connect(onKeyDown)
Add Comment
Please, Sign In to add comment