Advertisement
lafur

Untitled

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