Advertisement
mikldapikl

asdkarate

May 12th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---------------------------------
  2. --Kung Fu Man (From M.U.G.E.N.)--
  3. ---------------------------------
  4. --By CKbackup (Sugarie Saffron)--
  5. ---------------------------------
  6.  
  7. wait(1/60)
  8. Effects = { }
  9. local Player = game:service'Players'.localPlayer
  10. local chara = Player.Character
  11. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  12. local Mouse = Player:GetMouse()
  13. local LeftArm = chara["Left Arm"]
  14. local RightArm = chara["Right Arm"]
  15. local LeftLeg = chara["Left Leg"]
  16. local RightLeg = chara["Right Leg"]
  17. local Head = chara.Head
  18. local Torso = chara.Torso
  19. local Camera = game.Workspace.CurrentCamera
  20. local RootPart = chara.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local attack = false
  23. local Anim = 'Idle'
  24. local attacktype = 1
  25. local delays = false
  26. local play = true
  27. local targetted = nil
  28. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local doe = 0
  33. local Create = LoadLibrary("RbxUtility").Create
  34. Humanoid.WalkSpeed = 16
  35.  
  36. Humanoid.Animator.Parent = nil
  37. chara.Animate.Parent = nil
  38.  
  39. local newMotor = function(part0, part1, c0, c1)
  40. local w = Create('Motor'){
  41. Parent = part0,
  42. Part0 = part0,
  43. Part1 = part1,
  44. C0 = c0,
  45. C1 = c1,
  46. }
  47. return w
  48. end
  49.  
  50. function clerp(a, b, t)
  51. return a:lerp(b, t)
  52. end
  53.  
  54. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  55. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  56.  
  57. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  58. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  59. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  60. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  61. RootJoint.C1 = CFrame.new(0, 0, 0)
  62. RootJoint.C0 = CFrame.new(0, 0, 0)
  63. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  64. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  65.  
  66. local rarmc1 = RW.C1
  67. local larmc1 = LW.C1
  68. local rlegc1 = RH.C1
  69. local llegc1 = LH.C1
  70.  
  71. local resetc1 = false
  72.  
  73. function PlayAnimationFromTable(table, speed, bool)
  74. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  75. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  76. RW.C0 = clerp(RW.C0, table[3], speed)
  77. LW.C0 = clerp(LW.C0, table[4], speed)
  78. RH.C0 = clerp(RH.C0, table[5], speed)
  79. LH.C0 = clerp(LH.C0, table[6], speed)
  80. if bool == true then
  81. if resetc1 == false then
  82. resetc1 = true
  83. RootJoint.C1 = RootJoint.C1
  84. Torso.Neck.C1 = Torso.Neck.C1
  85. RW.C1 = rarmc1
  86. LW.C1 = larmc1
  87. RH.C1 = rlegc1
  88. LH.C1 = llegc1
  89. end
  90. end
  91. end
  92.  
  93. ArtificialHB = Instance.new("BindableEvent", script)
  94. ArtificialHB.Name = "Heartbeat"
  95. script:WaitForChild("Heartbeat")
  96. frame = 0.03333333333333
  97. tf = 0
  98. allowframeloss = false
  99. tossremainder = false
  100. lastframe = tick()
  101. script.Heartbeat:Fire()
  102. game:GetService("RunService").Heartbeat:connect(function(s, p)
  103. tf = tf + s
  104. if tf >= frame then
  105. if allowframeloss then
  106. script.Heartbeat:Fire()
  107. lastframe = tick()
  108. else
  109. for i = 1, math.floor(tf / frame) do
  110. script.Heartbeat:Fire()
  111. end
  112. lastframe = tick()
  113. end
  114. if tossremainder then
  115. tf = 0
  116. else
  117. tf = tf - frame * math.floor(tf / frame)
  118. end
  119. end
  120. end)
  121. function swait(num)
  122. if num == 0 or num == nil then
  123. ArtificialHB.Event:wait()
  124. else
  125. for i = 0, num do
  126. ArtificialHB.Event:wait()
  127. end
  128. end
  129. end
  130.  
  131. function RemoveOutlines(part)
  132. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  133. end
  134.  
  135. CFuncs = {
  136. ["Part"] = {
  137. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  138. local Part = Create("Part"){
  139. Parent = Parent,
  140. Reflectance = Reflectance,
  141. Transparency = Transparency,
  142. CanCollide = false,
  143. Locked = true,
  144. BrickColor = BrickColor.new(tostring(BColor)),
  145. Name = Name,
  146. Size = Size,
  147. Material = Material,
  148. }
  149. RemoveOutlines(Part)
  150. return Part
  151. end;
  152. };
  153.  
  154. ["Mesh"] = {
  155. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  156. local Msh = Create(Mesh){
  157. Parent = Part,
  158. Offset = OffSet,
  159. Scale = Scale,
  160. }
  161. if Mesh == "SpecialMesh" then
  162. Msh.MeshType = MeshType
  163. Msh.MeshId = MeshId
  164. end
  165. return Msh
  166. end;
  167. };
  168.  
  169. ["Mesh"] = {
  170. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  171. local Msh = Create(Mesh){
  172. Parent = Part,
  173. Offset = OffSet,
  174. Scale = Scale,
  175. }
  176. if Mesh == "SpecialMesh" then
  177. Msh.MeshType = MeshType
  178. Msh.MeshId = MeshId
  179. end
  180. return Msh
  181. end;
  182. };
  183.  
  184. ["Weld"] = {
  185. Create = function(Parent, Part0, Part1, C0, C1)
  186. local Weld = Create("Weld"){
  187. Parent = Parent,
  188. Part0 = Part0,
  189. Part1 = Part1,
  190. C0 = C0,
  191. C1 = C1,
  192. }
  193. return Weld
  194. end;
  195. };
  196.  
  197. ["ParticleEmitter"] = {
  198. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  199. local fp = Create("ParticleEmitter"){
  200. Parent = Parent,
  201. Color = ColorSequence.new(Color1, Color2),
  202. LightEmission = LightEmission,
  203. Size = Size,
  204. Texture = Texture,
  205. Transparency = Transparency,
  206. ZOffset = ZOffset,
  207. Acceleration = Accel,
  208. Drag = Drag,
  209. LockedToPart = LockedToPart,
  210. VelocityInheritance = VelocityInheritance,
  211. EmissionDirection = EmissionDirection,
  212. Enabled = Enabled,
  213. Lifetime = LifeTime,
  214. Rate = Rate,
  215. Rotation = Rotation,
  216. RotSpeed = RotSpeed,
  217. Speed = Speed,
  218. VelocitySpread = VelocitySpread,
  219. }
  220. return fp
  221. end;
  222. };
  223.  
  224. CreateTemplate = {
  225.  
  226. };
  227. }
  228.  
  229. function so(id,par,pit,vol)
  230. local sou = Instance.new("Sound", par or workspace)
  231. if par == chara then
  232. sou.Parent = chara.Torso
  233. end
  234. sou.Volume = vol
  235. sou.Pitch = pit or 1
  236. sou.SoundId = "rbxassetid://" .. id
  237. sou.PlayOnRemove = true
  238. sou:Destroy()
  239. end
  240.  
  241. New = function(Object, Parent, Name, Data)
  242. local Object = Instance.new(Object)
  243. for Index, Value in pairs(Data or {}) do
  244. Object[Index] = Value
  245. end
  246. Object.Parent = Parent
  247. Object.Name = Name
  248. return Object
  249. end
  250.  
  251. --local bcols = Instance.new("BodyColors",chara)
  252. --bcols.HeadColor=BrickColor.new("Light orange")
  253. --bcols.LeftArmColor=BrickColor.new("Light orange")
  254. --bcols.RightArmColor=BrickColor.new("Light orange")
  255. --bcols.TorsoColor=BrickColor.new("Really black")
  256. --bcols.LeftLegColor=BrickColor.new("Baby blue")
  257. --bcols.RightLegColor=BrickColor.new("Baby blue")
  258.  
  259. local pemitt = Instance.new("ParticleEmitter",Torso)
  260. pemitt.Enabled = false
  261. pemitt.Transparency = NumberSequence.new(0,1)
  262. pemitt.Lifetime = NumberRange.new(1)
  263. pemitt.Size = NumberSequence.new(3,10)
  264. pemitt.LockedToPart = false
  265. pemitt.LightInfluence = 1
  266. pemitt.Speed = NumberRange.new(7)
  267. pemitt.EmissionDirection = "Top"
  268. pemitt.Texture = "https://www.roblox.com/headshot-thumbnail/image?userId="..Player.UserId.."&width=420&height=420&format=png"
  269. if chara:FindFirstChild("FaysG") then
  270. pemitt.Texture = "rbxassetid://1290985799"
  271. end
  272.  
  273. function rayCast(Position, Direction, Range, Ignore)
  274. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  275. end
  276.  
  277. --[[FindNearestTorso = function(pos)
  278. local list = (game.workspace:GetDescendants())
  279. local torso = nil
  280. local dist = 1000
  281. local temp, human, temp2 = nil, nil, nil
  282. for x = 1, #list do
  283. temp2 = list[x]
  284. if temp2.className == "Model" and temp2.Name ~= chara.Name then
  285. temp = temp2:findFirstChild("Torso")
  286. human = temp2:FindFirstChildOfClass("Humanoid")
  287. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  288. local dohit = true
  289. if dohit == true then
  290. torso = temp
  291. dist = (temp.Position - pos).magnitude
  292. end
  293. end
  294. end
  295. end
  296. return torso, dist
  297. end]]
  298. function FindNearestTorso(Position, Distance, SinglePlayer)
  299. if SinglePlayer then
  300. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  301. end
  302. local List = {}
  303. for i, v in pairs(workspace:GetDescendants()) do
  304. if v:IsA("Model") then
  305. if v:findFirstChild("Head") then
  306. if v ~= chara then
  307. if (v.Head.Position - Position).magnitude <= Distance then
  308. table.insert(List, v)
  309. end
  310. end
  311. end
  312. end
  313. end
  314. return List
  315. end
  316.  
  317. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  318. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  319. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  320. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001,LightEmission = 1})
  321. return TEff
  322. end
  323.  
  324. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  325. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  326. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  327. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  328.  
  329. EffectModel = Create("Model"){
  330. Parent = chara,
  331. Name = "Effects",
  332. }
  333.  
  334. Effects = {
  335. Block = {
  336. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  337. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  338. prt.Anchored = true
  339. prt.CFrame = cframe
  340. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  341. game:GetService("Debris"):AddItem(prt, 10)
  342. if Type == 1 or Type == nil then
  343. table.insert(Effects, {
  344. prt,
  345. "Block1",
  346. delay,
  347. x3,
  348. y3,
  349. z3,
  350. msh
  351. })
  352. elseif Type == 2 then
  353. table.insert(Effects, {
  354. prt,
  355. "Block2",
  356. delay,
  357. x3,
  358. y3,
  359. z3,
  360. msh
  361. })
  362. end
  363. end;
  364. };
  365.  
  366. Cylinder = {
  367. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  368. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  369. prt.Anchored = true
  370. prt.CFrame = cframe
  371. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  372. game:GetService("Debris"):AddItem(prt, 10)
  373. table.insert(Effects, {
  374. prt,
  375. "Cylinder",
  376. delay,
  377. x3,
  378. y3,
  379. z3,
  380. msh
  381. })
  382. end;
  383. };
  384. Head = {
  385. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  386. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  387. prt.Anchored = true
  388. prt.CFrame = cframe
  389. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  390. game:GetService("Debris"):AddItem(prt, 10)
  391. table.insert(Effects, {
  392. prt,
  393. "Cylinder",
  394. delay,
  395. x3,
  396. y3,
  397. z3,
  398. msh
  399. })
  400. end;
  401. };
  402.  
  403. Sphere = {
  404. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  405. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  406. prt.Anchored = true
  407. prt.CFrame = cframe
  408. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  409. game:GetService("Debris"):AddItem(prt, 10)
  410. table.insert(Effects, {
  411. prt,
  412. "Cylinder",
  413. delay,
  414. x3,
  415. y3,
  416. z3,
  417. msh
  418. })
  419. end;
  420. };
  421.  
  422. Elect = {
  423. Create = function(cff, x, y, z)
  424. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  425. prt.Anchored = true
  426. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  427. prt.CFrame = CFrame.new(prt.Position)
  428. game:GetService("Debris"):AddItem(prt, 2)
  429. local xval = math.random() / 2
  430. local yval = math.random() / 2
  431. local zval = math.random() / 2
  432. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  433. table.insert(Effects, {
  434. prt,
  435. "Elec",
  436. 0.1,
  437. x,
  438. y,
  439. z,
  440. xval,
  441. yval,
  442. zval
  443. })
  444. end;
  445.  
  446. };
  447.  
  448. Ring = {
  449. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  450. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  451. prt.Anchored = true
  452. prt.CFrame = cframe
  453. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  454. game:GetService("Debris"):AddItem(prt, 10)
  455. table.insert(Effects, {
  456. prt,
  457. "Cylinder",
  458. delay,
  459. x3,
  460. y3,
  461. z3,
  462. msh
  463. })
  464. end;
  465. };
  466.  
  467.  
  468. Wave = {
  469. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  470. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  471. prt.Anchored = true
  472. prt.CFrame = cframe
  473. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  474. game:GetService("Debris"):AddItem(prt, 10)
  475. table.insert(Effects, {
  476. prt,
  477. "Cylinder",
  478. delay,
  479. x3,
  480. y3,
  481. z3,
  482. msh
  483. })
  484. end;
  485. };
  486.  
  487. Break = {
  488. Create = function(brickcolor, cframe, x1, y1, z1)
  489. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  490. prt.Anchored = true
  491. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  492. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  493. local num = math.random(10, 50) / 1000
  494. game:GetService("Debris"):AddItem(prt, 10)
  495. table.insert(Effects, {
  496. prt,
  497. "Shatter",
  498. num,
  499. prt.CFrame,
  500. math.random() - math.random(),
  501. 0,
  502. math.random(50, 100) / 100
  503. })
  504. end;
  505. };
  506.  
  507. Fire = {
  508. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  509. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  510. prt.Anchored = true
  511. prt.CFrame = cframe
  512. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  513. game:GetService("Debris"):AddItem(prt, 10)
  514. table.insert(Effects, {
  515. prt,
  516. "Fire",
  517. delay,
  518. 1,
  519. 1,
  520. 1,
  521. msh
  522. })
  523. end;
  524. };
  525.  
  526. FireWave = {
  527. Create = function(brickcolor, cframe, x1, y1, z1)
  528. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  529. prt.Anchored = true
  530. prt.CFrame = cframe
  531. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  532. local d = Create("Decal"){
  533. Parent = prt,
  534. Texture = "rbxassetid://26356434",
  535. Face = "Top",
  536. }
  537. local d = Create("Decal"){
  538. Parent = prt,
  539. Texture = "rbxassetid://26356434",
  540. Face = "Bottom",
  541. }
  542. game:GetService("Debris"):AddItem(prt, 10)
  543. table.insert(Effects, {
  544. prt,
  545. "FireWave",
  546. 1,
  547. 30,
  548. math.random(400, 600) / 100,
  549. msh
  550. })
  551. end;
  552. };
  553.  
  554. Lightning = {
  555. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  556. local magz = (p0 - p1).magnitude
  557. local curpos = p0
  558. local trz = {
  559. -ofs,
  560. ofs
  561. }
  562. for i = 1, tym do
  563. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  564. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  565. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  566. li.Material = "Neon"
  567. if tym == i then
  568. local magz2 = (curpos - p1).magnitude
  569. li.Size = Vector3.new(th, th, magz2)
  570. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  571. table.insert(Effects, {
  572. li,
  573. "Disappear",
  574. last
  575. })
  576. else
  577. do
  578. do
  579. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  580. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  581. game.Debris:AddItem(li, 10)
  582. table.insert(Effects, {
  583. li,
  584. "Disappear",
  585. last
  586. })
  587. end
  588. end
  589. end
  590. end
  591. end
  592. };
  593.  
  594. EffectTemplate = {
  595.  
  596. };
  597. }
  598.  
  599. function ShowDamage(Dude, Text, Time, Color)
  600. coroutine.resume(coroutine.create(function()
  601. local naeeym2 = Instance.new("BillboardGui",Dude)
  602. naeeym2.Size = UDim2.new(0,100,0,40)
  603. naeeym2.StudsOffset = Vector3.new(0,3,0)
  604. naeeym2.Adornee = Dude.Head
  605. naeeym2.Name = "TalkingBillBoard"
  606. local tecks2 = Instance.new("TextLabel",naeeym2)
  607. tecks2.BackgroundTransparency = 1
  608. tecks2.BorderSizePixel = 0
  609. tecks2.Text = Text
  610. tecks2.Font = "Fantasy"
  611. tecks2.TextSize = 24
  612. tecks2.TextStrokeTransparency = 0
  613. tecks2.TextColor3 = BrickColor.new(Color).Color
  614. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  615. tecks2.Size = UDim2.new(1,0,0.5,0)
  616. swait(10)
  617. for i = 0,1,.05 do
  618. swait()
  619. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  620. tecks2.TextStrokeTransparency = i
  621. tecks2.TextTransparency = i
  622. end
  623. naeeym2:Destroy()
  624. end))
  625. end
  626.  
  627. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  628. if hit.Parent==nil then
  629. return
  630. end
  631. local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  632. local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  633. for _,v in pairs(hit.Parent:GetDescendants()) do
  634. if v:IsA("Humanoid") then
  635. h=v
  636. end
  637. end
  638. if torsy~=nil then
  639. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  640. end
  641. if hit.Parent:IsA("Accoutrement") then
  642. hit=hit.Parent.Parent:findFirstChild("Head")
  643. end
  644. if h~=nil and hit.Parent.Name~=chara.Name and torsy~=nil then
  645. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  646. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  647. return
  648. end]]
  649. -- hs(hit,1.2)
  650. local c=Instance.new("ObjectValue")
  651. c.Name="creator"
  652. c.Value=game:service("Players").LocalPlayer
  653. c.Parent=h
  654. game:GetService("Debris"):AddItem(c,.5)
  655. local Damage=math.random(minim,maxim)
  656. -- h:TakeDamage(Damage)
  657. local blocked=false
  658. local block=hit.Parent:findFirstChild("Block")
  659. if block~=nil then
  660. print(block.className)
  661. if block.className=="NumberValue" then
  662. if block.Value>0 then
  663. blocked=true
  664. if decreaseblock==nil then
  665. block.Value=block.Value-1
  666. end
  667. end
  668. end
  669. if block.className=="IntValue" then
  670. if block.Value>0 then
  671. blocked=true
  672. if decreaseblock~=nil then
  673. block.Value=block.Value-1
  674. end
  675. end
  676. end
  677. end
  678. h.Health=h.Health-Damage
  679. ShowDamage(h.Parent, -Damage, 1.5, "White")
  680. if Type=="Knockdown" then
  681. local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
  682. hum.PlatformStand=true
  683. coroutine.resume(coroutine.create(function(HHumanoid)
  684. swait(30)
  685. HHumanoid.PlatformStand=false
  686. end),hum)
  687. --local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  688. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  689. local bodvol=Instance.new("BodyVelocity")
  690. bodvol.velocity=RootPart.CFrame.lookVector*knockback
  691. bodvol.P=50000
  692. bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000
  693. bodvol.Parent=torsy
  694. torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0)
  695. --local rl=Instance.new("BodyAngularVelocity")
  696. --rl.P=3000
  697. --rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  698. --rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  699. --rl.Parent=torsy
  700. game:GetService("Debris"):AddItem(bodvol,.5)
  701. --game:GetService("Debris"):AddItem(rl,.5)
  702. elseif Type=="Normal" then
  703. local vp=Instance.new("BodyVelocity")
  704. vp.P=500
  705. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  706. vp.velocity=RootPart.CFrame.lookVector*knockback
  707. -- if KnockbackType==1 then
  708. -- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  709. -- elseif KnockbackType==2 then
  710. -- vp.velocity=Property.CFrame.lookVector*knockback
  711. -- end
  712. if knockback>0 then
  713. vp.Parent=torsy
  714. end
  715. game:GetService("Debris"):AddItem(vp,.5)
  716. elseif Type=="Up" then
  717. local bodyVelocity=Instance.new("BodyVelocity")
  718. bodyVelocity.velocity=Vector3.new(0,knockback,0)
  719. bodyVelocity.P=5000
  720. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  721. bodyVelocity.Parent=torsy
  722. game:GetService("Debris"):AddItem(bodyVelocity,1)
  723. local rl=Instance.new("BodyAngularVelocity")
  724. rl.P=3000
  725. rl.maxTorque=Vector3.new(500000,500000,500000)
  726. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  727. rl.Parent=torsy
  728. game:GetService("Debris"):AddItem(rl,.5)
  729. elseif Type=="Snare" then
  730. local bp=Instance.new("BodyPosition")
  731. bp.P=2000
  732. bp.D=100
  733. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  734. bp.position=torsy.Position
  735. bp.Parent=torsy
  736. game:GetService("Debris"):AddItem(bp,1)
  737. end
  738. local debounce=Instance.new("BoolValue")
  739. debounce.Name="DebounceHit"
  740. debounce.Parent=torsy.Parent
  741. debounce.Value=true
  742. game:GetService("Debris"):AddItem(debounce,Delay)
  743. c=Instance.new("ObjectValue")
  744. c.Name="creator"
  745. c.Value=Player
  746. c.Parent=h
  747. game:GetService("Debris"):AddItem(c,.5)
  748. end
  749. end
  750.  
  751. function MagnitudeDamage(par,magni,efftyp,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  752. for _, c in pairs(workspace:GetDescendants()) do
  753. local hum = c:FindFirstChildOfClass("Humanoid")
  754. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  755. local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  756. if head ~= nil then
  757. local targ = head.Position - par.Position
  758. local mag = targ.magnitude
  759. if magni >= mag and c.Name ~= Player.Name then
  760. if efftyp == "Blunt" then
  761. puncheff(head)
  762. elseif efftyp == "HardBlunt" then
  763. hpuncheff(head)
  764. end
  765. Damagefunc(RootPart,head,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  766. end
  767. end
  768. end
  769. end
  770. end
  771.  
  772. combo = 1
  773.  
  774. function puncheff(par)
  775. if par.Parent:FindFirstChild("DebounceHit")==nil then
  776. so(386946017,par,math.random(80,120)/100,1)
  777. Effects.Sphere.Create(BrickColor.new("White"), par.CFrame, 2, 2, 2, 5, 5, 5, 0.1)
  778. end
  779. end
  780.  
  781. function hpuncheff(par)
  782. if par.Parent:FindFirstChild("DebounceHit")==nil then
  783. so(137579113,par,math.random(70,75)/100,1)
  784. Effects.Sphere.Create(BrickColor.new("White"), par.CFrame, 2, 2, 2, 5, 5, 5, 0.05)
  785. end
  786. end
  787.  
  788. function supereff()
  789. pemitt:Emit(1)
  790. so(153092315,RootPart,.8,5)
  791. for i = 1, 7 do
  792. Effects.Break.Create(BrickColor.new("Baby blue"),RootPart.CFrame,0,math.random(5,20),0)
  793. end
  794. Effects.Wave.Create(BrickColor.new("Baby blue"), RootPart.CFrame*CFrame.new(0,-1.5,0), 2, 0, 2, 5, .5, 5, 0.1)
  795. end
  796.  
  797. function attackone()
  798. attack = true
  799. LATr.Enabled = true
  800. Humanoid.WalkSpeed = 2
  801. so(200632136, LeftArm, .9, 1)
  802. for i=0,1,.2 do
  803. swait()
  804. PlayAnimationFromTable({
  805. CFrame.new(0.00827017333, -4.76837158e-07, -0.372066826, 4.32133675e-07, 0, -1.00000858, 0, 1, 0, 1.00000858, 0, 4.32133675e-07),
  806. CFrame.new(0.0720631108, 1.49999857, 0.00827036519, 4.32133675e-07, 0, 1.00000858, 0, 1, 0, -1.00000858, 0, 4.32133675e-07),
  807. CFrame.new(0.783987999, 0.5, -0.759807885, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0),
  808. CFrame.new(-1.58918715, 0.915114164, -0.0720625669, 0.0400159881, 0.992945373, -0.111617096, -0.999126732, 0.0411066711, 0.00748660602, 0.012021997, 0.111220047, 0.993723094),
  809. CFrame.new(0.800002694, -1.99999833, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  810. CFrame.new(-0.495444268, -2.01339579, 0.00209511817, 0.984807968, 0, 0.173647001, 0, 1, 0, -0.173647001, 0, 0.984807968),
  811. MagnitudeDamage(LeftArm,3,"Blunt",6,8,3,"Normal",RootPart,.4,1)
  812. }, .5, false)
  813. end
  814. swait(1)
  815. Humanoid.WalkSpeed = 16
  816. LATr.Enabled = false
  817. attack = false
  818. end
  819.  
  820. function attacktwo()
  821. attack = true
  822. RLTr.Enabled = true
  823. Humanoid.WalkSpeed = 2
  824. so(200632136, RightLeg, .7, 1)
  825. for i=0,1,.2 do
  826. swait()
  827. PlayAnimationFromTable({
  828. CFrame.new(0.0551774763, -4.76837158e-07, -0.20956336, 0.984816253, 0, 0.173649907, 0, 1, 0, -0.173649907, 0, 0.984816253),
  829. CFrame.new(-0.0386328921, 1.49999857, -0.0986492559, 0.984816253, 0, -0.173649907, 0, 1, 0, 0.173649907, 0, 0.984816253),
  830. CFrame.new(1.42158043, 0.497783571, 0.499346852, 0.756716371, -0.361068547, -0.544986248, 0.530888021, 0.825873375, 0.189976722, 0.381495029, -0.433085173, 0.816638827),
  831. CFrame.new(-0.790363729, -0.207643896, -0.153322488, -0.919378817, 0.377208799, -0.111607477, 0.380347937, 0.924813211, -0.00749232853, 0.100389853, -0.0493379459, -0.993724108),
  832. CFrame.new(0.383741319, -1.47819519, -1.36227417, 0.971020937, 0.0849868506, 0.223373249, 0.201054975, 0.214821026, -0.95573467, -0.129210159, 0.97294873, 0.19150871),
  833. CFrame.new(-0.495439887, -2.01339579, 0.0020987913, 0.984807849, 0, 0.173648134, 0, 1, 0, -0.173648164, 0, 0.984807849),
  834. MagnitudeDamage(RightLeg,3,"Blunt",9,11,4,"Normal",RootPart,.4,1)
  835. }, .5, false)
  836. end
  837. swait(1.5)
  838. Humanoid.WalkSpeed = 16
  839. RLTr.Enabled = false
  840. attack = false
  841. end
  842.  
  843. function attackthree()
  844. attack = true
  845. LATr.Enabled = true
  846. Humanoid.WalkSpeed = 2
  847. for i=0,1,.2 do
  848. swait()
  849. PlayAnimationFromTable({
  850. CFrame.new(0.0436707325, 6.56809902e-07, -0.268135428, 1.00000322, -1.21071935e-08, 2.39349902e-07, 1.11758709e-08, 1, 2.19792128e-07, -3.00584361e-07, 2.01165676e-07, 1.0000031),
  851. CFrame.new(-0.0436706543, 1.49998975, -0.031870842, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  852. CFrame.new(0.687333524, 0.211406618, -0.815611422, 0.500000238, 0.813797593, 0.296197981, 0, 0.342019975, -0.939692676, -0.866025388, 0.469846487, 0.171010062),
  853. CFrame.new(-1.30885708, 0.759990096, 0.515828252, -0.234716937, 0.926352441, -0.29458335, -0.0210989937, -0.307833105, -0.951206446, -0.971834779, -0.217048839, 0.0917987302),
  854. CFrame.new(0.500015259, -1.77985549, 0.729058385, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  855. CFrame.new(-0.495445162, -2.01339388, 0.00208995491, 0.984807968, 0, 0.173647001, 0, 1, 0, -0.173647001, 0, 0.984807968),
  856. }, .5, false)
  857. end
  858. so(158037267,LeftArm,.8,1)
  859. for i=0,1,.2 do
  860. swait()
  861. PlayAnimationFromTable({
  862. CFrame.new(0.00827010814, -4.09172827e-07, -0.57207197, 3.51455867e-07, -9.31427935e-10, -1.00000548, 7.15250906e-07, 1, -2.93939406e-15, 1.00000536, 2.98427949e-12, 4.13155988e-07),
  863. CFrame.new(0.0720604658, 1.49999046, 0.00826480612, 0.766044259, 3.42721876e-07, 0.642787874, -2.50567325e-07, 1, -2.34566073e-07, -0.642787874, 1.86263627e-08, 0.766044259),
  864. CFrame.new(1.04996192, -0.0618722625, -0.60625875, 0.500002384, 0.150384277, 0.852873385, -2.49386289e-09, 0.984807968, -0.173647016, -0.866030276, 0.0868239254, 0.492406517),
  865. CFrame.new(-0.550303876, 0.448357344, -0.729969025, 0.399810284, -0.915730119, 0.0400139615, 0.0270380024, -0.0318540074, -0.999126732, 0.916205108, 0.400543034, 0.0120239574),
  866. CFrame.new(0.80001545, -2.00000119, 7.61750289e-06, 0.939694345, -0.342015564, -3.68559938e-09, 0.342015594, 0.939694285, -7.42008988e-09, 6.00111605e-09, 5.71207437e-09, 1),
  867. CFrame.new(-0.495453179, -2.01340103, 0.00208870322, 0.984808028, 2.42602312e-08, 0.173647031, -2.73465162e-09, 1, -1.24201193e-07, -0.173647046, 1.21839477e-07, 0.984808028),
  868. MagnitudeDamage(LeftArm,3,"Blunt",10,12,6,"Normal",RootPart,.4,1)
  869. }, .5, false)
  870. end
  871. swait(2)
  872. Humanoid.WalkSpeed = 16
  873. LATr.Enabled = false
  874. attack = false
  875. end
  876.  
  877. function attackfour()
  878. attack = true
  879. LLTr.Enabled = true
  880. Humanoid.WalkSpeed = 2
  881. for i=0,1,.2 do
  882. swait()
  883. PlayAnimationFromTable({
  884. CFrame.new(-0.0301548094, -0.0724081025, -0.559211493, 0.321394473, 0.116978027, -0.939692438, -0.342020094, 0.939692676, 4.69497827e-08, 0.88302213, 0.321393639, 0.342020839),
  885. CFrame.new(0.0225492716, 1.48197627, 0.160110101, 0.321394086, -0.183489025, 0.928998351, 0.116977885, 0.981226087, 0.153335288, -0.939692557, 0.0593912005, 0.336824387),
  886. CFrame.new(0.7839908, 0.500000119, -0.759810984, 0.499999404, 0.866025865, 1.1920929e-07, -1.15483999e-07, 2.08616257e-07, -1.00000012, -0.866025805, 0.499999344, 2.01165676e-07),
  887. CFrame.new(-1.10313094, -0.119031914, -0.00966702402, 0.919376969, -0.377211034, -0.111615703, 0.380350292, 0.924812317, 0.00748884678, 0.10039869, -0.0493381247, 0.993723273),
  888. CFrame.new(0.800008416, -1.99999881, -3.87945101e-06, 0.939692795, -0.342020094, -5.36441803e-07, 0.342020065, 0.939692676, -2.30967999e-07, 5.36441803e-07, 4.69497827e-08, 1),
  889. CFrame.new(-0.42619139, -1.33903706, -0.172390282, 0.312324524, -0.336822361, 0.888259172, 0.171015799, 0.939692855, 0.296194136, -0.934455514, 0.0593976751, 0.351091057),
  890. }, .5, false)
  891. end
  892. so(200632136, LeftLeg, .7, 1)
  893. for i=0,1,.2 do
  894. swait()
  895. PlayAnimationFromTable({
  896. CFrame.new(-0.0301469415, -0.0586996675, -0.437210172, 0.321393996, 0.116978295, -0.939692676, -0.49015975, 0.86961025, -0.0593912825, 0.810215533, 0.479687631, 0.336824983),
  897. CFrame.new(0.0225491524, 1.48198009, 0.160110533, 0.321394026, -0.183488876, 0.928998351, 0.116977893, 0.981226146, 0.153335184, -0.939692616, 0.0593912527, 0.336824328),
  898. CFrame.new(0.783987582, 0.500001311, -0.759808958, 0.499998629, 0.866026282, -2.08616257e-07, -4.13507223e-07, 8.94069672e-08, -1.00000012, -0.866026282, 0.499998659, 4.02331352e-07),
  899. CFrame.new(-1.10312903, -0.119031809, -0.00967045873, 0.919376493, -0.377212375, -0.111615419, 0.380351573, 0.92481184, 0.00748815387, 0.100398645, -0.0493375398, 0.993723273),
  900. CFrame.new(1.02219689, -1.90949571, 0.0872627348, 0.871276855, -0.49015975, -0.0249014199, 0.490767866, 0.86961025, 0.0541392565, -0.00488203764, -0.0593912825, 0.998223186),
  901. CFrame.new(-1.33761406, -1.70827067, -0.524259567, 0.486513674, 0.819252968, -0.303527921, -0.873673022, 0.456210732, -0.169018984, 3.40305269e-06, 0.347414166, 0.937711895),
  902. MagnitudeDamage(LeftLeg,3,"Blunt",12,14,6,"Normal",RootPart,.4,1)
  903. }, .5, false)
  904. end
  905. swait(3)
  906. Humanoid.WalkSpeed = 16
  907. LLTr.Enabled = false
  908. attack = false
  909. end
  910.  
  911. function jattack()
  912. attack = true
  913. LLTr.Enabled = true
  914. so(200632136, LeftLeg, .7, 1)
  915. local par
  916. coroutine.wrap(function()
  917. repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0
  918. LLTr.Enabled = false
  919. attack = false
  920. end)()
  921. for i=0,1,.2 do
  922. swait()
  923. PlayAnimationFromTable({
  924. CFrame.new(-0.0301543549, -0.0587017909, -0.437208563, 0.321394026, 0.116978273, -0.939692497, -0.49015981, 0.86961031, -0.0593912788, 0.810215592, 0.479687661, 0.336824954),
  925. CFrame.new(0.0225486755, 1.48198104, 0.160110414, 0.321394056, -0.183488876, 0.92899853, 0.116977863, 0.981226146, 0.153335184, -0.939692497, 0.0593912415, 0.336824298),
  926. CFrame.new(0.783988774, 0.500003517, -0.759812713, 0.499998719, 0.866026521, -2.08616257e-07, -4.35858965e-07, 8.94069672e-08, -1.00000024, -0.866026223, 0.499998599, 3.7252903e-07),
  927. CFrame.new(-1.5387224, 0.336511105, -0.0620384961, 0.879926026, 0.461813837, -0.111617982, -0.463960439, 0.885824561, 0.00748144835, 0.102328926, 0.0452032089, 0.993723154),
  928. CFrame.new(-0.315333247, -1.53402376, -0.49589175, -0.134368047, 0.810216188, -0.57052201, -0.407345563, 0.479686826, 0.777155399, 0.903335512, 0.336824328, 0.265583307),
  929. CFrame.new(-1.33761203, -1.70826972, -0.524270773, 0.486513793, 0.819253027, -0.303527981, -0.873673081, 0.456210762, -0.169018969, 3.40305269e-06, 0.347414106, 0.937711835),
  930. MagnitudeDamage(LeftLeg,6,"Blunt",9,11,4,"Normal",RootPart,.4,1)
  931. }, .5, false)
  932. end
  933. end
  934.  
  935. zhold = false
  936. function kfpalm()
  937. attack = true
  938. LATr.Enabled = true
  939. Humanoid.WalkSpeed = 0
  940. for i=0,1,.2 do
  941. swait()
  942. PlayAnimationFromTable({
  943. CFrame.new(0, -0.599999428, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  944. CFrame.new(0, 1.49999595, 0, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  945. CFrame.new(0.662911594, 0.399999619, -0.623933315, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  946. CFrame.new(-0.473205, -0.0999996662, 0.499996185, 0, 1, 0, 1, 0, 0, 0, 0, -1),
  947. CFrame.new(1.1031599, -1.592327, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698, 0, 0, 0, 1),
  948. CFrame.new(-0.599999666, -1.40000069, -0.199996278, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  949. }, .5, false)
  950. end
  951. local t = 0
  952. repeat swait() t=t+1 until t == 10 or zhold == false
  953. if t == 10 then
  954. supereff()
  955. swait(5)
  956. for i=1,2 do
  957. so(158037267,LeftArm,.5,1)
  958. local ve = Instance.new("BodyVelocity", Torso)
  959. ve.P = 6000
  960. ve.Name = "WUUB"
  961. ve.maxForce = Vector3.new(5000, 0, 5000) * 5000000000
  962. ve.velocity = RootPart.CFrame.lookVector * 30
  963. game:GetService("Debris"):AddItem(ve,.1)
  964. for i=0,1,.2 do
  965. swait()
  966. PlayAnimationFromTable({
  967. CFrame.new(0, -0.599999428, 0, 1.34110837e-06, 0, -1.00000548, 0, 1, 0, 1.00000644, 0, -1.34110837e-06),
  968. CFrame.new(0, 1.49999595, 0, 0.50000459, 0, 0.866030216, 0, 1, 0, -0.866030753, 0, 0.500001729),
  969. CFrame.new(0.662920713, 0.399999619, -0.62394017, 0.342022449, 0.939698696, 0, 0, 0, -1, -0.939698637, 0.342019558, 0),
  970. CFrame.new(-1.77321196, 0.199999332, 6.86993644e-07, 0, 1.00000322, 9.53674316e-07, 1, 0, 0, 0, -3.87430191e-07, -1.00000274),
  971. CFrame.new(1.30833769, -1.50339675, -5.62785135e-06, 0.642791152, -0.766049802, -1.34110837e-06, 0.766044974, 0.64278698, 0, -8.59985107e-07, 1.05675122e-06, 1.00000548),
  972. CFrame.new(-0.357623726, -1.425565, -0.224466428, 0.813800395, -0.296199203, 0.500001609, 0.342020124, 0.939692616, 3.24837544e-07, -0.469848782, 0.171010628, 0.866027236),
  973. MagnitudeDamage(LeftArm,3,"HardBlunt",9,13,10,"Normal",RootPart,.4,1)
  974. }, .5, false)
  975. end
  976. swait(5)
  977. for i=0,1,.2 do
  978. swait()
  979. PlayAnimationFromTable({
  980. CFrame.new(0, -0.599999428, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  981. CFrame.new(0, 1.49999595, 0, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  982. CFrame.new(0.662911594, 0.399999619, -0.623933315, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  983. CFrame.new(-0.473205, -0.0999996662, 0.499996185, 0, 1, 0, 1, 0, 0, 0, 0, -1),
  984. CFrame.new(1.1031599, -1.592327, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698, 0, 0, 0, 1),
  985. CFrame.new(-0.599999666, -1.40000069, -0.199996278, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  986. }, .5, false)
  987. end
  988. end
  989. end
  990. so(158037267,LeftArm,.5,1)
  991. local ve = Instance.new("BodyVelocity", Torso)
  992. ve.P = 6000
  993. ve.Name = "WUUB"
  994. ve.maxForce = Vector3.new(5000, 0, 5000) * 5000000000
  995. ve.velocity = RootPart.CFrame.lookVector * 50
  996. game:GetService("Debris"):AddItem(ve,.1)
  997. for i=0,1,.2 do
  998. swait()
  999. PlayAnimationFromTable({
  1000. CFrame.new(0, -0.599999428, 0, 1.34110837e-06, 0, -1.00000548, 0, 1, 0, 1.00000644, 0, -1.34110837e-06),
  1001. CFrame.new(0, 1.49999595, 0, 0.50000459, 0, 0.866030216, 0, 1, 0, -0.866030753, 0, 0.500001729),
  1002. CFrame.new(0.662920713, 0.399999619, -0.62394017, 0.342022449, 0.939698696, 0, 0, 0, -1, -0.939698637, 0.342019558, 0),
  1003. CFrame.new(-1.77321196, 0.199999332, 6.86993644e-07, 0, 1.00000322, 9.53674316e-07, 1, 0, 0, 0, -3.87430191e-07, -1.00000274),
  1004. CFrame.new(1.30833769, -1.50339675, -5.62785135e-06, 0.642791152, -0.766049802, -1.34110837e-06, 0.766044974, 0.64278698, 0, -8.59985107e-07, 1.05675122e-06, 1.00000548),
  1005. CFrame.new(-0.357623726, -1.425565, -0.224466428, 0.813800395, -0.296199203, 0.500001609, 0.342020124, 0.939692616, 3.24837544e-07, -0.469848782, 0.171010628, 0.866027236),
  1006. MagnitudeDamage(LeftArm,3,"HardBlunt",15,18,15,"Knockdown",RootPart,.4,1)
  1007. }, .5, false)
  1008. end
  1009. swait(10)
  1010. Humanoid.WalkSpeed = 16
  1011. LATr.Enabled = false
  1012. attack = false
  1013. end
  1014.  
  1015. function kfblow()
  1016. attack = true
  1017. LATr.Enabled = true
  1018. Humanoid.WalkSpeed = 0
  1019. swait(5)
  1020. so(158037267,LeftArm,.5,1)
  1021. for i=0,1,.2 do
  1022. swait()
  1023. PlayAnimationFromTable({
  1024. CFrame.new(8.86628623e-05, -0.599999428, -2.50004721, 2.68223084e-06, 0, -1.00001097, 0, 1, 0, 1.00001287, 0, -2.68223084e-06),
  1025. CFrame.new(0, 1.49999619, 0, 0.500008941, 0, 0.866035163, 0, 1, 0, -0.866036177, 0, 0.500003278),
  1026. CFrame.new(1.46291614, 0.899966896, 0.0760855153, 3.90002497e-05, -1.00000644, -3.9845796e-05, 1, 3.89999987e-05, 0, 1.44937817e-09, -3.71635433e-05, 1.00000548),
  1027. CFrame.new(-1.5732199, 0.899998665, 2.13230014e-05, 0, 1.00000644, -7.88460457e-05, -1, 0, 0, 0, 7.61637566e-05, 1.00000548),
  1028. CFrame.new(1.3083545, -1.50339651, -7.38252675e-06, 0.642795265, -0.766054749, -2.68223084e-06, 0.766044974, 0.64278698, 0, -1.72204273e-06, 2.08411257e-06, 1.00001097),
  1029. CFrame.new(-0.494233549, -1.52556598, -0.261073679, 0.866031349, 0, 0.500002563, 0, 1, 0, -0.500004411, 0, 0.866029203),
  1030. MagnitudeDamage(LeftArm,3,"HardBlunt",17,20,20,"Knockdown",RootPart,.4,1)
  1031. }, .5, false)
  1032. end
  1033. swait(15)
  1034. Humanoid.WalkSpeed = 16
  1035. LATr.Enabled = false
  1036. attack = false
  1037. end
  1038.  
  1039. chold = false
  1040. function kfupper()
  1041. attack = true
  1042. LATr.Enabled = true
  1043. Humanoid.WalkSpeed = 0
  1044. for i=0,1,.1 do
  1045. swait()
  1046. PlayAnimationFromTable({
  1047. CFrame.new(-0.0145354364, 0, 0.0638134554, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1048. CFrame.new(0.0354900658, 1.49999619, -0.054992158, 0.925416768, -0.163175747, -0.342019916, 0.173647985, 0.984807849, 0, 0.336823881, -0.0593910627, 0.939692736),
  1049. CFrame.new(1.12378109, 1.0451771, -0.257020772, 0.866024971, 0.500000834, -9.53674316e-07, 0.433012992, -0.749999881, -0.49999994, -0.250001103, 0.433012009, -0.866025448),
  1050. CFrame.new(-1.11433101, 0, 0.459626645, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  1051. CFrame.new(0.449996918, -2, 0.0866026133, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
  1052. CFrame.new(-0.5, -1.99999976, 1.37090683e-06, 1, 1.49011612e-08, 0, 0, 0.86602509, 0.500000656, -2.98023224e-08, -0.500000715, 0.86602509),
  1053. }, .3, false)
  1054. end
  1055. local t = 0
  1056. repeat swait() t=t+1 until t == 10 or chold == false
  1057. if t == 10 then
  1058. supereff()
  1059. swait(5)
  1060. so(158037267,LeftArm,.5,1)
  1061. for i=0,1,.2 do
  1062. swait()
  1063. PlayAnimationFromTable({
  1064. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1065. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1066. CFrame.new(1.17679906, -0.0261177868, 0.186703265, 0.866024673, -0.500001371, 2.23987331e-06, -0.321392894, -0.556670129, -0.766045034, 0.383024842, 0.663413107, -0.64278692),
  1067. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1068. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1069. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1070. MagnitudeDamage(LeftArm,3,"HardBlunt",25,36,50,"Up",RootPart,.4,1)
  1071. }, .5, false)
  1072. end
  1073. swait(20)
  1074. else
  1075. so(158037267,LeftArm,.5,1)
  1076. for i=0,1,.2 do
  1077. swait()
  1078. PlayAnimationFromTable({
  1079. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1080. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1081. CFrame.new(1.17679906, -0.0261177868, 0.186703265, 0.866024673, -0.500001371, 2.23987331e-06, -0.321392894, -0.556670129, -0.766045034, 0.383024842, 0.663413107, -0.64278692),
  1082. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1083. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1084. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1085. MagnitudeDamage(LeftArm,3,"HardBlunt",18,21,10,"Up",RootPart,.4,1)
  1086. }, .5, false)
  1087. end
  1088. swait(5)
  1089. end
  1090. Humanoid.WalkSpeed = 16
  1091. LATr.Enabled = false
  1092. attack = false
  1093. end
  1094.  
  1095. function kfupper()
  1096. attack = true
  1097. LATr.Enabled = true
  1098. Humanoid.WalkSpeed = 0
  1099. for i=0,1,.1 do
  1100. swait()
  1101. PlayAnimationFromTable({
  1102. CFrame.new(-0.0145354364, 0, 0.0638134554, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1103. CFrame.new(0.0354900658, 1.49999619, -0.054992158, 0.925416768, -0.163175747, -0.342019916, 0.173647985, 0.984807849, 0, 0.336823881, -0.0593910627, 0.939692736),
  1104. CFrame.new(1.12378109, 1.0451771, -0.257020772, 0.866024971, 0.500000834, -9.53674316e-07, 0.433012992, -0.749999881, -0.49999994, -0.250001103, 0.433012009, -0.866025448),
  1105. CFrame.new(-1.11433101, 0, 0.459626645, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  1106. CFrame.new(0.449996918, -2, 0.0866026133, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
  1107. CFrame.new(-0.5, -1.99999976, 1.37090683e-06, 1, 1.49011612e-08, 0, 0, 0.86602509, 0.500000656, -2.98023224e-08, -0.500000715, 0.86602509),
  1108. }, .3, false)
  1109. end
  1110. so(158037267,LeftArm,.5,1)
  1111. for i=0,1,.2 do
  1112. swait()
  1113. PlayAnimationFromTable({
  1114. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1115. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1116. CFrame.new(1.17679906, -0.0261177868, 0.186703265, 0.866024673, -0.500001371, 2.23987331e-06, -0.321392894, -0.556670129, -0.766045034, 0.383024842, 0.663413107, -0.64278692),
  1117. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1118. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1119. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1120. MagnitudeDamage(LeftArm,3,"HardBlunt",18,21,50,"Up",RootPart,.4,1)
  1121. }, .5, false)
  1122. end
  1123. swait(20)
  1124. Humanoid.WalkSpeed = 16
  1125. LATr.Enabled = false
  1126. attack = false
  1127. end
  1128.  
  1129. vhold = false
  1130. function kfgrab()
  1131. attack = true
  1132. LATr.Enabled = true
  1133. RATr.Enabled = true
  1134. Humanoid.WalkSpeed = 0
  1135. local grab
  1136. local torsy
  1137. local hum
  1138. so(200632136, RootPart, .7, 1)
  1139. for i=0,1,.2 do
  1140. swait()
  1141. PlayAnimationFromTable({
  1142. CFrame.new(0, -0.395585239, -1.53837633, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  1143. CFrame.new(0, 1.49998748, -1.19209304e-07, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1144. CFrame.new(1.17525268, 1.16086817, -0.78494978, 0.939693093, 0.342018992, 0, 0.219845742, -0.604023516, -0.76604414, -0.262001663, 0.719846368, -0.642788053),
  1145. CFrame.new(-1.02679563, 1.23295736, -0.870862126, 0.866025984, -0.499998987, 0, -0.321393371, -0.556671143, -0.76604414, 0.383021295, 0.663414121, -0.642788053),
  1146. CFrame.new(0.5, -2.00000238, -1.66893028e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1147. CFrame.new(-0.5, -1.16437745, -0.995859087, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1148. }, .4, false)
  1149. end
  1150. for _, c in pairs(workspace:GetDescendants()) do
  1151. local hum = c:FindFirstChildOfClass("Humanoid")
  1152. if hum ~= nil then
  1153. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  1154. if torsy ~= nil then
  1155. local targ = torsy.Position - (RootPart.Position+RootPart.CFrame.lookVector*3)
  1156. local mag = targ.magnitude
  1157. if 5 >= mag and c.Name ~= Player.Name then
  1158. grab = c
  1159. end
  1160. end
  1161. end
  1162. end
  1163. if grab ~= nil then
  1164. local hum = grab:FindFirstChildOfClass("Humanoid")
  1165. local torsy = grab:findFirstChild("Torso") or grab:findFirstChild("UpperTorso")
  1166. local gra = Instance.new("Part",chara)
  1167. gra.Size = Vector3.new(0,0,0)
  1168. gra.CanCollide = false
  1169. gra.Anchored = true
  1170. gra.CFrame = RootPart.CFrame*CFrame.new(0,0,-2)
  1171. gra.Transparency = 1
  1172. so(240429615, torsy, 1, 1)
  1173. for i=0,1,.1 do
  1174. swait()
  1175. PlayAnimationFromTable({
  1176. CFrame.new(0.028383255, -0.0148591995, 0.0813131332, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1177. CFrame.new(0, 1.49998522, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1178. CFrame.new(1.38014948, 1.17801905, -0.00539569557, 0.984808207, 0.111618228, -0.133019865, 0.111618027, -0.993723094, -0.00748204906, -0.133020028, -0.00747903017, -0.991085231),
  1179. CFrame.new(-1.35678291, 1.26276112, 0.0936147273, 0.984807968, -0.111617692, 0.133022264, -0.111617997, -0.993723154, -0.00747833261, 0.133021995, -0.00748295756, -0.991084933),
  1180. CFrame.new(0.499997497, -1.99999893, 4.32133675e-07, 0.76604414, 0, -0.642788053, 0, 1, 0, 0.642788053, 0, 0.76604414),
  1181. CFrame.new(-0.991907299, -1.90381634, 0.00414514542, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1182. }, .2, false)
  1183. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,0),.4)
  1184. torsy.CFrame = gra.CFrame
  1185. hum.PlatformStand = true
  1186. end
  1187. Humanoid.WalkSpeed = 6
  1188. repeat
  1189. swait()
  1190. hum.PlatformStand = true
  1191. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,0),.4)
  1192. torsy.CFrame = gra.CFrame
  1193. until vhold == false
  1194. Humanoid.WalkSpeed = 0
  1195. so(200632136, RootPart, .8, 1)
  1196. for i=0,1,.2 do
  1197. swait()
  1198. PlayAnimationFromTable({
  1199. CFrame.new(0.330770075, -0.873712957, -2.02488899, 0.586823881, -0.17589277, 0.790379405, -0.642787814, 0.492403865, 0.58682394, -0.492403865, -0.852408528, 0.175892636),
  1200. CFrame.new(-4.81307461e-06, 1.49998868, -5.76675029e-06, 1, -2.98023224e-08, 1.49011612e-08, -2.98023224e-08, 1.00000012, -2.98023224e-08, 1.49011612e-08, -2.98023224e-08, 1.00000024),
  1201. CFrame.new(1.24594641, 0.0247616023, 0.244213641, 0.864328623, -0.0301527083, -0.502022803, -0.229708791, 0.864329934, -0.447401255, 0.447403759, 0.502020836, 0.74013859),
  1202. CFrame.new(-1.32204497, 1.00634372, -0.37866655, 0.984807432, -0.173649818, 1.54972076e-06, -0.111619025, -0.633023739, -0.766043425, 0.133024216, 0.754405081, -0.642789066),
  1203. CFrame.new(0.630423486, -0.846706271, -0.543594122, 0.586823881, -0.642787814, -0.492403865, -0.17589277, 0.492403865, -0.852408528, 0.790379405, 0.58682394, 0.175892636),
  1204. CFrame.new(-0.175789148, -1.96953273, -0.437953353, 0.939692736, -0.342019975, -1.43051147e-06, 0.296197295, 0.81379807, -0.5, 0.171011195, 0.469845951, 0.866025507),
  1205. }, .4, false)
  1206. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,2,-6)*CFrame.Angles(math.rad(90),0,0),.4)
  1207. torsy.CFrame = gra.CFrame
  1208. torsy.Velocity = RootPart.CFrame.lookVector*60
  1209. end
  1210. coroutine.wrap(function()
  1211. local par,pos
  1212. repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par
  1213. Damagefunc(RootPart,torsy,15,20,0,"Normal",RootPart,.4,1)
  1214. MagnitudeDamage(torsy,6,0,10,15,5,"Knockdown",RootPart,.4,1)
  1215. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 0, 0, 0, 1, .2, 1, 0.1)
  1216. so(260430079,torsy,1,5)
  1217. swait(60)
  1218. hum.PlatformStand = false
  1219. end)()
  1220. gra:Destroy()
  1221. end
  1222. swait(5)
  1223. Humanoid.WalkSpeed = 16
  1224. LATr.Enabled = false
  1225. RATr.Enabled = false
  1226. attack = false
  1227. end
  1228.  
  1229. function kfbow()
  1230. attack = true
  1231. Humanoid.WalkSpeed = 0
  1232. for i=0,1,.2 do
  1233. swait()
  1234. PlayAnimationFromTable({
  1235. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1236. CFrame.new(0, 1.49999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1237. CFrame.new(1.20945108, -0.213500202, -4.76837158e-07, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1238. CFrame.new(-1.20945334, -0.213505104, -4.76837158e-07, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1239. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1240. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1241. }, .3, false)
  1242. end
  1243. for i=0,1.5,.1 do
  1244. swait()
  1245. PlayAnimationFromTable({
  1246. CFrame.new(0, -0.577677608, -0.882485688, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886),
  1247. CFrame.new(0, 1.49999499, 4.4554472e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1248. CFrame.new(1.20944607, -0.213502392, 1.31413049e-06, 0.939692974, 0.342019141, -4.0802891e-07, -0.342019141, 0.939692974, 0, 3.65078449e-07, 1.78813934e-07, 1),
  1249. CFrame.new(-1.20944905, -0.213505507, 1.67175949e-06, 0.939692974, -0.342019141, 4.0802891e-07, 0.342019141, 0.939692974, 0, -3.65078449e-07, 1.78813934e-07, 1),
  1250. CFrame.new(0.5, -1.31572783, -1.03471863, 1, 0, 0, 0, 0.342019916, -0.939692736, 0, 0.939692736, 0.342019886),
  1251. CFrame.new(-0.5, -1.31572783, -1.03471863, 1, 0, 0, 0, 0.342019916, -0.939692736, 0, 0.939692736, 0.342019886),
  1252. }, .2, false)
  1253. end
  1254. for i=0,1.5,.1 do
  1255. swait()
  1256. PlayAnimationFromTable({
  1257. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1258. CFrame.new(0, 1.49999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1259. CFrame.new(1.20945108, -0.213500202, -4.76837158e-07, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1260. CFrame.new(-1.20945334, -0.213505104, -4.76837158e-07, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1261. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1262. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1263. }, .2, false)
  1264. end
  1265. Humanoid.WalkSpeed = 16
  1266. LATr.Enabled = false
  1267. attack = false
  1268. end
  1269.  
  1270. ehold = false
  1271. function kfblock()
  1272. attack = true
  1273. Humanoid.WalkSpeed = 0
  1274. for i=0,1,.2 do
  1275. swait()
  1276. PlayAnimationFromTable({
  1277. CFrame.new(0, 0, 1.90734863e-06, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1278. CFrame.new(-1.90734863e-06, 1.49999642, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1279. CFrame.new(0.29999733, 0, -0.799991608, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  1280. CFrame.new(-1.5, 0.999999762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1281. CFrame.new(0.500000238, -2, 2.38418579e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1282. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1283. }, .3, false)
  1284. end
  1285. local oldhp = Humanoid.Health
  1286. repeat
  1287. swait()
  1288. if Humanoid.Health < oldhp then
  1289. so(260430060,Torso,math.random(9,11)/10,1)
  1290. local vp = Instance.new("BodyVelocity", Torso)
  1291. vp.MaxForce = Vector3.new(4800000, 0, 4800000)
  1292. vp.P = 200000
  1293. vp.Velocity = RootPart.CFrame.lookVector * -30
  1294. game:GetService("Debris"):AddItem(vp,.01)
  1295. end
  1296. Humanoid.Health = oldhp
  1297. until ehold == false
  1298. Humanoid.WalkSpeed = 16
  1299. attack = false
  1300. end
  1301.  
  1302. --Intro--
  1303. Humanoid.WalkSpeed = 0
  1304. for i=0,2,.1 do
  1305. swait()
  1306. PlayAnimationFromTable({
  1307. CFrame.new(0, 0, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1308. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1309. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1310. CFrame.new(-1.54284048, 0.314144075, -0.263591081, 0.939692736, 0.342019975, -8.04662704e-07, 0.26200217, -0.719847202, -0.64278698, -0.219846487, 0.604022026, -0.766045094),
  1311. CFrame.new(0.499999404, -1.99999809, -1.63912773e-07, 0.866025209, 0, -0.500000298, 0, 1, 0, 0.500000298, 0, 0.866025209) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1312. CFrame.new(-0.49999696, -1.91339612, -0.0500007272, 0.64278698, -0.262002647, 0.719846904, 0, 0.939692736, 0.342019886, -0.766044974, -0.219845951, 0.604022264) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1313. }, .3, false)
  1314. end
  1315. local wood = Instance.new("Part",chara)
  1316. wood.Size = Vector3.new(2,.4,1)
  1317. wood.BrickColor = BrickColor.new("Bright orange")
  1318. wood.Material = "Wood"
  1319. wood.Anchored = true
  1320. wood.CanCollide = false
  1321. wood.CFrame = RootPart.CFrame * CFrame.new(0,0,-10)
  1322. for i=0,1,.1 do
  1323. swait()
  1324. PlayAnimationFromTable({
  1325. CFrame.new(0, 0, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1326. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1327. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1328. CFrame.new(-1.54284048, 0.314144075, -0.263591081, 0.939692736, 0.342019975, -8.04662704e-07, 0.26200217, -0.719847202, -0.64278698, -0.219846487, 0.604022026, -0.766045094),
  1329. CFrame.new(0.499999404, -1.99999809, -1.63912773e-07, 0.866025209, 0, -0.500000298, 0, 1, 0, 0.500000298, 0, 0.866025209) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1330. CFrame.new(-0.49999696, -1.91339612, -0.0500007272, 0.64278698, -0.262002647, 0.719846904, 0, 0.939692736, 0.342019886, -0.766044974, -0.219845951, 0.604022264) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1331. }, .3, false)
  1332. wood.CFrame = RootPart.CFrame * CFrame.new(0,3-(i*3.5),-10+(i*6))
  1333. end
  1334. LLTr.Enabled = true
  1335. local bwood = Instance.new("Part",chara)
  1336. bwood.Size = Vector3.new(1,.4,1)
  1337. bwood.BrickColor = BrickColor.new("Bright orange")
  1338. bwood.Material = "Wood"
  1339. bwood.CFrame = wood.CFrame * CFrame.new(.5,0,0)
  1340. bwood.Velocity = wood.CFrame.rightVector*10
  1341. local bwood2 = bwood:Clone()
  1342. bwood2.Parent = chara
  1343. bwood2.CFrame = wood.CFrame * CFrame.new(-.5,0,0)
  1344. bwood2.Velocity = wood.CFrame.rightVector*-10
  1345. wood:Destroy()
  1346. so(158712406,Torso,1,1)
  1347. for i=0,1,.25 do
  1348. swait()
  1349. PlayAnimationFromTable({
  1350. CFrame.new(-0.0301469415, -0.0586996675, -0.437210172, 0.321393996, 0.116978295, -0.939692676, -0.49015975, 0.86961025, -0.0593912825, 0.810215533, 0.479687631, 0.336824983),
  1351. CFrame.new(0.0225491524, 1.48198009, 0.160110533, 0.321394026, -0.183488876, 0.928998351, 0.116977893, 0.981226146, 0.153335184, -0.939692616, 0.0593912527, 0.336824328),
  1352. CFrame.new(0.783987582, 0.500001311, -0.759808958, 0.499998629, 0.866026282, -2.08616257e-07, -4.13507223e-07, 8.94069672e-08, -1.00000012, -0.866026282, 0.499998659, 4.02331352e-07),
  1353. CFrame.new(-1.10312903, -0.119031809, -0.00967045873, 0.919376493, -0.377212375, -0.111615419, 0.380351573, 0.92481184, 0.00748815387, 0.100398645, -0.0493375398, 0.993723273),
  1354. CFrame.new(1.02219689, -1.90949571, 0.0872627348, 0.871276855, -0.49015975, -0.0249014199, 0.490767866, 0.86961025, 0.0541392565, -0.00488203764, -0.0593912825, 0.998223186),
  1355. CFrame.new(-1.33761406, -1.70827067, -0.524259567, 0.486513674, 0.819252968, -0.303527921, -0.873673022, 0.456210732, -0.169018984, 3.40305269e-06, 0.347414166, 0.937711895),
  1356. }, .7, false)
  1357. end
  1358. swait(30)
  1359. LLTr.Enabled = false
  1360. Humanoid.WalkSpeed = 16
  1361.  
  1362. qhold = false
  1363. justsprinted = false
  1364. function kfsprint()
  1365. attack = true
  1366. --print("supurinto?")
  1367. --justsprinted = true
  1368. --coroutine.wrap(function()
  1369. --swait(10)
  1370. --justsprinted = false
  1371. --end)()
  1372. repeat
  1373. swait()
  1374. PlayAnimationFromTable({
  1375. CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0),
  1376. CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1377. CFrame.new(1.35015142, 0.126790166, -0.561941147, 0.984807968, 0.173646942, 7.42582699e-07, 7.4505806e-07, 2.98023224e-08, -1.00000012, -0.173646927, 0.984808028, -5.96046448e-08),
  1378. CFrame.new(-1.14804685, 0.0496482477, -0.419735074, 0.985491097, -0.134464785, 0.103568703, -0.000598754734, -0.612957954, -0.790115416, 0.16972594, 0.778589547, -0.604145229),
  1379. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0),
  1380. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0),
  1381. }, .3, false)
  1382. Humanoid.WalkSpeed = 40
  1383. until qhold == false or Torso.Velocity == Vector3.new(0,0,0)
  1384. --print'sutoppu'
  1385. Humanoid.WalkSpeed = 16
  1386. attack = false
  1387. end
  1388.  
  1389. Mouse.Button1Down:connect(function()
  1390. if attack == false then
  1391. if Anim == "Jump" or Anim == "Fall" then
  1392. jattack()
  1393. else
  1394. if combo == 1 then
  1395. attackone()
  1396. combo = 2
  1397. elseif combo == 2 then
  1398. attacktwo()
  1399. combo = 3
  1400. elseif combo == 3 then
  1401. attackthree()
  1402. combo = 4
  1403. elseif combo == 4 then
  1404. attackfour()
  1405. combo = 1
  1406. end
  1407. end
  1408. end
  1409. end)
  1410.  
  1411. local sprintt = 0
  1412. Mouse.KeyDown:connect(function(k)
  1413. k = k:lower()
  1414. if attack == false then
  1415. if k == 'z' then
  1416. zhold = true
  1417. kfpalm()
  1418. elseif k == 'x' then
  1419. kfblow()
  1420. elseif k == 'c' then
  1421. chold = true
  1422. kfupper()
  1423. elseif k == 'v' then
  1424. vhold = true
  1425. kfgrab()
  1426. elseif k == 'g' then
  1427. kfbow()
  1428. elseif k == 'e' then
  1429. ehold = true
  1430. kfblock()
  1431. elseif k == 'q' then
  1432. qhold = true
  1433. -- if sprintt > 1 then
  1434. -- print("supurinto")
  1435. kfsprint()
  1436. -- end
  1437. -- sprintt = 20
  1438. end
  1439. end
  1440. end)
  1441.  
  1442. Mouse.KeyUp:connect(function(k)
  1443. k = k:lower()
  1444. if k == 'e' then
  1445. ehold = false
  1446. elseif k == 'v' then
  1447. vhold = false
  1448. elseif k == 'q' then
  1449. qhold = false
  1450. elseif k == 'z' then
  1451. zhold = false
  1452. elseif k == 'c' then
  1453. chold = false
  1454. end
  1455. end)
  1456.  
  1457. for i, v in pairs(chara:GetDescendants()) do
  1458. if v:IsA("BasePart") then
  1459. v.CanCollide = false
  1460. end
  1461. end
  1462.  
  1463. coroutine.wrap(function()
  1464. while 1 do
  1465. swait()
  1466. if doe <= 360 then
  1467. doe = doe + 2
  1468. else
  1469. doe = 0
  1470. end
  1471. end
  1472. end)()
  1473. while true do
  1474. swait()
  1475. for i, v in pairs(chara:GetChildren()) do
  1476. if v:IsA("Part") then
  1477. v.Material = "SmoothPlastic"
  1478. elseif v:IsA("Accessory") then
  1479. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1480. end
  1481. end
  1482. while true do
  1483. swait()
  1484. if sprintt >= 1 then
  1485. sprintt = sprintt - 1
  1486. end
  1487. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1488. velocity = RootPart.Velocity.y
  1489. sine = sine + change
  1490. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  1491. if RootPart.Velocity.y > 1 and hit == nil then
  1492. Anim = "Jump"
  1493. if attack == false then
  1494. PlayAnimationFromTable({
  1495. CFrame.new(0, 0.0999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1496. CFrame.new(0, 1.48263168, -0.0984806865, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1497. CFrame.new(0.985772133, 0.399999619, -0.61283654, 0.76604414, 0.642788053, 0, 0, 0, -1, -0.642788053, 0.76604414, 0),
  1498. CFrame.new(-1.18379903, 0.160391688, -0.480695665, 0.904800713, -0.234747261, -0.355288029, -0.043829985, 0.778562307, -0.626034975, 0.423573852, 0.582009137, 0.69415462),
  1499. CFrame.new(0.5, -1.29999959, 0.299999923, 1, 0, 0, 0, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987),
  1500. CFrame.new(-0.5, -1.29999959, 0.299999923, 1, 0, 0, 0, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987),
  1501. }, .3, false)
  1502. end
  1503. elseif RootPart.Velocity.y < -1 and hit == nil then
  1504. Anim = "Fall"
  1505. if attack == false then
  1506. PlayAnimationFromTable({
  1507. CFrame.new(0, 0.0999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1508. CFrame.new(0, 1.44842887, -0.192449093, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1509. CFrame.new(0.985773325, 0.399999619, -0.61283505, 0.76604414, 0.642788053, 0, 0, 0, -1, -0.642788053, 0.76604414, 0),
  1510. CFrame.new(-1.11267483, 0.241841823, -0.624208629, 0.904803991, -0.355280727, 0.234745428, -0.043827001, -0.626036167, -0.778561532, 0.423566997, 0.694157362, -0.582010925),
  1511. CFrame.new(0.500001907, -1.41961551, 8.94069672e-07, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
  1512. CFrame.new(-0.499990463, -2.09950018, -0.492020726, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1513. }, .3, false)
  1514. end
  1515. elseif Torsovelocity < 1 and hit ~= nil then
  1516. Anim = "Idle"
  1517. if attack == false then
  1518. change = 1
  1519. PlayAnimationFromTable({
  1520. CFrame.new(0, 0, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
  1521. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1522. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1523. CFrame.new(-1.54284048, 0.314144075, -0.263591081, 0.939692736, 0.342019975, -8.04662704e-07, 0.26200217, -0.719847202, -0.64278698, -0.219846487, 0.604022026, -0.766045094),
  1524. CFrame.new(0.499999404, -1.99999809, -1.63912773e-07, 0.866025209, 0, -0.500000298, 0, 1, 0, 0.500000298, 0, 0.866025209) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1525. CFrame.new(-0.49999696, -1.91339612, -0.0500007272, 0.64278698, -0.262002647, 0.719846904, 0, 0.939692736, 0.342019886, -0.766044974, -0.219845951, 0.604022264) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1526. }, .3, false)
  1527. end
  1528. elseif Torsovelocity > 2 and hit ~= nil then
  1529. Anim = "Walk"
  1530. if attack == false then
  1531. PlayAnimationFromTable({
  1532. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3.5), 0) * CFrame.Angles(0, 0, 0),
  1533. CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491),
  1534. CFrame.new(0.921487212, 0.226793781, -0.689451039, 0.76604414, 0.556670785, -0.321393877, 0, -0.499999821, -0.866025567, -0.642787933, 0.663413823, -0.383021951),
  1535. CFrame.new(-1.1480391, 0.049652271, -0.419738829, 0.985491574, -0.1695766, -0.00709223049, -0.000597000238, 0.0383229814, -0.999265254, 0.169723794, 0.984771609, 0.0376657322),
  1536. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0),
  1537. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0),
  1538. }, .3, false)
  1539. end
  1540. end
  1541. if 0 < #Effects then
  1542. for e = 1, #Effects do
  1543. if Effects[e] ~= nil then
  1544. local Thing = Effects[e]
  1545. if Thing ~= nil then
  1546. local Part = Thing[1]
  1547. local Mode = Thing[2]
  1548. local Delay = Thing[3]
  1549. local IncX = Thing[4]
  1550. local IncY = Thing[5]
  1551. local IncZ = Thing[6]
  1552. if Thing[2] == "Shoot" then
  1553. local Look = Thing[1]
  1554. local move = 30
  1555. if Thing[8] == 3 then
  1556. move = 10
  1557. end
  1558. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1559. if Thing[10] ~= nil then
  1560. da = pos
  1561. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1562. cfa = CFrame.new(Thing[4], pos)
  1563. tehCF = cfa:lerp(cf2, 0.2)
  1564. Thing[1] = tehCF.lookVector
  1565. end
  1566. local mag = (Thing[4] - pos).magnitude
  1567. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1568. if Thing[8] == 2 then
  1569. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1570. end
  1571. Thing[4] = Thing[4] + Look * move
  1572. Thing[3] = Thing[3] - 1
  1573. if 2 < Thing[5] then
  1574. Thing[5] = Thing[5] - 0.3
  1575. Thing[6] = Thing[6] - 0.3
  1576. end
  1577. if hit ~= nil then
  1578. Thing[3] = 0
  1579. if Thing[8] == 1 or Thing[8] == 3 then
  1580. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1581. else
  1582. if Thing[8] == 2 then
  1583. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1584. if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
  1585. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1586. ref.Anchored = true
  1587. ref.CFrame = CFrame.new(pos)
  1588. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1589. game:GetService("Debris"):AddItem(ref, 0.2)
  1590. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1591. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1592. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1593. end
  1594. end
  1595. end
  1596. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1597. ref.Anchored = true
  1598. ref.CFrame = CFrame.new(pos)
  1599. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1600. game:GetService("Debris"):AddItem(ref, 1)
  1601. end
  1602. if Thing[3] <= 0 then
  1603. table.remove(Effects, e)
  1604. end
  1605. end
  1606. do
  1607. do
  1608. if Thing[2] == "FireWave" then
  1609. if Thing[3] <= Thing[4] then
  1610. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1611. Thing[3] = Thing[3] + 1
  1612. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1613. else
  1614. Part.Parent = nil
  1615. table.remove(Effects, e)
  1616. end
  1617. end
  1618. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1619. if Thing[1].Transparency <= 1 then
  1620. if Thing[2] == "Block1" then
  1621. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1622. Mesh = Thing[7]
  1623. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1625. else
  1626. if Thing[2] == "Block2" then
  1627. Thing[1].CFrame = Thing[1].CFrame
  1628. Mesh = Thing[7]
  1629. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1630. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631. else
  1632. if Thing[2] == "Fire" then
  1633. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1634. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1635. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1636. else
  1637. if Thing[2] == "Cylinder" then
  1638. Mesh = Thing[7]
  1639. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1640. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1641. else
  1642. if Thing[2] == "Blood" then
  1643. Mesh = Thing[7]
  1644. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1647. else
  1648. if Thing[2] == "Elec" then
  1649. Mesh = Thing[10]
  1650. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1651. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1652. else
  1653. if Thing[2] == "Disappear" then
  1654. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1655. else
  1656. if Thing[2] == "Shatter" then
  1657. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1658. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1659. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1660. Thing[6] = Thing[6] + Thing[5]
  1661. end
  1662. end
  1663. end
  1664. end
  1665. end
  1666. end
  1667. end
  1668. end
  1669. else
  1670. Part.Parent = nil
  1671. table.remove(Effects, e)
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679. end
  1680. end
  1681. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement