Advertisement
zed_isJayTheLionJR

Untitled

Mar 1st, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.08 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  50. local NEWMESH = IT(MESH)
  51. if MESH == "SpecialMesh" then
  52. NEWMESH.MeshType = MESHTYPE
  53. if MESHID ~= "nil" and MESHID ~= "" then
  54. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  55. end
  56. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  57. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  58. end
  59. end
  60. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  61. NEWMESH.Scale = SCALE
  62. NEWMESH.Parent = PARENT
  63. return NEWMESH
  64. end
  65.  
  66. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  67. local NEWPART = IT("Part")
  68. NEWPART.formFactor = FORMFACTOR
  69. NEWPART.Reflectance = REFLECTANCE
  70. NEWPART.Transparency = TRANSPARENCY
  71. NEWPART.CanCollide = false
  72. NEWPART.Locked = true
  73. NEWPART.Anchored = true
  74. if ANCHOR == false then
  75. NEWPART.Anchored = false
  76. end
  77. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  78. NEWPART.Name = NAME
  79. NEWPART.Size = SIZE
  80. NEWPART.Position = Torso.Position
  81. NEWPART.Material = MATERIAL
  82. NEWPART:BreakJoints()
  83. NEWPART.Parent = PARENT
  84. return NEWPART
  85. end
  86.  
  87. --//=================================\\
  88. --|| CUSTOMIZATION
  89. --\\=================================//
  90.  
  91. Player_Size = 1 --Size of the player.
  92. Animation_Speed = 3
  93. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  94.  
  95. local Speed = 16
  96. local Effects2 = {}
  97.  
  98. --//=================================\\
  99. --|| END OF CUSTOMIZATION
  100. --\\=================================//
  101.  
  102. local function weldBetween(a, b)
  103. local weldd = Instance.new("ManualWeld")
  104. weldd.Part0 = a
  105. weldd.Part1 = b
  106. weldd.C0 = CFrame.new()
  107. weldd.C1 = b.CFrame:inverse() * a.CFrame
  108. weldd.Parent = a
  109. return weldd
  110. end
  111.  
  112. --//=================================\\
  113. --|| USEFUL VALUES
  114. --\\=================================//
  115.  
  116. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  117. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  118. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  119. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  120. local CHANGEDEFENSE = 0
  121. local CHANGEDAMAGE = 0
  122. local CHANGEMOVEMENT = 0
  123. local ANIM = "Idle"
  124. local ATTACK = false
  125. local EQUIPPED = false
  126. local HOLD = false
  127. local COMBO = 1
  128. local COMBO2 = 1
  129. local Rooted = false
  130. local SINE = 0
  131. local KEYHOLD = false
  132. local NOWALK = false
  133. local CHANGE = 2 / Animation_Speed
  134. local WALKINGANIM = false
  135. local WALK = 0
  136. local VALUE1 = false
  137. local VALUE2 = false
  138. local ROBLOXIDLEANIMATION = IT("Animation")
  139. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  140. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  141. --ROBLOXIDLEANIMATION.Parent = Humanoid
  142. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  143. WEAPONGUI.Name = "Weapon GUI"
  144. local Weapon = IT("Model")
  145. Weapon.Name = "Adds"
  146. local Effects = IT("Folder", Weapon)
  147. Effects.Name = "Effects"
  148. local ANIMATOR = Humanoid.Animator
  149. local ANIMATE = Character.Animate
  150. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  151. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  152. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  153. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  154. local UNANCHOR = true
  155. local FISTS = {}
  156. local LIGHT = IT("PointLight",Torso)
  157. LIGHT.Range = 10
  158. LIGHT.Brightness = 100
  159. LIGHT.Color = C3(170/255, 85/255, 0)
  160. local SKILL1COOLDOWN = 0
  161. local SKILL2COOLDOWN = 0
  162. local SKILL3COOLDOWN = 0
  163.  
  164. local SKILLTEXTCOLOR = BRICKC"Deep orange".Color
  165.  
  166. --//=================================\\
  167. --\\=================================//
  168.  
  169.  
  170. --//=================================\\
  171. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  172. --\\=================================//
  173.  
  174. ArtificialHB = Instance.new("BindableEvent", script)
  175. ArtificialHB.Name = "ArtificialHB"
  176.  
  177. script:WaitForChild("ArtificialHB")
  178.  
  179. frame = Frame_Speed
  180. tf = 0
  181. allowframeloss = false
  182. tossremainder = false
  183. lastframe = tick()
  184. script.ArtificialHB:Fire()
  185.  
  186. game:GetService("RunService").Heartbeat:connect(function(s, p)
  187. tf = tf + s
  188. if tf >= frame then
  189. if allowframeloss then
  190. script.ArtificialHB:Fire()
  191. lastframe = tick()
  192. else
  193. for i = 1, math.floor(tf / frame) do
  194. script.ArtificialHB:Fire()
  195. end
  196. lastframe = tick()
  197. end
  198. if tossremainder then
  199. tf = 0
  200. else
  201. tf = tf - frame * math.floor(tf / frame)
  202. end
  203. end
  204. end)
  205.  
  206. --//=================================\\
  207. --\\=================================//
  208.  
  209.  
  210.  
  211.  
  212.  
  213. --//=================================\\
  214. --|| SOME FUNCTIONS
  215. --\\=================================//
  216.  
  217. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  218. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  219. end
  220.  
  221. function PositiveAngle(NUMBER)
  222. if NUMBER >= 0 then
  223. NUMBER = 0
  224. end
  225. return NUMBER
  226. end
  227.  
  228. function NegativeAngle(NUMBER)
  229. if NUMBER <= 0 then
  230. NUMBER = 0
  231. end
  232. return NUMBER
  233. end
  234.  
  235. function Swait(NUMBER)
  236. if NUMBER == 0 or NUMBER == nil then
  237. ArtificialHB.Event:wait()
  238. else
  239. for i = 1, NUMBER do
  240. ArtificialHB.Event:wait()
  241. end
  242. end
  243. end
  244.  
  245. function QuaternionFromCFrame(cf)
  246. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  247. local trace = m00 + m11 + m22
  248. if trace > 0 then
  249. local s = math.sqrt(1 + trace)
  250. local recip = 0.5 / s
  251. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  252. else
  253. local i = 0
  254. if m11 > m00 then
  255. i = 1
  256. end
  257. if m22 > (i == 0 and m00 or m11) then
  258. i = 2
  259. end
  260. if i == 0 then
  261. local s = math.sqrt(m00 - m11 - m22 + 1)
  262. local recip = 0.5 / s
  263. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  264. elseif i == 1 then
  265. local s = math.sqrt(m11 - m22 - m00 + 1)
  266. local recip = 0.5 / s
  267. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  268. elseif i == 2 then
  269. local s = math.sqrt(m22 - m00 - m11 + 1)
  270. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  271. end
  272. end
  273. end
  274.  
  275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  276. local xs, ys, zs = x + x, y + y, z + z
  277. local wx, wy, wz = w * xs, w * ys, w * zs
  278. local xx = x * xs
  279. local xy = x * ys
  280. local xz = x * zs
  281. local yy = y * ys
  282. local yz = y * zs
  283. local zz = z * zs
  284. 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))
  285. end
  286.  
  287. function QuaternionSlerp(a, b, t)
  288. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  289. local startInterp, finishInterp;
  290. if cosTheta >= 0.0001 then
  291. if (1 - cosTheta) > 0.0001 then
  292. local theta = ACOS(cosTheta)
  293. local invSinTheta = 1 / SIN(theta)
  294. startInterp = SIN((1 - t) * theta) * invSinTheta
  295. finishInterp = SIN(t * theta) * invSinTheta
  296. else
  297. startInterp = 1 - t
  298. finishInterp = t
  299. end
  300. else
  301. if (1 + cosTheta) > 0.0001 then
  302. local theta = ACOS(-cosTheta)
  303. local invSinTheta = 1 / SIN(theta)
  304. startInterp = SIN((t - 1) * theta) * invSinTheta
  305. finishInterp = SIN(t * theta) * invSinTheta
  306. else
  307. startInterp = t - 1
  308. finishInterp = t
  309. end
  310. end
  311. 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
  312. end
  313.  
  314. function Clerp(a, b, t)
  315. local qa = {QuaternionFromCFrame(a)}
  316. local qb = {QuaternionFromCFrame(b)}
  317. local ax, ay, az = a.x, a.y, a.z
  318. local bx, by, bz = b.x, b.y, b.z
  319. local _t = 1 - t
  320. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  321. end
  322.  
  323. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  324. local frame = IT("Frame")
  325. frame.BackgroundTransparency = TRANSPARENCY
  326. frame.BorderSizePixel = BORDERSIZEPIXEL
  327. frame.Position = POSITION
  328. frame.Size = SIZE
  329. frame.BackgroundColor3 = COLOR
  330. frame.BorderColor3 = BORDERCOLOR
  331. frame.Name = NAME
  332. frame.Parent = PARENT
  333. return frame
  334. end
  335.  
  336. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  337. local label = IT("TextLabel")
  338. label.BackgroundTransparency = 1
  339. label.Size = UD2(1, 0, 1, 0)
  340. label.Position = UD2(0, 0, 0, 0)
  341. label.TextColor3 = TEXTCOLOR
  342. label.TextStrokeTransparency = STROKETRANSPARENCY
  343. label.TextTransparency = TRANSPARENCY
  344. label.FontSize = TEXTFONTSIZE
  345. label.Font = TEXTFONT
  346. label.BorderSizePixel = BORDERSIZEPIXEL
  347. label.TextScaled = false
  348. label.Text = TEXT
  349. label.Name = NAME
  350. label.Parent = PARENT
  351. return label
  352. end
  353.  
  354. function NoOutlines(PART)
  355. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  356. end
  357.  
  358.  
  359. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  360. local NEWWELD = IT(TYPE)
  361. NEWWELD.Part0 = PART0
  362. NEWWELD.Part1 = PART1
  363. NEWWELD.C0 = C0
  364. NEWWELD.C1 = C1
  365. NEWWELD.Parent = PARENT
  366. return NEWWELD
  367. end
  368.  
  369. function CreateSound(ID, PARENT, VOLUME, PITCH)
  370. local NEWSOUND = nil
  371. coroutine.resume(coroutine.create(function()
  372. NEWSOUND = IT("Sound", PARENT)
  373. NEWSOUND.Volume = VOLUME
  374. NEWSOUND.Pitch = PITCH
  375. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  376. Swait()
  377. NEWSOUND:play()
  378. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  379. end))
  380. return NEWSOUND
  381. end
  382.  
  383. function CFrameFromTopBack(at, top, back)
  384. local right = top:Cross(back)
  385. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  386. end
  387.  
  388. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  389. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  390. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  391. wave.CFrame = CFRAME
  392. coroutine.resume(coroutine.create(function(PART)
  393. for i = 1, WAIT do
  394. Swait()
  395. mesh.Scale = mesh.Scale + GROW
  396. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  397. if DOESROT == true then
  398. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  399. end
  400. wave.Transparency = wave.Transparency + (0.5/WAIT)
  401. if wave.Transparency > 0.99 then
  402. wave:remove()
  403. end
  404. end
  405. end))
  406. end
  407.  
  408. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  409. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  410. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  411. wave.CFrame = CFRAME
  412. coroutine.resume(coroutine.create(function(PART)
  413. for i = 1, WAIT do
  414. Swait()
  415. mesh.Scale = mesh.Scale + GROW
  416. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  417. if DOESROT == true then
  418. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  419. end
  420. wave.Transparency = wave.Transparency + (0.5/WAIT)
  421. if wave.Transparency > 0.99 then
  422. wave:remove()
  423. end
  424. end
  425. end))
  426. end
  427.  
  428. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  429. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  430. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  431. wave.CFrame = CFRAME
  432. coroutine.resume(coroutine.create(function(PART)
  433. for i = 1, WAIT do
  434. Swait()
  435. mesh.Scale = mesh.Scale + GROW
  436. if DOESROT == true then
  437. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  438. end
  439. wave.Transparency = wave.Transparency + (0.5/WAIT)
  440. if wave.Transparency > 0.99 then
  441. wave:remove()
  442. end
  443. end
  444. end))
  445. end
  446.  
  447. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  448. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  449. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  450. wave.CFrame = CFRAME
  451. coroutine.resume(coroutine.create(function(PART)
  452. for i = 1, WAIT do
  453. Swait()
  454. mesh.Scale = mesh.Scale + GROW
  455. wave.Transparency = wave.Transparency + (1/WAIT)
  456. if wave.Transparency > 0.99 then
  457. wave:remove()
  458. end
  459. end
  460. end))
  461. end
  462.  
  463. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  464. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  465. local mesh = nil
  466. if KIND == "Base" then
  467. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  468. elseif KIND == "Thin" then
  469. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  470. elseif KIND == "Round" then
  471. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  472. end
  473. wave.CFrame = CFRAME
  474. coroutine.resume(coroutine.create(function(PART)
  475. for i = 1, WAIT do
  476. Swait()
  477. mesh.Scale = mesh.Scale + GROW/10
  478. wave.Transparency = wave.Transparency + (0.5/WAIT)
  479. if wave.Transparency > 0.99 then
  480. wave:remove()
  481. end
  482. end
  483. end))
  484. end
  485.  
  486. function MakeForm(PART,TYPE)
  487. if TYPE == "Cyl" then
  488. local MSH = IT("CylinderMesh",PART)
  489. elseif TYPE == "Ball" then
  490. local MSH = IT("SpecialMesh",PART)
  491. MSH.MeshType = "Sphere"
  492. elseif TYPE == "Wedge" then
  493. local MSH = IT("SpecialMesh",PART)
  494. MSH.MeshType = "Wedge"
  495. end
  496. end
  497.  
  498. function CheckTableForString(Table, String)
  499. for i, v in pairs(Table) do
  500. if string.find(string.lower(String), string.lower(v)) then
  501. return true
  502. end
  503. end
  504. return false
  505. end
  506.  
  507. function CheckIntangible(Hit)
  508. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  509. if Hit and Hit.Parent then
  510. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  511. return true
  512. end
  513. end
  514. return false
  515. end
  516.  
  517. Debris = game:GetService("Debris")
  518.  
  519. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  520. local Direction = CFrame.new(StartPos, Vec).lookVector
  521. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  522. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  523. if RayHit and CheckIntangible(RayHit) then
  524. if DelayIfHit then
  525. wait()
  526. end
  527. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  528. end
  529. return RayHit, RayPos, RayNormal
  530. end
  531.  
  532. function turnto(position)
  533. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  534. end
  535.  
  536. --//=================================\\
  537. --|| WEAPON CREATION
  538. --\\=================================//
  539.  
  540. local EyeSizes={
  541. NumberSequenceKeypoint.new(0,0.65,0),
  542. NumberSequenceKeypoint.new(0.5,0.7,0),
  543. NumberSequenceKeypoint.new(1,0,0)
  544. }
  545. local EyeTrans={
  546. NumberSequenceKeypoint.new(0,0,0),
  547. NumberSequenceKeypoint.new(0.5,0,0),
  548. NumberSequenceKeypoint.new(1,1,0)
  549. }
  550. local PE=Instance.new("ParticleEmitter")
  551. PE.LightEmission=.9
  552. PE.Color = ColorSequence.new(BRICKC("Really blue").Color,BRICKC("Really blue").Color)
  553. PE.Size=NumberSequence.new(EyeSizes)
  554. PE.Transparency=NumberSequence.new(EyeTrans)
  555. PE.Lifetime=NumberRange.new(0.35)
  556. PE.Rotation=NumberRange.new(0,360)
  557. PE.Rate=999
  558. PE.VelocitySpread = 10000
  559. PE.Acceleration = Vector3.new(0,25,0)
  560. PE.ZOffset = 0.5
  561. PE.Drag = 0
  562. PE.Speed = NumberRange.new(0,0,0)
  563. PE.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  564. PE.Name = "PE"
  565. PE.Enabled = true
  566. PE.LockedToPart = true
  567.  
  568. function fireparticles(art)
  569. local PARTICLES = PE:Clone()
  570. PARTICLES.Parent = art
  571. end
  572.  
  573. local FIST = CreatePart(3, Weapon, "Neon", 0, 1, "Really blue", "Fire", VT(1,0,1),false)
  574. FIST.CanCollide = true
  575. CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0, -1, 0), CF(0, 0.0, 0))
  576. fireparticles(FIST)
  577. table.insert(FISTS,FIST)
  578.  
  579. local FIST = CreatePart(3, Weapon, "Neon", 0, 1, "Really blue", "Fire", VT(1,0,1),false)
  580. FIST.CanCollide = true
  581. CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0, -1, 0), CF(0, 0.0, 0))
  582. fireparticles(FIST)
  583. table.insert(FISTS,FIST)
  584.  
  585. local FIST = CreatePart(3, Weapon, "Neon", 0, 1, "Really blue", "Fire", VT(1,0,1),false)
  586. FIST.CanCollide = true
  587. CreateWeldOrSnapOrMotor("Weld", FIST, RightLeg, FIST, CF(0, -1, 0), CF(0, 0.0, 0))
  588. fireparticles(FIST)
  589. table.insert(FISTS,FIST)
  590.  
  591. local FIST = CreatePart(3, Weapon, "Neon", 0, 1, "Really blue", "Fire", VT(1,0,1),false)
  592. FIST.CanCollide = true
  593. CreateWeldOrSnapOrMotor("Weld", FIST, LeftLeg, FIST, CF(0, -1, 0), CF(0, 0.0, 0))
  594. fireparticles(FIST)
  595. table.insert(FISTS,FIST)
  596.  
  597. for e=1,#FISTS do
  598. if FISTS[e]~=nil then
  599. local Thing=FISTS[e]
  600. if Thing~=nil then
  601. local TOUCHED = Thing.Touched:Connect(function(hit)
  602. if VALUE1 == true and VALUE2 == false then
  603. if hit ~= nil then
  604. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  605. VALUE2 = true
  606. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(5,15),2,2)
  607. CreateSound("131237241", hit, 1, MRANDOM(11,13)/10)
  608. wait(0.15)
  609. VALUE2 = false
  610. end
  611. end
  612. end
  613. end)
  614. end
  615. end
  616. end
  617.  
  618. for _, c in pairs(Weapon:GetChildren()) do
  619. if c.ClassName == "Part" then
  620. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  621. end
  622. end
  623.  
  624. Weapon.Parent = Character
  625.  
  626. Humanoid.Died:connect(function()
  627. ATTACK = true
  628. end)
  629.  
  630. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  631. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  632. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  633. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  634. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  635.  
  636. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Punches", SKILLTEXTCOLOR, 6, "Fantasy", 0, 2, 0, "Text 1")
  637. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Speed Kicks", SKILLTEXTCOLOR, 6, "Fantasy", 0, 2, 0, "Text 2")
  638. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] LaserdisastorField", SKILLTEXTCOLOR, 6, "Fantasy", 0, 2, 0, "Text 3")
  639. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] QuickDash", SKILLTEXTCOLOR, 6, "Fantasy", 0, 2, 0, "Text 4")
  640. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] DancingInferno", SKILLTEXTCOLOR, 6, "Fantasy", 0, 2, 0, "Text 5")
  641.  
  642. --//=================================\\
  643. --|| DAMAGE FUNCTIONS
  644. --\\=================================//
  645.  
  646. function StatLabel(CFRAME, TEXT, COLOR)
  647. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  648. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  649. local BODYGYRO = IT("BodyGyro", STATPART)
  650. game:GetService("Debris"):AddItem(STATPART ,5)
  651. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  652. BILLBOARDGUI.Adornee = STATPART
  653. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  654. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  655. BILLBOARDGUI.AlwaysOnTop = false
  656. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  657. TEXTLABEL.BackgroundTransparency = 1
  658. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  659. TEXTLABEL.Text = TEXT
  660. TEXTLABEL.Font = "Fantasy"
  661. TEXTLABEL.FontSize="Size500"
  662. TEXTLABEL.TextColor3 = COLOR
  663. TEXTLABEL.TextStrokeTransparency = 0
  664. TEXTLABEL.TextScaled = true
  665. TEXTLABEL.TextWrapped = true
  666. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  667. for i = 1, 50 do
  668. Swait()
  669. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  670. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  671. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  672. end
  673. THEPART.Parent = nil
  674. end),STATPART, TEXTLABEL)
  675. end
  676.  
  677. --//=================================\\
  678. --|| DAMAGING
  679. --\\=================================//
  680.  
  681. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  682. local defence = Instance.new("BoolValue",Humanoid.Parent)
  683. defence.Name = ("HitBy"..Player.Name)
  684. game:GetService("Debris"):AddItem(defence, 0.001)
  685. if Humanoid.Health ~= 0 then
  686. local CritChance = MRANDOM(1,100)
  687. if CritChance < CritRate + 1 then
  688. Damage = Damage*CritMultiplier
  689. end
  690. if Damage > Humanoid.Health then
  691. Damage = math.ceil(Humanoid.Health)
  692. if Damage == 0 then
  693. Damage = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  694. end
  695. end
  696. Humanoid.Health = Humanoid.Health - Damage
  697. if Humanoid.Parent:FindFirstChild("Head") then
  698. if CritChance < CritRate + 1 then
  699. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  700. else
  701. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, SKILLTEXTCOLOR)
  702. end
  703. end
  704. end
  705. end
  706.  
  707. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  708. local dmg = math.random(min,max)
  709. for i,v in ipairs(workspace:GetChildren()) do
  710. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  711. local body = v:GetChildren()
  712. for part = 1, #body do
  713. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  714. if(body[part].Position - position).Magnitude < radius then
  715. if v.ClassName == "Model" then
  716. if v:FindFirstChildOfClass("Humanoid") then
  717. if CanBeDodgedByJumping == true then
  718. if body[part].Position.Y < position.Y+5 then
  719. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  720. end
  721. else
  722. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  723. end
  724. local bv = Instance.new("BodyVelocity")
  725. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  726. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  727. bv.Parent = body[part]
  728. Debris:AddItem(bv,0.2)
  729. end
  730. end
  731. end
  732. end
  733. end
  734. end
  735. if v:FindFirstChild("HitBy"..Player.Name) then
  736. v:FindFirstChild("HitBy"..Player.Name):remove()
  737. end
  738. end
  739. end
  740.  
  741. --//=================================\\
  742. --|| ATTACK FUNCTIONS AND STUFF
  743. --\\=================================//
  744.  
  745. function BurningPunches()
  746. ATTACK = true
  747. Rooted = false
  748. for i=0, 0.2, 0.1 / Animation_Speed do
  749. Swait()
  750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  756. end
  757. VALUE1 = true
  758. if COMBO == 1 then
  759. COMBO = 2
  760. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  761. for i=0, 0.3, 0.1 / Animation_Speed do
  762. Swait()
  763. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 2 / Animation_Speed)
  766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  768. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  770. end
  771. elseif COMBO == 2 then
  772. COMBO = 1
  773. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  774. for i=0, 0.3, 0.1 / Animation_Speed do
  775. Swait()
  776. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  777. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
  778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-80)), 2 / Animation_Speed)
  779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  781. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  782. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  783. end
  784. end
  785. VALUE1 = false
  786. ATTACK = false
  787. Rooted = false
  788. end
  789.  
  790. function BurningKicks()
  791. ATTACK = true
  792. Rooted = false
  793. VALUE1 = true
  794. NOWALK = true
  795. if COMBO2 == 1 then
  796. COMBO2 = 2
  797. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  798. for i=0, 0.5, 0.1 / Animation_Speed do
  799. Swait()
  800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  806. end
  807. elseif COMBO2 == 2 then
  808. COMBO2 = 1
  809. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  810. for i=0, 0.5, 0.1 / Animation_Speed do
  811. Swait()
  812. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  813. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  816. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  817. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  818. end
  819. end
  820. NOWALK = false
  821. VALUE1 = false
  822. ATTACK = false
  823. Rooted = false
  824. end
  825.  
  826. function FireField()
  827. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6 * Player_Size, Character)
  828. if HITFLOOR ~= nil then
  829. ATTACK = true
  830. Rooted = false
  831. for i=0, 1, 0.1 / Animation_Speed do
  832. Swait()
  833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)), 0.15 / Animation_Speed)
  835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  837. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  838. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  839. end
  840. Rooted = true
  841. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  842. for i=0, 0.3, 0.1 / Animation_Speed do
  843. Swait()
  844. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2 / Animation_Speed)
  846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1.2) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  848. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.4) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),2 / Animation_Speed)
  849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -0.4) * ANGLES(RAD(65), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  850. end
  851. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6 * Player_Size, Character)
  852. MagicSphere(VT(3,3,3),45,CF(HITPOS),SKILLTEXTCOLOR,VT(1,1,1))
  853. CreateSound("438666542", Torso, 1, MRANDOM(11,13)/10)
  854. AoEDamage(HITPOS,9999999999999999935,9999999999999999925,9999999999999999930,9999999999999999915,999999999999999992,2,true)
  855. AoEDamage(HITPOS,9999999999999999925,9999999999999999915,9999999999999999920,9999999999999999915,999999999999999992,2,false)
  856. for i = 1, 7 do
  857. Slice("Thin",0.4,35,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))*ANGLES(RAD(MRANDOM(-48,48)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-48,48))),"Deep orange",VT(0.1,0,0.1))
  858. Slice("Round",0.4,45,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(MRANDOM(-180,180)),RAD(0)),"Deep orange",VT(0.1,0,0.1))
  859. end
  860. for i=0, 0.7, 0.1 / Animation_Speed do
  861. Swait()
  862. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2 / Animation_Speed)
  864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1.2) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  866. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.4) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),2 / Animation_Speed)
  867. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -0.4) * ANGLES(RAD(65), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  868. end
  869. ATTACK = false
  870. Rooted = false
  871. end
  872. end
  873.  
  874. function BlazingDash()
  875. ATTACK = true
  876. Rooted = true
  877. MagicSphere(VT(3,3,3),45,CF(Torso.Position),SKILLTEXTCOLOR,VT(1,1,1))
  878. CreateSound("438666542", Torso, 1, MRANDOM(11,13)/10)
  879. AoEDamage(Torso.Position,25,15,20,15,2,2,false)
  880. for i=0, 1, 0.1 / Animation_Speed do
  881. Swait()
  882. for e=1,#FISTS do
  883. if FISTS[e]~=nil then
  884. local Thing=FISTS[e]
  885. if Thing~=nil then
  886. if MRANDOM(1,2) == 1 then
  887. Slice("Thin",0.4,15,Thing.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Deep orange",VT(-0.01,0,-0.01))
  888. end
  889. end
  890. end
  891. end
  892. AoEDamage(Torso.Position,99999999999999999,999999999999999992,999999999999999992,9999999999999999915,999999999999999992,999999999999999992,false)
  893. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6 * Player_Size, Character)
  894. if HITFLOOR then
  895. AoEDamage(Torso.Position,25,1,1,15,2,2,true)
  896. Slice("Thin",0.4,75,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),"Deep orange",VT(-0.001,0,-0.001))
  897. Slice("Round",0.4,75,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(MRANDOM(-180,180)),RAD(0)),"Deep orange",VT(-0.01,0,-0.01))
  898. end
  899. RootPart.CFrame = RootPart.CFrame * CF(0,0,-4)
  900. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  901. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  902. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  903. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  904. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  905. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(-5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  906. end
  907. ATTACK = false
  908. Rooted = false
  909. end
  910.  
  911. function DancingInferno()
  912. ATTACK = true
  913. Rooted = true
  914. Humanoid.HipHeight = 2
  915. local GYRO = IT("BodyGyro",RootPart)
  916. GYRO.D = 100
  917. GYRO.P = 2000
  918. GYRO.MaxTorque = VT(0,4000000,0)
  919. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  920. local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Dancing Inferno", VT(0,0,0))
  921. MakeForm(BULLET,"Ball")
  922. CreateSound("463598785", BULLET, 3, MRANDOM(11,13)/10)
  923. for i=0, 3, 0.1 / Animation_Speed do
  924. Swait()
  925. Slice("Thin",0.4,35,Torso.CFrame*CF(0,0,-2)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Deep orange",VT(-0.01,0,-0.01))
  926. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  927. BULLET.CFrame = Torso.CFrame * CF(0,0,-2)
  928. BULLET.Size = BULLET.Size + VT(0.02,0.02,0.02)
  929. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  933. RightHip.C0 = Clerp(RightHip.C0, CF(1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(90), RAD(-5), RAD(40)), 0.2 / Animation_Speed)
  934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(90), RAD(25), RAD(-35)), 0.2 / Animation_Speed)
  935. end
  936. GYRO:remove()
  937. for i=0, 1, 0.1 / Animation_Speed do
  938. Swait()
  939. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  943. RightHip.C0 = Clerp(RightHip.C0, CF(1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(90), RAD(-5), RAD(40)), 0.2 / Animation_Speed)
  944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(90), RAD(25), RAD(-35)), 0.2 / Animation_Speed)
  945. end
  946. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  947. CreateSound("438666542", BULLET, 3, MRANDOM(11,13)/10)
  948. local DISTANCE = (RootPart.Position - Mouse.Hit.p).Magnitude
  949. coroutine.resume(coroutine.create(function()
  950. local IMPACT = false
  951. BULLET.CFrame = CF(BULLET.Position,RootPart.CFrame*CF(0,-1,-DISTANCE).p)
  952. for i = 1, 500 do
  953. Swait()
  954. BULLET.CFrame = BULLET.CFrame * CF(0,-0.1,-3)
  955. CreateRing(VT(1,1,0),false,0,15,BULLET.CFrame * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),SKILLTEXTCOLOR,VT(-0.12,-0.12,0))
  956. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, 4, Character)
  957. if HIT ~= nil then
  958. IMPACT = true
  959. break
  960. end
  961. local HIT = Raycast(BULLET.Position, CF(BULLET.Position,BULLET.Position+VT(0,-1,0)).lookVector, 1, Character)
  962. if HIT ~= nil then
  963. IMPACT = true
  964. break
  965. end
  966. end
  967. if IMPACT == false then
  968. for i = 1, 40 do
  969. Swait()
  970. BULLET.Size = BULLET.Size * 50
  971. end
  972. BULLET:remove()
  973. else
  974. local HITFLOOR,HITPOS,NORMAL = Raycast(BULLET.Position+VT(0,1,0), (CF(BULLET.Position, BULLET.Position + VT(0, -1, 0))).lookVector, 6 * Player_Size, Character)
  975. for i = 1, 8 do
  976. for i = 1, 55 do
  977. Swait()
  978. if HITFLOOR then
  979. Slice("Thin",2,35,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),"Deep orange",VT(0.001,0,0.001))
  980. Slice("Round",2,45,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(MRANDOM(-180,180)),RAD(0)),"Deep orange",VT(0,0,0))
  981. end
  982. CreateRing(VT(0,0,0),false,0,15,BULLET.CFrame * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),SKILLTEXTCOLOR,VT(-0.12,-0.12,0))
  983. end
  984. AoEDamage(BULLET.Position,45,15,20,0,2,2,false)
  985. AoEDamage(BULLET.Position,75,5,5,-25,2,2,true)
  986. for i = 1, 3 do
  987. MagicSphere(VT(3,3,3),45,CF(BULLET.Position),SKILLTEXTCOLOR,VT(1,1,1))
  988. MagicSphere(VT(2,2,2),45,CF(BULLET.Position),SKILLTEXTCOLOR,VT(1.1,1.1,1.1))
  989. CreateSound("438666542", BULLET, 1, MRANDOM(11,13)/10)
  990. for i = 1, 2 do
  991. Slice("Thin",0.4,65,CF(BULLET.Position)*ANGLES(RAD(MRANDOM(-48,48)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-48,48))),"Deep orange",VT(0.1,0,0.1))
  992. if HITFLOOR then
  993. Slice("Round",0.4,i*12,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(MRANDOM(-180,180)),RAD(0)),"Deep orange",VT(0.1,0,0.1))
  994. end
  995. end
  996. end
  997. end
  998. BULLET.Transparency = 1
  999. Debris:AddItem(BULLET,5)
  1000. end
  1001. end))
  1002. for i=0, 0.3, 0.1 / Animation_Speed do
  1003. Swait()
  1004. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(25)), 1.8 / Animation_Speed)
  1006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1008. RightHip.C0 = Clerp(RightHip.C0, CF(1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(90), RAD(-5), RAD(40)), 2 / Animation_Speed)
  1009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.6, -1.5, -0.1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(90), RAD(25), RAD(-35)), 2 / Animation_Speed)
  1010. end
  1011. Humanoid.HipHeight = 0
  1012. ATTACK = false
  1013. Rooted = false
  1014. end
  1015.  
  1016. --//=================================\\
  1017. --|| ASSIGN THINGS TO KEYS
  1018. --\\=================================//
  1019.  
  1020. function MouseDown(Mouse)
  1021. if ATTACK == false then
  1022. end
  1023. end
  1024.  
  1025. function MouseUp(Mouse)
  1026. HOLD = false
  1027. end
  1028.  
  1029. function KeyDown(Key)
  1030. KEYHOLD = true
  1031. if Key == "z" and ATTACK == false then
  1032. BurningPunches()
  1033. end
  1034.  
  1035. if Key == "b" and ATTACK == false then
  1036. BurningKicks()
  1037. SKILL1COOLDOWN = 1
  1038. end
  1039.  
  1040. if Key == "c" and ATTACK == false and SKILL1COOLDOWN < 1 then
  1041. Laserbeamfield()
  1042. SKILL1COOLDOWN = 1
  1043. end
  1044.  
  1045. if Key == "v" and ATTACK == false and SKILL2COOLDOWN < 1 then
  1046. QuickDash()
  1047. SKILL2COOLDOWN = 1
  1048. end
  1049.  
  1050. if Key == "x" and ATTACK == false and SKILL3COOLDOWN < 1 then
  1051. DancingInfernoLaserBeam()
  1052. SKILL3COOLDOWN = 1
  1053. end
  1054. end
  1055.  
  1056. function KeyUp(Key)
  1057. KEYHOLD = false
  1058. end
  1059.  
  1060. Mouse.Button1Down:connect(function(NEWKEY)
  1061. MouseDown(NEWKEY)
  1062. end)
  1063. Mouse.Button1Up:connect(function(NEWKEY)
  1064. MouseUp(NEWKEY)
  1065. end)
  1066. Mouse.KeyDown:connect(function(NEWKEY)
  1067. KeyDown(NEWKEY)
  1068. end)
  1069. Mouse.KeyUp:connect(function(NEWKEY)
  1070. KeyUp(NEWKEY)
  1071. end)
  1072.  
  1073. --//=================================\\
  1074. --\\=================================//
  1075.  
  1076.  
  1077. function unanchor()
  1078. if UNANCHOR == true then
  1079. g = Character:GetChildren()
  1080. for i = 1, #g do
  1081. if g[i].ClassName == "Part" then
  1082. g[i].Anchored = false
  1083. end
  1084. end
  1085. end
  1086. end
  1087.  
  1088.  
  1089. --//=================================\\
  1090. --|| WRAP THE WHOLE SCRIPT UP
  1091. --\\=================================//
  1092.  
  1093. Humanoid.Changed:connect(function(Jump)
  1094. if Jump == "Jump" and (Disable_Jump == true) then
  1095. Humanoid.Jump = false
  1096. end
  1097. end)
  1098.  
  1099. while true do
  1100. Swait()
  1101. ANIMATE.Parent = nil
  1102. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1103. IDLEANIMATION:Play()
  1104. SINE = SINE + CHANGE
  1105. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1106. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1107. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1108. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight * Player_Size, Character)
  1109. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1110. if ANIM == "Walk" and TORSOVELOCITY > 1 and NOWALK == false then
  1111. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1112. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1113. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1114. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1115. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or NOWALK == true then
  1116. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1117. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1118. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  1119. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  1120. end
  1121. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1122. ANIM = "Jump"
  1123. if ATTACK == false then
  1124. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1128. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1130. end
  1131. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1132. ANIM = "Fall"
  1133. if ATTACK == false then
  1134. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1140. end
  1141. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1142. ANIM = "Idle"
  1143. if ATTACK == false then
  1144. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1145. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1147. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1148. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1149. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-76), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1150. end
  1151. elseif (TORSOVELOCITY > 1 and HITFLOOR ~= nil) and NOWALK == false then
  1152. ANIM = "Walk"
  1153. WALK = WALK + 1 / Animation_Speed
  1154. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1155. WALK = 0
  1156. if WALKINGANIM == true then
  1157. WALKINGANIM = false
  1158. elseif WALKINGANIM == false then
  1159. WALKINGANIM = true
  1160. end
  1161. end
  1162. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1163. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1164. if ATTACK == false then
  1165. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1169. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1170. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-115), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1171. end
  1172. end
  1173. if HITFLOOR ~= nil then
  1174. Slice("Thin",0.4,35,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),"Deep orange",VT(0.001,0,0.001))
  1175. Slice("Round",0.4,45,CF(HITPOS+VT(0,0.1,0),HITPOS+VT(0,0.1,0)+NORMAL)*ANGLES(RAD(90),RAD(MRANDOM(-180,180)),RAD(0)),"Deep orange",VT(0,0,0))
  1176. end
  1177. unanchor()
  1178. Humanoid.MaxHealth = "inf"
  1179. Humanoid.Health = "inf"
  1180. if Rooted == false then
  1181. Disable_Jump = false
  1182. Humanoid.WalkSpeed = Speed
  1183. elseif Rooted == true then
  1184. Disable_Jump = true
  1185. Humanoid.WalkSpeed = 0
  1186. end
  1187. if SKILL1COOLDOWN > 0 then
  1188. SKILL1COOLDOWN = SKILL1COOLDOWN - 1
  1189. end
  1190. if SKILL2COOLDOWN > 0 then
  1191. SKILL2COOLDOWN = SKILL2COOLDOWN - 1
  1192. end
  1193. if SKILL3COOLDOWN > 0 then
  1194. SKILL3COOLDOWN = SKILL3COOLDOWN - 1
  1195. end
  1196. end
  1197.  
  1198. --//=================================\\
  1199. --\\=================================//
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205. --//====================================================\\--
  1206. --|| END OF SCRIPT
  1207. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement