Advertisement
memberhero

Gale Fighter FE

Nov 25th, 2020 (edited)
760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.03 KB | None | 0 0
  1. local remote = NS ([==[
  2. --[[ Name : Gale Fighter ]]--
  3. -------------------------------------------------------
  4. --A Collaboration Between makhail07 and KillerDarkness0105
  5.  
  6. --Base Animaion by makhail07, attacks by KillerDarkness0105
  7. -------------------------------------------------------
  8.  
  9.  
  10. local FavIDs = {
  11. 340106355, --Nefl Crystals
  12. 927529620, --Dimension
  13. 876981900, --Fantasy
  14. 398987889, --Ordinary Days
  15. 1117396305, --Oh wait, it's you.
  16. 885996042, --Action Winter Journey
  17. 919231299, --Sprawling Idiot Effigy
  18. 743466274, --Good Day Sunshine
  19. 727411183, --Knife Fight
  20. 1402748531, --The Earth Is Counting On You!
  21. 595230126 --Robot Language
  22. }
  23.  
  24.  
  25.  
  26. wait(0.2)
  27. local plr = owner
  28. print('Local User is '..plr.Name)
  29. print('Gale Fighter Loaded')
  30. print('The Fighter that is as fast as wind, a true Fighter')
  31. local char = plr.Character
  32. local hum = char.Humanoid
  33. local hed = char.Head
  34. local root = char.HumanoidRootPart
  35. local rootj = root.RootJoint
  36. local tors = char.Torso
  37. local ra = char["Right Arm"]
  38. local la = char["Left Arm"]
  39. local rl = char["Right Leg"]
  40. local ll = char["Left Leg"]
  41. local neck = tors["Neck"]
  42. local mouse = plr:GetMouse()
  43. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  44. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  45. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  46. local maincolor = BrickColor.new("Institutional white")
  47. hum.MaxHealth = 200
  48. hum.Health = 200
  49.  
  50. -------------------------------------------------------
  51. --Start Good Stuff--
  52. -------------------------------------------------------
  53. cam = game.Workspace.CurrentCamera
  54. CF = CFrame.new
  55. angles = CFrame.Angles
  56. attack = false
  57. Euler = CFrame.fromEulerAnglesXYZ
  58. Rad = math.rad
  59. IT = Instance.new
  60. BrickC = BrickColor.new
  61. Cos = math.cos
  62. Acos = math.acos
  63. Sin = math.sin
  64. Asin = math.asin
  65. Abs = math.abs
  66. Mrandom = math.random
  67. Floor = math.floor
  68. -------------------------------------------------------
  69. --End Good Stuff--
  70. -------------------------------------------------------
  71. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  72. RSH, LSH = nil, nil
  73. RW = Instance.new("Weld")
  74. LW = Instance.new("Weld")
  75. RH = tors["Right Hip"]
  76. LH = tors["Left Hip"]
  77. RSH = tors["Right Shoulder"]
  78. LSH = tors["Left Shoulder"]
  79. RSH.Parent = nil
  80. LSH.Parent = nil
  81. RW.Name = "RW"
  82. RW.Part0 = tors
  83. RW.C0 = CF(1.5, 0.5, 0)
  84. RW.C1 = CF(0, 0.5, 0)
  85. RW.Part1 = ra
  86. RW.Parent = tors
  87. LW.Name = "LW"
  88. LW.Part0 = tors
  89. LW.C0 = CF(-1.5, 0.5, 0)
  90. LW.C1 = CF(0, 0.5, 0)
  91. LW.Part1 = la
  92. LW.Parent = tors
  93. vt = Vector3.new
  94. Effects = {}
  95. -------------------------------------------------------
  96. --Start HeartBeat--
  97. -------------------------------------------------------
  98. ArtificialHB = Instance.new("BindableEvent", script)
  99. ArtificialHB.Name = "Heartbeat"
  100. script:WaitForChild("Heartbeat")
  101.  
  102. frame = 1 / 90
  103. tf = 0
  104. allowframeloss = false
  105. tossremainder = false
  106.  
  107.  
  108. lastframe = tick()
  109. script.Heartbeat:Fire()
  110.  
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.Heartbeat:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.Heartbeat:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131. -------------------------------------------------------
  132. --End HeartBeat--
  133. -------------------------------------------------------
  134.  
  135.  
  136.  
  137. -------------------------------------------------------
  138. --Start Combo Function--
  139. -------------------------------------------------------
  140. local comboing = false
  141. local combohits = 0
  142. local combotime = 0
  143. local maxtime = 65
  144.  
  145.  
  146.  
  147. function sandbox(var,func)
  148. local env = getfenv(func)
  149. local newenv = setmetatable({},{
  150. __index = function(self,k)
  151. if k=="script" then
  152. return var
  153. else
  154. return env[k]
  155. end
  156. end,
  157. })
  158. setfenv(func,newenv)
  159. return func
  160. end
  161. cors = {}
  162. mas = Instance.new("Model",game:GetService("Lighting"))
  163. comboframe = Instance.new("ScreenGui")
  164. Frame1 = Instance.new("Frame")
  165. Frame2 = Instance.new("Frame")
  166. TextLabel3 = Instance.new("TextLabel")
  167. comboframe.Name = "combinserter"
  168. comboframe.Parent = mas
  169. Frame1.Name = "combtimegui"
  170. Frame1.Parent = comboframe
  171. Frame1.Size = UDim2.new(0, 300, 0, 14)
  172. Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
  173. Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
  174. Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
  175. Frame1.BorderSizePixel = 5
  176. Frame2.Name = "combtimeoverlay"
  177. Frame2.Parent = Frame1
  178. Frame2.Size = UDim2.new(0, 0, 0, 14)
  179. Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
  180. Frame2.ZIndex = 2
  181. TextLabel3.Parent = Frame2
  182. TextLabel3.Transparency = 0
  183. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  184. TextLabel3.Text ="Hits: "..combohits
  185. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  186. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  187. TextLabel3.BackgroundTransparency = 1
  188. TextLabel3.Font = Enum.Font.Bodoni
  189. TextLabel3.FontSize = Enum.FontSize.Size60
  190. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  191. TextLabel3.TextStrokeTransparency = 0
  192. gui = owner.PlayerGui
  193. for i,v in pairs(mas:GetChildren()) do
  194. v.Parent = owner.PlayerGui
  195. pcall(function() v:MakeJoints() end)
  196. end
  197. mas:Destroy()
  198. for i,v in pairs(cors) do
  199. spawn(function()
  200. pcall(v)
  201. end)
  202. end
  203.  
  204.  
  205.  
  206.  
  207.  
  208. coroutine.resume(coroutine.create(function()
  209. while true do
  210. wait()
  211.  
  212.  
  213. if combotime>65 then
  214. combotime = 65
  215. end
  216.  
  217.  
  218.  
  219.  
  220.  
  221. if combotime>.1 and comboing == true then
  222. TextLabel3.Transparency = 0
  223. TextLabel3.TextStrokeTransparency = 0
  224. TextLabel3.BackgroundTransparency = 1
  225. Frame1.Transparency = 0
  226. Frame2.Transparency = 0
  227. TextLabel3.Text ="Hits: "..combohits
  228. combotime = combotime - .34
  229. Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
  230. end
  231.  
  232.  
  233.  
  234.  
  235. if combotime<.1 then
  236. TextLabel3.BackgroundTransparency = 1
  237. TextLabel3.Transparency = 1
  238. TextLabel3.TextStrokeTransparency = 1
  239.  
  240. Frame2.Size = UDim2.new(0, 0, 0, 14)
  241. combotime = 0
  242. comboing = false
  243. Frame1.Transparency = 1
  244. Frame2.Transparency = 1
  245. combohits = 0
  246.  
  247. end
  248. end
  249. end))
  250.  
  251.  
  252.  
  253. -------------------------------------------------------
  254. --End Combo Function--
  255. -------------------------------------------------------
  256.  
  257. -------------------------------------------------------
  258. --Start Important Functions--
  259. -------------------------------------------------------
  260. function swait(num)
  261. if num == 0 or num == nil then
  262. game:service("RunService").Stepped:wait(0)
  263. else
  264. for i = 0, num do
  265. game:service("RunService").Stepped:wait(0)
  266. end
  267. end
  268. end
  269. function thread(f)
  270. coroutine.resume(coroutine.create(f))
  271. end
  272. function clerp(a, b, t)
  273. local qa = {
  274. QuaternionFromCFrame(a)
  275. }
  276. local qb = {
  277. QuaternionFromCFrame(b)
  278. }
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284. function QuaternionFromCFrame(cf)
  285. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  286. local trace = m00 + m11 + m22
  287. if trace > 0 then
  288. local s = math.sqrt(1 + trace)
  289. local recip = 0.5 / s
  290. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  291. else
  292. local i = 0
  293. if m00 < m11 then
  294. i = 1
  295. end
  296. if m22 > (i == 0 and m00 or m11) then
  297. i = 2
  298. end
  299. if i == 0 then
  300. local s = math.sqrt(m00 - m11 - m22 + 1)
  301. local recip = 0.5 / s
  302. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  303. elseif i == 1 then
  304. local s = math.sqrt(m11 - m22 - m00 + 1)
  305. local recip = 0.5 / s
  306. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  307. elseif i == 2 then
  308. local s = math.sqrt(m22 - m00 - m11 + 1)
  309. local recip = 0.5 / s
  310. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  311. end
  312. end
  313. end
  314. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  315. local xs, ys, zs = x + x, y + y, z + z
  316. local wx, wy, wz = w * xs, w * ys, w * zs
  317. local xx = x * xs
  318. local xy = x * ys
  319. local xz = x * zs
  320. local yy = y * ys
  321. local yz = y * zs
  322. local zz = z * zs
  323. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  324. end
  325. function QuaternionSlerp(a, b, t)
  326. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  327. local startInterp, finishInterp
  328. if cosTheta >= 1.0E-4 then
  329. if 1 - cosTheta > 1.0E-4 then
  330. local theta = math.acos(cosTheta)
  331. local invSinTheta = 1 / Sin(theta)
  332. startInterp = Sin((1 - t) * theta) * invSinTheta
  333. finishInterp = Sin(t * theta) * invSinTheta
  334. else
  335. startInterp = 1 - t
  336. finishInterp = t
  337. end
  338. elseif 1 + cosTheta > 1.0E-4 then
  339. local theta = math.acos(-cosTheta)
  340. local invSinTheta = 1 / Sin(theta)
  341. startInterp = Sin((t - 1) * theta) * invSinTheta
  342. finishInterp = Sin(t * theta) * invSinTheta
  343. else
  344. startInterp = t - 1
  345. finishInterp = t
  346. end
  347. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  348. end
  349. function rayCast(Position, Direction, Range, Ignore)
  350. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  351. end
  352. local RbxUtility = LoadLibrary("RbxUtility")
  353. local Create = RbxUtility.Create
  354.  
  355. -------------------------------------------------------
  356. --Start Damage Function--
  357. -------------------------------------------------------
  358. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  359. if hit.Parent == nil then
  360. return
  361. end
  362. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  363. for _, v in pairs(hit.Parent:children()) do
  364. if v:IsA("Humanoid") then
  365. h = v
  366. end
  367. end
  368. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  369.  
  370. hit.Parent:FindFirstChild("Head"):BreakJoints()
  371. end
  372.  
  373. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  374. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  375. if hit.Parent.DebounceHit.Value == true then
  376. return
  377. end
  378. end
  379. if insta == true then
  380. hit.Parent:FindFirstChild("Head"):BreakJoints()
  381. end
  382. local c = Create("ObjectValue"){
  383. Name = "creator",
  384. Value = owner,
  385. Parent = h,
  386. }
  387. game:GetService("Debris"):AddItem(c, .5)
  388. if HitSound ~= nil and HitPitch ~= nil then
  389. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  390. end
  391. local Damage = math.random(minim, maxim)
  392. local blocked = false
  393. local block = hit.Parent:findFirstChild("Block")
  394. if block ~= nil then
  395. if block.className == "IntValue" then
  396. if block.Value > 0 then
  397. blocked = true
  398. block.Value = block.Value - 1
  399. print(block.Value)
  400. end
  401. end
  402. end
  403. if blocked == false then
  404. h.Health = h.Health - Damage
  405. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  406. else
  407. h.Health = h.Health - (Damage / 2)
  408. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  409. end
  410. if Type == "Knockdown" then
  411. local hum = hit.Parent.Humanoid
  412. hum.PlatformStand = true
  413. coroutine.resume(coroutine.create(function(HHumanoid)
  414. swait(1)
  415. HHumanoid.PlatformStand = false
  416. end), hum)
  417. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  418. local bodvol = Create("BodyVelocity"){
  419. velocity = angle * knockback,
  420. P = 5000,
  421. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  422. Parent = hit,
  423. }
  424. local rl = Create("BodyAngularVelocity"){
  425. P = 3000,
  426. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  427. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  428. Parent = hit,
  429. }
  430. game:GetService("Debris"):AddItem(bodvol, .5)
  431. game:GetService("Debris"):AddItem(rl, .5)
  432. elseif Type == "Normal" then
  433. local vp = Create("BodyVelocity"){
  434. P = 500,
  435. maxForce = Vector3.new(math.huge, 0, math.huge),
  436. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  437. }
  438. if knockback > 0 then
  439. vp.Parent = hit.Parent.Torso
  440. end
  441. game:GetService("Debris"):AddItem(vp, .5)
  442. elseif Type == "Up" then
  443. local bodyVelocity = Create("BodyVelocity"){
  444. velocity = Vector3.new(0, 20, 0),
  445. P = 5000,
  446. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  447. Parent = hit,
  448. }
  449. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  450. elseif Type == "DarkUp" then
  451. coroutine.resume(coroutine.create(function()
  452. for i = 0, 1, 0.1 do
  453. swait()
  454. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  455. end
  456. end))
  457. local bodyVelocity = Create("BodyVelocity"){
  458. velocity = Vector3.new(0, 20, 0),
  459. P = 5000,
  460. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  461. Parent = hit,
  462. }
  463. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  464. elseif Type == "Snare" then
  465. local bp = Create("BodyPosition"){
  466. P = 2000,
  467. D = 100,
  468. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  469. position = hit.Parent.Torso.Position,
  470. Parent = hit.Parent.Torso,
  471. }
  472. game:GetService("Debris"):AddItem(bp, 1)
  473. elseif Type == "Freeze" then
  474. local BodPos = Create("BodyPosition"){
  475. P = 50000,
  476. D = 1000,
  477. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  478. position = hit.Parent.Torso.Position,
  479. Parent = hit.Parent.Torso,
  480. }
  481. local BodGy = Create("BodyGyro") {
  482. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  483. P = 20e+003,
  484. Parent = hit.Parent.Torso,
  485. cframe = hit.Parent.Torso.CFrame,
  486. }
  487. hit.Parent.Torso.Anchored = true
  488. coroutine.resume(coroutine.create(function(Part)
  489. swait(1.5)
  490. Part.Anchored = false
  491. end), hit.Parent.Torso)
  492. game:GetService("Debris"):AddItem(BodPos, 3)
  493. game:GetService("Debris"):AddItem(BodGy, 3)
  494. end
  495. local debounce = Create("BoolValue"){
  496. Name = "DebounceHit",
  497. Parent = hit.Parent,
  498. Value = true,
  499. }
  500. game:GetService("Debris"):AddItem(debounce, Delay)
  501. c = Create("ObjectValue"){
  502. Name = "creator",
  503. Value = Player,
  504. Parent = h,
  505. }
  506. game:GetService("Debris"):AddItem(c, .5)
  507. end
  508. end
  509.  
  510.  
  511.  
  512.  
  513. kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  514. if hit.Parent==nil then
  515. return
  516. end
  517. h=hit.Parent:FindFirstChild("Humanoid")
  518. for _,v in pairs(hit.Parent:children()) do
  519. if v:IsA("Humanoid") then
  520. h=v
  521. end
  522. end
  523. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  524. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  525. end
  526. if hit.Parent.className=="Hat" then
  527. hit=hit.Parent.Parent:findFirstChild("Head")
  528. end
  529. if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  530. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  531. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  532. return
  533. end]]
  534. -- hs(hit,1.2)
  535. c=Instance.new("ObjectValue")
  536. c.Name="creator"
  537. c.Value=owner
  538. c.Parent=h
  539. game:GetService("Debris"):AddItem(c,.5)
  540. Damage=math.random(minim,maxim)
  541. -- h:TakeDamage(Damage)
  542. blocked=false
  543. block=hit.Parent:findFirstChild("Block")
  544. if block~=nil then
  545. print(block.className)
  546. if block.className=="NumberValue" then
  547. if block.Value>0 then
  548. blocked=true
  549. if decreaseblock==nil then
  550. block.Value=block.Value-1
  551. end
  552. end
  553. end
  554. if block.className=="IntValue" then
  555. if block.Value>0 then
  556. blocked=true
  557. if decreaseblock~=nil then
  558. block.Value=block.Value-1
  559. end
  560. end
  561. end
  562. end
  563. if blocked==false then
  564. -- h:TakeDamage(Damage)
  565. h.Health=h.Health-Damage
  566. kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White"))
  567. else
  568. h.Health=h.Health-(Damage/2)
  569. kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White"))
  570. end
  571. if Type=="Knockdown" then
  572. hum=hit.Parent.Humanoid
  573. hum.PlatformStand=true
  574. coroutine.resume(coroutine.create(function(HHumanoid)
  575. swait(1)
  576. HHumanoid.PlatformStand=false
  577. end),hum)
  578. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  579. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  580. local bodvol=Instance.new("BodyVelocity")
  581. bodvol.velocity=angle*knockback
  582. bodvol.P=5000
  583. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  584. bodvol.Parent=hit
  585. rl=Instance.new("BodyAngularVelocity")
  586. rl.P=3000
  587. rl.maxTorque=Vector3.new(500,500,500)
  588. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  589. rl.Parent=hit
  590. game:GetService("Debris"):AddItem(bodvol,.5)
  591. game:GetService("Debris"):AddItem(rl,.5)
  592. elseif Type=="Normal" then
  593. vp=Instance.new("BodyVelocity")
  594. vp.P=500
  595. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  596. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  597. if KnockbackType==1 then
  598. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  599. elseif KnockbackType==2 then
  600. vp.velocity=Property.CFrame.lookVector*knockback
  601. end
  602. if knockback>0 then
  603. vp.Parent=hit.Parent.Torso
  604. end
  605. game:GetService("Debris"):AddItem(vp,.5)
  606. elseif Type=="Up" then
  607. hit.Parent.Humanoid.PlatformStand = true
  608. local bodyVelocity=Instance.new("BodyVelocity")
  609. bodyVelocity.velocity=vt(0,15,0)
  610. bodyVelocity.P=5000
  611. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  612. bodyVelocity.Parent=hit
  613. game:GetService("Debris"):AddItem(bodyVelocity,1)
  614. rl=Instance.new("BodyAngularVelocity")
  615. rl.P=3000
  616. rl.AngularVelocity = Vector3.new(2000,2000,2000)
  617. rl.MaxTorque = Vector3.new(40000,40000,40000)
  618. rl.Parent=hit
  619. hit.Parent.Humanoid.PlatformStand = false
  620. game:GetService("Debris"):AddItem(rl,.5)
  621. elseif Type=="Snare" then
  622. bp=Instance.new("BodyPosition")
  623. bp.P=2000
  624. bp.D=100
  625. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  626. bp.position=hit.Parent.Torso.Position
  627. bp.Parent=hit.Parent.Torso
  628. game:GetService("Debris"):AddItem(bp,1)
  629. elseif Type=="Float" then
  630. hit.Parent.Humanoid.PlatformStand = true
  631. bp=Instance.new("BodyPosition")
  632. bp.P=2000
  633. bp.D=400
  634. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  635. bp.position=hit.Parent.Torso.Position+vt(0,35,24)
  636. bp.Parent=hit.Parent.Torso
  637.  
  638. local rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso)
  639. rl.P=377705
  640. rl.maxTorque=Vector3.new(1,1,1)*500
  641. rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3))
  642.  
  643. local BF = Instance.new("BodyForce",hit.Parent.Torso)
  644. BF.force = Vector3.new(0, workspace.Gravity/1.10, 0)
  645. game:GetService("Debris"):AddItem(bp,5)
  646. game:GetService("Debris"):AddItem(BF,5)
  647. game:GetService("Debris"):AddItem(rl,5)
  648. elseif Type=="Target" then
  649. if Targetting==false then
  650. ZTarget=hit.Parent.Torso
  651. coroutine.resume(coroutine.create(function(Part)
  652. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  653. swait(5)
  654. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  655. end),ZTarget)
  656. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  657. targetgui=Instance.new("BillboardGui")
  658. targetgui.Parent=ZTarget
  659. targetgui.Size=UDim2.new(10,100,10,100)
  660. targ=Instance.new("ImageLabel")
  661. targ.Parent=targetgui
  662. targ.BackgroundTransparency=1
  663. targ.Image="rbxassetid://4834067"
  664. targ.Size=UDim2.new(1,0,1,0)
  665. cam.CameraType="Scriptable"
  666. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  667. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  668. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  669. Targetting=true
  670. RocketTarget=ZTarget
  671. for i=1,Property do
  672. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  673. if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  674. swait()
  675. end
  676. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  677. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  678. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  679. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  680. end
  681. Targetting=false
  682. RocketTarget=nil
  683. targetgui.Parent=nil
  684. cam.CameraType="Custom"
  685. end
  686. end
  687. debounce=Instance.new("BoolValue")
  688. debounce.Name="DebounceHit"
  689. debounce.Parent=hit.Parent
  690. debounce.Value=true
  691. game:GetService("Debris"):AddItem(debounce,Delay)
  692. c=Instance.new("ObjectValue")
  693. c.Name="creator"
  694. c.Value=Player
  695. c.Parent=h
  696. game:GetService("Debris"):AddItem(c,.5)
  697. CRIT=false
  698. hitDeb=true
  699. AttackPos=6
  700. comboing = true
  701. combohits = combohits+1
  702. combotime = combotime+3.4
  703.  
  704.  
  705.  
  706. if hitfloor == nil then
  707.  
  708. local velo=Instance.new("BodyVelocity")
  709. velo.velocity=vt(0,5.5,0)
  710. velo.P=8000
  711. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  712. velo.Parent=root
  713. game:GetService("Debris"):AddItem(velo,0.06)
  714.  
  715. local hitvelo=Instance.new("BodyVelocity")
  716. hitvelo.velocity=vt(0,5.5,0)
  717. hitvelo.P=8000
  718. hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  719. hitvelo.Parent=hit
  720. game:GetService("Debris"):AddItem(hitvelo,0.06)
  721.  
  722. coroutine.resume(coroutine.create(function()
  723. for i = 0,3.7,0.1 do
  724. swait()
  725. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  726. root.Velocity = root.CFrame.lookVector*0
  727. hit.Velocity = hit.CFrame.lookVector*130
  728. end
  729. end))
  730. coroutine.resume(coroutine.create(function()
  731. while ultra == true do
  732. swait()
  733. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  734. end
  735. end))
  736.  
  737.  
  738. end
  739.  
  740.  
  741. end
  742. end
  743.  
  744. kshowDamage=function(Char,Dealt,du,Color)
  745. m=Instance.new("Model")
  746. m.Name=tostring(Dealt)
  747. h=Instance.new("Humanoid")
  748. h.Health=0
  749. h.MaxHealth=0
  750. h.Parent=m
  751. c=Instance.new("Part")
  752. c.Transparency=0
  753. c.BrickColor=Color
  754. c.Name="Head"
  755. c.Material = "Neon"
  756. c.TopSurface=0
  757. c.BottomSurface=0
  758. c.formFactor="Plate"
  759. c.Size=Vector3.new(1,.4,1)
  760. ms=Instance.new("CylinderMesh")
  761. ms.Scale=Vector3.new(.8,.8,.8)
  762. if CRIT==true then
  763. ms.Scale=Vector3.new(1,1.25,1)
  764. end
  765. ms.Parent=c
  766. c.Reflectance=0
  767. Instance.new("BodyGyro").Parent=c
  768. c.Parent=m
  769. if Char:findFirstChild("Head")~=nil then
  770. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  771. elseif Char.Parent:findFirstChild("Head")~=nil then
  772. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  773. end
  774. f=Instance.new("BodyPosition")
  775. f.P=2000
  776. f.D=220
  777. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  778. f.position=c.Position+Vector3.new(0,3,0)
  779. f.Parent=c
  780. game:GetService("Debris"):AddItem(m,.5+du)
  781. c.CanCollide=false
  782. m.Parent=workspace
  783. c.CanCollide=false
  784.  
  785. end
  786.  
  787. -------------------------------------------------------
  788. --End Damage Function--
  789. -------------------------------------------------------
  790.  
  791. -------------------------------------------------------
  792. --Start Damage Function Customization--
  793. -------------------------------------------------------
  794. function ShowDamage(Pos, Text, Time, Color)
  795. local Rate = (1 / 30)
  796. local Pos = (Pos or Vector3.new(0, 0, 0))
  797. local Text = (Text or "")
  798. local Time = (Time or 2)
  799. local Color = (Color or Color3.new(1, 0, 1))
  800. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  801. EffectPart.Anchored = true
  802. local BillboardGui = Create("BillboardGui"){
  803. Size = UDim2.new(3, 0, 3, 0),
  804. Adornee = EffectPart,
  805. Parent = EffectPart,
  806. }
  807. local TextLabel = Create("TextLabel"){
  808. BackgroundTransparency = 1,
  809. Size = UDim2.new(1, 0, 1, 0),
  810. Text = Text,
  811. Font = "Bodoni",
  812. TextColor3 = Color,
  813. TextScaled = true,
  814. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  815. Parent = BillboardGui,
  816. }
  817. game.Debris:AddItem(EffectPart, (Time))
  818. EffectPart.Parent = game:GetService("Workspace")
  819. delay(0, function()
  820. local Frames = (Time / Rate)
  821. for Frame = 1, Frames do
  822. wait(Rate)
  823. local Percent = (Frame / Frames)
  824. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  825. TextLabel.TextTransparency = Percent
  826. end
  827. if EffectPart and EffectPart.Parent then
  828. EffectPart:Destroy()
  829. end
  830. end)
  831. end
  832. -------------------------------------------------------
  833. --End Damage Function Customization--
  834. -------------------------------------------------------
  835.  
  836. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  837. for _, c in pairs(workspace:children()) do
  838. local hum = c:findFirstChild("Humanoid")
  839. if hum ~= nil then
  840. local head = c:findFirstChild("Head")
  841. if head ~= nil then
  842. local targ = head.Position - Part.Position
  843. local mag = targ.magnitude
  844. if magni >= mag and c.Name ~= plr.Name then
  845. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  846. end
  847. end
  848. end
  849. end
  850. end
  851.  
  852.  
  853. CFuncs = {
  854. Part = {
  855. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  856. local Part = Create("Part")({
  857. Parent = Parent,
  858. Reflectance = Reflectance,
  859. Transparency = Transparency,
  860. CanCollide = false,
  861. Locked = true,
  862. BrickColor = BrickColor.new(tostring(BColor)),
  863. Name = Name,
  864. Size = Size,
  865. Material = Material
  866. })
  867. RemoveOutlines(Part)
  868. return Part
  869. end
  870. },
  871. Mesh = {
  872. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  873. local Msh = Create(Mesh)({
  874. Parent = Part,
  875. Offset = OffSet,
  876. Scale = Scale
  877. })
  878. if Mesh == "SpecialMesh" then
  879. Msh.MeshType = MeshType
  880. Msh.MeshId = MeshId
  881. end
  882. return Msh
  883. end
  884. },
  885. Mesh = {
  886. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  887. local Msh = Create(Mesh)({
  888. Parent = Part,
  889. Offset = OffSet,
  890. Scale = Scale
  891. })
  892. if Mesh == "SpecialMesh" then
  893. Msh.MeshType = MeshType
  894. Msh.MeshId = MeshId
  895. end
  896. return Msh
  897. end
  898. },
  899. Weld = {
  900. Create = function(Parent, Part0, Part1, C0, C1)
  901. local Weld = Create("Weld")({
  902. Parent = Parent,
  903. Part0 = Part0,
  904. Part1 = Part1,
  905. C0 = C0,
  906. C1 = C1
  907. })
  908. return Weld
  909. end
  910. },
  911. Sound = {
  912. Create = function(id, par, vol, pit)
  913. coroutine.resume(coroutine.create(function()
  914. local S = Create("Sound")({
  915. Volume = vol,
  916. Pitch = pit or 1,
  917. SoundId = id,
  918. Parent = par or workspace
  919. })
  920. wait()
  921. S:play()
  922. game:GetService("Debris"):AddItem(S, 6)
  923. end))
  924. end
  925. },
  926. ParticleEmitter = {
  927. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  928. local fp = Create("ParticleEmitter")({
  929. Parent = Parent,
  930. Color = ColorSequence.new(Color1, Color2),
  931. LightEmission = LightEmission,
  932. Size = Size,
  933. Texture = Texture,
  934. Transparency = Transparency,
  935. ZOffset = ZOffset,
  936. Acceleration = Accel,
  937. Drag = Drag,
  938. LockedToPart = LockedToPart,
  939. VelocityInheritance = VelocityInheritance,
  940. EmissionDirection = EmissionDirection,
  941. Enabled = Enabled,
  942. Lifetime = LifeTime,
  943. Rate = Rate,
  944. Rotation = Rotation,
  945. RotSpeed = RotSpeed,
  946. Speed = Speed,
  947. VelocitySpread = VelocitySpread
  948. })
  949. return fp
  950. end
  951. }
  952. }
  953. function RemoveOutlines(part)
  954. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  955. end
  956. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  957. local Part = Create("Part")({
  958. formFactor = FormFactor,
  959. Parent = Parent,
  960. Reflectance = Reflectance,
  961. Transparency = Transparency,
  962. CanCollide = false,
  963. Locked = true,
  964. BrickColor = BrickColor.new(tostring(BColor)),
  965. Name = Name,
  966. Size = Size,
  967. Material = Material
  968. })
  969. RemoveOutlines(Part)
  970. return Part
  971. end
  972. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  973. local Msh = Create(Mesh)({
  974. Parent = Part,
  975. Offset = OffSet,
  976. Scale = Scale
  977. })
  978. if Mesh == "SpecialMesh" then
  979. Msh.MeshType = MeshType
  980. Msh.MeshId = MeshId
  981. end
  982. return Msh
  983. end
  984. function CreateWeld(Parent, Part0, Part1, C0, C1)
  985. local Weld = Create("Weld")({
  986. Parent = Parent,
  987. Part0 = Part0,
  988. Part1 = Part1,
  989. C0 = C0,
  990. C1 = C1
  991. })
  992. return Weld
  993. end
  994.  
  995.  
  996. -------------------------------------------------------
  997. --Start Effect Function--
  998. -------------------------------------------------------
  999. EffectModel = Instance.new("Model", char)
  1000. Effects = {
  1001. Block = {
  1002. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1003. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1004. prt.Anchored = true
  1005. prt.CFrame = cframe
  1006. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1007. game:GetService("Debris"):AddItem(prt, 10)
  1008. if Type == 1 or Type == nil then
  1009. table.insert(Effects, {
  1010. prt,
  1011. "Block1",
  1012. delay,
  1013. x3,
  1014. y3,
  1015. z3,
  1016. msh
  1017. })
  1018. elseif Type == 2 then
  1019. table.insert(Effects, {
  1020. prt,
  1021. "Block2",
  1022. delay,
  1023. x3,
  1024. y3,
  1025. z3,
  1026. msh
  1027. })
  1028. else
  1029. table.insert(Effects, {
  1030. prt,
  1031. "Block3",
  1032. delay,
  1033. x3,
  1034. y3,
  1035. z3,
  1036. msh
  1037. })
  1038. end
  1039. end
  1040. },
  1041. Sphere = {
  1042. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1043. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1044. prt.Anchored = true
  1045. prt.CFrame = cframe
  1046. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1047. game:GetService("Debris"):AddItem(prt, 10)
  1048. table.insert(Effects, {
  1049. prt,
  1050. "Cylinder",
  1051. delay,
  1052. x3,
  1053. y3,
  1054. z3,
  1055. msh
  1056. })
  1057. end
  1058. },
  1059. Cylinder = {
  1060. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1061. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1062. prt.Anchored = true
  1063. prt.CFrame = cframe
  1064. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1065. game:GetService("Debris"):AddItem(prt, 10)
  1066. table.insert(Effects, {
  1067. prt,
  1068. "Cylinder",
  1069. delay,
  1070. x3,
  1071. y3,
  1072. z3,
  1073. msh
  1074. })
  1075. end
  1076. },
  1077. Wave = {
  1078. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1079. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1080. prt.Anchored = true
  1081. prt.CFrame = cframe
  1082. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1083. game:GetService("Debris"):AddItem(prt, 10)
  1084. table.insert(Effects, {
  1085. prt,
  1086. "Cylinder",
  1087. delay,
  1088. x3 / 60,
  1089. y3 / 60,
  1090. z3 / 60,
  1091. msh
  1092. })
  1093. end
  1094. },
  1095. Ring = {
  1096. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1097. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1098. prt.Anchored = true
  1099. prt.CFrame = cframe
  1100. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1101. game:GetService("Debris"):AddItem(prt, 10)
  1102. table.insert(Effects, {
  1103. prt,
  1104. "Cylinder",
  1105. delay,
  1106. x3,
  1107. y3,
  1108. z3,
  1109. msh
  1110. })
  1111. end
  1112. },
  1113. Break = {
  1114. Create = function(brickcolor, cframe, x1, y1, z1)
  1115. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1116. prt.Anchored = true
  1117. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1118. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1119. local num = math.random(10, 50) / 1000
  1120. game:GetService("Debris"):AddItem(prt, 10)
  1121. table.insert(Effects, {
  1122. prt,
  1123. "Shatter",
  1124. num,
  1125. prt.CFrame,
  1126. math.random() - math.random(),
  1127. 0,
  1128. math.random(50, 100) / 100
  1129. })
  1130. end
  1131. },
  1132. Spiral = {
  1133. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1134. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1135. prt.Anchored = true
  1136. prt.CFrame = cframe
  1137. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1138. game:GetService("Debris"):AddItem(prt, 10)
  1139. table.insert(Effects, {
  1140. prt,
  1141. "Cylinder",
  1142. delay,
  1143. x3,
  1144. y3,
  1145. z3,
  1146. msh
  1147. })
  1148. end
  1149. },
  1150. Push = {
  1151. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1152. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1153. prt.Anchored = true
  1154. prt.CFrame = cframe
  1155. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1156. game:GetService("Debris"):AddItem(prt, 10)
  1157. table.insert(Effects, {
  1158. prt,
  1159. "Cylinder",
  1160. delay,
  1161. x3,
  1162. y3,
  1163. z3,
  1164. msh
  1165. })
  1166. end
  1167. }
  1168. }
  1169. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1170. local fp = IT("Part")
  1171. fp.formFactor = formfactor
  1172. fp.Parent = parent
  1173. fp.Reflectance = reflectance
  1174. fp.Transparency = transparency
  1175. fp.CanCollide = false
  1176. fp.Locked = true
  1177. fp.BrickColor = brickcolor
  1178. fp.Name = name
  1179. fp.Size = size
  1180. fp.Position = tors.Position
  1181. RemoveOutlines(fp)
  1182. fp.Material = "SmoothPlastic"
  1183. fp:BreakJoints()
  1184. return fp
  1185. end
  1186.  
  1187. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1188. local mesh = IT(Mesh)
  1189. mesh.Parent = part
  1190. if Mesh == "SpecialMesh" then
  1191. mesh.MeshType = meshtype
  1192. if meshid ~= "nil" then
  1193. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1194. end
  1195. end
  1196. mesh.Offset = offset
  1197. mesh.Scale = scale
  1198. return mesh
  1199. end
  1200.  
  1201. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1202. local type = type
  1203. local rng = Instance.new("Part", char)
  1204. rng.Anchored = true
  1205. rng.BrickColor = color
  1206. rng.CanCollide = false
  1207. rng.FormFactor = 3
  1208. rng.Name = "Ring"
  1209. rng.Material = "Neon"
  1210. rng.Size = Vector3.new(1, 1, 1)
  1211. rng.Transparency = 0
  1212. rng.TopSurface = 0
  1213. rng.BottomSurface = 0
  1214. rng.CFrame = pos
  1215. local rngm = Instance.new("SpecialMesh", rng)
  1216. rngm.MeshType = MType
  1217. rngm.Scale = scale
  1218. local scaler2 = 1
  1219. if type == "Add" then
  1220. scaler2 = 1 * value
  1221. elseif type == "Divide" then
  1222. scaler2 = 1 / value
  1223. end
  1224. coroutine.resume(coroutine.create(function()
  1225. for i = 0, 10 / bonuspeed, 0.1 do
  1226. swait()
  1227. if type == "Add" then
  1228. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1229. elseif type == "Divide" then
  1230. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1231. end
  1232. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1233. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1234. end
  1235. rng:Destroy()
  1236. end))
  1237. end
  1238.  
  1239. function Eviscerate(dude)
  1240. if dude.Name ~= char then
  1241. local bgf = IT("BodyGyro", dude.Head)
  1242. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1243. local val = IT("BoolValue", dude)
  1244. val.Name = "IsHit"
  1245. local ds = coroutine.wrap(function()
  1246. dude:WaitForChild("Head"):BreakJoints()
  1247. wait(0.5)
  1248. target = nil
  1249. coroutine.resume(coroutine.create(function()
  1250. for i, v in pairs(dude:GetChildren()) do
  1251. if v:IsA("Accessory") then
  1252. v:Destroy()
  1253. end
  1254. if v:IsA("Humanoid") then
  1255. v:Destroy()
  1256. end
  1257. if v:IsA("CharacterMesh") then
  1258. v:Destroy()
  1259. end
  1260. if v:IsA("Model") then
  1261. v:Destroy()
  1262. end
  1263. if v:IsA("Part") or v:IsA("MeshPart") then
  1264. for x, o in pairs(v:GetChildren()) do
  1265. if o:IsA("Decal") then
  1266. o:Destroy()
  1267. end
  1268. end
  1269. coroutine.resume(coroutine.create(function()
  1270. v.Material = "Neon"
  1271. v.CanCollide = false
  1272. local PartEmmit1 = IT("ParticleEmitter", v)
  1273. PartEmmit1.LightEmission = 1
  1274. PartEmmit1.Texture = "rbxassetid://284205403"
  1275. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1276. PartEmmit1.Rate = 150
  1277. PartEmmit1.Lifetime = NumberRange.new(1)
  1278. PartEmmit1.Size = NumberSequence.new({
  1279. NumberSequenceKeypoint.new(0, 0.75, 0),
  1280. NumberSequenceKeypoint.new(1, 0, 0)
  1281. })
  1282. PartEmmit1.Transparency = NumberSequence.new({
  1283. NumberSequenceKeypoint.new(0, 0, 0),
  1284. NumberSequenceKeypoint.new(1, 1, 0)
  1285. })
  1286. PartEmmit1.Speed = NumberRange.new(0, 0)
  1287. PartEmmit1.VelocitySpread = 30000
  1288. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1289. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1290. local BodPoss = IT("BodyPosition", v)
  1291. BodPoss.P = 3000
  1292. BodPoss.D = 1000
  1293. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1294. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1295. v.Color = maincolor.Color
  1296. coroutine.resume(coroutine.create(function()
  1297. for i = 0, 49 do
  1298. swait(1)
  1299. v.Transparency = v.Transparency + 0.08
  1300. end
  1301. wait(0.5)
  1302. PartEmmit1.Enabled = false
  1303. wait(3)
  1304. v:Destroy()
  1305. dude:Destroy()
  1306. end))
  1307. end))
  1308. end
  1309. end
  1310. end))
  1311. end)
  1312. ds()
  1313. end
  1314. end
  1315.  
  1316. function FindNearestHead(Position, Distance, SinglePlayer)
  1317. if SinglePlayer then
  1318. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1319. end
  1320. local List = {}
  1321. for i, v in pairs(workspace:GetChildren()) do
  1322. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1323. table.insert(List, v)
  1324. end
  1325. end
  1326. return List
  1327. end
  1328.  
  1329. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1330. local type = type
  1331. local rng = Instance.new("Part", char)
  1332. rng.Anchored = true
  1333. rng.BrickColor = color
  1334. rng.CanCollide = false
  1335. rng.FormFactor = 3
  1336. rng.Name = "Ring"
  1337. rng.Material = "Neon"
  1338. rng.Size = Vector3.new(1, 1, 1)
  1339. rng.Transparency = 0
  1340. rng.TopSurface = 0
  1341. rng.BottomSurface = 0
  1342. rng.CFrame = pos
  1343. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1344. local rngm = Instance.new("SpecialMesh", rng)
  1345. rngm.MeshType = MType
  1346. rngm.Scale = Vector3.new(x1, y1, z1)
  1347. local scaler2 = 1
  1348. local speeder = FastSpeed
  1349. if type == "Add" then
  1350. scaler2 = 1 * value
  1351. elseif type == "Divide" then
  1352. scaler2 = 1 / value
  1353. end
  1354. coroutine.resume(coroutine.create(function()
  1355. for i = 0, 10 / bonuspeed, 0.1 do
  1356. swait()
  1357. if type == "Add" then
  1358. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1359. elseif type == "Divide" then
  1360. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1361. end
  1362. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1363. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1364. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1365. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1366. end
  1367. rng:Destroy()
  1368. end))
  1369. end
  1370.  
  1371. function SoulSteal(dude)
  1372. if dude.Name ~= char then
  1373. local bgf = IT("BodyGyro", dude.Head)
  1374. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1375. local val = IT("BoolValue", dude)
  1376. val.Name = "IsHit"
  1377. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1378. local soulst = coroutine.wrap(function()
  1379. local soul = Instance.new("Part",dude)
  1380. soul.Size = Vector3.new(1,1,1)
  1381. soul.CanCollide = false
  1382. soul.Anchored = false
  1383. soul.Position = torso.Position
  1384. soul.Transparency = 1
  1385. local PartEmmit1 = IT("ParticleEmitter", soul)
  1386. PartEmmit1.LightEmission = 1
  1387. PartEmmit1.Texture = "rbxassetid://569507414"
  1388. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1389. PartEmmit1.Rate = 250
  1390. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1391. PartEmmit1.Size = NumberSequence.new({
  1392. NumberSequenceKeypoint.new(0, 1, 0),
  1393. NumberSequenceKeypoint.new(1, 0, 0)
  1394. })
  1395. PartEmmit1.Transparency = NumberSequence.new({
  1396. NumberSequenceKeypoint.new(0, 0, 0),
  1397. NumberSequenceKeypoint.new(1, 1, 0)
  1398. })
  1399. PartEmmit1.Speed = NumberRange.new(0, 0)
  1400. PartEmmit1.VelocitySpread = 30000
  1401. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1402. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1403. local BodPoss = IT("BodyPosition", soul)
  1404. BodPoss.P = 3000
  1405. BodPoss.D = 1000
  1406. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1407. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1408. wait(1.6)
  1409. soul.Touched:connect(function(hit)
  1410. if hit.Parent == char then
  1411. soul:Destroy()
  1412. end
  1413. end)
  1414. wait(1.2)
  1415. while soul do
  1416. swait()
  1417. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1418. BodPoss.Position = tors.Position
  1419. end
  1420. end)
  1421. soulst()
  1422. end
  1423. end
  1424.  
  1425.  
  1426.  
  1427.  
  1428. --killer's effects
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1435. local Part = Create("Part"){
  1436. Parent = Parent,
  1437. Reflectance = Reflectance,
  1438. Transparency = Transparency,
  1439. CanCollide = false,
  1440. Locked = true,
  1441. BrickColor = BrickColor.new(tostring(BColor)),
  1442. Name = Name,
  1443. Size = Size,
  1444. Material = Material,
  1445. }
  1446. RemoveOutlines(Part)
  1447. return Part
  1448. end
  1449.  
  1450. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1451. local Msh = Create(Mesh){
  1452. Parent = Part,
  1453. Offset = OffSet,
  1454. Scale = Scale,
  1455. }
  1456. if Mesh == "SpecialMesh" then
  1457. Msh.MeshType = MeshType
  1458. Msh.MeshId = MeshId
  1459. end
  1460. return Msh
  1461. end
  1462.  
  1463.  
  1464.  
  1465. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1466. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1467. prt.Anchored = true
  1468. prt.CFrame = cframe
  1469. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1470. game:GetService("Debris"):AddItem(prt, 10)
  1471. if Type == 1 or Type == nil then
  1472. table.insert(Effects, {
  1473. prt,
  1474. "Block1",
  1475. delay,
  1476. x3,
  1477. y3,
  1478. z3,
  1479. msh
  1480. })
  1481. elseif Type == 2 then
  1482. table.insert(Effects, {
  1483. prt,
  1484. "Block2",
  1485. delay,
  1486. x3,
  1487. y3,
  1488. z3,
  1489. msh
  1490. })
  1491. end
  1492. end
  1493.  
  1494. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1495. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1496. prt.Anchored = true
  1497. prt.CFrame = cframe
  1498. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1499. game:GetService("Debris"):AddItem(prt, 10)
  1500. table.insert(Effects, {
  1501. prt,
  1502. "Cylinder",
  1503. delay,
  1504. x3,
  1505. y3,
  1506. z3,
  1507. msh
  1508. })
  1509. end
  1510.  
  1511. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1512. local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1513. prt.Anchored=true
  1514. prt.CFrame=cframe
  1515. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1516. game:GetService("Debris"):AddItem(prt,2)
  1517. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1518. for i=0,1,delay do
  1519. swait()
  1520. Part.Transparency=i
  1521. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1522. end
  1523. Part.Parent=nil
  1524. end),prt,msh,(math.random(0,1)+math.random())/5)
  1525. end
  1526.  
  1527. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1528. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1529. prt.Anchored = true
  1530. prt.CFrame = cframe
  1531. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1532. game:GetService("Debris"):AddItem(prt, 10)
  1533. table.insert(Effects, {
  1534. prt,
  1535. "Cylinder",
  1536. delay,
  1537. x3,
  1538. y3,
  1539. z3,
  1540. msh
  1541. })
  1542. end
  1543.  
  1544. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1545. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1546. prt.Anchored = true
  1547. prt.CFrame = cframe
  1548. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1549. game:GetService("Debris"):AddItem(prt, 10)
  1550. table.insert(Effects, {
  1551. prt,
  1552. "Cylinder",
  1553. delay,
  1554. x3,
  1555. y3,
  1556. z3,
  1557. msh
  1558. })
  1559. end
  1560.  
  1561. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1562. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1563. prt.Anchored = true
  1564. prt.CFrame = cframe
  1565. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1566. game:GetService("Debris"):AddItem(prt, 10)
  1567. table.insert(Effects, {
  1568. prt,
  1569. "Cylinder",
  1570. delay,
  1571. x3,
  1572. y3,
  1573. z3,
  1574. msh
  1575. })
  1576. end
  1577.  
  1578.  
  1579. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1580. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1581. prt.Anchored = true
  1582. prt.CFrame = cframe
  1583. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1584. game:GetService("Debris"):AddItem(prt, 10)
  1585. table.insert(Effects, {
  1586. prt,
  1587. "Cylinder",
  1588. delay,
  1589. x3,
  1590. y3,
  1591. z3,
  1592. msh
  1593. })
  1594. end
  1595.  
  1596. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1597. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1598. prt.Anchored = true
  1599. prt.CFrame = cframe
  1600. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1601. game:GetService("Debris"):AddItem(prt, 10)
  1602. table.insert(Effects, {
  1603. prt,
  1604. "Cylinder",
  1605. delay,
  1606. x3,
  1607. y3,
  1608. z3,
  1609. msh
  1610. })
  1611. end
  1612.  
  1613. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1614. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1615. prt.Anchored = true
  1616. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1617. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1618. local num = math.random(10, 50) / 1000
  1619. game:GetService("Debris"):AddItem(prt, 10)
  1620. table.insert(Effects, {
  1621. prt,
  1622. "Shatter",
  1623. num,
  1624. prt.CFrame,
  1625. math.random() - math.random(),
  1626. 0,
  1627. math.random(50, 100) / 100
  1628. })
  1629. end
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635. so = function(id,par,vol,pit)
  1636. coroutine.resume(coroutine.create(function()
  1637. local sou = Instance.new("Sound",par or workspace)
  1638. sou.Volume=vol
  1639. sou.Pitch=pit or 1
  1640. sou.SoundId=id
  1641. sou:play()
  1642. game:GetService("Debris"):AddItem(sou,8)
  1643. end))
  1644. end
  1645.  
  1646.  
  1647. --end of killer's effects
  1648.  
  1649.  
  1650. function FaceMouse()
  1651. local Cam = workspace.CurrentCamera
  1652. return {
  1653. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1654. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1655. }
  1656. end
  1657. -------------------------------------------------------
  1658. --End Effect Function--
  1659. -------------------------------------------------------
  1660. function Cso(ID, PARENT, VOLUME, PITCH)
  1661. local NSound = nil
  1662. coroutine.resume(coroutine.create(function()
  1663. NSound = IT("Sound", PARENT)
  1664. NSound.Volume = VOLUME
  1665. NSound.Pitch = PITCH
  1666. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1667. swait()
  1668. NSound:play()
  1669. game:GetService("Debris"):AddItem(NSound, 10)
  1670. end))
  1671. return NSound
  1672. end
  1673. function CameraEnshaking(Length, Intensity)
  1674. coroutine.resume(coroutine.create(function()
  1675. local intensity = 1 * Intensity
  1676. local rotM = 0.01 * Intensity
  1677. for i = 0, Length, 0.1 do
  1678. swait()
  1679. intensity = intensity - 0.05 * Intensity / Length
  1680. rotM = rotM - 5.0E-4 * Intensity / Length
  1681. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1682. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1683. end
  1684. hum.CameraOffset = Vector3.new(0, 0, 0)
  1685. end))
  1686. end
  1687. -------------------------------------------------------
  1688. --End Important Functions--
  1689. -------------------------------------------------------
  1690.  
  1691.  
  1692. -------------------------------------------------------
  1693. --Start Customization--
  1694. -------------------------------------------------------
  1695. local Player_Size = 1
  1696. if Player_Size ~= 1 then
  1697. root.Size = root.Size * Player_Size
  1698. tors.Size = tors.Size * Player_Size
  1699. hed.Size = hed.Size * Player_Size
  1700. ra.Size = ra.Size * Player_Size
  1701. la.Size = la.Size * Player_Size
  1702. rl.Size = rl.Size * Player_Size
  1703. ll.Size = ll.Size * Player_Size
  1704. ----------------------------------------------------------------------------------
  1705. rootj.Parent = root
  1706. neck.Parent = tors
  1707. RW.Parent = tors
  1708. LW.Parent = tors
  1709. RH.Parent = tors
  1710. LH.Parent = tors
  1711. ----------------------------------------------------------------------------------
  1712. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1713. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1714. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1715. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1716. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1717. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1718. ----------------------------------------------------------------------------------
  1719. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1720. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1721. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1722. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1723. --hat.Parent = Character
  1724. end
  1725. ----------------------------------------------------------------------------------
  1726. local SONG = 900817147 --900817147
  1727. local SONG2 = 0
  1728. local Music = Instance.new("Sound",tors)
  1729. Music.Volume = 0.7
  1730. Music.Looped = true
  1731. Music.Pitch = 1 --Pitcher
  1732. ----------------------------------------------------------------------------------
  1733. local equipped = false
  1734. local idle = 0
  1735. local change = 1
  1736. local val = 0
  1737. local toim = 0
  1738. local idleanim = 0.4
  1739. local sine = 0
  1740. local Sit = 1
  1741. local attacktype = 1
  1742. local attackdebounce = false
  1743. local euler = CFrame.fromEulerAnglesXYZ
  1744. local cankick = false
  1745. ----------------------------------------------------------------------------------
  1746. hum.WalkSpeed = 8
  1747. hum.JumpPower = 57
  1748. --[[
  1749. local ROBLOXIDLEANIMATION = IT("Animation")
  1750. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1751. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1752. ]]
  1753. local ANIMATOR = hum.Animator
  1754. local ANIMATE = char.Animate
  1755. ANIMATE.Parent = nil
  1756. ANIMATOR.Parent = nil
  1757. -------------------------------------------------------
  1758. --End Customization--
  1759. -------------------------------------------------------
  1760.  
  1761.  
  1762. -------------------------------------------------------
  1763. --Start Attacks N Stuff--
  1764. -------------------------------------------------------
  1765.  
  1766. --pls be proud mak i did my best
  1767.  
  1768.  
  1769.  
  1770. function attackone()
  1771.  
  1772. attack = true
  1773.  
  1774. for i = 0, 1.35, 0.1 do
  1775. swait()
  1776. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
  1777. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
  1778. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
  1779. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
  1780. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1781. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1782. end
  1783.  
  1784. so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
  1785.  
  1786.  
  1787. con5=ra.Touched:connect(function(hit)
  1788. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1789. if attackdebounce == false then
  1790. attackdebounce = true
  1791.  
  1792. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  1793.  
  1794. so("http://roblox.com/asset/?id=636494529",ra,2,1)
  1795.  
  1796. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1797. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1798. SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1799.  
  1800.  
  1801. coroutine.resume(coroutine.create(function()
  1802. for i = 0,1,0.1 do
  1803. swait()
  1804. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1805. end
  1806. end))
  1807.  
  1808.  
  1809. wait(0.34)
  1810. attackdebounce = false
  1811.  
  1812. end
  1813. end
  1814. end)
  1815. for i = 0, 1.12, 0.1 do
  1816. swait()
  1817. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  1818. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  1819. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
  1820. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
  1821. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  1822. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  1823. end
  1824.  
  1825. con5:Disconnect()
  1826. attack = false
  1827.  
  1828. end
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841. function attacktwo()
  1842.  
  1843. attack = true
  1844.  
  1845. for i = 0, 1.35, 0.1 do
  1846. swait()
  1847. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  1848. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1849. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  1850. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
  1851. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1852. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1853. end
  1854.  
  1855. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  1856.  
  1857.  
  1858. con5=la.Touched:connect(function(hit)
  1859. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1860. if attackdebounce == false then
  1861. attackdebounce = true
  1862.  
  1863. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  1864.  
  1865. so("http://roblox.com/asset/?id=636494529",la,2,1)
  1866.  
  1867. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1868. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1869. SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1870.  
  1871.  
  1872. coroutine.resume(coroutine.create(function()
  1873. for i = 0,1,0.1 do
  1874. swait()
  1875. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1876. end
  1877. end))
  1878.  
  1879.  
  1880. wait(0.34)
  1881. attackdebounce = false
  1882.  
  1883. end
  1884. end
  1885. end)
  1886.  
  1887.  
  1888.  
  1889.  
  1890. for i = 0, 1.12, 0.1 do
  1891. swait()
  1892. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  1893. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  1894. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
  1895. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
  1896. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  1897. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  1898. end
  1899.  
  1900. con5:Disconnect()
  1901. attack = false
  1902.  
  1903. end
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909. function attackthree()
  1910.  
  1911. attack = true
  1912.  
  1913.  
  1914. for i = 0, 1.14, 0.1 do
  1915. swait()
  1916. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  1917. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1918. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  1919. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
  1920. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1921. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  1922. end
  1923.  
  1924. con5=hum.Touched:connect(function(hit)
  1925. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1926. if attackdebounce == false then
  1927. attackdebounce = true
  1928.  
  1929. kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
  1930. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  1931.  
  1932. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1933. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1934. SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1935.  
  1936.  
  1937. coroutine.resume(coroutine.create(function()
  1938. for i = 0,1,0.1 do
  1939. swait()
  1940. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1941. end
  1942. end))
  1943.  
  1944.  
  1945. wait(0.34)
  1946. attackdebounce = false
  1947.  
  1948. end
  1949. end
  1950. end)
  1951.  
  1952. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  1953. for i = 0, 9.14, 0.3 do
  1954. swait()
  1955. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  1956. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
  1957. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  1958. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  1959. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  1960. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  1961. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  1962. end
  1963. attack = false
  1964. con5:disconnect()
  1965. end
  1966.  
  1967.  
  1968.  
  1969. function attackfour()
  1970.  
  1971. attack = true
  1972. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  1973. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1974. for i = 0, 5.14, 0.1 do
  1975. swait()
  1976. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  1977. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
  1978. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  1979. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
  1980. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
  1981. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
  1982. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
  1983. end
  1984. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  1985. local velo=Instance.new("BodyVelocity")
  1986. velo.velocity=vt(0,25,0)
  1987. velo.P=8000
  1988. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  1989. velo.Parent=root
  1990. game:GetService("Debris"):AddItem(velo,0.7)
  1991.  
  1992.  
  1993.  
  1994. con5=hum.Touched:connect(function(hit)
  1995. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1996. if attackdebounce == false then
  1997. attackdebounce = true
  1998. coroutine.resume(coroutine.create(function()
  1999. for i = 0,1.5,0.1 do
  2000. swait()
  2001. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2002. end
  2003. end))
  2004. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2005. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2006. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2007. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2008. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2009.  
  2010.  
  2011.  
  2012. coroutine.resume(coroutine.create(function()
  2013. for i = 0,1,0.1 do
  2014. swait()
  2015. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
  2016. end
  2017. end))
  2018.  
  2019.  
  2020. wait(0.14)
  2021. attackdebounce = false
  2022. end
  2023. end
  2024. end)
  2025.  
  2026. for i = 0, 5.11, 0.15 do
  2027. swait()
  2028. BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2029. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
  2030. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2031. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2032. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2033. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2034. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2035. end
  2036.  
  2037.  
  2038. attack = false
  2039. con5:disconnect()
  2040. end
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046. local cooldown = false
  2047. function quickkick()
  2048. attack = true
  2049.  
  2050.  
  2051. con5=hum.Touched:connect(function(hit)
  2052. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2053. if attackdebounce == false then
  2054. attackdebounce = true
  2055.  
  2056. coroutine.resume(coroutine.create(function()
  2057. for i = 0,1.5,0.1 do
  2058. swait()
  2059. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2060. end
  2061. end))
  2062.  
  2063. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2064. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2065. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2066. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2067. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2068.  
  2069.  
  2070.  
  2071. coroutine.resume(coroutine.create(function()
  2072. for i = 0,1,0.1 do
  2073. swait()
  2074. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
  2075. end
  2076. end))
  2077.  
  2078.  
  2079. wait(0.08)
  2080. attackdebounce = false
  2081. end
  2082. end
  2083. end)
  2084.  
  2085. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2086. for i = 0, 11.14, 0.3 do
  2087. swait()
  2088. root.Velocity = root.CFrame.lookVector * 30
  2089. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2090. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
  2091. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2092. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2093. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2094. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2095. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2096. end
  2097. attack = false
  2098. con5:disconnect()
  2099. end
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108. function Taunt()
  2109. attack = true
  2110. hum.WalkSpeed = 0
  2111. Cso("1535995570", hed, 8.45, 1)
  2112. for i = 0, 8.2, 0.1 do
  2113. swait()
  2114. hum.WalkSpeed = 0
  2115. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2116. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
  2117. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2118. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2119. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  2120. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  2121. end
  2122. attack = false
  2123. hum.WalkSpeed = 8
  2124. end
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132. function Hyperkickcombo()
  2133.  
  2134. attack = true
  2135. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2136. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2137. for i = 0, 7.14, 0.1 do
  2138. swait()
  2139. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2140. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2141. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2142. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2143. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
  2144. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2145. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2146. end
  2147. local Cracking = Cso("292536356", tors, 10, 1)
  2148. for i = 0, 7.14, 0.1 do
  2149. swait()
  2150. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2151. Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
  2152. WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
  2153. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2154. SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2155. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2156. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  2157. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
  2158. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
  2159. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2160. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2161. end
  2162. Cracking.Playing = false
  2163. so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
  2164. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2165. SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  2166. local velo=Instance.new("BodyVelocity")
  2167. velo.velocity=vt(0,27,0)
  2168. velo.P=11000
  2169. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2170. velo.Parent=root
  2171. game:GetService("Debris"):AddItem(velo,1.24)
  2172.  
  2173.  
  2174.  
  2175. con5=hum.Touched:connect(function(hit)
  2176. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2177. if attackdebounce == false then
  2178. attackdebounce = true
  2179. coroutine.resume(coroutine.create(function()
  2180. for i = 0,1.5,0.1 do
  2181. swait()
  2182. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
  2183. end
  2184. end))
  2185. kDamagefunc(hit,2,3,math.random(0,0),"Normal",root,0,1)
  2186. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2187. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2188. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2189. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2190.  
  2191.  
  2192.  
  2193. coroutine.resume(coroutine.create(function()
  2194. for i = 0,1,0.1 do
  2195. swait()
  2196. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2197. end
  2198. end))
  2199.  
  2200.  
  2201. wait(0.09)
  2202. attackdebounce = false
  2203. end
  2204. end
  2205. end)
  2206.  
  2207. for i = 0, 9.11, 0.2 do
  2208. swait()
  2209. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2210. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
  2211. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2212. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2213. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2214. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2215. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2216. end
  2217.  
  2218.  
  2219.  
  2220.  
  2221. con5:disconnect()
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228. con5=hum.Touched:connect(function(hit)
  2229. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2230. if attackdebounce == false then
  2231. attackdebounce = true
  2232. coroutine.resume(coroutine.create(function()
  2233. for i = 0,1.5,0.1 do
  2234. swait()
  2235. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2236. end
  2237. end))
  2238. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2239.  
  2240. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2241. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2242. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2243. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2244.  
  2245.  
  2246.  
  2247. coroutine.resume(coroutine.create(function()
  2248. for i = 0,1,0.1 do
  2249. swait()
  2250. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2251. end
  2252. end))
  2253.  
  2254.  
  2255. wait(0.08)
  2256. attackdebounce = false
  2257. end
  2258. end
  2259. end)
  2260.  
  2261.  
  2262.  
  2263. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2264. for i = 0, 9.14, 0.3 do
  2265. swait()
  2266. root.Velocity = root.CFrame.lookVector * 20
  2267. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2268. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
  2269. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2271. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2272. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2273. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2274. end
  2275.  
  2276.  
  2277.  
  2278. con5:disconnect()
  2279.  
  2280.  
  2281.  
  2282. con5=hum.Touched:connect(function(hit)
  2283. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2284. if attackdebounce == false then
  2285. attackdebounce = true
  2286. coroutine.resume(coroutine.create(function()
  2287. for i = 0,1.5,0.1 do
  2288. swait()
  2289. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2290. end
  2291. end))
  2292. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2293. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2294. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2295. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2296. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2297.  
  2298.  
  2299.  
  2300. coroutine.resume(coroutine.create(function()
  2301. for i = 0,1,0.1 do
  2302. swait()
  2303. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2304. end
  2305. end))
  2306.  
  2307.  
  2308. wait(0.05)
  2309. attackdebounce = false
  2310. end
  2311. end
  2312. end)
  2313.  
  2314.  
  2315. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2316. for i = 0, 15.14, 0.32 do
  2317. swait()
  2318. root.Velocity = root.CFrame.lookVector * 20
  2319. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2320. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-50*i), math.rad(8+20*i), math.rad(0-90*i)), 0.35)
  2321. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2322. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2323. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2324. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2325. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
  2326. end
  2327.  
  2328. attack = false
  2329. con5:disconnect()
  2330.  
  2331. end
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337. local ultra = false
  2338.  
  2339. function Galekicks()
  2340.  
  2341. attack = true
  2342. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2343. for i = 0, 1.65, 0.1 do
  2344. swait()
  2345. root.Velocity = root.CFrame.lookVector * 0
  2346. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2347. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2348. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2349. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2350. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2351. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2352. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2353. end
  2354.  
  2355.  
  2356. for i = 1, 17 do
  2357.  
  2358. con5=hum.Touched:connect(function(hit)
  2359. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2360. if attackdebounce == false then
  2361. attackdebounce = true
  2362. coroutine.resume(coroutine.create(function()
  2363. for i = 0,1.5,0.1 do
  2364. swait()
  2365. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2366. end
  2367. end))
  2368. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2369. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2370. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2371. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2372. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2373.  
  2374.  
  2375.  
  2376. coroutine.resume(coroutine.create(function()
  2377. for i = 0,1,0.1 do
  2378. swait()
  2379. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2380. end
  2381. end))
  2382.  
  2383.  
  2384. wait(0.05)
  2385. attackdebounce = false
  2386. end
  2387. end
  2388. end)
  2389.  
  2390. for i = 0, .1, 0.2 do
  2391. swait()
  2392. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2393. root.Velocity = root.CFrame.lookVector * 10
  2394. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  2395. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2396. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  2397. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  2398. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  2399. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2400. end
  2401.  
  2402. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2403.  
  2404. for i = 0, 0.4, 0.2 do
  2405. swait()
  2406. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2407. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2408. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2409. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2410. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2411. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2412. end
  2413. con5:disconnect()
  2414. end
  2415.  
  2416.  
  2417. u = mouse.KeyDown:connect(function(key)
  2418. if key == 'r' and combohits >= 150 then
  2419. ultra = true
  2420. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
  2421. end
  2422. end)
  2423. wait(0.3)
  2424. if ultra == true then
  2425. combohits = 0
  2426. wait(0.1)
  2427. for i = 0, 1.65, 0.1 do
  2428. swait()
  2429. root.Velocity = root.CFrame.lookVector * 0
  2430. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2431. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2432. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2433. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2434. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2435. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2436. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2437. end
  2438.  
  2439.  
  2440. so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
  2441.  
  2442. for i = 1, 65 do
  2443. --Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
  2444. con5=hum.Touched:connect(function(hit)
  2445. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2446. if attackdebounce == false then
  2447. attackdebounce = true
  2448. coroutine.resume(coroutine.create(function()
  2449. for i = 0,1.5,0.1 do
  2450. swait()
  2451. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2452. end
  2453. end))
  2454. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2455.  
  2456.  
  2457.  
  2458.  
  2459. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2460. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2461. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2462. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2463.  
  2464.  
  2465.  
  2466. coroutine.resume(coroutine.create(function()
  2467. for i = 0,1,0.1 do
  2468. swait()
  2469. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2470. end
  2471. end))
  2472.  
  2473.  
  2474. wait(0.05)
  2475. attackdebounce = false
  2476. end
  2477. end
  2478. end)
  2479.  
  2480. for i = 0, .03, 0.1 do
  2481. swait()
  2482. BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2483. root.Velocity = root.CFrame.lookVector * 10
  2484. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  2485. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2486. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  2487. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  2488. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  2489. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2490. end
  2491.  
  2492. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2493.  
  2494. for i = 0, 0.07, 0.1 do
  2495. swait()
  2496. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2497. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2498. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2499. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2500. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2501. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2502. end
  2503. con5:disconnect()
  2504. end
  2505.  
  2506. for i = 0, 1.65, 0.1 do
  2507. swait()
  2508. root.Velocity = root.CFrame.lookVector * 0
  2509. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2510. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2511. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2512. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2513. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2514. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2515. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2516. end
  2517.  
  2518. con5=hum.Touched:connect(function(hit)
  2519. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2520. if attackdebounce == false then
  2521. attackdebounce = true
  2522. coroutine.resume(coroutine.create(function()
  2523. for i = 0,1.5,0.1 do
  2524. swait()
  2525. --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2526. end
  2527. end))
  2528. kDamagefunc(hit, 1, 3, 0,"Normal",root,0,1)
  2529. so("http://roblox.com/asset/?id=636494529",rl,2,.63)
  2530. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2531. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2532. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2533.  
  2534.  
  2535. coroutine.resume(coroutine.create(function()
  2536. for i = 0,1,0.1 do
  2537. swait()
  2538. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2539. end
  2540. end))
  2541.  
  2542.  
  2543. wait(0.05)
  2544. attackdebounce = false
  2545. end
  2546. end
  2547. end)
  2548.  
  2549. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
  2550. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  2551.  
  2552. for i = 0, 2, 0.1 do
  2553. swait()
  2554. --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2555. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2556. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2557. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2558. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2559. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
  2560. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2561. end
  2562. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2563.  
  2564. wait(0.25)
  2565. con5:Disconnect()
  2566.  
  2567.  
  2568.  
  2569.  
  2570. con5=hum.Touched:connect(function(hit)
  2571. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2572. if attackdebounce == false then
  2573. attackdebounce = true
  2574.  
  2575. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2576. so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
  2577.  
  2578. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  2579. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  2580. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2581. SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2582. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
  2583. WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
  2584.  
  2585. coroutine.resume(coroutine.create(function()
  2586. for i = 0,1,0.1 do
  2587. swait()
  2588. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2589. end
  2590. end))
  2591.  
  2592. wait(0.06)
  2593. attackdebounce = false
  2594.  
  2595. end
  2596. end
  2597. end)
  2598.  
  2599. coroutine.resume(coroutine.create(function()
  2600. while ultra == true do
  2601. swait()
  2602. root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
  2603. end
  2604. end))
  2605.  
  2606.  
  2607. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2608. for i = 1,3 do
  2609. for i = 0, 9.14, 0.45 do
  2610. swait()
  2611. root.Velocity = root.CFrame.lookVector * 30
  2612. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2613. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
  2614. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2615. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2616. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2617. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2618. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2619. end
  2620. end
  2621.  
  2622.  
  2623. for i = 1,3 do
  2624. for i = 0, 11.14, 0.45 do
  2625. swait()
  2626. root.Velocity = root.CFrame.lookVector * 30
  2627. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2628. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
  2629. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2630. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2631. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2632. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
  2633. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2634. end
  2635.  
  2636.  
  2637.  
  2638. end
  2639. so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
  2640. con5:disconnect()
  2641.  
  2642.  
  2643. end -- combo hit end
  2644. attack = false
  2645. ultra = false
  2646. u:disconnect()
  2647.  
  2648. end
  2649.  
  2650.  
  2651.  
  2652.  
  2653. -------------------------------------------------------
  2654. --End Attacks N Stuff--
  2655. -------------------------------------------------------
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679. -------------------------------------------------------
  2680. --Start Animations--
  2681. -------------------------------------------------------
  2682. print("By Makhail07 and KillerDarkness0105")
  2683. print("Basic Animations by Makhail07")
  2684. print("Attack Animations by KillerDarkness0105")
  2685. print("This is pretty much our final script together")
  2686. print("--------------------------------")
  2687. print("Attacks")
  2688. print("E in air: Quick Kicks")
  2689. print("Left Mouse: 4 click combo")
  2690. print("F: Hyper Kicks")
  2691. print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
  2692. print("--------------------------------")
  2693. while true do
  2694. swait()
  2695. sine = sine + change
  2696. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2697. local velderp = root.Velocity.y
  2698. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2699.  
  2700. if hitfloor == nil then
  2701. cankick = true
  2702. else
  2703. cankick = false
  2704. end
  2705.  
  2706.  
  2707. if equipped == true or equipped == false then
  2708. if attack == false then
  2709. idle = idle + 1
  2710. else
  2711. idle = 0
  2712. end
  2713. if 1 < root.Velocity.y and hitfloor == nil then
  2714. Anim = "Jump"
  2715. if attack == false then
  2716. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2717. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2718. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  2719. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2720. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2721. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2722. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2723. end
  2724. elseif -1 > root.Velocity.y and hitfloor == nil then
  2725. Anim = "Fall"
  2726. if attack == false then
  2727. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2728. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2729. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  2730. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2731. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2732. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2733. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2734. end
  2735. elseif torvel < 1 and hitfloor ~= nil then
  2736. Anim = "Idle"
  2737. change = 1
  2738. if attack == false then
  2739. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2740. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
  2741. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
  2742. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
  2743. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
  2744. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  2745. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  2746. end
  2747. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  2748. Anim = "Walk"
  2749. change = 1
  2750. if attack == false then
  2751. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2752. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2753. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  2754. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2755. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2756. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  2757. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2758. end
  2759. elseif torvel >= 22 and hitfloor ~= nil then
  2760. Anim = "Sprint"
  2761. change = 1.35
  2762. if attack == false then
  2763. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2764. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2765. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  2766. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2767. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2768. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2769. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2770. end
  2771. end
  2772. end
  2773. Music.SoundId = "rbxassetid://"..SONG
  2774. Music.Looped = true
  2775. Music.Pitch = 1
  2776. Music.Volume = 0.7
  2777. Music.Parent = tors
  2778. Music:Resume()
  2779. if 0 < #Effects then
  2780. for e = 1, #Effects do
  2781. if Effects[e] ~= nil then
  2782. local Thing = Effects[e]
  2783. if Thing ~= nil then
  2784. local Part = Thing[1]
  2785. local Mode = Thing[2]
  2786. local Delay = Thing[3]
  2787. local IncX = Thing[4]
  2788. local IncY = Thing[5]
  2789. local IncZ = Thing[6]
  2790. if 1 >= Thing[1].Transparency then
  2791. if Thing[2] == "Block1" then
  2792. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2793. local Mesh = Thing[1].Mesh
  2794. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2795. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2796. elseif Thing[2] == "Block2" then
  2797. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2798. local Mesh = Thing[7]
  2799. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2800. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2801. elseif Thing[2] == "Block3" then
  2802. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2803. local Mesh = Thing[7]
  2804. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2805. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2806. elseif Thing[2] == "Cylinder" then
  2807. local Mesh = Thing[1].Mesh
  2808. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2809. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2810. elseif Thing[2] == "Blood" then
  2811. local Mesh = Thing[7]
  2812. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2813. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2814. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2815. elseif Thing[2] == "Elec" then
  2816. local Mesh = Thing[1].Mesh
  2817. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2818. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2819. elseif Thing[2] == "Disappear" then
  2820. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2821. elseif Thing[2] == "Shatter" then
  2822. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2823. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2824. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2825. Thing[6] = Thing[6] + Thing[5]
  2826. end
  2827. else
  2828. Part.Parent = nil
  2829. table.remove(Effects, e)
  2830. end
  2831. end
  2832. end
  2833. end
  2834. end
  2835. end
  2836. -------------------------------------------------------
  2837. --End Animations And Script--
  2838. -------------------------------------------------------
  2839. remote = Instance.new 'RemoteFunction';
  2840. remote.Parent = script;
  2841. remote.OnServerInvoke = function (player, request, ...)
  2842. if (player ~= owner) then
  2843. return error ('You cannot invoke this remote', 0);
  2844. end;
  2845.  
  2846. if (request == 1) then
  2847. local k = ...;
  2848. if attack == false then
  2849. if k == 't' then
  2850. Taunt()
  2851. elseif k == 'f' then
  2852. Hyperkickcombo()
  2853. elseif k == 'r' then
  2854. Galekicks()
  2855. elseif key == 'e' and attack == false and cankick == true and cooldown == false then
  2856. quickkick()
  2857. cooldown = true
  2858.  
  2859. coroutine.resume(coroutine.create(function()
  2860. wait(2)
  2861. cooldown = false
  2862. end))
  2863.  
  2864.  
  2865.  
  2866. end
  2867. end
  2868. end
  2869. if (request == 2) then
  2870. ---Click Attacks
  2871. if attack==false then
  2872. if attacktype==1 then
  2873. attack=true
  2874. attacktype=2
  2875. attackone()
  2876. elseif attacktype==2 then
  2877. attack=true
  2878. attacktype=3
  2879. attacktwo()
  2880. elseif attacktype==3 then
  2881. attack=true
  2882. attacktype=4
  2883. attackthree()
  2884. elseif attacktype==4 then
  2885. attack=true
  2886. attacktype=1
  2887. attackfour()
  2888. end
  2889. end
  2890. end;
  2891. if (request == 3) then
  2892. --Hopperbin Select Function
  2893. end
  2894. if (request == 4) then
  2895. --Hopperbin Deselect Function
  2896. end
  2897. end
  2898.  
  2899. remote.Name = 'ServerRemote';
  2900. function getMouseHit()
  2901. return remote:InvokeClient (owner, 1);
  2902. end;
  2903. ]==], owner.Character):WaitForChild 'ServerRemote';
  2904.  
  2905. mouse = owner:GetMouse();
  2906.  
  2907.  
  2908.  
  2909. mouse.KeyDown:connect(function(k)
  2910. k = k:lower()
  2911.  
  2912. remote:InvokeServer (1, k);
  2913. end)
  2914. mouse.Button1Down:connect(function()
  2915. remote:InvokeServer (2);
  2916. end)
  2917.  
  2918. remote.OnClientInvoke = function (request, ...)
  2919. if (request == 1) then
  2920. return mouse.Hit.p;
  2921. end;
  2922. end;
  2923.  
  2924.  
  2925.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement