Advertisement
EdgyHedgehog

Stun Hammer FE

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