Advertisement
Dark_EccentricYT

Untitled

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