Advertisement
evanmf7

Oof Fighter v2

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