Advertisement
Ephkyr

Baki 2.0

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