DangerKillerTH

flare fruit

Oct 10th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.47 KB | None | 0 0
  1. wait()
  2. local Player = script.Parent.Parent
  3. local Char = Player.Character
  4. local Torso = Char.Torso
  5. local rs,ls,rh,lh,root,neck = Torso["Right Shoulder"],Torso["Left Shoulder"],Torso["Right Hip"],Torso["Left Hip"],Char.HumanoidRootPart.RootJoint,Torso.Neck
  6. local Go = false
  7. local Go2 = false
  8. local Go3 = false
  9. local Busy = false
  10. local HikenOn = false
  11. local EnkaiOn = false
  12.  
  13. function fakeJoint(joint)
  14. local Part0 = joint.Part0
  15. joint.Part0 = nil
  16. local Joint = Instance.new("Motor6D",game.JointsService)
  17. Joint.Part0 = Part0
  18. Joint.Part1 = joint.Part1
  19. Joint.C0 = joint.C0
  20. Joint.C1 = joint.C1
  21. return Joint
  22. end
  23.  
  24. function makeFire()
  25. local Part = Instance.new("Part")
  26. Part.BrickColor = BrickColor.new("Bright orange")
  27. Part.Size = Vector3.new(2,2,2)
  28. Part.Transparency = 0.2
  29. Part.CanCollide = false
  30. Part.TopSurface = "Smooth"
  31. Part.BottomSurface = "Smooth"
  32. Part.Material = "Neon"
  33. local Mesh = Instance.new("SpecialMesh",Part)
  34. Mesh.Name = "Mesh"
  35. Mesh.MeshType = "FileMesh"
  36. Mesh.MeshId = "http://www.roblox.com/asset/?id=25212400"
  37. Mesh.Scale = Vector3.new(1,1,1)
  38. local Light = Instance.new("PointLight",Part)
  39. Light.Brightness = 8
  40. Light.Range = 10
  41. Light.Color = Part.BrickColor.Color
  42. return Part
  43. end
  44.  
  45. local Tool = Instance.new("Tool",Player.Backpack)
  46. Tool.Name = "Higan"
  47. Tool.CanBeDropped = false
  48. Tool.RequiresHandle = false
  49.  
  50. local Tool2 = Instance.new("Tool",Player.Backpack)
  51. Tool2.Name = "Hiken"
  52. Tool2.CanBeDropped = false
  53. Tool2.RequiresHandle = false
  54.  
  55. local Tool3 = Instance.new("Tool",Player.Backpack)
  56. Tool3.Name = "Dai Enkai: Entei"
  57. Tool3.CanBeDropped = false
  58. Tool3.RequiresHandle = false
  59.  
  60. Tool.Activated:connect(function()
  61. if Go or Busy then return end
  62. Go = true
  63. Busy = true
  64. local RS = fakeJoint(rs)
  65. local LS = fakeJoint(ls)
  66. RS.C0 = rs.C0*CFrame.Angles(0,0,math.rad(90))
  67. LS.C0 = ls.C0*CFrame.Angles(0,0,math.rad(-90))
  68. for i = 1,15 do wait(0.15)
  69. RS.C0 = rs.C0*CFrame.Angles(0,0,math.rad(105))
  70. LS.C0 = ls.C0*CFrame.Angles(0,0,math.rad(-105))
  71. local Blast1 = makeFire()
  72. Blast1.Touched:connect(function(Hit)
  73. if Hit.Parent:findFirstChild("Humanoid") ~= nil then
  74. local vHuman = Hit.Parent.Humanoid
  75. if vHuman.Parent ~= Char and vHuman.Parent:findFirstChild(Char.Name) == nil then
  76. vHuman:TakeDamage(10)
  77. Hit.Velocity = Blast1.CFrame.lookVector * 60
  78. local Tag = Instance.new("ObjectValue",vHuman.Parent)
  79. Tag.Name = Char.Name
  80. game.Debris:AddItem(Tag,0.75)
  81. Blast1:Destroy()
  82. end
  83. end
  84. end)
  85. Blast1.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(1.5,0.5,-2)
  86. local Vel = Instance.new("BodyVelocity",Blast1)
  87. Vel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  88. Vel.velocity = Char.HumanoidRootPart.CFrame.lookVector * 110
  89. local Blast2 = makeFire()
  90. Blast2.Touched:connect(function(Hit)
  91. if Hit.Parent:findFirstChild("Humanoid") ~= nil then
  92. local vHuman = Hit.Parent.Humanoid
  93. if vHuman.Parent ~= Char and vHuman.Parent:findFirstChild(Char.Name) == nil then
  94. vHuman:TakeDamage(9)
  95. Hit.Velocity = Blast1.CFrame.lookVector * 20
  96. local Tag = Instance.new("ObjectValue",vHuman.Parent)
  97. Tag.Name = Char.Name
  98. game.Debris:AddItem(Tag,0.75)
  99. Blast2:Destroy()
  100. end
  101. end
  102. end)
  103. Blast2.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(-1.5,0.5,-2)
  104. local Vel2 = Instance.new("BodyVelocity",Blast2)
  105. Vel2.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  106. Vel2.velocity = Char.HumanoidRootPart.CFrame.lookVector * 110
  107. Blast1.Parent = game.Workspace
  108. Blast2.Parent = game.Workspace
  109. game.Debris:AddItem(Blast1,1)
  110. game.Debris:AddItem(Blast2,1)
  111. wait()
  112. RS.C0 = rs.C0*CFrame.Angles(0,0,math.rad(90))
  113. LS.C0 = ls.C0*CFrame.Angles(0,0,math.rad(-90))
  114. end
  115. wait()
  116. RS:Destroy()
  117. LS:Destroy()
  118. rs.Part0 = Torso
  119. ls.Part0 = Torso
  120. Busy = false
  121. wait(2)
  122. Go = false
  123. end)
  124.  
  125. Tool2.Activated:connect(function()
  126. if Go2 or Busy then return end
  127. Go2 = true
  128. Busy = true
  129. local RS = fakeJoint(rs)
  130. local LS = fakeJoint(ls)
  131. local Body = fakeJoint(root)
  132. local Neck = fakeJoint(neck)
  133. for i = 1,7 do game:GetService("RunService").Heartbeat:wait(0)
  134. Body.C0 = Body.C0:lerp(root.C0*CFrame.Angles(math.rad(4),0,math.rad(-70)),0.6)
  135. Neck.C0 = Neck.C0:lerp(neck.C0*CFrame.Angles(0,0,math.rad(60)),0.6)
  136. RS.C0 = RS.C0:lerp(rs.C0*CFrame.Angles(0,0,math.rad(85)),0.6)
  137. LS.C0 = LS.C0:lerp(ls.C0*CFrame.Angles(math.rad(-5),0,math.rad(-25)),0.6)
  138. end
  139. wait(0.1)
  140. for i = 1,7 do game:GetService("RunService").Heartbeat:wait(0)
  141. Body.C0 = Body.C0:lerp(root.C0*CFrame.Angles(math.rad(15),0,math.rad(40)),0.6)
  142. Neck.C0 = Neck.C0:lerp(neck.C0*CFrame.Angles(math.rad(-15),0,math.rad(-30)),0.6)
  143. RS.C0 = RS.C0:lerp(rs.C0*CFrame.Angles(0,math.rad(-40),math.rad(105)),0.6)
  144. LS.C0 = LS.C0:lerp(ls.C0*CFrame.Angles(math.rad(-5),0,math.rad(-35)),0.6)
  145. end
  146. HikenOn = true
  147. local TorPos = Char.HumanoidRootPart.CFrame
  148. local Hiken = Instance.new("Model",Char.Torso)
  149. Hiken.Name = "Hiken"
  150. game.Debris:AddItem(Hiken,6)
  151. for i = 1,11 do wait()
  152. local Fire = makeFire()
  153. Fire.Anchored = true
  154. Fire.Size = Vector3.new(10,10,10)
  155. Fire.PointLight.Range = 15
  156. Fire.Mesh.Offset = Vector3.new(0,2,0)
  157. Fire.Mesh.Scale = Vector3.new(7,7,7)
  158. Fire.CFrame = TorPos*CFrame.new(0,2,2)*CFrame.new(0,0,-10*i)
  159. Fire.Parent = Hiken
  160. Fire.Touched:connect(function(Hit)
  161. if Hit.Parent:findFirstChild("Humanoid") ~= nil then
  162. local vHuman = Hit.Parent.Humanoid
  163. if vHuman.Parent ~= Char and vHuman.Parent:findFirstChild(Char.Name) == nil then
  164. vHuman:TakeDamage(19)
  165. if i == 1 then
  166. vHuman:TakeDamage(15)
  167. end
  168. vHuman.Sit = true
  169. Hit.Velocity = TorPos.lookVector * 40
  170. local Tag = Instance.new("ObjectValue",vHuman.Parent)
  171. Tag.Name = Char.Name
  172. spawn(function()
  173. repeat wait() until HikenOn == false
  174. Tag:Destroy()
  175. end)
  176. end
  177. end
  178. end)
  179. spawn(function()
  180. for i = 1,14 do wait()
  181. Fire.Mesh.Scale = Fire.Mesh.Scale + Vector3.new(0.5,0.5,0.5)
  182. Fire.CFrame = Fire.CFrame*CFrame.new(0,0.25,-0.25)*CFrame.Angles(0,math.rad(50),0)
  183. Fire.Transparency = Fire.Transparency + 0.0625
  184. end
  185. Fire:Destroy()
  186. if i == 12 then
  187. HikenOn = false
  188. end
  189. end)
  190. end
  191. for i = 1,6 do game:GetService("RunService").Heartbeat:wait(0)
  192. Body.C0 = Body.C0:lerp(root.C0,0.6)
  193. Neck.C0 = Neck.C0:lerp(neck.C0,0.6)
  194. RS.C0 = RS.C0:lerp(rs.C0,0.6)
  195. LS.C0 = LS.C0:lerp(ls.C0,0.6)
  196. end
  197. Body:Destroy()
  198. Neck:Destroy()
  199. RS:Destroy()
  200. LS:Destroy()
  201. root.Part0 = Char.HumanoidRootPart
  202. neck.Part0 = Torso
  203. rs.Part0 = Torso
  204. ls.Part0 = Torso
  205. Busy = false
  206. wait(10)
  207. Go2 = false
  208. end)
  209.  
  210. Tool3.Activated:connect(function()
  211. if Char.Humanoid.Health <= Char.Humanoid.MaxHealth/1.5 then
  212. if Go3 or Busy then return end
  213. Go3 = true
  214. Busy = true
  215. local RS = fakeJoint(rs)
  216. local LS = fakeJoint(ls)
  217. local Body = fakeJoint(root)
  218. local Neck = fakeJoint(neck)
  219. for i = 1,7 do game:GetService("RunService").Heartbeat:wait(0)
  220. Body.C0 = Body.C0:lerp(root.C0*CFrame.Angles(0,0,0),0.6)
  221. Neck.C0 = Neck.C0:lerp(neck.C0*CFrame.Angles(0,0,0),0.6)
  222. RS.C0 = RS.C0:lerp(rs.C0*CFrame.Angles(0,0,math.rad(179.9)),0.6)
  223. LS.C0 = LS.C0:lerp(ls.C0*CFrame.Angles(math.rad(-5),0,math.rad(-30)),0.6)
  224. end
  225. local Fire = makeFire()
  226. Fire.Anchored = true
  227. Fire.Shape = "Ball"
  228. Fire.Size = Vector3.new(2,2,2)
  229. Fire.Mesh.MeshId = ""
  230. Fire.Mesh.MeshType = "Sphere"
  231. Fire.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(1.5,3.5,0)
  232. Fire.Parent = Char.Torso
  233. local P = 0
  234. for i = 1,50 do game:GetService("RunService").Heartbeat:wait(0)
  235. Fire.Size = Fire.Size + Vector3.new(1,1,1)
  236. P = P + 0.5
  237. Fire.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(1.5,3.5,0)*CFrame.new(0,P,0)
  238. end
  239. for i = 1,7 do game:GetService("RunService").Heartbeat:wait(0)
  240. Fire.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(1.5,3.5,0)*CFrame.new(0,P,0)
  241. Body.C0 = Body.C0:lerp(root.C0*CFrame.Angles(math.rad(10),0,math.rad(70)),0.6)
  242. Neck.C0 = Neck.C0:lerp(neck.C0*CFrame.Angles(math.rad(-10),0,math.rad(-60)),0.6)
  243. RS.C0 = RS.C0:lerp(rs.C0*CFrame.Angles(0,math.rad(-70),math.rad(100)),0.6)
  244. LS.C0 = LS.C0:lerp(ls.C0*CFrame.Angles(math.rad(-5),0,math.rad(-35)),0.6)
  245. end
  246. EnkaiOn = true
  247. Fire.CFrame = Char.HumanoidRootPart.CFrame*CFrame.new(0,0,-3)*CFrame.new(0,0,-Fire.Size.Z/2)
  248. local Vel = Instance.new("BodyVelocity",Fire)
  249. Vel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  250. Vel.velocity = Char.HumanoidRootPart.CFrame.lookVector * 60
  251. Fire.Anchored = false
  252. Fire.Touched:connect(function(Hit)
  253. if EnkaiOn then
  254. if Hit.Parent:findFirstChild("Humanoid") ~= nil then
  255. local vHuman = Hit.Parent.Humanoid
  256. if vHuman.Parent ~= Char and vHuman.Parent:findFirstChild(Char.Name) == nil then
  257. vHuman:TakeDamage(28)
  258. vHuman.Sit = true
  259. Hit.Velocity = Fire.CFrame.lookVector * 80
  260. local Tag = Instance.new("ObjectValue",vHuman.Parent)
  261. Tag.Name = Char.Name
  262. spawn(function()
  263. repeat wait() until EnkaiOn == false
  264. Tag:Destroy()
  265. end)
  266. end
  267. end
  268. end
  269. end)
  270. game.Debris:AddItem(Fire,7)
  271. wait(0.1)
  272. for i = 1,6 do game:GetService("RunService").Heartbeat:wait(0)
  273. Body.C0 = Body.C0:lerp(root.C0,0.6)
  274. Neck.C0 = Neck.C0:lerp(neck.C0,0.6)
  275. RS.C0 = RS.C0:lerp(rs.C0,0.6)
  276. LS.C0 = LS.C0:lerp(ls.C0,0.6)
  277. end
  278. Body:Destroy()
  279. Neck:Destroy()
  280. RS:Destroy()
  281. LS:Destroy()
  282. root.Part0 = Char.HumanoidRootPart
  283. neck.Part0 = Torso
  284. rs.Part0 = Torso
  285. ls.Part0 = Torso
  286. Busy = false
  287. wait(7)
  288. EnkaiOn = false
  289. wait(23)
  290. Go3 = false
  291. end
  292. end)
Add Comment
Please, Sign In to add comment