Advertisement
Gametoy

fite

Mar 25th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.47 KB | None | 0 0
  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.  
  252.  
  253. local pemitt = Instance.new("ParticleEmitter",Torso)
  254. pemitt.Enabled = true
  255. pemitt.Transparency = NumberSequence.new(0,1)
  256. pemitt.Size = NumberSequence.new(3,10)
  257. pemitt.LockedToPart = false
  258. pemitt.LightInfluence = 1
  259. pemitt.Speed = NumberRange.new(7)
  260. pemitt.Lifetime = NumberRange.new(.5)
  261. pemitt.Rate = .5
  262. pemitt.EmissionDirection = "Top"
  263. pemitt.Texture = "https://www.roblox.com/headshot-thumbnail/image?userId="..Player.UserId.."&width=420&height=420&format=png"
  264. if chara:FindFirstChild("FaysG") then
  265. pemitt.Texture = "rbxassetid://1290985799"
  266. end
  267.  
  268. function rayCast(Position, Direction, Range, Ignore)
  269. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  270. end
  271.  
  272. FindNearestTorso = function(pos)
  273. local list = (game.workspace:GetDescendants())
  274. local torso = nil
  275. local dist = 1000
  276. local temp, human, temp2 = nil, nil, nil
  277. for x = 1, #list do
  278. temp2 = list[x]
  279. if temp2.className == "Model" and temp2.Name ~= chara.Name then
  280. temp = temp2:findFirstChild("Torso")
  281. human = temp2:FindFirstChildOfClass("Humanoid")
  282. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  283. local dohit = true
  284. if dohit == true then
  285. torso = temp
  286. dist = (temp.Position - pos).magnitude
  287. end
  288. end
  289. end
  290. end
  291. return torso, dist
  292. end
  293. function FindNearestTorso(Position, Distance, SinglePlayer)
  294. if SinglePlayer then
  295. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  296. end
  297. local List = {}
  298. for i, v in pairs(workspace:GetDescendants()) do
  299. if v:IsA("Model") then
  300. if v:findFirstChild("Head") then
  301. if v ~= chara then
  302. if (v.Head.Position - Position).magnitude <= Distance then
  303. table.insert(List, v)
  304. end
  305. end
  306. end
  307. end
  308. end
  309. return List
  310. end
  311.  
  312. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  313. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  314. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  315. 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})
  316. return TEff
  317. end
  318.  
  319. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  320. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  321. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  322. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  323.  
  324. EffectModel = Create("Model"){
  325. Parent = chara,
  326. Name = "Effects",
  327. }
  328.  
  329. Effects = {
  330. Block = {
  331. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  332. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  333. prt.Anchored = true
  334. prt.CFrame = cframe
  335. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  336. game:GetService("Debris"):AddItem(prt, 10)
  337. if Type == 1 or Type == nil then
  338. table.insert(Effects, {
  339. prt,
  340. "Block1",
  341. delay,
  342. x3,
  343. y3,
  344. z3,
  345. msh
  346. })
  347. elseif Type == 2 then
  348. table.insert(Effects, {
  349. prt,
  350. "Block2",
  351. delay,
  352. x3,
  353. y3,
  354. z3,
  355. msh
  356. })
  357. end
  358. end;
  359. };
  360.  
  361. Cylinder = {
  362. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  363. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  364. prt.Anchored = true
  365. prt.CFrame = cframe
  366. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  367. game:GetService("Debris"):AddItem(prt, 10)
  368. table.insert(Effects, {
  369. prt,
  370. "Cylinder",
  371. delay,
  372. x3,
  373. y3,
  374. z3,
  375. msh
  376. })
  377. end;
  378. };
  379. Head = {
  380. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  381. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  382. prt.Anchored = true
  383. prt.CFrame = cframe
  384. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  385. game:GetService("Debris"):AddItem(prt, 10)
  386. table.insert(Effects, {
  387. prt,
  388. "Cylinder",
  389. delay,
  390. x3,
  391. y3,
  392. z3,
  393. msh
  394. })
  395. end;
  396. };
  397.  
  398. Sphere = {
  399. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  400. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  401. prt.Anchored = true
  402. prt.CFrame = cframe
  403. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  404. game:GetService("Debris"):AddItem(prt, 10)
  405. table.insert(Effects, {
  406. prt,
  407. "Cylinder",
  408. delay,
  409. x3,
  410. y3,
  411. z3,
  412. msh
  413. })
  414. end;
  415. };
  416.  
  417. Elect = {
  418. Create = function(cff, x, y, z)
  419. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  420. prt.Anchored = true
  421. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  422. prt.CFrame = CFrame.new(prt.Position)
  423. game:GetService("Debris"):AddItem(prt, 2)
  424. local xval = math.random() / 2
  425. local yval = math.random() / 2
  426. local zval = math.random() / 2
  427. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  428. table.insert(Effects, {
  429. prt,
  430. "Elec",
  431. 0.1,
  432. x,
  433. y,
  434. z,
  435. xval,
  436. yval,
  437. zval
  438. })
  439. end;
  440.  
  441. };
  442.  
  443. Ring = {
  444. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  445. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  446. prt.Anchored = true
  447. prt.CFrame = cframe
  448. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  449. game:GetService("Debris"):AddItem(prt, 10)
  450. table.insert(Effects, {
  451. prt,
  452. "Cylinder",
  453. delay,
  454. x3,
  455. y3,
  456. z3,
  457. msh
  458. })
  459. end;
  460. };
  461.  
  462.  
  463. Wave = {
  464. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  465. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  466. prt.Anchored = true
  467. prt.CFrame = cframe
  468. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  469. game:GetService("Debris"):AddItem(prt, 10)
  470. table.insert(Effects, {
  471. prt,
  472. "Cylinder",
  473. delay,
  474. x3,
  475. y3,
  476. z3,
  477. msh
  478. })
  479. end;
  480. };
  481.  
  482. Break = {
  483. Create = function(brickcolor, cframe, x1, y1, z1)
  484. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  485. prt.Anchored = true
  486. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  487. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  488. local num = math.random(10, 50) / 1000
  489. game:GetService("Debris"):AddItem(prt, 10)
  490. table.insert(Effects, {
  491. prt,
  492. "Shatter",
  493. num,
  494. prt.CFrame,
  495. math.random() - math.random(),
  496. 0,
  497. math.random(50, 100) / 100
  498. })
  499. end;
  500. };
  501.  
  502. Fire = {
  503. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  504. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  505. prt.Anchored = true
  506. prt.CFrame = cframe
  507. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  508. game:GetService("Debris"):AddItem(prt, 10)
  509. table.insert(Effects, {
  510. prt,
  511. "Fire",
  512. delay,
  513. 1,
  514. 1,
  515. 1,
  516. msh
  517. })
  518. end;
  519. };
  520.  
  521. FireWave = {
  522. Create = function(brickcolor, cframe, x1, y1, z1)
  523. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  524. prt.Anchored = true
  525. prt.CFrame = cframe
  526. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  527. local d = Create("Decal"){
  528. Parent = prt,
  529. Texture = "rbxassetid://26356434",
  530. Face = "Top",
  531. }
  532. local d = Create("Decal"){
  533. Parent = prt,
  534. Texture = "rbxassetid://26356434",
  535. Face = "Bottom",
  536. }
  537. game:GetService("Debris"):AddItem(prt, 10)
  538. table.insert(Effects, {
  539. prt,
  540. "FireWave",
  541. 1,
  542. 30,
  543. math.random(400, 600) / 100,
  544. msh
  545. })
  546. end;
  547. };
  548.  
  549. Lightning = {
  550. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  551. local magz = (p0 - p1).magnitude
  552. local curpos = p0
  553. local trz = {
  554. -ofs,
  555. ofs
  556. }
  557. for i = 1, tym do
  558. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  559. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  560. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  561. li.Material = "Neon"
  562. if tym == i then
  563. local magz2 = (curpos - p1).magnitude
  564. li.Size = Vector3.new(th, th, magz2)
  565. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  566. table.insert(Effects, {
  567. li,
  568. "Disappear",
  569. last
  570. })
  571. else
  572. do
  573. do
  574. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  575. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  576. game.Debris:AddItem(li, 10)
  577. table.insert(Effects, {
  578. li,
  579. "Disappear",
  580. last
  581. })
  582. end
  583. end
  584. end
  585. end
  586. end
  587. };
  588.  
  589. EffectTemplate = {
  590.  
  591. };
  592. }
  593.  
  594. function ShowDamage(Dude, Text, Time, Color)
  595. coroutine.resume(coroutine.create(function()
  596. local naeeym2 = Instance.new("BillboardGui",Dude)
  597. naeeym2.Size = UDim2.new(0,100,0,40)
  598. naeeym2.StudsOffset = Vector3.new(0,3,0)
  599. naeeym2.Adornee = Dude.Head
  600. naeeym2.Name = "TalkingBillBoard"
  601. local tecks2 = Instance.new("TextLabel",naeeym2)
  602. tecks2.BackgroundTransparency = 1
  603. tecks2.BorderSizePixel = 0
  604. tecks2.Text = Text
  605. tecks2.Font = "Fantasy"
  606. tecks2.TextSize = 24
  607. tecks2.TextStrokeTransparency = 0
  608. tecks2.TextColor3 = BrickColor.new(Color).Color
  609. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  610. tecks2.Size = UDim2.new(1,0,0.5,0)
  611. swait(10)
  612. for i = 0,1,.05 do
  613. swait()
  614. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  615. tecks2.TextStrokeTransparency = i
  616. tecks2.TextTransparency = i
  617. end
  618. naeeym2:Destroy()
  619. end))
  620. end
  621.  
  622. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  623. if hit.Parent==nil then
  624. return
  625. end
  626. local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  627. local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  628. for _,v in pairs(hit.Parent:GetDescendants()) do
  629. if v:IsA("Humanoid") then
  630. h=v
  631. end
  632. end
  633. if torsy~=nil then
  634. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  635. end
  636. if hit.Parent:IsA("Accoutrement") then
  637. hit=hit.Parent.Parent:findFirstChild("Head")
  638. end
  639. if h~=nil and hit.Parent.Name~=chara.Name and torsy~=nil then
  640. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  641. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  642. return
  643. end]]
  644. -- hs(hit,1.2)
  645. local c=Instance.new("ObjectValue")
  646. c.Name="creator"
  647. c.Value=game:service("Players").LocalPlayer
  648. c.Parent=h
  649. game:GetService("Debris"):AddItem(c,.5)
  650. local Damage=math.random(minim,maxim)
  651. -- h:TakeDamage(Damage)
  652. local blocked=false
  653. local block=hit.Parent:findFirstChild("Block")
  654. if block~=nil then
  655. print(block.className)
  656. if block.className=="NumberValue" then
  657. if block.Value>0 then
  658. blocked=true
  659. if decreaseblock==nil then
  660. block.Value=block.Value-1
  661. end
  662. end
  663. end
  664. if block.className=="IntValue" then
  665. if block.Value>0 then
  666. blocked=true
  667. if decreaseblock~=nil then
  668. block.Value=block.Value-1
  669. end
  670. end
  671. end
  672. end
  673. h.Health=h.Health-Damage
  674. ShowDamage(h.Parent, -Damage, 1.5, "White")
  675. if Type=="Knockdown" then
  676. local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
  677. hum.PlatformStand=true
  678. coroutine.resume(coroutine.create(function(HHumanoid)
  679. swait(30)
  680. HHumanoid.PlatformStand=false
  681. end),hum)
  682. --local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  683. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  684. local bodvol=Instance.new("BodyVelocity")
  685. bodvol.velocity=RootPart.CFrame.lookVector*knockback
  686. bodvol.P=50000
  687. bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000
  688. bodvol.Parent=torsy
  689. torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0)
  690. --local rl=Instance.new("BodyAngularVelocity")
  691. --rl.P=3000
  692. --rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  693. --rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  694. --rl.Parent=torsy
  695. game:GetService("Debris"):AddItem(bodvol,.5)
  696. --game:GetService("Debris"):AddItem(rl,.5)
  697. elseif Type=="Normal" then
  698. local vp=Instance.new("BodyVelocity")
  699. vp.P=500
  700. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  701. vp.velocity=RootPart.CFrame.lookVector*knockback
  702. -- if KnockbackType==1 then
  703. -- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  704. -- elseif KnockbackType==2 then
  705. -- vp.velocity=Property.CFrame.lookVector*knockback
  706. -- end
  707. if knockback>0 then
  708. vp.Parent=torsy
  709. end
  710. game:GetService("Debris"):AddItem(vp,.5)
  711. elseif Type=="Up" then
  712. local bodyVelocity=Instance.new("BodyVelocity")
  713. bodyVelocity.velocity=Vector3.new(0,knockback,0)
  714. bodyVelocity.P=5000
  715. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  716. bodyVelocity.Parent=torsy
  717. game:GetService("Debris"):AddItem(bodyVelocity,1)
  718. local rl=Instance.new("BodyAngularVelocity")
  719. rl.P=3000
  720. rl.maxTorque=Vector3.new(500000,500000,500000)
  721. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  722. rl.Parent=torsy
  723. game:GetService("Debris"):AddItem(rl,.5)
  724. elseif Type=="Snare" then
  725. local bp=Instance.new("BodyPosition")
  726. bp.P=2000
  727. bp.D=100
  728. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  729. bp.position=torsy.Position
  730. bp.Parent=torsy
  731. game:GetService("Debris"):AddItem(bp,1)
  732. end
  733. local debounce=Instance.new("BoolValue")
  734. debounce.Name="DebounceHit"
  735. debounce.Parent=torsy.Parent
  736. debounce.Value=true
  737. game:GetService("Debris"):AddItem(debounce,Delay)
  738. c=Instance.new("ObjectValue")
  739. c.Name="creator"
  740. c.Value=Player
  741. c.Parent=h
  742. game:GetService("Debris"):AddItem(c,.5)
  743. end
  744. end
  745.  
  746. function MagnitudeDamage(par,magni,efftyp,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  747. for _, c in pairs(workspace:GetDescendants()) do
  748. local hum = c:FindFirstChildOfClass("Humanoid")
  749. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  750. local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  751. if head ~= nil then
  752. local targ = head.Position - par.Position
  753. local mag = targ.magnitude
  754. if magni >= mag and c.Name ~= Player.Name then
  755. if efftyp == "Blunt" then
  756. puncheff(head)
  757. elseif efftyp == "HardBlunt" then
  758. hpuncheff(head)
  759. end
  760. Damagefunc(RootPart,head,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  761. end
  762. end
  763. end
  764. end
  765. end
  766.  
  767. combo = 1
  768.  
  769. function puncheff(par)
  770. if par.Parent:FindFirstChild("DebounceHit")==nil then
  771. so(386946017,par,math.random(80,120)/100,1)
  772. Effects.Sphere.Create(BrickColor.new("White"), par.CFrame, 2, 2, 2, 5, 5, 5, 0.1)
  773. end
  774. end
  775.  
  776. function hpuncheff(par)
  777. if par.Parent:FindFirstChild("DebounceHit")==nil then
  778. so(137579113,par,math.random(70,75)/100,1)
  779. Effects.Sphere.Create(BrickColor.new("White"), par.CFrame, 2, 2, 2, 5, 5, 5, 0.05)
  780. end
  781. end
  782.  
  783. function supereff()
  784. pemitt:Emit(1)
  785. so(153092315,RootPart,.8,5)
  786. for i = 1, 7 do
  787. Effects.Break.Create(BrickColor.new("Baby blue"),RootPart.CFrame,0,math.random(5,20),0)
  788. end
  789. Effects.Wave.Create(BrickColor.new("Baby blue"), RootPart.CFrame*CFrame.new(0,-1.5,0), 2, 0, 2, 5, .5, 5, 0.1)
  790. end
  791.  
  792. function attackone()
  793. attack = true
  794. LATr.Enabled = true
  795. Humanoid.WalkSpeed = 2
  796. so(200632136, LeftArm, .9, 1)
  797. for i=0,1,.2 do
  798. swait()
  799. PlayAnimationFromTable({
  800. CFrame.new(0.00827017333, -4.76837158e-07, -0.372066826, 4.32133675e-07, 0, -1.00000858, 0, 1, 0, 1.00000858, 0, 4.32133675e-07),
  801. CFrame.new(0.0720631108, 1.49999857, 0.00827036519, 4.32133675e-07, 0, 1.00000858, 0, 1, 0, -1.00000858, 0, 4.32133675e-07),
  802. CFrame.new(0.783987999, 0.5, -0.759807885, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0),
  803. 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),
  804. CFrame.new(0.800002694, -1.99999833, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  805. CFrame.new(-0.495444268, -2.01339579, 0.00209511817, 0.984807968, 0, 0.173647001, 0, 1, 0, -0.173647001, 0, 0.984807968),
  806. MagnitudeDamage(LeftArm,3,"Blunt",6,8,3,"Normal",RootPart,.4,1)
  807. }, .5, false)
  808. end
  809. swait(1)
  810. Humanoid.WalkSpeed = 16
  811. LATr.Enabled = false
  812. attack = false
  813. end
  814.  
  815. function attacktwo()
  816. attack = true
  817. RLTr.Enabled = true
  818. Humanoid.WalkSpeed = 2
  819. so(200632136, RightLeg, .7, 1)
  820. for i=0,1,.2 do
  821. swait()
  822. PlayAnimationFromTable({
  823. CFrame.new(0.0551774763, -4.76837158e-07, -0.20956336, 0.984816253, 0, 0.173649907, 0, 1, 0, -0.173649907, 0, 0.984816253),
  824. CFrame.new(-0.0386328921, 1.49999857, -0.0986492559, 0.984816253, 0, -0.173649907, 0, 1, 0, 0.173649907, 0, 0.984816253),
  825. 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),
  826. 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),
  827. 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),
  828. CFrame.new(-0.495439887, -2.01339579, 0.0020987913, 0.984807849, 0, 0.173648134, 0, 1, 0, -0.173648164, 0, 0.984807849),
  829. MagnitudeDamage(RightLeg,3,"Blunt",9,11,4,"Normal",RootPart,.4,1)
  830. }, .5, false)
  831. end
  832. swait(1.5)
  833. Humanoid.WalkSpeed = 16
  834. RLTr.Enabled = false
  835. attack = false
  836. end
  837.  
  838. function attackthree()
  839. attack = true
  840. LATr.Enabled = true
  841. Humanoid.WalkSpeed = 2
  842. for i=0,1,.2 do
  843. swait()
  844. PlayAnimationFromTable({
  845. 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),
  846. CFrame.new(-0.0436706543, 1.49998975, -0.031870842, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  847. 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),
  848. 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),
  849. CFrame.new(0.500015259, -1.77985549, 0.729058385, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  850. CFrame.new(-0.495445162, -2.01339388, 0.00208995491, 0.984807968, 0, 0.173647001, 0, 1, 0, -0.173647001, 0, 0.984807968),
  851. }, .5, false)
  852. end
  853. so(158037267,LeftArm,.8,1)
  854. for i=0,1,.2 do
  855. swait()
  856. PlayAnimationFromTable({
  857. 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),
  858. 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),
  859. 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),
  860. 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),
  861. 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),
  862. 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),
  863. MagnitudeDamage(LeftArm,3,"Blunt",10,12,6,"Normal",RootPart,.4,1)
  864. }, .5, false)
  865. end
  866. swait(2)
  867. Humanoid.WalkSpeed = 16
  868. LATr.Enabled = false
  869. attack = false
  870. end
  871.  
  872. function attackfour()
  873. attack = true
  874. LLTr.Enabled = true
  875. Humanoid.WalkSpeed = 2
  876. for i=0,1,.2 do
  877. swait()
  878. PlayAnimationFromTable({
  879. 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),
  880. 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),
  881. 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),
  882. 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),
  883. 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),
  884. 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),
  885. }, .5, false)
  886. end
  887. so(200632136, LeftLeg, .7, 1)
  888. for i=0,1,.2 do
  889. swait()
  890. PlayAnimationFromTable({
  891. 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),
  892. 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),
  893. 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),
  894. 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),
  895. 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),
  896. 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),
  897. MagnitudeDamage(LeftLeg,3,"Blunt",12,14,6,"Normal",RootPart,.4,1)
  898. }, .5, false)
  899. end
  900. swait(3)
  901. Humanoid.WalkSpeed = 16
  902. LLTr.Enabled = false
  903. attack = false
  904. end
  905.  
  906. function jattack()
  907. attack = true
  908. LLTr.Enabled = true
  909. so(200632136, LeftLeg, .7, 1)
  910. local par
  911. coroutine.wrap(function()
  912. repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0
  913. LLTr.Enabled = false
  914. attack = false
  915. end)()
  916. for i=0,1,.2 do
  917. swait()
  918. PlayAnimationFromTable({
  919. 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),
  920. 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),
  921. 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),
  922. 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),
  923. 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),
  924. 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),
  925. MagnitudeDamage(LeftLeg,6,"Blunt",9,11,4,"Normal",RootPart,.4,1)
  926. }, .5, false)
  927. end
  928. end
  929.  
  930. zhold = false
  931. function kfpalm()
  932. attack = true
  933. LATr.Enabled = true
  934. Humanoid.WalkSpeed = 0
  935. for i=0,1,.2 do
  936. swait()
  937. PlayAnimationFromTable({
  938. CFrame.new(0, -0.599999428, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  939. CFrame.new(0, 1.49999595, 0, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  940. CFrame.new(0.662911594, 0.399999619, -0.623933315, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  941. CFrame.new(-0.473205, -0.0999996662, 0.499996185, 0, 1, 0, 1, 0, 0, 0, 0, -1),
  942. CFrame.new(1.1031599, -1.592327, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698, 0, 0, 0, 1),
  943. CFrame.new(-0.599999666, -1.40000069, -0.199996278, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  944. }, .5, false)
  945. end
  946. local t = 0
  947. repeat swait() t=t+1 until t == 10 or zhold == false
  948. if t == 10 then
  949. supereff()
  950. swait(5)
  951. for i=1,2 do
  952. so(158037267,LeftArm,.5,1)
  953. local ve = Instance.new("BodyVelocity", Torso)
  954. ve.P = 6000
  955. ve.Name = "WUUB"
  956. ve.maxForce = Vector3.new(5000, 0, 5000) * 5000000000
  957. ve.velocity = RootPart.CFrame.lookVector * 30
  958. game:GetService("Debris"):AddItem(ve,.1)
  959. for i=0,1,.2 do
  960. swait()
  961. PlayAnimationFromTable({
  962. CFrame.new(0, -0.599999428, 0, 1.34110837e-06, 0, -1.00000548, 0, 1, 0, 1.00000644, 0, -1.34110837e-06),
  963. CFrame.new(0, 1.49999595, 0, 0.50000459, 0, 0.866030216, 0, 1, 0, -0.866030753, 0, 0.500001729),
  964. CFrame.new(0.662920713, 0.399999619, -0.62394017, 0.342022449, 0.939698696, 0, 0, 0, -1, -0.939698637, 0.342019558, 0),
  965. CFrame.new(-1.77321196, 0.199999332, 6.86993644e-07, 0, 1.00000322, 9.53674316e-07, 1, 0, 0, 0, -3.87430191e-07, -1.00000274),
  966. 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),
  967. 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),
  968. MagnitudeDamage(LeftArm,3,"HardBlunt",9,13,10,"Normal",RootPart,.4,1)
  969. }, .5, false)
  970. end
  971. swait(5)
  972. for i=0,1,.2 do
  973. swait()
  974. PlayAnimationFromTable({
  975. CFrame.new(0, -0.599999428, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  976. CFrame.new(0, 1.49999595, 0, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  977. CFrame.new(0.662911594, 0.399999619, -0.623933315, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  978. CFrame.new(-0.473205, -0.0999996662, 0.499996185, 0, 1, 0, 1, 0, 0, 0, 0, -1),
  979. CFrame.new(1.1031599, -1.592327, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698, 0, 0, 0, 1),
  980. CFrame.new(-0.599999666, -1.40000069, -0.199996278, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  981. }, .5, false)
  982. end
  983. end
  984. end
  985. so(158037267,LeftArm,.5,1)
  986. local ve = Instance.new("BodyVelocity", Torso)
  987. ve.P = 6000
  988. ve.Name = "WUUB"
  989. ve.maxForce = Vector3.new(5000, 0, 5000) * 5000000000
  990. ve.velocity = RootPart.CFrame.lookVector * 50
  991. game:GetService("Debris"):AddItem(ve,.1)
  992. for i=0,1,.2 do
  993. swait()
  994. PlayAnimationFromTable({
  995. CFrame.new(0, -0.599999428, 0, 1.34110837e-06, 0, -1.00000548, 0, 1, 0, 1.00000644, 0, -1.34110837e-06),
  996. CFrame.new(0, 1.49999595, 0, 0.50000459, 0, 0.866030216, 0, 1, 0, -0.866030753, 0, 0.500001729),
  997. CFrame.new(0.662920713, 0.399999619, -0.62394017, 0.342022449, 0.939698696, 0, 0, 0, -1, -0.939698637, 0.342019558, 0),
  998. CFrame.new(-1.77321196, 0.199999332, 6.86993644e-07, 0, 1.00000322, 9.53674316e-07, 1, 0, 0, 0, -3.87430191e-07, -1.00000274),
  999. 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),
  1000. 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),
  1001. MagnitudeDamage(LeftArm,3,"HardBlunt",15,18,15,"Knockdown",RootPart,.4,1)
  1002. }, .5, false)
  1003. end
  1004. swait(10)
  1005. Humanoid.WalkSpeed = 16
  1006. LATr.Enabled = false
  1007. attack = false
  1008. end
  1009.  
  1010. function kfblow()
  1011. attack = true
  1012. LATr.Enabled = true
  1013. Humanoid.WalkSpeed = 0
  1014. swait(5)
  1015. so(158037267,LeftArm,.5,1)
  1016. for i=0,1,.2 do
  1017. swait()
  1018. PlayAnimationFromTable({
  1019. CFrame.new(8.86628623e-05, -0.599999428, -2.50004721, 2.68223084e-06, 0, -1.00001097, 0, 1, 0, 1.00001287, 0, -2.68223084e-06),
  1020. CFrame.new(0, 1.49999619, 0, 0.500008941, 0, 0.866035163, 0, 1, 0, -0.866036177, 0, 0.500003278),
  1021. 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),
  1022. CFrame.new(-1.5732199, 0.899998665, 2.13230014e-05, 0, 1.00000644, -7.88460457e-05, -1, 0, 0, 0, 7.61637566e-05, 1.00000548),
  1023. 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),
  1024. CFrame.new(-0.494233549, -1.52556598, -0.261073679, 0.866031349, 0, 0.500002563, 0, 1, 0, -0.500004411, 0, 0.866029203),
  1025. MagnitudeDamage(LeftArm,3,"HardBlunt",17,20,20,"Knockdown",RootPart,.4,1)
  1026. }, .5, false)
  1027. end
  1028. swait(15)
  1029. Humanoid.WalkSpeed = 16
  1030. LATr.Enabled = false
  1031. attack = false
  1032. end
  1033.  
  1034. chold = false
  1035. function kfupper()
  1036. attack = true
  1037. LATr.Enabled = true
  1038. Humanoid.WalkSpeed = 0
  1039. for i=0,1,.1 do
  1040. swait()
  1041. PlayAnimationFromTable({
  1042. CFrame.new(-0.0145354364, 0, 0.0638134554, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1043. 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),
  1044. 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),
  1045. CFrame.new(-1.11433101, 0, 0.459626645, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  1046. CFrame.new(0.449996918, -2, 0.0866026133, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
  1047. 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),
  1048. }, .3, false)
  1049. end
  1050. local t = 0
  1051. repeat swait() t=t+1 until t == 10 or chold == false
  1052. if t == 10 then
  1053. supereff()
  1054. swait(5)
  1055. so(158037267,LeftArm,.5,1)
  1056. for i=0,1,.2 do
  1057. swait()
  1058. PlayAnimationFromTable({
  1059. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1060. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1061. 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),
  1062. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1063. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1064. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1065. MagnitudeDamage(LeftArm,3,"HardBlunt",25,36,50,"Up",RootPart,.4,1)
  1066. }, .5, false)
  1067. end
  1068. swait(20)
  1069. else
  1070. so(158037267,LeftArm,.5,1)
  1071. for i=0,1,.2 do
  1072. swait()
  1073. PlayAnimationFromTable({
  1074. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1075. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1076. 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),
  1077. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1078. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1079. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1080. MagnitudeDamage(LeftArm,3,"HardBlunt",18,21,10,"Up",RootPart,.4,1)
  1081. }, .5, false)
  1082. end
  1083. swait(5)
  1084. end
  1085. Humanoid.WalkSpeed = 16
  1086. LATr.Enabled = false
  1087. attack = false
  1088. end
  1089.  
  1090. function kfupper()
  1091. attack = true
  1092. LATr.Enabled = true
  1093. Humanoid.WalkSpeed = 0
  1094. for i=0,1,.1 do
  1095. swait()
  1096. PlayAnimationFromTable({
  1097. CFrame.new(-0.0145354364, 0, 0.0638134554, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1098. 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),
  1099. 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),
  1100. CFrame.new(-1.11433101, 0, 0.459626645, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  1101. CFrame.new(0.449996918, -2, 0.0866026133, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
  1102. 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),
  1103. }, .3, false)
  1104. end
  1105. so(158037267,LeftArm,.5,1)
  1106. for i=0,1,.2 do
  1107. swait()
  1108. PlayAnimationFromTable({
  1109. CFrame.new(0.185260773, 0, -0.528930187, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1110. CFrame.new(0.202135861, 1.39999592, 0.185260773, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238, -1, 0, 0),
  1111. 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),
  1112. CFrame.new(-1.20000052, 1.49999857, 0.300003052, 0, 0.173647985, -0.984807849, 0, -0.984807849, -0.173647985, -1, 0, 0),
  1113. CFrame.new(0.781915069, -1.89739513, -3.81469727e-06, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1114. CFrame.new(-0.500001073, -2, 2.98023224e-08, 0.866025984, 0, 0.499998987, 0, 1, 0, -0.499998987, 0, 0.866025984),
  1115. MagnitudeDamage(LeftArm,3,"HardBlunt",18,21,50,"Up",RootPart,.4,1)
  1116. }, .5, false)
  1117. end
  1118. swait(20)
  1119. Humanoid.WalkSpeed = 16
  1120. LATr.Enabled = false
  1121. attack = false
  1122. end
  1123.  
  1124. vhold = false
  1125. function kfgrab()
  1126. attack = true
  1127. LATr.Enabled = true
  1128. RATr.Enabled = true
  1129. Humanoid.WalkSpeed = 0
  1130. local grab
  1131. local torsy
  1132. local hum
  1133. so(200632136, RootPart, .7, 1)
  1134. for i=0,1,.2 do
  1135. swait()
  1136. PlayAnimationFromTable({
  1137. CFrame.new(0, -0.395585239, -1.53837633, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  1138. CFrame.new(0, 1.49998748, -1.19209304e-07, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1139. 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),
  1140. 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),
  1141. CFrame.new(0.5, -2.00000238, -1.66893028e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1142. CFrame.new(-0.5, -1.16437745, -0.995859087, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1143. }, .4, false)
  1144. end
  1145. for _, c in pairs(workspace:GetDescendants()) do
  1146. local hum = c:FindFirstChildOfClass("Humanoid")
  1147. if hum ~= nil then
  1148. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  1149. if torsy ~= nil then
  1150. local targ = torsy.Position - (RootPart.Position+RootPart.CFrame.lookVector*3)
  1151. local mag = targ.magnitude
  1152. if 5 >= mag and c.Name ~= Player.Name then
  1153. grab = c
  1154. end
  1155. end
  1156. end
  1157. end
  1158. if grab ~= nil then
  1159. local hum = grab:FindFirstChildOfClass("Humanoid")
  1160. local torsy = grab:findFirstChild("Torso") or grab:findFirstChild("UpperTorso")
  1161. local gra = Instance.new("Part",chara)
  1162. gra.Size = Vector3.new(0,0,0)
  1163. gra.CanCollide = false
  1164. gra.Anchored = true
  1165. gra.CFrame = RootPart.CFrame*CFrame.new(0,0,-2)
  1166. gra.Transparency = 1
  1167. so(240429615, torsy, 1, 1)
  1168. for i=0,1,.1 do
  1169. swait()
  1170. PlayAnimationFromTable({
  1171. CFrame.new(0.028383255, -0.0148591995, 0.0813131332, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1172. CFrame.new(0, 1.49998522, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1173. 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),
  1174. 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),
  1175. CFrame.new(0.499997497, -1.99999893, 4.32133675e-07, 0.76604414, 0, -0.642788053, 0, 1, 0, 0.642788053, 0, 0.76604414),
  1176. CFrame.new(-0.991907299, -1.90381634, 0.00414514542, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1177. }, .2, false)
  1178. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,0),.4)
  1179. torsy.CFrame = gra.CFrame
  1180. hum.PlatformStand = true
  1181. end
  1182. Humanoid.WalkSpeed = 6
  1183. repeat
  1184. swait()
  1185. hum.PlatformStand = true
  1186. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,0),.4)
  1187. torsy.CFrame = gra.CFrame
  1188. until vhold == false
  1189. Humanoid.WalkSpeed = 0
  1190. so(200632136, RootPart, .8, 1)
  1191. for i=0,1,.2 do
  1192. swait()
  1193. PlayAnimationFromTable({
  1194. 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),
  1195. 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),
  1196. 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),
  1197. 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),
  1198. 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),
  1199. 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),
  1200. }, .4, false)
  1201. gra.CFrame = clerp(gra.CFrame,RootPart.CFrame*CFrame.new(0,2,-6)*CFrame.Angles(math.rad(90),0,0),.4)
  1202. torsy.CFrame = gra.CFrame
  1203. torsy.Velocity = RootPart.CFrame.lookVector*60
  1204. end
  1205. coroutine.wrap(function()
  1206. local par,pos
  1207. repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par
  1208. Damagefunc(RootPart,torsy,15,20,0,"Normal",RootPart,.4,1)
  1209. MagnitudeDamage(torsy,6,0,10,15,5,"Knockdown",RootPart,.4,1)
  1210. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 0, 0, 0, 1, .2, 1, 0.1)
  1211. so(260430079,torsy,1,5)
  1212. swait(60)
  1213. hum.PlatformStand = false
  1214. end)()
  1215. gra:Destroy()
  1216. end
  1217. swait(5)
  1218. Humanoid.WalkSpeed = 16
  1219. LATr.Enabled = false
  1220. RATr.Enabled = false
  1221. attack = false
  1222. end
  1223.  
  1224. function kfbow()
  1225. attack = true
  1226. Humanoid.WalkSpeed = 0
  1227. for i=0,1,.2 do
  1228. swait()
  1229. PlayAnimationFromTable({
  1230. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1231. CFrame.new(0, 1.49999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1232. CFrame.new(1.20945108, -0.213500202, -4.76837158e-07, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1233. CFrame.new(-1.20945334, -0.213505104, -4.76837158e-07, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1234. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1235. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1236. }, .3, false)
  1237. end
  1238. for i=0,1.5,.1 do
  1239. swait()
  1240. PlayAnimationFromTable({
  1241. CFrame.new(0, -0.577677608, -0.882485688, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886),
  1242. CFrame.new(0, 1.49999499, 4.4554472e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1243. 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),
  1244. 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),
  1245. CFrame.new(0.5, -1.31572783, -1.03471863, 1, 0, 0, 0, 0.342019916, -0.939692736, 0, 0.939692736, 0.342019886),
  1246. CFrame.new(-0.5, -1.31572783, -1.03471863, 1, 0, 0, 0, 0.342019916, -0.939692736, 0, 0.939692736, 0.342019886),
  1247. }, .2, false)
  1248. end
  1249. for i=0,1.5,.1 do
  1250. swait()
  1251. PlayAnimationFromTable({
  1252. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1253. CFrame.new(0, 1.49999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1254. CFrame.new(1.20945108, -0.213500202, -4.76837158e-07, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1255. CFrame.new(-1.20945334, -0.213505104, -4.76837158e-07, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  1256. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1257. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1258. }, .2, false)
  1259. end
  1260. Humanoid.WalkSpeed = 16
  1261. LATr.Enabled = false
  1262. attack = false
  1263. end
  1264.  
  1265. ehold = false
  1266. function kfblock()
  1267. attack = true
  1268. Humanoid.WalkSpeed = 0
  1269. for i=0,1,.2 do
  1270. swait()
  1271. PlayAnimationFromTable({
  1272. CFrame.new(0, 0, 1.90734863e-06, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1273. CFrame.new(-1.90734863e-06, 1.49999642, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  1274. CFrame.new(0.29999733, 0, -0.799991608, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  1275. CFrame.new(-1.5, 0.999999762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1276. CFrame.new(0.500000238, -2, 2.38418579e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1277. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1278. }, .3, false)
  1279. end
  1280. local oldhp = Humanoid.Health
  1281. repeat
  1282. swait()
  1283. if Humanoid.Health < oldhp then
  1284. so(260430060,Torso,math.random(9,11)/10,1)
  1285. local vp = Instance.new("BodyVelocity", Torso)
  1286. vp.MaxForce = Vector3.new(4800000, 0, 4800000)
  1287. vp.P = 200000
  1288. vp.Velocity = RootPart.CFrame.lookVector * -30
  1289. game:GetService("Debris"):AddItem(vp,.01)
  1290. end
  1291. Humanoid.Health = oldhp
  1292. until ehold == false
  1293. Humanoid.WalkSpeed = 16
  1294. attack = false
  1295. end
  1296.  
  1297. --Intro--
  1298. Humanoid.WalkSpeed = 0
  1299. for i=0,2,.1 do
  1300. swait()
  1301. PlayAnimationFromTable({
  1302. CFrame.new(0, 0, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1303. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1304. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1305. 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),
  1306. 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),
  1307. 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),
  1308. }, .3, false)
  1309. end
  1310. local wood = Instance.new("Part",chara)
  1311. wood.Size = Vector3.new(2,.4,1)
  1312. wood.BrickColor = BrickColor.new("Bright orange")
  1313. wood.Material = "Wood"
  1314. wood.Anchored = true
  1315. wood.CanCollide = false
  1316. wood.CFrame = RootPart.CFrame * CFrame.new(0,0,-10)
  1317. for i=0,1,.1 do
  1318. swait()
  1319. PlayAnimationFromTable({
  1320. CFrame.new(0, 0, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1321. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1322. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1323. 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),
  1324. 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),
  1325. 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),
  1326. }, .3, false)
  1327. wood.CFrame = RootPart.CFrame * CFrame.new(0,3-(i*3.5),-10+(i*6))
  1328. end
  1329. LLTr.Enabled = true
  1330. local bwood = Instance.new("Part",chara)
  1331. bwood.Size = Vector3.new(1,.4,1)
  1332. bwood.BrickColor = BrickColor.new("Bright orange")
  1333. bwood.Material = "Wood"
  1334. bwood.CFrame = wood.CFrame * CFrame.new(.5,0,0)
  1335. bwood.Velocity = wood.CFrame.rightVector*10
  1336. local bwood2 = bwood:Clone()
  1337. bwood2.Parent = chara
  1338. bwood2.CFrame = wood.CFrame * CFrame.new(-.5,0,0)
  1339. bwood2.Velocity = wood.CFrame.rightVector*-10
  1340. wood:Destroy()
  1341. so(158712406,Torso,1,1)
  1342. for i=0,1,.25 do
  1343. swait()
  1344. PlayAnimationFromTable({
  1345. 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),
  1346. 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),
  1347. 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),
  1348. 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),
  1349. 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),
  1350. 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),
  1351. }, .7, false)
  1352. end
  1353. swait(30)
  1354. LLTr.Enabled = false
  1355. Humanoid.WalkSpeed = 16
  1356.  
  1357. qhold = false
  1358. justsprinted = false
  1359. function kfsprint()
  1360. attack = true
  1361. --print("supurinto?")
  1362. --justsprinted = true
  1363. --coroutine.wrap(function()
  1364. --swait(10)
  1365. --justsprinted = false
  1366. --end)()
  1367. repeat
  1368. swait()
  1369. PlayAnimationFromTable({
  1370. 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),
  1371. CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1372. 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),
  1373. 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),
  1374. 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),
  1375. 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),
  1376. }, .3, false)
  1377. Humanoid.WalkSpeed = 40
  1378. until qhold == false or Torso.Velocity == Vector3.new(0,0,0)
  1379. --print'sutoppu'
  1380. Humanoid.WalkSpeed = 16
  1381. attack = false
  1382. end
  1383.  
  1384. Mouse.Button1Down:connect(function()
  1385. if attack == false then
  1386. if Anim == "Jump" or Anim == "Fall" then
  1387. jattack()
  1388. else
  1389. if combo == 1 then
  1390. attackone()
  1391. combo = 2
  1392. elseif combo == 2 then
  1393. attacktwo()
  1394. combo = 3
  1395. elseif combo == 3 then
  1396. attackthree()
  1397. combo = 4
  1398. elseif combo == 4 then
  1399. attackfour()
  1400. combo = 1
  1401. end
  1402. end
  1403. end
  1404. end)
  1405.  
  1406. local sprintt = 0
  1407. Mouse.KeyDown:connect(function(k)
  1408. k = k:lower()
  1409. if attack == false then
  1410. if k == 'z' then
  1411. zhold = true
  1412. kfpalm()
  1413. elseif k == 'x' then
  1414. kfblow()
  1415. elseif k == 'c' then
  1416. chold = true
  1417. kfupper()
  1418. elseif k == 'v' then
  1419. vhold = true
  1420. kfgrab()
  1421. elseif k == 'g' then
  1422. kfbow()
  1423. elseif k == 'e' then
  1424. ehold = true
  1425. kfblock()
  1426. elseif k == 'q' then
  1427. qhold = true
  1428. -- if sprintt > 1 then
  1429. -- print("supurinto")
  1430. kfsprint()
  1431. -- end
  1432. -- sprintt = 20
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. Mouse.KeyUp:connect(function(k)
  1438. k = k:lower()
  1439. if k == 'e' then
  1440. ehold = false
  1441. elseif k == 'v' then
  1442. vhold = false
  1443. elseif k == 'q' then
  1444. qhold = false
  1445. elseif k == 'z' then
  1446. zhold = false
  1447. elseif k == 'c' then
  1448. chold = false
  1449. end
  1450. end)
  1451.  
  1452. for i, v in pairs(chara:GetDescendants()) do
  1453. if v:IsA("BasePart") then
  1454. v.CanCollide = false
  1455. end
  1456. end
  1457.  
  1458. coroutine.wrap(function()
  1459. while 1 do
  1460. swait()
  1461. if doe <= 360 then
  1462. doe = doe + 2
  1463. else
  1464. doe = 0
  1465. end
  1466. end
  1467. end)()
  1468. while true do
  1469. swait()
  1470. for i, v in pairs(chara:GetChildren()) do
  1471. if v:IsA("Part") then
  1472. v.Material = "SmoothPlastic"
  1473. elseif v:IsA("Accessory") then
  1474. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1475. end
  1476. end
  1477. while true do
  1478. swait()
  1479. if sprintt >= 1 then
  1480. sprintt = sprintt - 1
  1481. end
  1482. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1483. velocity = RootPart.Velocity.y
  1484. sine = sine + change
  1485. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  1486. if RootPart.Velocity.y > 1 and hit == nil then
  1487. Anim = "Jump"
  1488. if attack == false then
  1489. PlayAnimationFromTable({
  1490. CFrame.new(0, 0.0999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1491. CFrame.new(0, 1.48263168, -0.0984806865, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1492. CFrame.new(0.985772133, 0.399999619, -0.61283654, 0.76604414, 0.642788053, 0, 0, 0, -1, -0.642788053, 0.76604414, 0),
  1493. 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),
  1494. CFrame.new(0.5, -1.29999959, 0.299999923, 1, 0, 0, 0, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987),
  1495. CFrame.new(-0.5, -1.29999959, 0.299999923, 1, 0, 0, 0, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987),
  1496. }, .3, false)
  1497. end
  1498. elseif RootPart.Velocity.y < -1 and hit == nil then
  1499. Anim = "Fall"
  1500. if attack == false then
  1501. PlayAnimationFromTable({
  1502. CFrame.new(0, 0.0999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1503. CFrame.new(0, 1.44842887, -0.192449093, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1504. CFrame.new(0.985773325, 0.399999619, -0.61283505, 0.76604414, 0.642788053, 0, 0, 0, -1, -0.642788053, 0.76604414, 0),
  1505. 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),
  1506. CFrame.new(0.500001907, -1.41961551, 8.94069672e-07, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
  1507. CFrame.new(-0.499990463, -2.09950018, -0.492020726, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1508. }, .3, false)
  1509. end
  1510. elseif Torsovelocity < 1 and hit ~= nil then
  1511. Anim = "Idle"
  1512. if attack == false then
  1513. change = 1
  1514. PlayAnimationFromTable({
  1515. 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),
  1516. CFrame.new(0, 1.49999809, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1517. CFrame.new(0.7839728, 0.499999523, -0.759808064, 0.499999493, 0.866025746, 0, 0, 0, -1, -0.866025746, 0.499999493, 0),
  1518. 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),
  1519. 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),
  1520. 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),
  1521. }, .3, false)
  1522. end
  1523. elseif Torsovelocity > 2 and hit ~= nil then
  1524. Anim = "Walk"
  1525. if attack == false then
  1526. PlayAnimationFromTable({
  1527. 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),
  1528. CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491),
  1529. 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),
  1530. 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),
  1531. 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),
  1532. 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),
  1533. }, .3, false)
  1534. end
  1535. end
  1536. if 0 < #Effects then
  1537. for e = 1, #Effects do
  1538. if Effects[e] ~= nil then
  1539. local Thing = Effects[e]
  1540. if Thing ~= nil then
  1541. local Part = Thing[1]
  1542. local Mode = Thing[2]
  1543. local Delay = Thing[3]
  1544. local IncX = Thing[4]
  1545. local IncY = Thing[5]
  1546. local IncZ = Thing[6]
  1547. if Thing[2] == "Shoot" then
  1548. local Look = Thing[1]
  1549. local move = 30
  1550. if Thing[8] == 3 then
  1551. move = 10
  1552. end
  1553. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1554. if Thing[10] ~= nil then
  1555. da = pos
  1556. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1557. cfa = CFrame.new(Thing[4], pos)
  1558. tehCF = cfa:lerp(cf2, 0.2)
  1559. Thing[1] = tehCF.lookVector
  1560. end
  1561. local mag = (Thing[4] - pos).magnitude
  1562. 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)
  1563. if Thing[8] == 2 then
  1564. 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)
  1565. end
  1566. Thing[4] = Thing[4] + Look * move
  1567. Thing[3] = Thing[3] - 1
  1568. if 2 < Thing[5] then
  1569. Thing[5] = Thing[5] - 0.3
  1570. Thing[6] = Thing[6] - 0.3
  1571. end
  1572. if hit ~= nil then
  1573. Thing[3] = 0
  1574. if Thing[8] == 1 or Thing[8] == 3 then
  1575. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1576. else
  1577. if Thing[8] == 2 then
  1578. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1579. if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
  1580. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1581. ref.Anchored = true
  1582. ref.CFrame = CFrame.new(pos)
  1583. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1584. game:GetService("Debris"):AddItem(ref, 0.2)
  1585. 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)
  1586. 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)
  1587. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1588. end
  1589. end
  1590. end
  1591. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1592. ref.Anchored = true
  1593. ref.CFrame = CFrame.new(pos)
  1594. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1595. game:GetService("Debris"):AddItem(ref, 1)
  1596. end
  1597. if Thing[3] <= 0 then
  1598. table.remove(Effects, e)
  1599. end
  1600. end
  1601. do
  1602. do
  1603. if Thing[2] == "FireWave" then
  1604. if Thing[3] <= Thing[4] then
  1605. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1606. Thing[3] = Thing[3] + 1
  1607. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1608. else
  1609. Part.Parent = nil
  1610. table.remove(Effects, e)
  1611. end
  1612. end
  1613. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1614. if Thing[1].Transparency <= 1 then
  1615. if Thing[2] == "Block1" then
  1616. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1617. Mesh = Thing[7]
  1618. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1619. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1620. else
  1621. if Thing[2] == "Block2" then
  1622. Thing[1].CFrame = Thing[1].CFrame
  1623. Mesh = Thing[7]
  1624. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1625. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1626. else
  1627. if Thing[2] == "Fire" then
  1628. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1629. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1630. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631. else
  1632. if Thing[2] == "Cylinder" then
  1633. Mesh = Thing[7]
  1634. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1635. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1636. else
  1637. if Thing[2] == "Blood" then
  1638. Mesh = Thing[7]
  1639. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1640. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1641. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1642. else
  1643. if Thing[2] == "Elec" then
  1644. Mesh = Thing[10]
  1645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1647. else
  1648. if Thing[2] == "Disappear" then
  1649. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1650. else
  1651. if Thing[2] == "Shatter" then
  1652. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1653. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1654. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1655. Thing[6] = Thing[6] + Thing[5]
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661. end
  1662. end
  1663. end
  1664. else
  1665. Part.Parent = nil
  1666. table.remove(Effects, e)
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement