Christoffer07700Extr

Fire Fist

Jul 19th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.35 KB | None | 0 0
  1. --//====================================================\\--
  2. --||
  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. if ANCHOR == true then
  74. NEWPART.Anchored = true
  75. end
  76. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  77. NEWPART.Name = NAME
  78. NEWPART.Size = SIZE
  79. NEWPART.Position = Torso.Position
  80. NEWPART.Material = MATERIAL
  81. NEWPART:BreakJoints()
  82. NEWPART.Parent = PARENT
  83. return NEWPART
  84. end
  85.  
  86.  
  87. --//=================================\\
  88. --|| CUSTOMIZATION
  89. --\\=================================//
  90.  
  91. Class_Name = "FireFist.exe"
  92. Weapon_Name = "Add-ons"
  93.  
  94. Custom_Colors = {
  95. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  96. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  97.  
  98. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  99. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  100. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  101. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  102. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  103.  
  104. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  105. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  106. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  107. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  108. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  109. }
  110.  
  111.  
  112. Player_Size = 1 --Size of the player.
  113. Animation_Speed = 3
  114. Animation_Speed2 = 0.7
  115. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  116.  
  117. local Speed = 25
  118. local Effects2 = {}
  119.  
  120. --//=================================\\
  121. --|| END OF CUSTOMIZATION
  122. --\\=================================//
  123.  
  124. local function weldBetween(a, b)
  125. local weldd = Instance.new("ManualWeld")
  126. weldd.Part0 = a
  127. weldd.Part1 = b
  128. weldd.C0 = CFrame.new()
  129. weldd.C1 = b.CFrame:inverse() * a.CFrame
  130. weldd.Parent = a
  131. return weldd
  132. end
  133.  
  134. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  135. local acs = Instance.new("Part")
  136. acs.CanCollide = false
  137. acs.Anchored = false
  138. acs.Size = Vector3.new(0,0,0)
  139. acs.CFrame = attachmentpart.CFrame
  140. acs.Parent = Character
  141. acs.BrickColor = color
  142. local meshs = Instance.new("SpecialMesh")
  143. meshs.MeshId = mesh
  144. meshs.TextureId = texture
  145. meshs.Parent = acs
  146. meshs.Scale = scale
  147. meshs.Offset = offset
  148. weldBetween(attachmentpart,acs)
  149. end
  150.  
  151. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  152. if TYPE == "Gem" then
  153. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  154. acs.Anchored = false
  155. acs.CanCollide = false
  156. acs.CFrame = PART.CFrame
  157. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  158. weldBetween(PART,acs)
  159. elseif TYPE == "Skull" then
  160. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  161. acs.Anchored = false
  162. acs.CanCollide = false
  163. acs.CFrame = PART.CFrame
  164. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  165. weldBetween(PART,acs)
  166. elseif TYPE == "Eye" then
  167. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  168. acs.Anchored = false
  169. acs.CanCollide = false
  170. acs.CFrame = PART.CFrame
  171. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. end
  174. end
  175.  
  176. --//=================================\\
  177. --|| USEFUL VALUES
  178. --\\=================================//
  179.  
  180. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  181. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  182. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  183. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  184. local CO1 = 0
  185. local CO2 = 0
  186. local CO3 = 0
  187. local CO4 = 0
  188. local CHANGEDEFENSE = 0
  189. local CHANGEDAMAGE = 0
  190. local CHANGEMOVEMENT = 0
  191. local ANIM = "Idle"
  192. local ATTACK = false
  193. local EQUIPPED = false
  194. local HOLD = false
  195. local COMBO = 1
  196. local LASTPOINT = nil
  197. local BLCF = nil
  198. local SCFR = nil
  199. local STAGGERHITANIM = false
  200. local STAGGERANIM = false
  201. local STUNANIM = false
  202. local CRITCHANCENUMBER = 0
  203. local IDLENUMBER = 0
  204. local DONUMBER = 0
  205. local HANDIDLE = false
  206. local Rooted = false
  207. local MANA = 1000
  208. local MAXMANA = MANA
  209. local SINE = 0
  210. local CHANGE = 2 / Animation_Speed
  211. local WALKINGANIM = false
  212. local WALK = 0
  213. local DISABLEJUMPING = false
  214. local ROBLOXIDLEANIMATION = IT("Animation")
  215. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  216. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  217. --ROBLOXIDLEANIMATION.Parent = Humanoid
  218. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  219. WEAPONGUI.Name = "Weapon GUI"
  220. local Weapon = IT("Model")
  221. Weapon.Name = Weapon_Name
  222. local Effects = IT("Folder", Weapon)
  223. Effects.Name = "Effects"
  224. local ANIMATOR = Humanoid.Animator
  225. local ANIMATE = Character.Animate
  226. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  227. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  228. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  229. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  230. local UNANCHOR = true
  231. local MAGICPARTICLE = "655109389"
  232.  
  233. local SKILLTEXTCOLOR = C3(1,0.3,0)
  234.  
  235. --//=================================\\
  236. --\\=================================//
  237.  
  238.  
  239. --//=================================\\
  240. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  241. --\\=================================//
  242.  
  243. ArtificialHB = Instance.new("BindableEvent", script)
  244. ArtificialHB.Name = "ArtificialHB"
  245.  
  246. script:WaitForChild("ArtificialHB")
  247.  
  248. frame = Frame_Speed
  249. tf = 0
  250. allowframeloss = false
  251. tossremainder = false
  252. lastframe = tick()
  253. script.ArtificialHB:Fire()
  254.  
  255. game:GetService("RunService").Heartbeat:connect(function(s, p)
  256. tf = tf + s
  257. if tf >= frame then
  258. if allowframeloss then
  259. script.ArtificialHB:Fire()
  260. lastframe = tick()
  261. else
  262. for i = 1, math.floor(tf / frame) do
  263. script.ArtificialHB:Fire()
  264. end
  265. lastframe = tick()
  266. end
  267. if tossremainder then
  268. tf = 0
  269. else
  270. tf = tf - frame * math.floor(tf / frame)
  271. end
  272. end
  273. end)
  274.  
  275. --//=================================\\
  276. --\\=================================//
  277.  
  278.  
  279.  
  280.  
  281.  
  282. --//=================================\\
  283. --|| SOME FUNCTIONS
  284. --\\=================================//
  285.  
  286. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  287. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  288. end
  289.  
  290. function PositiveAngle(NUMBER)
  291. if NUMBER >= 0 then
  292. NUMBER = 0
  293. end
  294. return NUMBER
  295. end
  296.  
  297. function NegativeAngle(NUMBER)
  298. if NUMBER <= 0 then
  299. NUMBER = 0
  300. end
  301. return NUMBER
  302. end
  303.  
  304. function Swait(NUMBER)
  305. if NUMBER == 0 or NUMBER == nil then
  306. ArtificialHB.Event:wait()
  307. else
  308. for i = 1, NUMBER do
  309. ArtificialHB.Event:wait()
  310. end
  311. end
  312. end
  313.  
  314. function QuaternionFromCFrame(cf)
  315. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  316. local trace = m00 + m11 + m22
  317. if trace > 0 then
  318. local s = math.sqrt(1 + trace)
  319. local recip = 0.5 / s
  320. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  321. else
  322. local i = 0
  323. if m11 > m00 then
  324. i = 1
  325. end
  326. if m22 > (i == 0 and m00 or m11) then
  327. i = 2
  328. end
  329. if i == 0 then
  330. local s = math.sqrt(m00 - m11 - m22 + 1)
  331. local recip = 0.5 / s
  332. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  333. elseif i == 1 then
  334. local s = math.sqrt(m11 - m22 - m00 + 1)
  335. local recip = 0.5 / s
  336. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  337. elseif i == 2 then
  338. local s = math.sqrt(m22 - m00 - m11 + 1)
  339. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  340. end
  341. end
  342. end
  343.  
  344. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  345. local xs, ys, zs = x + x, y + y, z + z
  346. local wx, wy, wz = w * xs, w * ys, w * zs
  347. local xx = x * xs
  348. local xy = x * ys
  349. local xz = x * zs
  350. local yy = y * ys
  351. local yz = y * zs
  352. local zz = z * zs
  353. 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))
  354. end
  355.  
  356. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  357. local fp=IT("Part")
  358. fp.formFactor=formfactor
  359. fp.Parent=parent
  360. fp.Reflectance=reflectance
  361. fp.Transparency=transparency
  362. fp.CanCollide=false
  363. fp.Locked=true
  364. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  365. fp.Name=name
  366. fp.Size=size
  367. fp.Position=Character.Torso.Position
  368. NoOutlines(fp)
  369. fp.Material=material
  370. fp:BreakJoints()
  371. return fp
  372. end
  373.  
  374. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  375. local mesh=IT(Mesh)
  376. mesh.Parent=part
  377. if Mesh=="SpecialMesh" then
  378. mesh.MeshType=meshtype
  379. mesh.MeshId=meshid
  380. end
  381. mesh.Offset=offset
  382. mesh.Scale=scale
  383. return mesh
  384. end
  385.  
  386. function QuaternionSlerp(a, b, t)
  387. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  388. local startInterp, finishInterp;
  389. if cosTheta >= 0.0001 then
  390. if (1 - cosTheta) > 0.0001 then
  391. local theta = ACOS(cosTheta)
  392. local invSinTheta = 1 / SIN(theta)
  393. startInterp = SIN((1 - t) * theta) * invSinTheta
  394. finishInterp = SIN(t * theta) * invSinTheta
  395. else
  396. startInterp = 1 - t
  397. finishInterp = t
  398. end
  399. else
  400. if (1 + cosTheta) > 0.0001 then
  401. local theta = ACOS(-cosTheta)
  402. local invSinTheta = 1 / SIN(theta)
  403. startInterp = SIN((t - 1) * theta) * invSinTheta
  404. finishInterp = SIN(t * theta) * invSinTheta
  405. else
  406. startInterp = t - 1
  407. finishInterp = t
  408. end
  409. end
  410. 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
  411. end
  412.  
  413. function Clerp(a, b, t)
  414. local qa = {QuaternionFromCFrame(a)}
  415. local qb = {QuaternionFromCFrame(b)}
  416. local ax, ay, az = a.x, a.y, a.z
  417. local bx, by, bz = b.x, b.y, b.z
  418. local _t = 1 - t
  419. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  420. end
  421.  
  422. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  423. local frame = IT("Frame")
  424. frame.BackgroundTransparency = TRANSPARENCY
  425. frame.BorderSizePixel = BORDERSIZEPIXEL
  426. frame.Position = POSITION
  427. frame.Size = SIZE
  428. frame.BackgroundColor3 = COLOR
  429. frame.BorderColor3 = BORDERCOLOR
  430. frame.Name = NAME
  431. frame.Parent = PARENT
  432. return frame
  433. end
  434.  
  435. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  436. local label = IT("TextLabel")
  437. label.BackgroundTransparency = 1
  438. label.Size = UD2(1, 0, 1, 0)
  439. label.Position = UD2(0, 0, 0, 0)
  440. label.TextColor3 = TEXTCOLOR
  441. label.TextStrokeTransparency = STROKETRANSPARENCY
  442. label.TextTransparency = TRANSPARENCY
  443. label.FontSize = TEXTFONTSIZE
  444. label.Font = TEXTFONT
  445. label.BorderSizePixel = BORDERSIZEPIXEL
  446. label.TextScaled = false
  447. label.Text = TEXT
  448. label.Name = NAME
  449. label.Parent = PARENT
  450. return label
  451. end
  452.  
  453. function NoOutlines(PART)
  454. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  455. end
  456.  
  457.  
  458. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  459. local NEWWELD = IT(TYPE)
  460. NEWWELD.Part0 = PART0
  461. NEWWELD.Part1 = PART1
  462. NEWWELD.C0 = C0
  463. NEWWELD.C1 = C1
  464. NEWWELD.Parent = PARENT
  465. return NEWWELD
  466. end
  467.  
  468. function CreateSound(ID, PARENT, VOLUME, PITCH)
  469. local NEWSOUND = nil
  470. coroutine.resume(coroutine.create(function()
  471. NEWSOUND = IT("Sound", PARENT)
  472. NEWSOUND.Volume = VOLUME
  473. NEWSOUND.Pitch = PITCH
  474. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  475. Swait()
  476. NEWSOUND:play()
  477. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  478. end))
  479. return NEWSOUND
  480. end
  481.  
  482. function CFrameFromTopBack(at, top, back)
  483. local right = top:Cross(back)
  484. 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)
  485. end
  486.  
  487. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  488. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
  489. local mesh = IT("SpecialMesh",wave)
  490. mesh.MeshType = "FileMesh"
  491. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  492. mesh.Scale = VT(size,size,size)
  493. mesh.Offset = VT(0,0,-size/8)
  494. wave.CFrame = cframe
  495. coroutine.resume(coroutine.create(function(PART)
  496. for i = 1, waitt do
  497. Swait()
  498. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  499. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  500. if doesrotate == true then
  501. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  502. end
  503. wave.Transparency = wave.Transparency + (0.5/waitt)
  504. if wave.Transparency > 0.99 then
  505. wave:remove()
  506. end
  507. end
  508. end))
  509. end
  510.  
  511. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  512. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
  513. local mesh = IT("SpecialMesh",wave)
  514. mesh.MeshType = "FileMesh"
  515. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  516. mesh.Scale = VT(size,size,size)
  517. wave.CFrame = cframe
  518. coroutine.resume(coroutine.create(function(PART)
  519. for i = 1, waitt do
  520. Swait()
  521. mesh.Scale = mesh.Scale + VT(size/5,size/10,size/5)
  522. if doesrotate == true then
  523. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  524. end
  525. wave.Transparency = wave.Transparency + (0.5/waitt)
  526. if wave.Transparency > 0.99 then
  527. wave:remove()
  528. end
  529. end
  530. end))
  531. end
  532.  
  533. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  534. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
  535. local mesh = IT("SpecialMesh",wave)
  536. mesh.MeshType = "FileMesh"
  537. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  538. mesh.Scale = VT(size,size,size)
  539. wave.CFrame = cframe
  540. coroutine.resume(coroutine.create(function(PART)
  541. for i = 1, waitt do
  542. Swait()
  543. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  544. if doesrotate == true then
  545. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  546. end
  547. wave.Transparency = wave.Transparency + (0.5/waitt)
  548. if wave.Transparency > 0.99 then
  549. wave:remove()
  550. end
  551. end
  552. end))
  553. end
  554.  
  555. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  556. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
  557. local mesh = IT("SpecialMesh",wave)
  558. mesh.MeshType = "FileMesh"
  559. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  560. mesh.Scale = VT(size,size,size)
  561. mesh.Offset = VT(0,0,0)
  562. wave.CFrame = cframe
  563. coroutine.resume(coroutine.create(function(PART)
  564. for i = 1, waitt do
  565. Swait()
  566. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  567. if doesrotate == true then
  568. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  569. end
  570. wave.Transparency = wave.Transparency + (0.5/waitt)
  571. if wave.Transparency > 0.99 then
  572. wave:remove()
  573. end
  574. end
  575. end))
  576. end
  577.  
  578. function MagicSphere(size,waitt,cframe,color)
  579. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1), true)
  580. local mesh = IT("SpecialMesh",wave)
  581. mesh.MeshType = "Sphere"
  582. mesh.Scale = VT(size,size,size)
  583. mesh.Offset = VT(0,0,0)
  584. wave.CFrame = cframe
  585. coroutine.resume(coroutine.create(function(PART)
  586. for i = 1, waitt do
  587. Swait()
  588. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  589. wave.Transparency = wave.Transparency + (1/waitt)
  590. if wave.Transparency > 0.99 then
  591. wave:remove()
  592. end
  593. end
  594. end))
  595. end
  596.  
  597. function MagicSphere2(size,waitt,cframe,color)
  598. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1), true)
  599. local mesh = IT("SpecialMesh",wave)
  600. mesh.MeshType = "Sphere"
  601. mesh.Scale = VT(size,size,size)
  602. mesh.Offset = VT(0,0,0)
  603. wave.CFrame = cframe
  604. coroutine.resume(coroutine.create(function(PART)
  605. for i = 1, waitt do
  606. Swait()
  607. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  608. wave.Transparency = wave.Transparency - (1/waitt)
  609. end
  610. wave:remove()
  611. end))
  612. end
  613.  
  614. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  615. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  616. prt.Anchored=true
  617. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  618. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  619. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  620. CF=Part.CFrame
  621. Numbb=0
  622. randnumb=math.random()-math.random()
  623. for i=0,1,0.05 do
  624. wait()
  625. CF=CF*CF(0,1,0)
  626. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  627. Part.CFrame=CF*EULER(Numbb,0,0)
  628. Part.Transparency=i
  629. Numbb=Numbb+randnumb
  630. end
  631. Part.Parent=nil
  632. end),prt)
  633. end
  634.  
  635. function MagicBlock(size,waitt,cframe,color)
  636. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size), true)
  637. local mesh = IT("BlockMesh",wave)
  638. wave.CFrame = cframe
  639. coroutine.resume(coroutine.create(function(PART)
  640. for i = 1, waitt do
  641. Swait()
  642. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  643. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  644. wave.Transparency = wave.Transparency + (1/waitt)
  645. if wave.Transparency > 0.99 then
  646. wave:remove()
  647. end
  648. end
  649. end))
  650. end
  651.  
  652. function MagicBlock2(size,waitt,cframe,color)
  653. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(size,size,size), true)
  654. local mesh = IT("BlockMesh",wave)
  655. wave.CFrame = cframe
  656. coroutine.resume(coroutine.create(function(PART)
  657. for i = 1, waitt do
  658. Swait()
  659. mesh.Scale = mesh.Scale - VT(1/waitt,1/waitt,1/waitt)
  660. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  661. wave.Transparency = wave.Transparency - (1/waitt)
  662. end
  663. wave:Destroy()
  664. end))
  665. end
  666.  
  667. local EyeSizes={
  668. NumberSequenceKeypoint.new(0,1,0),
  669. NumberSequenceKeypoint.new(1,0.2,0)
  670. }
  671. local EyeTrans={
  672. NumberSequenceKeypoint.new(0,0.8,0),
  673. NumberSequenceKeypoint.new(1,1,0)
  674. }
  675. local PE=Instance.new("ParticleEmitter")
  676. PE.LightEmission=0.7
  677. PE.Size=NumberSequence.new(EyeSizes)
  678. PE.Transparency=NumberSequence.new(EyeTrans)
  679. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  680. PE.Rotation=NumberRange.new(0,360)
  681. PE.Rate=15
  682. PE.Acceleration = Vector3.new(0,75,0)
  683. PE.Drag = 5
  684. PE.Enabled = false
  685. PE.VelocitySpread = 999
  686. PE.Speed = NumberRange.new(0,0,0)
  687. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  688. PE.ZOffset = 0
  689. PE.Name = "Particles"
  690. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  691. local particle = nil
  692. coroutine.resume(coroutine.create(function(PART)
  693. particle = PE:Clone()
  694. Swait()
  695. particle.Rate = 999
  696. particle.Parent = art
  697. particle.Acceleration = accel
  698. if type == "Fire" then
  699. local EyeSizes={
  700. NumberSequenceKeypoint.new(0,size,size/2),
  701. NumberSequenceKeypoint.new(1,size/4,size/8)
  702. }
  703. particle.Size = NumberSequence.new(EyeSizes)
  704. elseif type == "Smoke" then
  705. local EyeSizes={
  706. NumberSequenceKeypoint.new(0,0.5,0),
  707. NumberSequenceKeypoint.new(1,5,0.5)
  708. }
  709. particle.Size = NumberSequence.new(EyeSizes)
  710. elseif type == "Solid" then
  711. local EyeSizes={
  712. NumberSequenceKeypoint.new(0,0.5,0),
  713. NumberSequenceKeypoint.new(1,0.5,0)
  714. }
  715. particle.Size = NumberSequence.new(EyeSizes)
  716. end
  717. particle.Lifetime=NumberRange.new(lifetime)
  718. particle.Drag = drag
  719. if locked == true then
  720. particle.LockedToPart = true
  721. end
  722. particle.Speed = NumberRange.new(speed,speed,speed)
  723. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  724. particle.Enabled = isenabledbydefault
  725. particle.Color = ColorSequence.new(Color3.new(255/255, 75/255, 0))
  726. end))
  727. return particle
  728. end
  729.  
  730. --//=================================\\
  731. --\\=================================//
  732.  
  733.  
  734. --//=================================\\
  735. --|| WEAPON CREATION
  736. --\\=================================//
  737.  
  738. if Player_Size ~= 1 then
  739. for _, v in pairs (Weapon:GetChildren()) do
  740. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  741. local p1 = v.Part1
  742. v.Part1 = nil
  743. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  744. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  745. v.Part1 = p1
  746. elseif v.ClassName == "Part" then
  747. for _, b in pairs (v:GetChildren()) do
  748. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  749. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  750. end
  751. end
  752. end
  753. end
  754. end
  755.  
  756. function MakeForm(PART,TYPE)
  757. if TYPE == "Cyl" then
  758. local MSH = IT("CylinderMesh",PART)
  759. elseif TYPE == "Ball" then
  760. local MSH = IT("SpecialMesh",PART)
  761. MSH.MeshType = "Sphere"
  762. elseif TYPE == "Wedge" then
  763. local MSH = IT("SpecialMesh",PART)
  764. MSH.MeshType = "Wedge"
  765. end
  766. end
  767.  
  768. function createaddon(position,size)
  769. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  770. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local part = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  772. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  773. end
  774.  
  775. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(1.025*Player_Size,2.025*Player_Size,1.025*Player_Size),false)
  776. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777. FIST.CanCollide = true
  778. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,1.05*Player_Size,1.05*Player_Size),false)
  779. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  780. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.06*Player_Size,0.2*Player_Size,1.06*Player_Size),false)
  781. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  782. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.55*Player_Size,1.05*Player_Size),false)
  783. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  784. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.25*Player_Size,1.05*Player_Size),false)
  785. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.15 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  786. MakeForm(part,"Wedge")
  787. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.25*Player_Size,1.05*Player_Size),false)
  788. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  789. MakeForm(part,"Wedge")
  790. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.035*Player_Size,0.3*Player_Size,1.035*Player_Size),false)
  791. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  792. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.035*Player_Size,0.3*Player_Size,1.035*Player_Size),false)
  793. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  794. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,1.1*Player_Size,1.1*Player_Size),false)
  795. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  796. MakeForm(part,"Wedge")
  797. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.15*Player_Size,1.15*Player_Size,1.15*Player_Size),false)
  798. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.05 * Player_Size, -0.505 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  799. MakeForm(part,"Wedge")
  800. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
  801. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  802. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
  803. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  804. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
  805. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, 0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  806. createaddon(0.4,0.4)
  807. createaddon(0.5,0.3)
  808. createaddon(0.6,0.2)
  809. local part = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(0.3*Player_Size,1.1*Player_Size,0.3*Player_Size),false)
  810. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  811.  
  812. for _, c in pairs(Weapon:GetChildren()) do
  813. if c.ClassName == "Part" then
  814. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  815. end
  816. end
  817.  
  818. Weapon.Parent = Character
  819.  
  820. Humanoid.Died:connect(function()
  821. ATTACK = true
  822. end)
  823.  
  824. print(Class_Name.." loaded.")
  825.  
  826. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  827. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  828.  
  829. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fireball", SKILLTEXTCOLOR, 8, "SciFi", 0, 2, 1, "Text 1")
  830. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Infernal drive", SKILLTEXTCOLOR, 8, "SciFi", 0, 2, 1, "Text 2")
  831.  
  832. local MANABAR = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0),"Mana Bar")
  833. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(0,0,0), C3(0, 0, 0),"Mana Cover")
  834. local MANATEXT = CreateLabel(MANABAR, "ENERGY ["..FLOOR(MANA).."]", C3(1, 1, 1), "Size32", "SciFi", 1, 2, 1, "Mana Text")
  835.  
  836. --//=================================\\
  837. --|| DAMAGE FUNCTIONS
  838. --\\=================================//
  839.  
  840. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  841. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  842. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  843. local BODYGYRO = IT("BodyGyro", STATPART)
  844. local BODYPOSITION = IT("BodyPosition", STATPART)
  845. BODYPOSITION.P = 2000
  846. BODYPOSITION.D = 100
  847. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  848. if LABELTYPE == "Normal" then
  849. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  850. elseif LABELTYPE == "Debuff" then
  851. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  852. elseif LABELTYPE == "Interruption" then
  853. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  854. end
  855. game:GetService("Debris"):AddItem(STATPART ,5)
  856. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  857. BILLBOARDGUI.Adornee = STATPART
  858. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  859. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  860. BILLBOARDGUI.AlwaysOnTop = false
  861. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  862. TEXTLABEL.BackgroundTransparency = 1
  863. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  864. TEXTLABEL.Text = TEXT
  865. TEXTLABEL.Font = "SciFi"
  866. TEXTLABEL.FontSize="Size42"
  867. TEXTLABEL.TextColor3 = COLOR
  868. TEXTLABEL.TextStrokeTransparency = 1
  869. TEXTLABEL.TextScaled = true
  870. TEXTLABEL.TextWrapped = true
  871. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  872. wait(0.2)
  873. for i=1, 5 do
  874. wait()
  875. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  876. end
  877. wait(1.2)
  878. for i=1, 5 do
  879. wait()
  880. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  881. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  882. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  883. end
  884. THEPART.Parent = nil
  885. end),STATPART, BODYPOSITION, TEXTLABEL)
  886. end
  887.  
  888.  
  889. --//=================================\\
  890. --|| DAMAGING
  891. --\\=================================//
  892.  
  893. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  894. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  895. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  896. local dmg = math.huge
  897. if humanoid.Health > 0 then
  898. if beserk == true then
  899. humanoid.Health = 0
  900. else
  901. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  902. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  903. if math.random(1,100) < critrate+1 then
  904. humanoid.Health = humanoid.Health - dmg*critmultiplier
  905. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  906. else
  907. humanoid.Health = humanoid.Health - dmg
  908. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  909. end
  910. local defence = Instance.new("BoolValue",hit.Parent)
  911. defence.Name = ("HitBy"..Player.Name)
  912. game:GetService("Debris"):AddItem(defence, 0.25)
  913. end
  914. end
  915. end
  916. end
  917.  
  918. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  919. local dmg = math.huge
  920. for i,v in ipairs(workspace:GetChildren()) do
  921. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  922. local body = v:GetChildren()
  923. for part = 1, #body do
  924. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  925. if(body[part].Position - position).Magnitude < radius then
  926. if v.ClassName == "Model" then
  927. if v:FindFirstChild("Humanoid") then
  928. if v.Humanoid.Health ~= 0 then
  929. if CanBeDodgedByJumping == true then
  930. if body[part].Position.Y < position.Y+5 then
  931. if math.random(1,100) < critrate+1 then
  932. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  933. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  934. else
  935. v.Humanoid.Health = v.Humanoid.Health - dmg
  936. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  937. end
  938. local defence = Instance.new("BoolValue",v)
  939. defence.Name = ("HitBy"..Player.Name)
  940. game:GetService("Debris"):AddItem(defence, 0.25)
  941. end
  942. else
  943. if beserk == true then
  944. v.Humanoid.Health = 0
  945. end
  946. if math.random(1,100) < critrate+1 then
  947. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  948. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  949. else
  950. v.Humanoid.Health = v.Humanoid.Health - dmg
  951. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  952. end
  953. local defence = Instance.new("BoolValue",v)
  954. defence.Name = ("HitBy"..Player.Name)
  955. game:GetService("Debris"):AddItem(defence, 0.25)
  956. end
  957. end
  958. end
  959. end
  960. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  961. end
  962. end
  963. end
  964. if v.ClassName == "Part" then
  965. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  966. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  967. end
  968. end
  969. end
  970. end
  971. end
  972.  
  973. function killnearest(position,range,maxstrength)
  974. for i,v in ipairs(workspace:GetChildren()) do
  975. local body = v:GetChildren()
  976. for part = 1, #body do
  977. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  978. if(body[part].Position - position).Magnitude < range then
  979. if v.ClassName == "Model" then
  980. v:BreakJoints()
  981. end
  982. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  983. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  984. end
  985. end
  986. end
  987. if v.ClassName == "Part" then
  988. if v.Anchored == false and (v.Position - position).Magnitude < range then
  989. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  990. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  991. end
  992. end
  993. end
  994. end
  995.  
  996. --//=================================\\
  997. --|| ATTACK FUNCTIONS AND STUFF
  998. --\\=================================//
  999.  
  1000. function createfireball(size,explosionsize,pos,velocity)
  1001. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1002. local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  1003. local FIREBALL = IT("Part",Effects)
  1004. FIREBALL.Shape = "Ball"
  1005. FIREBALL.Size = VT(size,size,size)
  1006. FIREBALL.Material = "Neon"
  1007. FIREBALL.CFrame = CF(pos)
  1008. FIREBALL.Transparency = 1
  1009. local bv = Instance.new("BodyVelocity")
  1010. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1011. bv.velocity = velocity
  1012. bv.Parent = FIREBALL
  1013. bv.Name = "MOVE"
  1014. local HIT = false
  1015. local harm = FIREBALL.Touched:Connect(function(hit)
  1016. if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  1017. HIT = true
  1018. coroutine.resume(coroutine.create(function()
  1019. FIREBALL.Anchored = true
  1020. FIREBALL.CanCollide = false
  1021. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  1022. AoEDamage(FIREBALL.Position,explosionsize*2,35,45,25,false,3,2,false,true)
  1023. for i = 1, 2 do
  1024. MagicBlock(explosionsize/3/i,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1025. MagicSphere(explosionsize/2/i,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1026. end
  1027. Swait(250)
  1028. FIREBALL:remove()
  1029. end))
  1030. end
  1031. end)
  1032. coroutine.resume(coroutine.create(function()
  1033. repeat
  1034. Swait()
  1035. MagicBlock2(size,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1036. until HIT == true
  1037. end))
  1038. return FIREBALL
  1039. end
  1040.  
  1041. function Erupt(cframe,size)
  1042. coroutine.resume(coroutine.create(function()
  1043. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1044. local FIREPILLARHITSOUNDS = {"171378971", "646619365", "472579737", "144140670"}
  1045. for i = 1, 5 do
  1046. CreateSwirl(0,i,true,-0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1047. Swait(15)
  1048. end
  1049. AoEDamage(cframe.p,size,35,45,25,false,3,2,false,true)
  1050. local brick = IT("Part",Effects)
  1051. brick.CanCollide = false
  1052. brick.Anchored = true
  1053. brick.Size = VT(0,0,0)
  1054. brick.Transparency = 1
  1055. brick.Name = "POS"
  1056. brick.CFrame = cframe
  1057. game:GetService("Debris"):AddItem(brick, 5)
  1058. AoEDamage(brick.Position,size*2,35,45,25,false,3,2,false,true)
  1059. CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], brick, 3, 1)
  1060. MagicSphere(size,25,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1061. MagicSphere(size/2,35,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1062. MagicSphere(size/3,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1063. MagicSphere2(size*5,25,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1064. CreateSwirl(0,size,true,0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1065. CreateSwirl(0,size,true,0.35,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1066. CreateSwirl(0,size,true,0.1,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1067. CreateSwirl(0,size,true,-0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1068. CreateSwirl(0,size,true,-0.35,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1069. CreateSwirl(0,size,true,-0.1,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1070. MagicBlock(size/6,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
  1071. end))
  1072. end
  1073.  
  1074. function Attack1()
  1075. ATTACK = true
  1076. for i=0, 1, 0.1 / Animation_Speed2 do
  1077. Swait()
  1078. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
  1079. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(75)), 0.15 / Animation_Speed2)
  1080. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1081. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1082. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1083. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1084. end
  1085. local harm = FIST.Touched:Connect(function(hit)
  1086. dealdamage(hit,15,18,0,false,0,0)
  1087. end)
  1088. CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
  1089. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1090. Swait()
  1091. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 0.4 / Animation_Speed2)
  1092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1095. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1096. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1097. end
  1098. harm:disconnect()
  1099. ATTACK = false
  1100. end
  1101.  
  1102. function Attack2()
  1103. ATTACK = true
  1104. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1105. Swait()
  1106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1110. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1111. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1112. end
  1113. local harm = FIST.Touched:Connect(function(hit)
  1114. dealdamage(hit,15,18,0,false,0,0)
  1115. end)
  1116. CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
  1117. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1118. Swait()
  1119. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1120. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1123. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1124. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1125. end
  1126. harm:disconnect()
  1127. ATTACK = false
  1128. end
  1129.  
  1130. function Attack3()
  1131. ATTACK = true
  1132. for i=0, 1, 0.1 / Animation_Speed2 do
  1133. Swait()
  1134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(75)), 0.15 / Animation_Speed2)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1138. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1139. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1140. end
  1141. local harm = FIST.Touched:Connect(function(hit)
  1142. dealdamage(hit,25,28,0,false,0,0)
  1143. end)
  1144. CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
  1145. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1146. Swait()
  1147. MagicSphere2(2,15,RightArm.CFrame * CF(0,1.2,0),"CGA brown")
  1148. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.3)
  1149. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1153. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1154. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1155. end
  1156. harm:disconnect()
  1157. ATTACK = false
  1158. end
  1159.  
  1160. function turnto(pos)
  1161. RootPart.CFrame = CF(RootPart.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1162. end
  1163.  
  1164. function Fireball()
  1165. ATTACK = true
  1166. Rooted = true
  1167. CreateSound("169445572", RightArm, 2, 1.6)
  1168. for i=0, 5, 0.1 / Animation_Speed2 do
  1169. Swait()
  1170. turnto(Mouse.Hit.p)
  1171. MagicSphere(0.8,15,RightArm.CFrame * CF(0,-1.5,0),"CGA brown")
  1172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1176. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1177. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1178. end
  1179. local aimpos = Mouse.Hit.p
  1180. createfireball(4,8,RightArm.CFrame * CF(0,-5,0).p,CF(RightArm.CFrame * CF(0,-5,0).p,aimpos).lookVector*100)
  1181. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1182. Swait()
  1183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1187. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed2)
  1188. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed2)
  1189. end
  1190. ATTACK = false
  1191. Rooted = false
  1192. end
  1193.  
  1194. function InfernalDrive()
  1195. ATTACK = true
  1196. Rooted = true
  1197. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  1198. Swait()
  1199. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  1200. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1203. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1204. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed)
  1205. end
  1206. CreateSound("217767125", LeftArm, 10, 1)
  1207. Erupt(CF(Mouse.Hit.p),15)
  1208. for i=0, 1.5, 0.1 / Animation_Speed do
  1209. Swait()
  1210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  1211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1214. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1215. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed)
  1216. end
  1217. ATTACK = false
  1218. Rooted = false
  1219. end
  1220.  
  1221. --//=================================\\
  1222. --|| ASSIGN THINGS TO KEYS
  1223. --\\=================================//
  1224.  
  1225. Humanoid.Changed:connect(function(Jump)
  1226. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1227. Humanoid.Jump = false
  1228. end
  1229. end)
  1230.  
  1231. function MouseDown(Mouse)
  1232. if ATTACK == false then
  1233. if COMBO == 1 then
  1234. COMBO = "HALT"
  1235. Attack1()
  1236. COMBO = 2
  1237. elseif COMBO == 2 then
  1238. COMBO = "HALT"
  1239. Attack2()
  1240. COMBO = 3
  1241. elseif COMBO == 3 then
  1242. COMBO = "HALT"
  1243. Attack3()
  1244. COMBO = 1
  1245. end
  1246. end
  1247. end
  1248.  
  1249. function MouseUp(Mouse)
  1250. HOLD = false
  1251. end
  1252.  
  1253. function KeyDown(Key)
  1254. if Key == "z" and MANA >= 250 and ATTACK == false then
  1255. MANA = MANA - 250
  1256. Fireball()
  1257. end
  1258.  
  1259. if Key == "b" and MANA >= 800 and ATTACK == false then
  1260. MANA = MANA - 800
  1261. InfernalDrive()
  1262. end
  1263. end
  1264.  
  1265. function KeyUp(Key)
  1266. end
  1267.  
  1268. Mouse.Button1Down:connect(function(NEWKEY)
  1269. MouseDown(NEWKEY)
  1270. end)
  1271. Mouse.Button1Up:connect(function(NEWKEY)
  1272. MouseUp(NEWKEY)
  1273. end)
  1274. Mouse.KeyDown:connect(function(NEWKEY)
  1275. KeyDown(NEWKEY)
  1276. end)
  1277. Mouse.KeyUp:connect(function(NEWKEY)
  1278. KeyUp(NEWKEY)
  1279. end)
  1280.  
  1281. --//=================================\\
  1282. --\\=================================//
  1283.  
  1284.  
  1285. function unanchor()
  1286. if UNANCHOR == true then
  1287. g = Character:GetChildren()
  1288. for i = 1, #g do
  1289. if g[i].ClassName == "Part" then
  1290. g[i].Anchored = false
  1291. end
  1292. end
  1293. end
  1294. end
  1295.  
  1296.  
  1297. --//=================================\\
  1298. --|| WRAP THE WHOLE SCRIPT UP
  1299. --\\=================================//
  1300.  
  1301. Humanoid.Changed:connect(function(Jump)
  1302. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1303. Humanoid.Jump = false
  1304. end
  1305. end)
  1306.  
  1307. ANIMATE.Parent = nil
  1308. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1309. IDLEANIMATION:Play()
  1310.  
  1311. while true do
  1312. Swait()
  1313. SINE = SINE + CHANGE
  1314. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1315. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1316. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1317. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1318. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1319. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1320. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1321. 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)
  1322. 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)
  1323. 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)
  1324. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1325. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1326. 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)
  1327. 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)
  1328. 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)
  1329. end
  1330. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1331. ANIM = "Jump"
  1332. if ATTACK == false then
  1333. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1334. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1337. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1338. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1339. end
  1340. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1341. ANIM = "Fall"
  1342. if ATTACK == false then
  1343. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1345. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1346. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1347. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1348. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1349. end
  1350. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1351. ANIM = "Idle"
  1352. if ATTACK == false then
  1353. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1357. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1359. end
  1360. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1361. ANIM = "Walk"
  1362. WALK = WALK + 1 / Animation_Speed
  1363. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1364. WALK = 0
  1365. if WALKINGANIM == true then
  1366. WALKINGANIM = false
  1367. elseif WALKINGANIM == false then
  1368. WALKINGANIM = true
  1369. end
  1370. end
  1371. --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)
  1372. --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)
  1373. if ATTACK == false then
  1374. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1375. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1376. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1377. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1378. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1379. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed)
  1380. end
  1381. end
  1382. if #Effects2>0 then
  1383. for e=1,#Effects2 do
  1384. if Effects2[e]~=nil then
  1385. local Thing=Effects2[e]
  1386. if Thing~=nil then
  1387. local Part=Thing[1]
  1388. local Mode=Thing[2]
  1389. local Delay=Thing[3]
  1390. local IncX=Thing[4]
  1391. local IncY=Thing[5]
  1392. local IncZ=Thing[6]
  1393. local Part2=Thing[8]
  1394. if Thing[1].Transparency<=1 then
  1395. if Thing[2]=="Block1" then
  1396. Thing[1].CFrame=Thing[1].CFrame
  1397. Mesh=Thing[1].Mesh
  1398. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1399. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1400. elseif Thing[2]=="Cylinder" then
  1401. Mesh=Thing[1].Mesh
  1402. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1403. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1404. elseif Thing[2]=="Blood" then
  1405. Mesh=Thing[7]
  1406. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1407. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1408. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1409. elseif Thing[2]=="Elec" then
  1410. Mesh=Thing[1].Mesh
  1411. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1412. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1413. elseif Thing[2]=="Disappear" then
  1414. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1415. end
  1416. else
  1417. Part.Parent=nil
  1418. table.remove(Effects2,e)
  1419. end
  1420. end
  1421. end
  1422. end
  1423. end
  1424. unanchor()
  1425. Humanoid.MaxHealth = "inf"
  1426. Humanoid.Health = "inf"
  1427. if Rooted == false then
  1428. Disable_Jump = false
  1429. Humanoid.WalkSpeed = Speed
  1430. elseif Rooted == true then
  1431. Disable_Jump = true
  1432. Humanoid.WalkSpeed = 0
  1433. end
  1434. if MANA ~= MAXMANA then
  1435. MANA = MANA + 1
  1436. end
  1437. MANACOVER:TweenSize(UD2(1 * (MANA / MAXMANA), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1438. MANATEXT.Text = "ENERGY ["..FLOOR(MANA).."]"
  1439. end
  1440.  
  1441. --//=================================\\
  1442. --\\=================================//
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448. --//====================================================\\--
  1449. --|| END OF SCRIPT
  1450. --\\====================================================//--
Add Comment
Please, Sign In to add comment