Advertisement
LOl2x234

Untitled

Feb 5th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 252.83 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. p=game.Players.LocalPlayer
  5. c=p.Character
  6. m=p:GetMouse()
  7. Player = game:GetService("Players").LocalPlayer
  8. mouse=Player:GetMouse()
  9. Cha = Player.Character
  10. Character = Cha
  11. torso = Cha.Torso
  12. Mouse = mouse
  13. curaga = false
  14. equip = false
  15. on = false
  16. it=Instance.new
  17. vt=Vector3.new
  18. cf=CFrame.new
  19. euler=CFrame.fromEulerAnglesXYZ
  20. angles=CFrame.Angles
  21. Color1 = torso.BrickColor
  22. Torso = torso
  23. local Services = setmetatable({}, { __index = function(Self, Request) return game:getService(Request) or nil end })
  24. local Player = Services.Players.LocalPlayer
  25. local Mouse = Player:GetMouse()
  26. local Backpack = Player.Backpack
  27. local Character = Player.Character
  28. local PlayerGui = Player.PlayerGui
  29. local Camera = Workspace.CurrentCamera
  30. local RunService = Services.RunService
  31. local Head = Character:findFirstChild("Head")
  32. local Torso = Character:findFirstChild("Torso")
  33. local RootPart = Character:findFirstChild("HumanoidRootPart")
  34. local RightArm = Character:findFirstChild("Right Arm")
  35. local LeftArm = Character:findFirstChild("Left Arm")
  36. local RightLeg = Character:findFirstChild("Right Leg")
  37. local LeftLeg = Character:findFirstChild("Left Leg")
  38. local Humanoid = Character:findFirstChild("Humanoid")
  39. local Neck = Torso:findFirstChild("Neck")
  40. local RootJoint = RootPart:findFirstChild("RootJoint")
  41. local RightSH = Torso:findFirstChild("Right Shoulder")
  42. local LeftSH = Torso:findFirstChild("Left Shoulder")
  43. local RightHip = Torso:findFirstChild("Right Hip")
  44. local LeftHip = Torso:findFirstChild("Left Hip")
  45. local it = Instance.new
  46. local vt = Vector3.new
  47. local bc = BrickColor.new
  48. local c3 = Color3.new
  49. local UD2 = UDim2.new
  50. local cf = CFrame.new
  51. local euler = CFrame.fromEulerAnglesXYZ
  52. local angles = CFrame.Angles
  53. local bc = BrickColor.new
  54. local c3 = Color3.new
  55. local deg = math.deg
  56. local inf = math.huge
  57. local rad = math.rad
  58. local pi = math.pi
  59. local random = math.random
  60.  
  61.  
  62. function weld(parent,part0,part1,c0,c1)
  63. local weld = it("Motor")
  64. weld.Parent = parent
  65. weld.Part0 = part0
  66. weld.Part1 = part1
  67. weld.C0 = c0
  68. if c1 ~= nil then
  69. weld.C1 = c1
  70. end
  71. return weld
  72. end
  73.  
  74.  
  75. function mesh(Mesh,part,meshtype,meshid,scale)
  76. local mesh = it(Mesh)
  77. mesh.Parent = part
  78. if Mesh=="SpecialMesh" then
  79. mesh.MeshType = meshtype
  80. mesh.MeshId = meshid
  81. end
  82. mesh.Scale=scale
  83. return mesh
  84. end
  85.  
  86. function NoOutline(Part)
  87. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  88. end
  89.  
  90. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  91. local fp = it("Part")
  92. fp.formFactor = formfactor
  93. fp.Parent = parent
  94. fp.Reflectance = reflectance
  95. fp.Transparency = transparency
  96. fp.CanCollide = false
  97. fp.Locked=true
  98. fp.BrickColor = brickcolor
  99. fp.Name = name
  100. fp.Size = size
  101. fp.Position = Torso.Position
  102. fp.BottomSurface="Smooth"
  103. fp.TopSurface="Smooth"
  104. fp.Material = "SmoothPlastic"
  105. fp:BreakJoints()
  106.  
  107. NoOutline(fp)
  108. return fp
  109. end
  110.  
  111. local Wing=it("Model",Main)
  112. Wing.Name = "Wing"
  113.  
  114. WingBase1=part(3,Wing,0.5,0,bc("Black"),"WingBase1",vt(0.419999987, 0.349999994, 0.349999994))
  115. WingBase2=part(3,Wing,0.5,0,bc("Black"),"WingBase2",vt(0.409999967, 0.349999994, 0.349999994))
  116. WingBase18=part(3,Wing,0.5,0,bc("Black"),"WingBase18",vt(0.349999994, 0.200000003, 0.75000006))
  117. WingBase16=part(3,Wing,0.5,0,bc("Black"),"WingBase16",vt(0.350000054, 0.200000003, 0.300000012))
  118. WingBase13=part(3,Wing,0.5,0,bc("Black"),"WingBase13",vt(0.200000003, 0.349999994, 0.200000003))
  119. WingBase17=part(3,Wing,0.5,0,bc("Black"),"WingBase17",vt(0.349999994, 0.200000003, 0.350000054))
  120. WingBase6=part(3,Wing,0.5,0,bc("Black"),"WingBase6",vt(0.639999986, 0.349999994, 0.349999994))
  121. WingBase19=part(3,Wing,0.5,0,bc("Black"),"WingBase19",vt(0.349999994, 0.200000003, 0.75000006))
  122. WingBase12=part(3,Wing,0.5,0,bc("Black"),"WingBase12",vt(0.349999994, 0.200000003, 0.280000001))
  123. WingBase10=part(3,Wing,0.5,0,bc("Black"),"WingBase10",vt(0.300000012, 0.349999994, 0.270000011))
  124. WingBase14=part(3,Wing,0.5,0,bc("Black"),"WingBase14",vt(0.350000054, 0.209999993, 0.200000003))
  125. WingBase9=part(3,Wing,0.5,0,bc("Black"),"WingBase9",vt(0.289999962, 0.349999994, 0.460000008))
  126. WingBase11=part(3,Wing,0.5,0,bc("Black"),"WingBase11",vt(0.350000054, 0.309999973, 0.400000006))
  127. WingBase5=part(3,Wing,0.5,0,bc("Black"),"WingBase5",vt(0.409999967, 0.349999994, 0.349999994))
  128. WingBase8=part(3,Wing,0.5,0,bc("Black"),"WingBase8",vt(0.879999995, 0.349999994, 0.349999994))
  129. WingBase4=part(3,Wing,0.5,0,bc("Black"),"WingBase4",vt(0.419999987, 0.349999994, 0.349999994))
  130. WingBase15=part(3,Wing,0.5,0,bc("Black"),"WingBase15",vt(0.349999994, 0.200000003, 0.350000054))
  131. WingBase20=part(3,Wing,0.5,0,bc("Black"),"WingBase20",vt(0.350000054, 0.209999993, 0.400000006))
  132. WingBase3=part(3,Wing,0.5,0,bc("Black"),"WingBase3",vt(0.399999976, 0.349999994, 0.349999994))
  133. WingBase7=part(3,Wing,0.5,0,bc("Black"),"WingBase7",vt(1.04999995, 0.349999994, 0.350000024))
  134. Feather1=part(3,Wing,0,0,bc("Black"),"Feather1",vt(0.419999987, 0.349999994, 1.00999999))
  135. Feather2=part(3,Wing,0,0,bc("Black"),"Feather2",vt(0.419999987, 0.349999994, 1.06999993))
  136. Feather3=part(3,Wing,0,0,bc("Black"),"Feather3",vt(0.419999987, 0.349999994, 1.06999993))
  137. Feather4=part(3,Wing,0,0,bc("Black"),"Feather4",vt(0.419999987, 0.349999994, 1.06999993))
  138. Feather5=part(3,Wing,0,0,bc("Black"),"Feather5",vt(0.419999987, 0.349999994, 0.969999969))
  139. Feather6=part(3,Wing,0,0,bc("Black"),"Feather6",vt(0.419999987, 0.349999994, 0.919999957))
  140. Feather7=part(3,Wing,0,0,bc("Black"),"Feather7",vt(0.419999987, 0.349999994, 0.969999969))
  141. Feather8=part(3,Wing,0,0,bc("Black"),"Feather8",vt(0.419999987, 0.349999994, 0.889999986))
  142. Feather9=part(3,Wing,0,0,bc("Black"),"Feather9",vt(0.419999987, 0.349999994, 1.46000004))
  143. Feather10=part(3,Wing,0,0,bc("Black"),"Feather10",vt(0.419999987, 0.349999994, 1.46000004))
  144. Feather11=part(3,Wing,0,0,bc("Black"),"Feather11",vt(0.419999987, 0.349999994, 1.32000005))
  145. Feather12=part(3,Wing,0,0,bc("Black"),"Feather12",vt(0.419999987, 0.349999994, 1.46000004))
  146. Feather13=part(3,Wing,0,0,bc("Black"),"Feather13",vt(0.419999987, 0.349999994, 1.13999999))
  147. Feather14=part(3,Wing,0,0,bc("Black"),"Feather14",vt(0.419999987, 0.349999994, 1.24000001))
  148. Feather15=part(3,Wing,0,0,bc("Black"),"Feather15",vt(0.419999987, 0.349999994, 1.46000004))
  149. Feather16=part(3,Wing,0,0,bc("Black"),"Feather16",vt(0.419999987, 0.349999994, 1.46000004))
  150. Feather17=part(3,Wing,0,0,bc("Black"),"Feather17",vt(0.419999987, 0.349999994, 1.46000004))
  151. Feather18=part(3,Wing,0,0,bc("Black"),"Feather18",vt(0.419999987, 0.349999994, 1.46000004))
  152. Feather19=part(3,Wing,0,0,bc("Black"),"Feather19",vt(0.419999987, 0.349999994, 1.46000004))
  153. Feather20=part(3,Wing,0,0,bc("Black"),"Feather20",vt(0.419999987, 0.349999994, 1.46000004))
  154. Feather21=part(3,Wing,0,0,bc("Black"),"Feather21",vt(0.419999987, 0.349999994, 1.46000004))
  155. Feather22=part(3,Wing,0,0,bc("Black"),"Feather22",vt(0.419999987, 0.349999994, 1.46000004))
  156. Feather23=part(3,Wing,0,0,bc("Black"),"Feather23",vt(0.419999987, 0.349999994, 1.46000004))
  157. Feather24=part(3,Wing,0,0,bc("Black"),"Feather24",vt(0.419999987, 0.349999994, 1.46000004))
  158. Feather25=part(3,Wing,0,0,bc("Black"),"Feather25",vt(0.419999987, 0.349999994, 1.46000004))
  159. Feather26=part(3,Wing,0,0,bc("Black"),"Feather26",vt(0.419999987, 0.349999994, 1.46000004))
  160. Feather27=part(3,Wing,0,0,bc("Black"),"Feather27",vt(0.419999987, 0.349999994, 1.46000004))
  161. Feather28=part(3,Wing,0,0,bc("Black"),"Feather28",vt(0.419999987, 0.349999994, 1.46000004))
  162. Feather29=part(3,Wing,0,0,bc("Black"),"Feather29",vt(0.419999987, 0.349999994, 1.46000004))
  163. Feather30=part(3,Wing,0,0,bc("Black"),"Feather30",vt(0.419999987, 0.349999994, 1.46000004))
  164. Feather31=part(3,Wing,0,0,bc("Black"),"Feather31",vt(0.419999987, 0.349999994, 1.18000007))
  165. Feather32=part(3,Wing,0,0,bc("Black"),"Feather32",vt(0.419999987, 0.349999994, 1.19000006))
  166. Feather33=part(3,Wing,0,0,bc("Black"),"Feather33",vt(0.419999987, 0.349999994, 1.20000005))
  167.  
  168. WingBase1Mesh=mesh("BlockMesh",WingBase1,nil,nil,vt(1, 0.75, 1))
  169. WingBase2Mesh=mesh("BlockMesh",WingBase2,nil,nil,vt(1, 0.75, 1))
  170. WingBase18Mesh=mesh("SpecialMesh",WingBase18,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  171. WingBase16Mesh=mesh("SpecialMesh",WingBase16,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  172. WingBase13Mesh=mesh("BlockMesh",WingBase13,nil,nil,vt(1, 0.75, 1))
  173. WingBase17Mesh=mesh("SpecialMesh",WingBase17,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  174. WingBase6Mesh=mesh("BlockMesh",WingBase6,nil,nil,vt(1, 0.75, 1))
  175. WingBase19Mesh=mesh("SpecialMesh",WingBase19,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  176. WingBase12Mesh=mesh("SpecialMesh",WingBase12,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  177. WingBase10Mesh=mesh("BlockMesh",WingBase10,nil,nil,vt(1, 0.75, 1))
  178. WingBase14Mesh=mesh("SpecialMesh",WingBase14,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  179. WingBase9Mesh=mesh("BlockMesh",WingBase9,nil,nil,vt(1, 0.75, 1))
  180. WingBase11Mesh=mesh("SpecialMesh",WingBase11,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  181. WingBase5Mesh=mesh("BlockMesh",WingBase5,nil,nil,vt(1, 0.75, 1))
  182. WingBase8Mesh=mesh("BlockMesh",WingBase8,nil,nil,vt(1, 0.75, 1))
  183. WingBase4Mesh=mesh("BlockMesh",WingBase4,nil,nil,vt(1, 0.75, 1))
  184. WingBase15Mesh=mesh("SpecialMesh",WingBase15,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  185. WingBase20Mesh=mesh("SpecialMesh",WingBase20,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  186. WingBase3Mesh=mesh("BlockMesh",WingBase3,nil,nil,vt(1, 0.75, 1))
  187. WingBase7Mesh=mesh("BlockMesh",WingBase7,nil,nil,vt(1, 0.75, 1))
  188. Feather1Mesh=mesh("SpecialMesh",Feather1,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  189. Feather2Mesh=mesh("SpecialMesh",Feather2,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  190. Feather3Mesh=mesh("SpecialMesh",Feather3,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  191. Feather4Mesh=mesh("SpecialMesh",Feather4,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  192. Feather5Mesh=mesh("SpecialMesh",Feather5,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  193. Feather6Mesh=mesh("SpecialMesh",Feather6,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  194. Feather7Mesh=mesh("SpecialMesh",Feather7,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  195. Feather8Mesh=mesh("SpecialMesh",Feather8,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  196. Feather9Mesh=mesh("SpecialMesh",Feather9,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  197. Feather10Mesh=mesh("SpecialMesh",Feather10,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  198. Feather11Mesh=mesh("SpecialMesh",Feather11,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  199. Feather12Mesh=mesh("SpecialMesh",Feather12,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  200. Feather13Mesh=mesh("SpecialMesh",Feather13,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  201. Feather14Mesh=mesh("SpecialMesh",Feather14,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  202. Feather15Mesh=mesh("SpecialMesh",Feather15,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  203. Feather16Mesh=mesh("SpecialMesh",Feather16,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  204. Feather17Mesh=mesh("SpecialMesh",Feather17,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  205. Feather18Mesh=mesh("SpecialMesh",Feather18,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  206. Feather19Mesh=mesh("SpecialMesh",Feather19,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  207. Feather20Mesh=mesh("SpecialMesh",Feather20,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  208. Feather21Mesh=mesh("SpecialMesh",Feather21,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  209. Feather22Mesh=mesh("SpecialMesh",Feather22,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  210. Feather23Mesh=mesh("SpecialMesh",Feather23,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  211. Feather24Mesh=mesh("SpecialMesh",Feather24,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  212. Feather25Mesh=mesh("SpecialMesh",Feather25,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  213. Feather26Mesh=mesh("SpecialMesh",Feather26,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  214. Feather27Mesh=mesh("SpecialMesh",Feather27,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  215. Feather28Mesh=mesh("SpecialMesh",Feather28,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  216. Feather29Mesh=mesh("SpecialMesh",Feather29,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  217. Feather30Mesh=mesh("SpecialMesh",Feather30,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  218. Feather31Mesh=mesh("SpecialMesh",Feather31,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  219. Feather32Mesh=mesh("SpecialMesh",Feather32,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  220. Feather33Mesh=mesh("SpecialMesh",Feather33,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  221.  
  222. WingBase2Weld=weld(WingBase2,WingBase1,WingBase2,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.355962753, -5.34057617e-005, -0.0460422039, 0.965922117, -6.4935989e-007, -0.258824944, 9.45273655e-007, 1.00000358, 6.96481266e-007, 0.258822531, -7.75792159e-007, 0.96592319))
  223. WingBase18Weld=weld(WingBase18,WingBase1,WingBase18,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-7.82012939e-005, 1.71768296, -0.0596590042, 2.14519696e-006, 1.00000286, 3.59664432e-006, -0.25884521, -2.85406827e-006, 0.965918303, 0.965916634, -2.88861565e-006, 0.258844018))
  224. WingBase16Weld=weld(WingBase16,WingBase1,WingBase16,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(6.48498535e-005, 1.31769586, 0.584618092, -3.92836546e-006, -1.00000286, 3.26387226e-006, -0.258847058, 4.23423035e-006, 0.965917826, -0.965916038, 2.8351908e-006, -0.258845866))
  225. WingBase13Weld=weld(WingBase13,WingBase1,WingBase13,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.534636021, -5.34057617e-005, 1.50768614, 0.965918958, 5.23543804e-007, 0.258833051, -2.02715682e-007, 1.00000358, -7.13421912e-007, -0.258834541, 7.17566309e-007, 0.965921044))
  226. WingBase17Weld=weld(WingBase17,WingBase1,WingBase17,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-9.53674316e-006, 1.31768668, -0.259648323, 2.14519696e-006, 1.00000286, 3.59664432e-006, -0.25884521, -2.85406827e-006, 0.965918303, 0.965916634, -2.88861565e-006, 0.258844018))
  227. WingBase6Weld=weld(WingBase6,WingBase1,WingBase6,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.45269644, -7.62939453e-005, -1.00459003, 0.258845925, -2.64582059e-006, -0.965917945, 3.66035738e-006, 1.00000358, -1.67449002e-006, 0.965915799, -2.9591165e-006, 0.258844495))
  228. WingBase19Weld=weld(WingBase19,WingBase1,WingBase19,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(7.82012939e-005, -1.91767323, -0.0596580505, -2.31264426e-006, -1.00000322, -3.57980252e-006, 0.258846998, 2.78636048e-006, -0.965917766, 0.965915859, -3.03169782e-006, 0.258845687))
  229. WingBase12Weld=weld(WingBase12,WingBase1,WingBase12,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-6.86645508e-005, 1.9176805, -1.05459642, 2.20304946e-006, 1.00000322, 3.3807587e-006, -0.25884515, -2.62247454e-006, 0.965918303, 0.965916336, -2.87430998e-006, 0.258843809))
  230. WingBase10Weld=weld(WingBase10,WingBase1,WingBase10,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.58458424, -7.2479248e-005, 1.88266897, 0.965918958, 5.23543804e-007, 0.258833051, -2.02715682e-007, 1.00000358, -7.13421912e-007, -0.258834541, 7.17566309e-007, 0.965921044))
  231. WingBase14Weld=weld(WingBase14,WingBase1,WingBase14,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-6.86645508e-005, -1.52269363, 0.634617329, 4.18074433e-006, 1.00000322, -3.18485695e-006, 0.25884515, -4.23132315e-006, -0.965918303, -0.965916336, 3.08512517e-006, -0.258843809))
  232. WingBase9Weld=weld(WingBase9,WingBase1,WingBase9,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.33960438, -6.67572021e-005, 1.78767776, 0.965918958, 5.23543804e-007, 0.258833051, -2.02715682e-007, 1.00000358, -7.13421912e-007, -0.258834541, 7.17566309e-007, 0.965921044))
  233. WingBase11Weld=weld(WingBase11,WingBase1,WingBase11,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.000116348267, 1.86269534, 1.91455078, -3.92937591e-006, -1.00000322, 3.26764257e-006, -0.258847028, 4.24622749e-006, 0.965917766, -0.965915859, 2.8208849e-006, -0.258845717))
  234. WingBase5Weld=weld(WingBase5,WingBase1,WingBase5,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.19561648, -7.43865967e-005, -0.672100067, 0.500008821, -2.24392556e-006, -0.866019726, 3.48486537e-006, 1.00000358, -5.31528201e-007, 0.866017342, -2.5930683e-006, 0.500007927))
  235. WingBase8Weld=weld(WingBase8,WingBase1,WingBase8,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-2.03245592, -8.01086426e-005, 0.0426003933, 0.837390959, -1.4928147e-006, -0.54660207, 2.30550995e-006, 1.00000358, 7.36536492e-007, 0.546599805, -1.71642284e-006, 0.837391019))
  236. WingBase4Weld=weld(WingBase4,WingBase1,WingBase4,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.973057508, -6.29425049e-005, -0.387414217, 0.707102954, -1.74793638e-006, -0.707109332, 2.81738471e-006, 1.00000358, 3.43376826e-007, 0.707106888, -2.07064977e-006, 0.707102656))
  237. WingBase15Weld=weld(WingBase15,WingBase1,WingBase15,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(9.53674316e-006, -1.5176872, -0.259640694, -2.31264426e-006, -1.00000322, -3.57980252e-006, 0.258846998, 2.78636048e-006, -0.965917766, 0.965915859, -3.03169782e-006, 0.258845687))
  238. WingBase20Weld=weld(WingBase20,WingBase1,WingBase20,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(6.67572021e-005, 1.91268194, 0.634614944, -3.92937591e-006, -1.00000322, 3.26764257e-006, -0.258847028, 4.24622749e-006, 0.965917766, -0.965915859, 2.8208849e-006, -0.258845717))
  239. WingBase3Weld=weld(WingBase3,WingBase1,WingBase3,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.683662415, -5.91278076e-005, -0.18256712, 0.866019964, -1.37188908e-006, -0.500006676, 2.09364907e-006, 1.00000358, 7.94631831e-007, 0.50000447, -1.57662748e-006, 0.866020083))
  240. WingBase7Weld=weld(WingBase7,WingBase1,WingBase7,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.959616661, -6.29425049e-005, 1.73267627, 0.965918958, 5.23543804e-007, 0.258833051, -2.02715682e-007, 1.00000358, -7.13421912e-007, -0.258834541, 7.17566309e-007, 0.965921044))
  241. Feather1Weld=weld(Feather1,WingBase1,Feather1,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.540187359, -7.05718994e-005, -0.598245144, 0.866019964, -1.37188908e-006, -0.500006676, 2.09364907e-006, 1.00000358, 7.94632115e-007, 0.50000447, -1.57662771e-006, 0.866020083))
  242. Feather2Weld=weld(Feather2,WingBase1,Feather2,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.718423367, -7.43865967e-005, -0.832182407, 0.707102954, -1.91576464e-006, -0.707109332, 3.02501803e-006, 1.00000358, 3.13665907e-007, 0.707106888, -2.19646176e-006, 0.707102656))
  243. Feather3Weld=weld(Feather3,WingBase1,Feather3,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.740187645, -7.43865967e-005, -0.622644901, 0.866019964, -1.37188908e-006, -0.500006676, 2.09364907e-006, 1.00000358, 7.94632115e-007, 0.50000447, -1.57662771e-006, 0.866020083))
  244. Feather4Weld=weld(Feather4,WingBase1,Feather4,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.00674868, -8.77380371e-005, -0.832184792, 0.707102954, -1.91576464e-006, -0.707109332, 3.02501803e-006, 1.00000358, 3.13665907e-007, 0.707106888, -2.19646176e-006, 0.707102656))
  245. Feather5Weld=weld(Feather5,WingBase1,Feather5,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.474379539, -5.91278076e-005, -0.418046474, 0.965922058, -7.55705571e-007, -0.258825064, 1.06738821e-006, 1.00000358, 7.41331633e-007, 0.25882259, -8.50720994e-007, 0.965923071))
  246. Feather6Weld=weld(Feather6,WingBase1,Feather6,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.198741913, -5.53131104e-005, -0.270505488, 0.999997318, -1.0920968e-007, -9.23871994e-007, 2.26462532e-007, 1.00000358, 1.83415111e-007, -1.1920929e-006, -6.82173891e-008, 0.999998987))
  247. Feather7Weld=weld(Feather7,WingBase1,Feather7,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.254669189, -6.10351563e-005, -0.357559443, 0.965922058, -7.55705571e-007, -0.258825064, 1.06738821e-006, 1.00000358, 7.41331633e-007, 0.25882259, -8.50720994e-007, 0.965923071))
  248. Feather8Weld=weld(Feather8,WingBase1,Feather8,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.00175094604, -3.05175781e-005, -0.255502999, 0.999997318, -1.0920968e-007, -9.23871994e-007, 2.26462532e-007, 1.00000358, 1.83415111e-007, -1.1920929e-006, -6.82173891e-008, 0.999998987))
  249. Feather9Weld=weld(Feather9,WingBase1,Feather9,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.10341501, -0.000112533569, -2.11767769, 0.02479285, -2.77653771e-006, -0.999691665, 3.23537552e-006, 1.00000358, -2.58485534e-006, 0.999689817, -3.05024196e-006, 0.0247907937))
  250. Feather10Weld=weld(Feather10,WingBase1,Feather10,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.20839906, -0.000104904175, -2.38045979, -0.0195948482, -2.78577659e-006, -0.999807, 3.11053736e-006, 1.00000358, -2.72977104e-006, 0.999805212, -3.04847504e-006, -0.0195969343))
  251. Feather11Weld=weld(Feather11,WingBase1,Feather11,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.28466725, -9.72747803e-005, -1.48626804, 0.344489813, -2.56149156e-006, -0.938789427, 3.70431189e-006, 1.00000358, -1.29701994e-006, 0.938787222, -2.88101978e-006, 0.344488561))
  252. Feather12Weld=weld(Feather12,WingBase1,Feather12,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.45404506, -0.000108718872, -1.65424347, 0.282669187, -2.62445383e-006, -0.959216833, 3.6791389e-006, 1.00000358, -1.57118575e-006, 0.959214747, -2.9399539e-006, 0.282667816))
  253. Feather13Weld=weld(Feather13,WingBase1,Feather13,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.23247051, -9.53674316e-005, -0.984697342, 0.639259934, -2.0823777e-006, -0.76899004, 3.27914222e-006, 1.00000358, 3.57500198e-008, 0.768987298, -2.38069083e-006, 0.639259219))
  254. Feather14Weld=weld(Feather14,WingBase1,Feather14,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.16015279, -8.77380371e-005, -1.32011509, 0.418463826, -2.47104867e-006, -0.908232927, 3.68704877e-006, 1.00000358, -9.60744728e-007, 0.908230603, -2.79198321e-006, 0.418462664))
  255. Feather15Weld=weld(Feather15,WingBase1,Feather15,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.10644126, -0.000137329102, -2.78042984, -0.0195948482, -2.78577659e-006, -0.999807, 3.11053736e-006, 1.00000358, -2.72977104e-006, 0.999805212, -3.04847504e-006, -0.0195969343))
  256. Feather16Weld=weld(Feather16,WingBase1,Feather16,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.18360949, -0.000131607056, -2.594666, 0.0685354769, -2.76265814e-006, -0.997647822, 3.34555079e-006, 1.00000358, -2.43218915e-006, 0.997645974, -3.04614036e-006, 0.0685334802))
  257. Feather17Weld=weld(Feather17,WingBase1,Feather17,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.40957952, -0.000133514404, -2.28203964, 0.221879438, -2.67591008e-006, -0.975073338, 3.6216411e-006, 1.00000358, -1.83167879e-006, 0.975071311, -2.98508553e-006, 0.221877888))
  258. Feather18Weld=weld(Feather18,WingBase1,Feather18,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.12435305, -0.00012588501, -2.29955244, 0.182672456, -2.70384044e-006, -0.983173072, 3.56828878e-006, 1.00000358, -1.99370947e-006, 0.983171165, -3.007749e-006, 0.182670817))
  259. Feather19Weld=weld(Feather19,WingBase1,Feather19,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.770295978, -0.000104904175, -1.73867226, 0.344052047, -2.56197973e-006, -0.938949943, 3.70425846e-006, 1.00000358, -1.29899013e-006, 0.938947797, -2.88148544e-006, 0.344050765))
  260. Feather20Weld=weld(Feather20,WingBase1,Feather20,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.729023933, -8.01086426e-005, -1.25784135, 0.612863302, -2.14008992e-006, -0.790188193, 3.35976074e-006, 1.00000358, -7.82527536e-008, 0.79018569, -2.44365083e-006, 0.612862706))
  261. Feather21Weld=weld(Feather21,WingBase1,Feather21,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.30062783, -0.000102996826, -1.74829721, 0.414175808, -2.47676689e-006, -0.910196245, 3.68953033e-006, 1.00000358, -9.80394589e-007, 0.91019398, -2.79772644e-006, 0.414174676))
  262. Feather22Weld=weld(Feather22,WingBase1,Feather22,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-1.15844178, -0.000110626221, -2.05048847, 0.268546164, -2.63731226e-006, -0.963266253, 3.66859877e-006, 1.00000358, -1.63260677e-006, 0.963264048, -2.95154655e-006, 0.268544674))
  263. Feather23Weld=weld(Feather23,WingBase1,Feather23,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.77013582, -0.000104904175, -1.89136219, 0.260025412, -2.64480036e-006, -0.965601146, 3.66140216e-006, 1.00000358, -1.6694114e-006, 0.96559906, -2.95821246e-006, 0.260023952))
  264. Feather24Weld=weld(Feather24,WingBase1,Feather24,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.884355307, -0.000112533569, -1.56190538, 0.485016644, -2.37426093e-006, -0.874504387, 3.62381297e-006, 1.00000358, -6.54962321e-007, 0.874501944, -2.69298084e-006, 0.485015661))
  265. Feather25Weld=weld(Feather25,WingBase1,Feather25,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.628379941, -9.72747803e-005, -1.47733831, 0.449624032, -2.42765259e-006, -0.893217325, 3.66330869e-006, 1.00000358, -8.17663818e-007, 0.89321506, -2.74798163e-006, 0.449622989))
  266. Feather26Weld=weld(Feather26,WingBase1,Feather26,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.593516827, -9.15527344e-005, -1.09148264, 0.651592493, -2.05413653e-006, -0.758568466, 3.23810764e-006, 1.00000358, 8.80448283e-008, 0.758565724, -2.34970616e-006, 0.651591718))
  267. Feather27Weld=weld(Feather27,WingBase1,Feather27,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.459043741, -6.67572021e-005, -1.0271709, 0.648452342, -2.06140771e-006, -0.76125443, 3.2487651e-006, 1.00000358, 7.47939453e-008, 0.761251688, -2.35769448e-006, 0.648451626))
  268. Feather28Weld=weld(Feather28,WingBase1,Feather28,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.149277449, -7.05718994e-005, -0.906393528, 0.684335113, -1.97486679e-006, -0.729166448, 3.11822487e-006, 1.00000358, 2.23289931e-007, 0.729164004, -2.26219709e-006, 0.684334636))
  269. Feather29Weld=weld(Feather29,WingBase1,Feather29,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.224815845, -7.82012939e-005, -1.00763488, 0.617459416, -2.13029875e-006, -0.786601841, 3.34641459e-006, 1.00000358, -5.82169832e-008, 0.786599398, -2.4330061e-006, 0.61745894))
  270. Feather30Weld=weld(Feather30,WingBase1,Feather30,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.207231283, -6.29425049e-005, -0.737761736, 0.788794637, -1.67079304e-006, -0.614655077, 2.6154537e-006, 1.00000358, 6.02931607e-007, 0.614652693, -1.92026801e-006, 0.788794756))
  271. Feather31Weld=weld(Feather31,WingBase1,Feather31,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.0187997818, -5.7220459e-005, -0.673555136, 0.943573236, -9.38967958e-007, -0.33115828, 1.35717062e-006, 1.00000358, 8.12734413e-007, 0.331156015, -1.06879338e-006, 0.94357419))
  272. Feather32Weld=weld(Feather32,WingBase1,Feather32,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.295625687, -6.10351563e-005, -0.791354895, 0.926542044, -1.05369168e-006, -0.376186669, 1.54661279e-006, 1.00000358, 8.34736738e-007, 0.376184434, -1.20439813e-006, 0.92654264))
  273. Feather33Weld=weld(Feather33,WingBase1,Feather33,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0655574799, -5.7220459e-005, -0.770354033, 0.910740137, -1.14779505e-006, -0.412976056, 1.70568967e-006, 1.00000358, 8.38895687e-007, 0.412973911, -1.31509762e-006, 0.910740376))
  274.  
  275. WingBase1Weld=weld(WingBase1,Torso,WingBase1,euler(rad(90),0,rad(25))*cf(0.75,0.25,-0.5))
  276.  
  277. plr = game.Players.LocalPlayer
  278. char = plr.Character
  279. hum = char.Humanoid
  280. t = char.Torso
  281. h = char.Head
  282. ra = char["Right Arm"]
  283. la = char["Left Arm"]
  284. rl = char["Right Leg"]
  285. ll = char["Left Leg"]
  286. tors = char.Torso
  287. lleg = char["Left Leg"]
  288. root = char.HumanoidRootPart
  289. hed = char.Head
  290. rleg = char["Right Leg"]
  291. rarm = char["Right Arm"]
  292. larm = char["Left Arm"]
  293. vt = Vector3.new
  294. bc = BrickColor.new
  295. br = BrickColor.random
  296. it = Instance.new
  297. cf = CFrame.new
  298.  
  299. local maincolor = BrickColor.new("Really black")
  300. local maincolor2 = BrickColor.new("Really black")
  301.  
  302. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  303. local p = Instance.new("Part")
  304. p.Parent = parent
  305. p.Size = Vector3.new(1,1,1)
  306. p.Transparency = transparency
  307. p.Reflectance = reflectance
  308. p.CanCollide = false
  309. p.Locked = true
  310. p.BrickColor = brickcolor
  311. p.Material = material
  312. return p
  313. end
  314.  
  315. function CreateMesh(parent,meshtype,x1,y1,z1)
  316. local mesh = Instance.new("SpecialMesh",parent)
  317. mesh.MeshType = meshtype
  318. mesh.Scale = Vector3.new(x1,y1,z1)
  319. return mesh
  320. end
  321.  
  322. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  323. local mesh = Instance.new("SpecialMesh",parent)
  324. mesh.MeshType = "FileMesh"
  325. mesh.MeshId = meshid
  326. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  327. mesh.Scale = Vector3.new(x1,y1,z1)
  328. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  329. return mesh
  330. end
  331.  
  332. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  333. local weld = Instance.new("Weld")
  334. weld.Parent = parent
  335. weld.Part0 = part0
  336. weld.Part1 = part1
  337. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  338. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  339. return weld
  340. end
  341. local m = Instance.new("Model",char)
  342. m.Name = "wot"
  343.  
  344. -------------- Arms section
  345. ---- Right arm
  346. local handle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  347. CreateMesh(handle,"Brick",1.05,1.5,1.05)
  348. CreateWeld(handle,rarm,handle,0,-0.265,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  349. local handleg = CreatePart(m,0,0,"Neon",maincolor)
  350. CreateMesh(handleg,"Brick",1.025,1.5,1.025)
  351. CreateWeld(handleg,handle,handleg,0,0.1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  352. local handleo = CreatePart(m,0,0,"Neon",maincolor)
  353. CreateMesh(handleo,"Brick",1.085,1.35,1.085)
  354. CreateWeld(handleo,handle,handleo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  355. local handleon = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  356. CreateMesh(handleon,"Brick",1.1,1.225,1.1)
  357. CreateWeld(handleon,handle,handleon,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  358. local wngr = CreatePart(m,0,0,"Neon",maincolor)
  359. CreateSpecialGlowMesh(wngr,"http://www.roblox.com/asset/?id=111896510",0.65,0.35,0.65)
  360. CreateWeld(wngr,handle,wngr,0.485,-0.5,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(90),math.rad(0))
  361. local wngr2 = CreatePart(m,0,0,"Neon",maincolor)
  362. CreateSpecialGlowMesh(wngr2,"http://www.roblox.com/asset/?id=111896510",0.25,0.5,0.55)
  363. CreateWeld(wngr2,handle,wngr2,0.485,-0.75,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(90),math.rad(0))
  364. local wngr3 = CreatePart(m,0,0,"Neon",maincolor)
  365. CreateSpecialGlowMesh(wngr3,"http://www.roblox.com/asset/?id=111896510",0.25,0.5,0.55)
  366. CreateWeld(wngr3,handle,wngr3,0.425,-0.75,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(60),math.rad(90),math.rad(0))
  367. local rig = CreatePart(m,0,0,"Neon",maincolor)
  368. CreateSpecialGlowMesh(rig,"http://www.roblox.com/asset/?id=15392960",0.2,0.325,0.2)
  369. CreateWeld(rig,handle,rig,0,-0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  370. local glowb = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  371. CreateMesh(glowb,"Sphere",0.65,0.085,0.65)
  372. CreateWeld(glowb,handle,glowb,0,-0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  373. local glowbo = CreatePart(m,0,0,"Neon",maincolor)
  374. CreateMesh(glowbo,"Sphere",0.75,0.05,0.75)
  375. CreateWeld(glowbo,glowb,glowbo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  376.  
  377. ---Section A
  378. local glown = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  379. CreateMesh(glown,"Sphere",0.085,0.35,0.35)
  380. CreateWeld(glown,handle,glown,-0.55,-0.35,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  381. local glownb = CreatePart(m,0,0,"Neon",maincolor)
  382. CreateMesh(glownb,"Sphere",0.075,0.4,0.4)
  383. CreateWeld(glownb,glown,glownb,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  384. local glown2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  385. CreateMesh(glown2,"Sphere",0.085,0.35,0.35)
  386. CreateWeld(glown2,handle,glown2,-0.55,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  387. local glownb2 = CreatePart(m,0,0,"Neon",maincolor)
  388. CreateMesh(glownb2,"Sphere",0.075,0.4,0.4)
  389. CreateWeld(glownb2,glown2,glownb2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  390. local glown3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  391. CreateMesh(glown3,"Sphere",0.085,0.35,0.35)
  392. CreateWeld(glown3,handle,glown3,-0.55,0.35,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  393. local glownb3 = CreatePart(m,0,0,"Neon",maincolor)
  394. CreateMesh(glownb3,"Sphere",0.075,0.4,0.4)
  395. CreateWeld(glownb3,glown3,glownb3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  396.  
  397. ---Section A2
  398. local blak = CreatePart(m,0,0,"Neon",maincolor)
  399. CreateMesh(blak,"Brick",0.35,0.95,1.125)
  400. CreateWeld(blak,handle,blak,0.235,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  401. local blak2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  402. CreateMesh(blak2,"Brick",0.305,0.905,1.145)
  403. CreateWeld(blak2,blak,blak2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  404.  
  405. local line = CreatePart(m,0,0,"Neon",maincolor)
  406. CreateMesh(line,"Brick",0.75,0.1,1.125)
  407. CreateWeld(line,handle,line,-0.2,-0.35,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  408. local line2 = CreatePart(m,0,0,"Neon",maincolor)
  409. CreateMesh(line2,"Brick",0.75,0.1,1.125)
  410. CreateWeld(line2,handle,line2,-0.2,0.35,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  411. local line3 = CreatePart(m,0,0,"Neon",maincolor)
  412. CreateMesh(line3,"Brick",0.75,0.1,1.125)
  413. CreateWeld(line3,handle,line3,-0.2,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  414.  
  415. local p = game.Players.LocalPlayer
  416. local char = p.Character
  417. local torso = char.Torso
  418. local S = Instance.new("Part",char)
  419. S.Size = Vector3.new(1,1,1)
  420. S.Material = "Neon"
  421. S.BrickColor = BrickColor.new("Really black")
  422. S.Transparency = 0
  423. S.Anchored = true
  424. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  425. local Ring = Instance.new("Part",S)
  426. Ring.Size = Vector3.new(1,1,1)
  427. Ring.BrickColor = BrickColor.new("Really black")
  428. Ring.Anchored = true
  429. Ring.CanCollide = false
  430. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  431. local Ring2 = Instance.new("SpecialMesh",Ring)
  432. Ring2.MeshId = "rbxassetid://3270017"
  433. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  434. local S2 = Instance.new("SpecialMesh",S)
  435. S2.MeshType = "Sphere"
  436. S2.Scale = Vector3.new(1,1,1)
  437.  
  438. local partasdeff = Instance.new("ParticleEmitter",S)
  439. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2))
  440. partasdeff.LightEmission = .1
  441. partasdeff.Size = NumberSequence.new(0.2)
  442. partasdeff.Texture = "http://www.roblox.com/asset/?ID=0"
  443. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  444. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  445. partasdeff.Transparency = bbb
  446. partasdeff.Size = aaa
  447. partasdeff.ZOffset = .9
  448. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  449. partasdeff.LockedToPart = false
  450. partasdeff.EmissionDirection = "Top"
  451. partasdeff.Lifetime = NumberRange.new(1, 2)
  452. partasdeff.Rate = 1000
  453. partasdeff.Rotation = NumberRange.new(-100, 100)
  454. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  455. partasdeff.Speed = NumberRange.new(10)
  456. partasdeff.VelocitySpread = 300
  457. partasdeff.Enabled = true
  458. for i = 1,100 do
  459. Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  460. Ring.Transparency = Ring.Transparency + 0.01
  461. S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  462. S.Transparency = S.Transparency + 0.01
  463. game:GetService("RunService").RenderStepped:wait()
  464. end
  465. S:remove()
  466. wait(0)
  467.  
  468.  
  469. Lighting = game.Lighting
  470. skybox = Instance.new("Sky", Lighting)
  471.  
  472. skybox.SkyboxBk = "rbxassetid://12064107"
  473. skybox.SkyboxDn = "rbxassetid://12064152"
  474. skybox.SkyboxFt = "rbxassetid://12064121"
  475. skybox.SkyboxLf = "rbxassetid://12063984"
  476. skybox.SkyboxRt = "rbxassetid://12064115"
  477. skybox.SkyboxUp = "rbxassetid://12064131"
  478.  
  479. local plr = game:GetService("Players").LocalPlayer
  480. local char = plr.Character
  481.  
  482. function FindInTable(t, n)
  483. for i,v in pairs(t) do
  484. if v == n then
  485. return true
  486. end
  487. end
  488. return false
  489. end
  490.  
  491. p = game.Players.LocalPlayer
  492.  
  493. makeframe = function(par, trans, pos, size, color)
  494. local frame = Instance.new("Frame", par)
  495. frame.BackgroundTransparency = trans
  496. frame.BorderSizePixel = 1
  497. frame.BorderColor3 = BrickColor.Black().Color
  498. frame.Position = pos
  499. frame.Size = size
  500. frame.BackgroundColor3 = BrickColor.new("Really black").Color
  501. frame.ZIndex = 5
  502. return frame
  503. end
  504.  
  505. makelabel = function(par, text)
  506. local label = Instance.new("TextLabel", par)
  507. label.BackgroundTransparency = 1
  508. label.Size = ud(1, 0, 1, 0)
  509. label.Position = ud(0, 0, 0, 0)
  510. label.TextColor3 = c3(255,255,255)
  511. label.TextStrokeTransparency = 0
  512. label.FontSize = Enum.FontSize.Size24
  513. label.Font = Enum.Font.SciFi
  514. label.BorderSizePixel = 0
  515. label.TextScaled = true
  516. label.Text = text
  517. end
  518. ----------------------------------------------
  519. local scrn = Instance.new("ScreenGui", p.PlayerGui)
  520. ud = UDim2.new
  521. c3 = Color3.new
  522.  
  523. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.150,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  524. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  525. Manatext = makelabel(Manabar, "[F]: To use the Sword")
  526.  
  527. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.190,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  528. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  529. Manatext = makelabel(Manabar, "[E]: Fast attacks")
  530.  
  531. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.230,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  532. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  533. Manatext = makelabel(Manabar, "[F] To disable Sword")
  534.  
  535. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.270,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  536. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  537. Manatext = makelabel(Manabar, "[Z]:Demon Howl")
  538.  
  539. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.310,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  540. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  541. Manatext = makelabel(Manabar, "[C]:Demon Dash")
  542.  
  543. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.350,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  544. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  545. Manatext = makelabel(Manabar, "[X]:Black Inferno")
  546.  
  547. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.390,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  548. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  549. Manatext = makelabel(Manabar, "[V]:Transformation of the Demon")
  550.  
  551. warn'<Script>Kirito Has been Activated'
  552. warn'<Script>:The Chosen'
  553.  
  554. -----------------------------------------------------------------
  555. --Transformaaaaation--
  556. char["Left Arm"].BrickColor = BrickColor.new("Pastel brown")
  557. char["Right Arm"].BrickColor = BrickColor.new("Pastel brown")
  558. char.Head.BrickColor = BrickColor.new("Pastel brown")
  559. char["Left Leg"].BrickColor = BrickColor.new("Pastel brown")
  560. char["Right Leg"].BrickColor = BrickColor.new("Pastel brown")
  561.  
  562. for i,v in pairs(char:children'') do
  563. local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
  564. if FindInTable(toremove, v.ClassName) then v:Destroy() end
  565. if v.ClassName == "BodyColors" then
  566. v.HeadColor = BrickColor.new("Pastel brown")
  567. v.LeftArmColor = BrickColor.new("Pastel brown")
  568. v.LeftLegColor = BrickColor.new("Pastel brown")
  569. v.RightArmColor = BrickColor.new("Pastel brown")
  570. v.RightLegColor = BrickColor.new("Pastel brown")
  571. v.TorsoColor = BrickColor.new("Pastel brown")
  572. end
  573. end
  574. Instance.new("Shirt", char).ShirtTemplate = "http://www.roblox.com/asset/?id=106469846"
  575. Instance.new("Pants", char).PantsTemplate = "http://www.roblox.com/asset/?id=106469846"
  576.  
  577. local function CreateHat(name, meshid, textureid)
  578. local h = Instance.new("Accessory")
  579. h.Name = name
  580. local han = Instance.new("Part", h)
  581. han.Name = "Handle"
  582. local mesh = Instance.new("SpecialMesh", han)
  583. mesh.Name = "Mesh"
  584. mesh.MeshId = meshid
  585. mesh.TextureId = textureid
  586. return h,han,mesh
  587. end
  588. hum = char:FindFirstChildOfClass'Humanoid'
  589.  
  590. h,han,mesh = CreateHat("First Hair", "http://www.roblox.com/asset/?id=16627529", "http://www.roblox.com/asset/?id=13996320")
  591. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  592. han.Size = Vector3.new(2, 2, 2)
  593. h.AttachmentPos = Vector3.new(0, 0, 0)
  594. hum:AddAccessory(h)
  595. h,han,mesh = CreateHat("Second Hair", "http://www.roblox.com/asset/?id=76056263", "http://www.roblox.com/asset/?id=13996320")
  596. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  597. han.Size = Vector3.new(2, 2, 2)
  598. h.AttachmentPos = Vector3.new(0.1, 0.3, -0.2)
  599. hum:AddAccessory(h)
  600.  
  601. wait(1 / 60)
  602.  
  603. wait(1)
  604. jump = false
  605. local Effects2 = {}
  606. basicmusic = "rbxassetid://720246607"
  607. abyssmusic = "rbxassetid://144127514"
  608. Player = game:GetService("Players").LocalPlayer
  609. PlayerGui = Player.PlayerGui
  610. Cam = workspace.CurrentCamera
  611. Backpack = Player.Backpack
  612. Character = Player.Character
  613. Humanoid = Character.Humanoid
  614. Mouse = Player:GetMouse()
  615. RootPart = Character["HumanoidRootPart"]
  616. Torso = Character["Torso"]
  617. Head = Character["Head"]
  618. RightArm = Character["Right Arm"]
  619. LeftArm = Character["Left Arm"]
  620. RightLeg = Character["Right Leg"]
  621. LeftLeg = Character["Left Leg"]
  622. RootJoint = RootPart["RootJoint"]
  623. Neck = Torso["Neck"]
  624. RightShoulder = Torso["Right Shoulder"]
  625. LeftShoulder = Torso["Left Shoulder"]
  626. RightHip = Torso["Right Hip"]
  627. LeftHip = Torso["Left Hip"]
  628. local sick = Instance.new("Sound",Character)
  629. sick.SoundId = basicmusic
  630. sick.Looped = true
  631. sick.Pitch = 1
  632. sick.Volume = 1
  633. sick:Play()
  634. Humanoid.MaxHealth = math.huge
  635. Humanoid.Health = math.huge
  636. local wingholder = Instance.new("Model")
  637. wingholder.Parent = Character
  638. ABYSSFORM = false
  639. Face = Head.face
  640. FaceID = Face.Texture
  641. AFaceID = "http://www.roblox.com/asset/?id=1015774318"
  642. char = Character
  643. root = RootPart
  644. HeadColor = Head.BrickColor
  645. TorsoColor = Torso.BrickColor
  646. RLColor = RightLeg.BrickColor
  647. RAColor = RightArm.BrickColor
  648. LLColor = LeftLeg.BrickColor
  649. LAColor = LeftArm.BrickColor
  650. Character:FindFirstChild("Body Colors"):remove()
  651. Taunts = {907332997,907332856,907330011,907332525,907333406}
  652. local attacksound1 = Instance.new("Sound",Head)
  653. attacksound1.SoundId = "rbxassetid://159972643"
  654. attacksound1.Pitch = 1
  655. attacksound1.Volume = 3
  656. local attacksound2 = Instance.new("Sound",Head)
  657. attacksound2.SoundId = "rbxassetid://159972627"
  658. attacksound2.Pitch = 1
  659. attacksound2.Volume = 3
  660. local attacksound3 = Instance.new("Sound",Head)
  661. attacksound3.SoundId = "rbxassetid://159882477"
  662. attacksound3.Pitch = 1
  663. attacksound3.Volume = 3
  664. local attacksound4 = Instance.new("Sound",Head)
  665. attacksound4.SoundId = "rbxassetid://159882584"
  666. attacksound4.Pitch = 1
  667. attacksound4.Volume = 3
  668. local shriek = Instance.new("Sound",Head)
  669. shriek.SoundId = "rbxassetid://199978176"
  670. shriek.Pitch = 1.5
  671. shriek.Volume = 3
  672. local laugh = Instance.new("Sound",Character)
  673. laugh.SoundId = "rbxassetid://861942173"
  674. laugh.Pitch = 1
  675. laugh.Volume = 10
  676. local fade = Instance.new("Sound",Character)
  677. fade.SoundId = "rbxassetid://3264923"
  678. fade.Pitch = 1
  679. fade.Volume = 3
  680. Abysstimer = 700
  681. wait(0.01)
  682. Humanoid.MaxHealth = math.huge
  683. Humanoid.Health = math.huge
  684.  
  685.  
  686. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  687. local fp=Instance.new("Part")
  688. fp.formFactor=formfactor
  689. fp.Parent=parent
  690. fp.Reflectance=reflectance
  691. fp.Transparency=transparency
  692. fp.CanCollide=false
  693. fp.Locked=true
  694. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  695. fp.Name=name
  696. fp.Size=size
  697. fp.Position=Character.Torso.Position
  698. fp.Material=material
  699. fp:BreakJoints()
  700. return fp
  701. end
  702.  
  703. function particles(art,enabled)
  704. local EyeSizes={
  705. NumberSequenceKeypoint.new(0,.8,0),
  706. NumberSequenceKeypoint.new(1,0,0)
  707. }
  708. local EyeTrans={
  709. NumberSequenceKeypoint.new(0,0,0),
  710. NumberSequenceKeypoint.new(1,1,0)
  711. }
  712. local PE=Instance.new("ParticleEmitter",art)
  713. PE.LightEmission=.4
  714. PE.Size=NumberSequence.new(EyeSizes)
  715. PE.Transparency=NumberSequence.new(EyeTrans)
  716. PE.Lifetime=NumberRange.new(0.5,0.5,0.5)
  717. PE.Rate=360
  718. PE.Speed = NumberRange.new(0,0,0)
  719. PE.Texture="rbxassetid://24419398"
  720. PE.ZOffset = 0
  721. PE.Name = "PE"
  722. PE.Enabled = enabled
  723. end
  724.  
  725. particles(RightArm,false)
  726. particles(LeftArm,false)
  727. particles(RightLeg,false)
  728. particles(LeftLeg,false)
  729. particles(Torso,false)
  730. particles(Head,false)
  731.  
  732.  
  733. IT = Instance.new
  734. CF = CFrame.new
  735. VT = Vector3.new
  736. RAD = math.rad
  737. C3 = Color3.new
  738. UD2 = UDim2.new
  739. BRICKC = BrickColor.new
  740. ANGLES = CFrame.Angles
  741. EULER = CFrame.fromEulerAnglesXYZ
  742. COS = math.cos
  743. ACOS = math.acos
  744. SIN = math.sin
  745. ASIN = math.asin
  746. ABS = math.abs
  747. MRANDOM = math.random
  748. FLOOR = math.floor
  749.  
  750.  
  751.  
  752.  
  753. --//=================================\\
  754. --|| CUSTOMIZATION
  755. --\\=================================//
  756.  
  757. Class_Name = "Demon"
  758. Weapon_Name = "Sword of the Chosen One"
  759.  
  760. Custom_Colors = {
  761. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  762. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  763.  
  764. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  765. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  766. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  767. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  768. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  769.  
  770. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  771. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  772. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  773. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  774. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  775. }
  776.  
  777. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  778. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  779. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  780. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  781. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  782. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  783.  
  784. Player_Size = 1 --Size of the player.
  785. Animation_Speed = 2
  786. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  787.  
  788. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  789. Enable_Stats = false --Enables or disables stats.
  790. Put_Stats_In_Character = false --Places stats in Character.
  791. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  792. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  793. Enable_Stagger = false --Enables or disables staggering.
  794. Enable_Stun = false --Enables or disables the stun mechanic.
  795. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  796. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  797.  
  798. Start_Equipped = false --Starts the player equipped with their weapon.
  799. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  800. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  801. Disable_Animator = true --Disables the Animator in the humanoid.
  802. Disable_Animate = true --Disables the Animate script in the character.
  803. Disable_Moving_Arms = false --Keeps the arms from moving around.
  804. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  805. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  806. Disable_Jump = false --Disables jumping.
  807. Use_HopperBin = false --Uses a hopperbin to do things.
  808.  
  809. Cooldown_1 = 0 --Cooldowns for abilites.
  810. Cooldown_2 = 0
  811. Cooldown_3 = 0
  812. Cooldown_4 = 0
  813. HOLDCHARGE = false
  814. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  815. Skill_2_Mana_Cost = 0
  816. Skill_3_Mana_Cost = 0
  817. Skill_4_Mana_Cost = 0
  818. Max_Mana = 0 --Maximum amount of mana you can have.
  819. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  820. Mana_Name = "Mana" --Name for the mana bar.
  821. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  822. Max_Stun = 1 --Maximum amount of stun you can have.
  823. Recover_Mana = 0 --How much mana you gain.
  824. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  825. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  826. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  827. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  828. Lose_Stun = 0 --How much stun you lose.
  829. Stun_Wait = 0 --Delay between losing stun.
  830. Mana_Wait = 0 --Delay between gaining mana.
  831. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  832. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  833. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  834. Show_Stats = false --Hides or shows stats.
  835. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  836.  
  837. --//=================================\\
  838. --|| END OF CUSTOMIZATION
  839. --\\=================================//
  840.  
  841.  
  842.  
  843.  
  844.  
  845. --//=================================\\
  846. --|| USEFUL VALUES
  847. --\\=================================//
  848.  
  849. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  850. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  851. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  852. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  853. local CO1 = 0
  854. local CO2 = 0
  855. local CO3 = 0
  856. local CO4 = 0
  857. local CHANGEDEFENSE = 0
  858. local CHANGEDAMAGE = 0
  859. local CHANGEMOVEMENT = 0
  860. local ANIM = "Idle"
  861. local ATTACK = false
  862. local EQUIPPED = false
  863. local HOLD = false
  864. local COMBO = 1
  865. local LASTPOINT = nil
  866. local BLCF = nil
  867. local SCFR = nil
  868. local STAGGERHITANIM = false
  869. local STAGGERANIM = false
  870. local STUNANIM = false
  871. local CRITCHANCENUMBER = 0
  872. local IDLENUMBER = 0
  873. local DONUMBER = 0
  874. local HANDIDLE = false
  875. local SINE = 0
  876. local CHANGE = 2 / Animation_Speed
  877. local WALKINGANIM = false
  878. local WALK = 0
  879. local DISABLEJUMPING = false
  880. local HASBEENBLOCKED = false
  881. local STUNDELAYNUMBER = 0
  882. local MANADELAYNUMBER = 0
  883. local SECONDARYMANADELAYNUMBER = 0
  884. local ROBLOXIDLEANIMATION = IT("Animation")
  885. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  886. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  887. --ROBLOXIDLEANIMATION.Parent = Humanoid
  888. local WEAPONGUI = IT("ScreenGui", nil)
  889. WEAPONGUI.Name = "Weapon GUI"
  890. local WEAPONTOOL = IT("HopperBin", nil)
  891. WEAPONTOOL.Name = Weapon_Name
  892. local Weapon = IT("Model")
  893. Weapon.Name = Weapon_Name
  894. local Effects = IT("Folder", Weapon)
  895. Effects.Name = "Effects"
  896. local ANIMATOR = Humanoid.Animator
  897. local ANIMATE = Character.Animate
  898. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  899. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  900. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  901. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  902.  
  903. --//=================================\\
  904. --\\=================================//
  905.  
  906.  
  907.  
  908.  
  909.  
  910. --//=================================\\
  911. --|| STATS
  912. --\\=================================//
  913.  
  914. if Character:FindFirstChild("Stats") ~= nil then
  915. Character:FindFirstChild("Stats").Parent = nil
  916. end
  917.  
  918. local Stats = IT("Folder", nil)
  919. Stats.Name = "Stats"
  920. local ChangeStat = IT("Folder", Stats)
  921. ChangeStat.Name = "ChangeStat"
  922. local Defense = IT("NumberValue", Stats)
  923. Defense.Name = "Defense"
  924. Defense.Value = 1
  925. local Movement = IT("NumberValue", Stats)
  926. Movement.Name = "Movement"
  927. Movement.Value = 1
  928. local Damage = IT("NumberValue", Stats)
  929. Damage.Name = "Damage"
  930. Damage.Value = 1
  931. local Mana = IT("NumberValue", Stats)
  932. Mana.Name = "Mana"
  933. Mana.Value = 0
  934. local SecondaryMana = IT("NumberValue", Stats)
  935. SecondaryMana.Name = "SecondaryMana"
  936. SecondaryMana.Value = 0
  937. local CanCrit = IT("BoolValue", Stats)
  938. CanCrit.Name = "CanCrit"
  939. CanCrit.Value = false
  940. local CritChance = IT("NumberValue", Stats)
  941. CritChance.Name = "CritChance"
  942. CritChance.Value = 20
  943. local CanPenetrateArmor = IT("BoolValue", Stats)
  944. CanPenetrateArmor.Name = "CanPenetrateArmor"
  945. CanPenetrateArmor.Value = false
  946. local AntiTeamKill = IT("BoolValue", Stats)
  947. AntiTeamKill.Name = "AntiTeamKill"
  948. AntiTeamKill.Value = false
  949. local Rooted = IT("BoolValue", Stats)
  950. Rooted.Name = "Rooted"
  951. Rooted.Value = false
  952. local Block = IT("BoolValue", Stats)
  953. Block.Name = "Block"
  954. Block.Value = false
  955. local RecentEnemy = IT("ObjectValue", Stats)
  956. RecentEnemy.Name = "RecentEnemy"
  957. RecentEnemy.Value = nil
  958. local StaggerHit = IT("BoolValue", Stats)
  959. StaggerHit.Name = "StaggerHit"
  960. StaggerHit.Value = false
  961. local Stagger = IT("BoolValue", Stats)
  962. Stagger.Name = "Stagger"
  963. Stagger.Value = false
  964. local Stun = IT("BoolValue", Stats)
  965. Stun.Name = "Stun"
  966. Stun.Value = false
  967. local StunValue = IT("NumberValue", Stats)
  968. StunValue.Name = "StunValue"
  969. StunValue.Value = 0
  970.  
  971. if Enable_Stats == true and Put_Stats_In_Character == true then
  972. Stats.Parent = Character
  973. end
  974.  
  975. --//=================================\\
  976. --\\=================================//
  977.  
  978.  
  979.  
  980.  
  981.  
  982. --//=================================\\
  983. --|| DEBUFFS / BUFFS
  984. --\\=================================//
  985.  
  986. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  987. DEFENSECHANGE1.Name = "ChangeDefense"
  988. DEFENSECHANGE1.Value = 0
  989.  
  990. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  991. MOVEMENTCHANGE1.Name = "ChangeMovement"
  992. MOVEMENTCHANGE1.Value = 0
  993.  
  994. --//=================================\\
  995. --\\=================================//
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001. --//=================================\\
  1002. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1003. --\\=================================//
  1004.  
  1005. ArtificialHB = Instance.new("BindableEvent", script)
  1006. ArtificialHB.Name = "ArtificialHB"
  1007.  
  1008. script:WaitForChild("ArtificialHB")
  1009.  
  1010. frame = Frame_Speed
  1011. tf = 0
  1012. allowframeloss = false
  1013. tossremainder = false
  1014. lastframe = tick()
  1015. script.ArtificialHB:Fire()
  1016.  
  1017. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1018. tf = tf + s
  1019. if tf >= frame then
  1020. if allowframeloss then
  1021. script.ArtificialHB:Fire()
  1022. lastframe = tick()
  1023. else
  1024. for i = 1, math.floor(tf / frame) do
  1025. script.ArtificialHB:Fire()
  1026. end
  1027. lastframe = tick()
  1028. end
  1029. if tossremainder then
  1030. tf = 0
  1031. else
  1032. tf = tf - frame * math.floor(tf / frame)
  1033. end
  1034. end
  1035. end)
  1036.  
  1037. --//=================================\\
  1038. --\\=================================//
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. --//=================================\\
  1045. --|| SOME FUNCTIONS
  1046. --\\=================================//
  1047.  
  1048. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1049. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1050. end
  1051.  
  1052. function PositiveAngle(NUMBER)
  1053. if NUMBER >= 0 then
  1054. NUMBER = 0
  1055. end
  1056. return NUMBER
  1057. end
  1058.  
  1059. function NegativeAngle(NUMBER)
  1060. if NUMBER <= 0 then
  1061. NUMBER = 0
  1062. end
  1063. return NUMBER
  1064. end
  1065.  
  1066. function Swait(NUMBER)
  1067. if NUMBER == 0 or NUMBER == nil then
  1068. ArtificialHB.Event:wait()
  1069. else
  1070. for i = 1, NUMBER do
  1071. ArtificialHB.Event:wait()
  1072. end
  1073. end
  1074. end
  1075.  
  1076. function QuaternionFromCFrame(cf)
  1077. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1078. local trace = m00 + m11 + m22
  1079. if trace > 0 then
  1080. local s = math.sqrt(1 + trace)
  1081. local recip = 0.5 / s
  1082. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1083. else
  1084. local i = 0
  1085. if m11 > m00 then
  1086. i = 1
  1087. end
  1088. if m22 > (i == 0 and m00 or m11) then
  1089. i = 2
  1090. end
  1091. if i == 0 then
  1092. local s = math.sqrt(m00 - m11 - m22 + 1)
  1093. local recip = 0.5 / s
  1094. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1095. elseif i == 1 then
  1096. local s = math.sqrt(m11 - m22 - m00 + 1)
  1097. local recip = 0.5 / s
  1098. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1099. elseif i == 2 then
  1100. local s = math.sqrt(m22 - m00 - m11 + 1)
  1101. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1102. end
  1103. end
  1104. end
  1105.  
  1106. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1107. local xs, ys, zs = x + x, y + y, z + z
  1108. local wx, wy, wz = w * xs, w * ys, w * zs
  1109. local xx = x * xs
  1110. local xy = x * ys
  1111. local xz = x * zs
  1112. local yy = y * ys
  1113. local yz = y * zs
  1114. local zz = z * zs
  1115. 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))
  1116. end
  1117.  
  1118. function QuaternionSlerp(a, b, t)
  1119. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1120. local startInterp, finishInterp;
  1121. if cosTheta >= 0.0001 then
  1122. if (1 - cosTheta) > 0.0001 then
  1123. local theta = ACOS(cosTheta)
  1124. local invSinTheta = 1 / SIN(theta)
  1125. startInterp = SIN((1 - t) * theta) * invSinTheta
  1126. finishInterp = SIN(t * theta) * invSinTheta
  1127. else
  1128. startInterp = 1 - t
  1129. finishInterp = t
  1130. end
  1131. else
  1132. if (1 + cosTheta) > 0.0001 then
  1133. local theta = ACOS(-cosTheta)
  1134. local invSinTheta = 1 / SIN(theta)
  1135. startInterp = SIN((t - 1) * theta) * invSinTheta
  1136. finishInterp = SIN(t * theta) * invSinTheta
  1137. else
  1138. startInterp = t - 1
  1139. finishInterp = t
  1140. end
  1141. end
  1142. 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
  1143. end
  1144.  
  1145. function Clerp(a, b, t)
  1146. local qa = {QuaternionFromCFrame(a)}
  1147. local qb = {QuaternionFromCFrame(b)}
  1148. local ax, ay, az = a.x, a.y, a.z
  1149. local bx, by, bz = b.x, b.y, b.z
  1150. local _t = 1 - t
  1151. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1152. end
  1153.  
  1154. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1155. local frame = IT("Frame")
  1156. frame.BackgroundTransparency = TRANSPARENCY
  1157. frame.BorderSizePixel = BORDERSIZEPIXEL
  1158. frame.Position = POSITION
  1159. frame.Size = SIZE
  1160. frame.BackgroundColor3 = COLOR
  1161. frame.BorderColor3 = BORDERCOLOR
  1162. frame.Name = NAME
  1163. frame.Parent = PARENT
  1164. return frame
  1165. end
  1166.  
  1167. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1168. local label = IT("TextLabel")
  1169. label.BackgroundTransparency = 1
  1170. label.Size = UD2(1, 0, 1, 0)
  1171. label.Position = UD2(0, 0, 0, 0)
  1172. label.TextColor3 = C3(255, 255, 255)
  1173. label.TextStrokeTransparency = STROKETRANSPARENCY
  1174. label.TextTransparency = TRANSPARENCY
  1175. label.FontSize = TEXTFONTSIZE
  1176. label.Font = TEXTFONT
  1177. label.BorderSizePixel = BORDERSIZEPIXEL
  1178. label.TextScaled = true
  1179. label.Text = TEXT
  1180. label.Name = NAME
  1181. label.Parent = PARENT
  1182. return label
  1183. end
  1184.  
  1185. function NoOutlines(PART)
  1186. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1187. end
  1188.  
  1189. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  1190. local NEWPART = IT("Part")
  1191. NEWPART.formFactor = FORMFACTOR
  1192. NEWPART.Reflectance = REFLECTANCE
  1193. NEWPART.Transparency = TRANSPARENCY
  1194. NEWPART.CanCollide = false
  1195. NEWPART.Locked = true
  1196. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1197. NEWPART.Name = NAME
  1198. NEWPART.Size = SIZE
  1199. NEWPART.Position = Torso.Position
  1200. NoOutlines(NEWPART)
  1201. NEWPART.Material = MATERIAL
  1202. NEWPART:BreakJoints()
  1203. NEWPART.Parent = PARENT
  1204. return NEWPART
  1205. end
  1206.  
  1207. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1208. local NEWMESH = IT(MESH)
  1209. if MESH == "SpecialMesh" then
  1210. NEWMESH.MeshType = MESHTYPE
  1211. if MESHID ~= "nil" and MESHID ~= "" then
  1212. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1213. end
  1214. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1215. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1216. end
  1217. end
  1218. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1219. NEWMESH.Scale = SCALE
  1220. NEWMESH.Parent = PARENT
  1221. return NEWMESH
  1222. end
  1223.  
  1224. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1225. local NEWWELD = IT(TYPE)
  1226. NEWWELD.Part0 = PART0
  1227. NEWWELD.Part1 = PART1
  1228. NEWWELD.C0 = C0
  1229. NEWWELD.C1 = C1
  1230. NEWWELD.Parent = PARENT
  1231. return NEWWELD
  1232. end
  1233.  
  1234. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1235. coroutine.resume(coroutine.create(function()
  1236. local NEWSOUND = IT("Sound", PARENT)
  1237. NEWSOUND.Volume = VOLUME
  1238. NEWSOUND.Pitch = PITCH
  1239. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1240. Swait()
  1241. NEWSOUND:play()
  1242. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1243. end))
  1244. end
  1245.  
  1246. function CFrameFromTopBack(at, top, back)
  1247. local right = top:Cross(back)
  1248. 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)
  1249. end
  1250.  
  1251. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  1252. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  1253. local CURRENTPOSITION = POSITION1
  1254. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  1255. coroutine.resume(coroutine.create(function()
  1256. for i = 1, MULTIPLIERTIME do
  1257. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  1258. LIGHTNINGPART.Anchored = true
  1259. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  1260. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  1261. if MULTIPLIERTIME == i then
  1262. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  1263. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  1264. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  1265. else
  1266. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  1267. end
  1268. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  1269. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  1270. coroutine.resume(coroutine.create(function()
  1271. while LIGHTNINGPART.Transparency ~= 1 do
  1272. --local StartTransparency = tra
  1273. for i=0, 1, LASTINGTIME do
  1274. Swait()
  1275. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  1276. end
  1277. end
  1278. end))
  1279. Swait(LIGHTNINGDELAY / Animation_Speed)
  1280. end
  1281. end))
  1282. end
  1283.  
  1284. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1285. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1286. EFFECTPART.Anchored = true
  1287. EFFECTPART.CFrame = CFRAME
  1288. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1289. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1290. coroutine.resume(coroutine.create(function(PART, MESH)
  1291. for i = 0, 1, delay do
  1292. Swait()
  1293. PART.CFrame = PART.CFrame * ROTATION
  1294. PART.Transparency = i
  1295. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1296. end
  1297. PART.Parent = nil
  1298. end), EFFECTPART, EFFECTMESH)
  1299. end
  1300.  
  1301. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1302. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1303. EFFECTPART.Anchored = true
  1304. EFFECTPART.CFrame = CFRAME
  1305. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1306. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1307. coroutine.resume(coroutine.create(function(PART, MESH)
  1308. for i = 0, 1, delay do
  1309. Swait()
  1310. PART.CFrame = PART.CFrame * ROTATION
  1311. PART.Transparency = i
  1312. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1313. end
  1314. PART.Parent = nil
  1315. end), EFFECTPART, EFFECTMESH)
  1316. end
  1317.  
  1318. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1319. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1320. EFFECTPART.Anchored = true
  1321. EFFECTPART.CFrame = CFRAME
  1322. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1323. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1324. coroutine.resume(coroutine.create(function(PART, MESH)
  1325. for i = 0, 1, delay do
  1326. Swait()
  1327. PART.CFrame = PART.CFrame * ROTATION
  1328. PART.Transparency = i
  1329. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1330. end
  1331. PART.Parent = nil
  1332. end), EFFECTPART, EFFECTMESH)
  1333. end
  1334.  
  1335. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1336. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1337. EFFECTPART.Anchored = true
  1338. EFFECTPART.CFrame = CFRAME
  1339. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1340. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1341. coroutine.resume(coroutine.create(function(PART, MESH)
  1342. for i = 0, 1, delay do
  1343. Swait()
  1344. PART.CFrame = PART.CFrame * ROTATION
  1345. PART.Transparency = i
  1346. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1347. end
  1348. PART.Parent = nil
  1349. end), EFFECTPART, EFFECTMESH)
  1350. end
  1351.  
  1352. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1353. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1354. EFFECTPART.Anchored = true
  1355. EFFECTPART.CFrame = CFRAME
  1356. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1357. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1358. coroutine.resume(coroutine.create(function(PART, MESH)
  1359. for i = 0, 1, delay do
  1360. Swait()
  1361. PART.CFrame = PART.CFrame * ROTATION
  1362. PART.Transparency = i
  1363. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1364. end
  1365. PART.Parent = nil
  1366. end), EFFECTPART, EFFECTMESH)
  1367. end
  1368.  
  1369. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1370. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1371. EFFECTPART.Anchored = true
  1372. EFFECTPART.CFrame = CFRAME
  1373. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  1374. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1375. coroutine.resume(coroutine.create(function(PART, MESH)
  1376. for i = 0, 1, delay do
  1377. Swait()
  1378. PART.CFrame = PART.CFrame * ROTATION
  1379. PART.Transparency = i
  1380. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  1381. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1382. end
  1383. PART.Parent = nil
  1384. end), EFFECTPART, EFFECTMESH)
  1385. end
  1386.  
  1387. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1388. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1389. EFFECTPART.Anchored = true
  1390. EFFECTPART.CFrame = CFRAME
  1391. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1392. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1393. coroutine.resume(coroutine.create(function(PART, MESH)
  1394. for i = 0, 1, delay do
  1395. Swait()
  1396. PART.CFrame = PART.CFrame * ROTATION
  1397. PART.Transparency = i
  1398. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1399. end
  1400. PART.Parent = nil
  1401. end), EFFECTPART, EFFECTMESH)
  1402. end
  1403.  
  1404. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1405. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1406. EFFECTPART.Anchored = true
  1407. EFFECTPART.CFrame = CFRAME
  1408. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1409. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1410. coroutine.resume(coroutine.create(function(PART, MESH)
  1411. for i = 0, 1, delay do
  1412. Swait()
  1413. PART.CFrame = PART.CFrame * ROTATION
  1414. PART.Transparency = i
  1415. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1416. end
  1417. PART.Parent = nil
  1418. end), EFFECTPART, EFFECTMESH)
  1419. end
  1420.  
  1421. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1422. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1423. EFFECTPART.Anchored = true
  1424. EFFECTPART.CFrame = CFRAME
  1425. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1426. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1427. coroutine.resume(coroutine.create(function(PART, MESH)
  1428. for i = 0, 1, delay do
  1429. Swait()
  1430. PART.CFrame = PART.CFrame * ROTATION
  1431. PART.Transparency = i
  1432. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1433. end
  1434. PART.Parent = nil
  1435. end), EFFECTPART, EFFECTMESH)
  1436. end
  1437.  
  1438. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1439. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1440. EFFECTPART.Anchored = true
  1441. EFFECTPART.CFrame = CFRAME
  1442. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1443. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1444. coroutine.resume(coroutine.create(function(PART, MESH)
  1445. for i = 0, 1, delay do
  1446. Swait()
  1447. PART.CFrame = PART.CFrame * ROTATION
  1448. PART.Transparency = i
  1449. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1450. end
  1451. PART.Parent = nil
  1452. end), EFFECTPART, EFFECTMESH)
  1453. end
  1454.  
  1455. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1456. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1457. EFFECTPART.Anchored = true
  1458. EFFECTPART.CFrame = CFRAME
  1459. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1460. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1461. coroutine.resume(coroutine.create(function(PART, MESH)
  1462. for i = 0, 1, delay do
  1463. Swait()
  1464. PART.CFrame = PART.CFrame * ROTATION
  1465. PART.Transparency = i
  1466. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1467. end
  1468. PART.Parent = nil
  1469. end), EFFECTPART, EFFECTMESH)
  1470. end
  1471.  
  1472. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1473. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1474. EFFECTPART.Anchored = true
  1475. EFFECTPART.CFrame = CFRAME
  1476. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1477. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1478. coroutine.resume(coroutine.create(function(PART, MESH)
  1479. for i = 0, 1, delay do
  1480. Swait()
  1481. PART.CFrame = PART.CFrame * ROTATION
  1482. PART.Transparency = i
  1483. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1484. end
  1485. PART.Parent = nil
  1486. end), EFFECTPART, EFFECTMESH)
  1487. end
  1488.  
  1489. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1490. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1491. EFFECTPART.Anchored = true
  1492. EFFECTPART.CFrame = CFRAME
  1493. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1494. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1495. coroutine.resume(coroutine.create(function(PART, MESH)
  1496. for i = 0, 1, delay do
  1497. Swait()
  1498. PART.CFrame = PART.CFrame * ROTATION
  1499. PART.Transparency = i
  1500. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1501. end
  1502. PART.Parent = nil
  1503. end), EFFECTPART, EFFECTMESH)
  1504. end
  1505.  
  1506. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1507. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1508. EFFECTPART.Anchored = true
  1509. EFFECTPART.CFrame = CFRAME
  1510. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1511. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1512. local XVALUE = MRANDOM()
  1513. local YVALUE = MRANDOM()
  1514. local ZVALUE = MRANDOM()
  1515. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1516. for i = 0, 1, delay do
  1517. Swait()
  1518. PART.CFrame = PART.CFrame * ROTATION
  1519. PART.Transparency = i
  1520. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1521. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1522. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1523. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1524. end
  1525. PART.Parent = nil
  1526. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1527. end
  1528.  
  1529. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1530. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1531. if MAGNITUDECFRAME > (1 / 100) then
  1532. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1533. EFFECTPART.Anchored = true
  1534. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1535. local THEMESHTYPE = "BlockMesh"
  1536. if MESHTYPE == "Cylinder" then
  1537. THEMESHTYPE = "CylinderMesh"
  1538. end
  1539. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1540. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1541. coroutine.resume(coroutine.create(function(PART, MESH)
  1542. for i = 0, 1, delay do
  1543. Swait()
  1544. PART.CFrame = PART.CFrame * ROTATION
  1545. PART.Transparency = i
  1546. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1547. end
  1548. PART.Parent = nil
  1549. end), EFFECTPART, EFFECTMESH)
  1550. end
  1551. end
  1552.  
  1553. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1554. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1555. EFFECTPART.Anchored = true
  1556. EFFECTPART.CFrame = CFRAME
  1557. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1558. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1559. local THELASTPOINT = CFRAME
  1560. coroutine.resume(coroutine.create(function(PART)
  1561. for i = 1, DURATION do
  1562. Swait()
  1563. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1564. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1565. THELASTPOINT = PART.CFrame
  1566. end
  1567. PART.Parent = nil
  1568. end), EFFECTPART)
  1569. end
  1570.  
  1571. --local list={}
  1572. function Triangle(Color, Material, a, b, c, delay)
  1573. local edge1 = (c - a):Dot((b - a).unit)
  1574. local edge2 = (a - b):Dot((c - b).unit)
  1575. local edge3 = (b - c):Dot((a - c).unit)
  1576. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1577. a, b, c=a, b, c
  1578. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1579. a, b, c=b, c, a
  1580. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1581. a, b, c=c, a, b
  1582. else
  1583. assert(false, "unreachable")
  1584. end
  1585. local len1 = (c - a):Dot((b - a).unit)
  1586. local len2 = (b - a).magnitude - len1
  1587. local width = (a + (b - a).unit * len1 - c).magnitude
  1588. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1589. if len1 > 1 / 100 then
  1590. local sz = VT(0.2, width, len1)
  1591. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1592. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1593. w1.Anchored = true
  1594. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1595. coroutine.resume(coroutine.create(function()
  1596. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1597. Swait()
  1598. w1.Transparency = i
  1599. end
  1600. w1.Parent = nil
  1601. end))
  1602. game:GetService("Debris"):AddItem(w1, 10)
  1603. --table.insert(list, w1)
  1604. end
  1605. if len2 > 1 / 100 then
  1606. local sz = VT(0.2, width, len2)
  1607. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1608. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1609. w2.Anchored = true
  1610. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1611. coroutine.resume(coroutine.create(function()
  1612. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1613. Swait()
  1614. w2.Transparency = i
  1615. end
  1616. w2.Parent = nil
  1617. end))
  1618. game:GetService("Debris"):AddItem(w2, 10)
  1619. --table.insert(list, w2)
  1620. end
  1621. --return unpack(list)
  1622. end
  1623.  
  1624. --[[Usage:
  1625. local Pos = Part
  1626. local Offset = Part.CFrame * CF(0, 0, 0)
  1627. local Color = "Institutional white"
  1628. local Material = "Neon"
  1629. local TheDelay = 0.01
  1630. local Height = 4
  1631. BLCF = Offset
  1632. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1633. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1634. if a then game:GetService("Debris"):AddItem(a, 1) end
  1635. if b then game:GetService("Debris"):AddItem(b, 1) end
  1636. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1637. if a then game:GetService("Debris"):AddItem(a, 1) end
  1638. if b then game:GetService("Debris"):AddItem(b, 1) end
  1639. SCFR = BLCF
  1640. elseif not SCFR then
  1641. SCFR = BLCF
  1642. end
  1643. --
  1644. BLCF = nil
  1645. SCFR = nil
  1646. --]]
  1647.  
  1648. --//=================================\\
  1649. --\\=================================//
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655. --//=================================\\
  1656. --|| RESIZE PLAYER
  1657. --\\=================================//
  1658.  
  1659. if Player_Size ~= 1 then
  1660. RootPart.Size = RootPart.Size * Player_Size
  1661. Torso.Size = Torso.Size * Player_Size
  1662. Head.Size = Head.Size * Player_Size
  1663. RightArm.Size = RightArm.Size * Player_Size
  1664. LeftArm.Size = LeftArm.Size * Player_Size
  1665. RightLeg.Size = RightLeg.Size * Player_Size
  1666. LeftLeg.Size = LeftLeg.Size * Player_Size
  1667. RootJoint.Parent = RootPart
  1668. Neck.Parent = Torso
  1669. RightShoulder.Parent = Torso
  1670. LeftShoulder.Parent = Torso
  1671. RightHip.Parent = Torso
  1672. LeftHip.Parent = Torso
  1673.  
  1674. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1675. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1676. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1677. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1678. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1679. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1680. if Disable_Moving_Arms == false then
  1681. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1682. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1683. else
  1684. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1685. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1686. end
  1687. 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))
  1688. 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))
  1689. 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))
  1690. 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))
  1691. end
  1692.  
  1693.  
  1694. --//=================================\\
  1695. --\\=================================//
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701. --//=================================\\
  1702. --|| WEAPON CREATION
  1703. --\\=================================//
  1704.  
  1705. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0))
  1706. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93117521", "1015990846", VT(0.7,0.8,0.7), VT(0, 3.1 * Player_Size, 0))
  1707. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1708.  
  1709. local HitboxPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Hitbox", VT(0, 0, 0))
  1710. local HitboxWeld = CreateWeldOrSnapOrMotor("Weld", HitboxPart, HandlePart, HitboxPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1711.  
  1712. local EffectPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Effect Part", VT(0, 0, 0))
  1713. local EffectWeld = CreateWeldOrSnapOrMotor("Weld", EffectPart, HandlePart, EffectPart, CF(0 * Player_Size, 7 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1714.  
  1715. if Player_Size ~= 1 then
  1716. for _, v in pairs (Weapon:GetChildren()) do
  1717. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1718. local p1 = v.Part1
  1719. v.Part1 = nil
  1720. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1721. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1722. v.Part1 = p1
  1723. elseif v.ClassName == "Part" then
  1724. for _, b in pairs (v:GetChildren()) do
  1725. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1726. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1727. end
  1728. end
  1729. end
  1730. end
  1731. end
  1732.  
  1733. for _, c in pairs(Weapon:GetChildren()) do
  1734. if c.ClassName == "Part" then
  1735. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1736. end
  1737. end
  1738.  
  1739. if Start_Equipped == true and Start_Equipped_With_Equipped_Animation == false then
  1740. HandleWeld.Part0 = RightArm
  1741. HandleWeld.C0 = CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1742. end
  1743.  
  1744. Weapon.Parent = Character
  1745.  
  1746. Humanoid.Died:connect(function()
  1747. ATTACK = true
  1748. end)
  1749.  
  1750. print(Class_Name.." loaded.")
  1751.  
  1752. --//=================================\\
  1753. --\\=================================//
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759. --//=================================\\
  1760. --|| DAMAGE FUNCTIONS
  1761. --\\=================================//
  1762.  
  1763. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1764. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1765. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1766. local BODYGYRO = IT("BodyGyro", STATPART)
  1767. local BODYPOSITION = IT("BodyPosition", STATPART)
  1768. BODYPOSITION.P = 2000
  1769. BODYPOSITION.D = 100
  1770. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1771. if LABELTYPE == "Normal" then
  1772. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1773. elseif LABELTYPE == "Debuff" then
  1774. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1775. elseif LABELTYPE == "Interruption" then
  1776. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1777. end
  1778. game:GetService("Debris"):AddItem(STATPART ,5)
  1779. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1780. BILLBOARDGUI.Adornee = STATPART
  1781. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1782. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1783. BILLBOARDGUI.AlwaysOnTop = false
  1784. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1785. TEXTLABEL.BackgroundTransparency = 1
  1786. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1787. TEXTLABEL.Text = TEXT
  1788. TEXTLABEL.Font = "SourceSans"
  1789. TEXTLABEL.FontSize="Size42"
  1790. TEXTLABEL.TextColor3 = COLOR
  1791. TEXTLABEL.TextStrokeTransparency = 0
  1792. TEXTLABEL.TextScaled = true
  1793. TEXTLABEL.TextWrapped = true
  1794. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1795. wait(0.2)
  1796. for i=1, 5 do
  1797. wait()
  1798. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1799. end
  1800. wait(1.2)
  1801. for i=1, 5 do
  1802. wait()
  1803. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1804. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1805. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1806. end
  1807. THEPART.Parent = nil
  1808. end),STATPART, BODYPOSITION, TEXTLABEL)
  1809. end
  1810.  
  1811. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1812. if LOCATION:FindFirstChild("Stats") ~= nil then
  1813. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1814. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1815. return
  1816. end
  1817. end
  1818. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1819. local NewStatChange = IT("NumberValue")
  1820. NewStatChange.Value = AMOUNT
  1821. if STAT == "Defense" then
  1822. NewStatChange.Name = "ChangeDefense"
  1823. elseif STAT == "Damage" then
  1824. NewStatChange.Name = "ChangeDamage"
  1825. elseif STAT == "Movement" then
  1826. NewStatChange.Name = "ChangeMovement"
  1827. end
  1828. if SHOWTHESTAT == true then
  1829. if AMOUNT < 0 then
  1830. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1831. elseif AMOUNT > 0 then
  1832. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1833. end
  1834. end
  1835. if DURATION ~= nil and DURATION ~= 0 then
  1836. local StatDuration = IT("NumberValue")
  1837. StatDuration.Name = "Duration"
  1838. StatDuration.Value = DURATION
  1839. StatDuration.Parent = NewStatChange
  1840. end
  1841. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1842. end
  1843. end
  1844. end
  1845.  
  1846. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1847. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1848. if HIT.Parent == nil then
  1849. return
  1850. end
  1851. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1852. for _, v in pairs(HIT.Parent:GetChildren()) do
  1853. if v:IsA("Humanoid") then
  1854. HITHUMANOID = v
  1855. HITHUMANOID.MaxHealth = 100
  1856. if HITHUMANOID.Health > 100 then
  1857. HITHUMANOID.Health = 100
  1858. end
  1859. end
  1860. end
  1861. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1862. StaggerHit.Value = true
  1863. if Play_Hitbox_Hit_Sound == true then
  1864. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1865. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1866. end
  1867. end
  1868. return
  1869. end
  1870. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1871. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1872. end
  1873. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1874. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1875. end
  1876. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1877. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1878. if HIT.Parent.DebounceHit.Value == true then
  1879. return
  1880. end
  1881. end
  1882. if AntiTeamKill.Value == true then
  1883. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1884. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1885. return
  1886. end
  1887. end
  1888. end
  1889. if HITEVENWHENDEAD == false then
  1890. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1891. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1892. return
  1893. end
  1894. end
  1895. end
  1896. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1897. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1898. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1899. end
  1900. end
  1901. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1902. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1903. if STAGGER == true and Enable_Stagger == true then
  1904. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1905. end
  1906. end
  1907. end
  1908. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1909. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1910. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1911. HASBEENBLOCKED = true
  1912. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1913. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1914. if RANGED ~= true then
  1915. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1916. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1917. end
  1918. end
  1919. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1920. BlockDebounce.Name = "BlockDebounce"
  1921. BlockDebounce.Value = true
  1922. if RANGED ~= true then
  1923. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1924. else
  1925. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1926. end
  1927. end
  1928. if RANGED ~= true and Enable_Stagger == true then
  1929. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1930. Stagger.Value = true
  1931. end
  1932. return
  1933. end
  1934. end
  1935. end
  1936. if DECREASETHESTAT ~= nil then
  1937. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1938. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1939. end
  1940. end
  1941. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1942. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1943. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1944. if CanPenetrateArmor.Value == true then
  1945. DAMAGE = DAMAGE
  1946. else
  1947. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1948. end
  1949. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1950. DAMAGE = DAMAGE
  1951. end
  1952. end
  1953. if CanCrit.Value == true then
  1954. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1955. if CRITCHANCENUMBER == 1 then
  1956. DAMAGE = DAMAGE * 2
  1957. end
  1958. end
  1959. DAMAGE = math.floor(DAMAGE)
  1960. if HASBEENBLOCKED == false then
  1961. end
  1962. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1963. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1964. StaggerHit.Value = true
  1965. end
  1966. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1967. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1968. end
  1969. elseif DAMAGE == 100 then
  1970. HITHUMANOID.Health = 0
  1971. HIT.Parent.Torso.Anchored = false
  1972. elseif DAMAGE == 101 then
  1973. HIT.Parent.Torso.Anchored = true
  1974. elseif DAMAGE > 3 then
  1975. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1976. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1977. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1978. end
  1979. end
  1980. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1981. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1982. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1983. CreateSound("296102734", HIT, 1, 1)
  1984. else
  1985. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1986. end
  1987. elseif DAMAGE >= 20 and HASBEENBLOCKED == false and DAMAGE < 100 then
  1988. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1989. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1990. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1991. CreateSound("296102734", HIT, 1, 1)
  1992. else
  1993. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1994. end
  1995. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1996. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1997. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1998. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1999. CreateSound("296102734", HIT, 1, 1)
  2000. else
  2001. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  2002. end
  2003. end
  2004. if TYPE == "Normal" then
  2005. local vp = IT("BodyVelocity")
  2006. vp.P=500
  2007. vp.maxForce = VT(math.huge, 0, math.huge)
  2008. if KNOCKBACKTYPE == 1 then
  2009. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2010. elseif KNOCKBACKTYPE == 2 then
  2011. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2012. end
  2013. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2014. vp.Parent = HIT--.Parent.Torso
  2015. end
  2016. game:GetService("Debris"):AddItem(vp, 0.5)
  2017. end
  2018. HASBEENBLOCKED = false
  2019. RecentEnemy.Value = HIT.Parent
  2020. local DebounceHit = IT("BoolValue", HIT.Parent)
  2021. DebounceHit.Name = "DebounceHit"
  2022. DebounceHit.Value = true
  2023. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2024. end
  2025. end
  2026.  
  2027. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2028. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2029. for _, c in pairs(workspace:GetChildren()) do
  2030. local HUMANOID = c:FindFirstChild("Humanoid")
  2031. local HEAD = nil
  2032. if HUMANOID ~= nil then
  2033. for _, d in pairs(c:GetChildren()) do
  2034. if d.ClassName == "Model" and RANGED ~= true then
  2035. HEAD = d:FindFirstChild("Hitbox")
  2036. if HEAD ~= nil then
  2037. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2038. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2039. if Play_Hitbox_Hit_Sound == true then
  2040. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2041. HitRefpart.Anchored = true
  2042. HitRefpart.CFrame = CF(HEAD.Position)
  2043. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2044. end
  2045. if Enable_Stagger_Hit == true then
  2046. StaggerHit.Value = true
  2047. end
  2048. end
  2049. end
  2050. elseif d:IsA"BasePart" then
  2051. HEAD = d
  2052. if HEAD ~= nil then
  2053. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2054. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2055. DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2056. end
  2057. end
  2058. end
  2059. end
  2060. end
  2061. end
  2062. end
  2063.  
  2064. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  2065. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  2066. if Player.Neutral == true then
  2067. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2068. end
  2069. for _, c in pairs(workspace:GetChildren()) do
  2070. local HUMANOID = c:FindFirstChild("Humanoid")
  2071. local THEHEAD = nil
  2072. if HUMANOID ~= nil then
  2073. if c:FindFirstChild("Torso") ~= nil then
  2074. THEHEAD = c:FindFirstChild("Torso")
  2075. elseif c:FindFirstChild("UpperTorso") ~= nil then
  2076. THEHEAD = c:FindFirstChild("UpperTorso")
  2077. end
  2078. if THEHEAD ~= nil then
  2079. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  2080. print("yes 1")
  2081. if APPLYTOOTHERSINSTEAD == true then
  2082. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2083. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2084. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2085. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2086. end
  2087. end
  2088. end
  2089. elseif APPLYTOOTHERSINSTEAD == false then
  2090. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  2091. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2092. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2093. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2094. end
  2095. end
  2096. end
  2097. end
  2098. end
  2099. end
  2100. end
  2101. end
  2102.  
  2103. --//=================================\\
  2104. --\\=================================//
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110. --//=================================\\
  2111. --|| WEAPON GUI
  2112. --\\=================================//
  2113.  
  2114. local MANABAR = CreateFrame(WEAPONGUI, Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_8.r, Custom_Colors.Custom_Color_8.g, Custom_Colors.Custom_Color_8.b), C3(0, 0, 0),"Mana Bar")
  2115. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_5.r, Custom_Colors.Custom_Color_5.g, Custom_Colors.Custom_Color_5.b), C3(0, 0, 0),"Mana Cover")
  2116. local MANATEXT = CreateLabel(MANABAR, Mana_Name.." ["..FLOOR(Mana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Mana Text")
  2117.  
  2118. local HEALTHBAR = CreateFrame(WEAPONGUI, Health_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_11.r, Custom_Colors.Custom_Color_11.g, Custom_Colors.Custom_Color_11.b), C3(0, 0, 0), "Health Bar")
  2119. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 2,UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_6.r, Custom_Colors.Custom_Color_6.g, Custom_Colors.Custom_Color_6.b), C3(0, 0, 0), "Health Cover")
  2120. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Health ["..FLOOR(Humanoid.Health).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Health Text")
  2121.  
  2122. local STUNFRAME = CreateFrame(nil, Stun_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.78, 0),UD2(0.26, 0, 0, 0),C3(Custom_Colors.Custom_Color_10.r, Custom_Colors.Custom_Color_10.g, Custom_Colors.Custom_Color_10.b), C3(0, 0, 0), "Stun Frame")
  2123. local STUNBAR = CreateFrame(STUNFRAME, 0, 2, UD2(0, 0, 0, 0),UD2(0, 0, 1, 0),C3(Custom_Colors.Custom_Color_7.r, Custom_Colors.Custom_Color_7.g, Custom_Colors.Custom_Color_7.b), C3(0, 0, 0), "Stun Bar")
  2124. local STUNTEXT = CreateLabel(STUNFRAME, "Stun ["..FLOOR(StunValue.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Stun Text")
  2125.  
  2126. local SECONDARYMANABAR = CreateFrame(nil, Secondary_Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.78, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_9.r, Custom_Colors.Custom_Color_9.g, Custom_Colors.Custom_Color_9.b), C3(0, 0, 0),"Secondary Mana Bar")
  2127. local SECONDARYMANACOVER = CreateFrame(SECONDARYMANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_4.r, Custom_Colors.Custom_Color_4.g, Custom_Colors.Custom_Color_4.b), C3(0, 0, 0),"Secondary Mana Cover")
  2128. local SECONDARYMANATEXT = CreateLabel(SECONDARYMANABAR, Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Secondary Mana Text")
  2129.  
  2130. local DEFENSEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.23, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 100 / 255, 255 / 255), C3(0, 0, 0),"Defense Frame")
  2131. local DEFENSETEXT = CreateLabel(DEFENSEFRAME, "Defense ["..(Defense.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Defense Text")
  2132.  
  2133. local DAMAGEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.456, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(255 / 255, 100 / 255, 100 / 255), C3(0, 0, 0),"Damage Frame")
  2134. local DAMAGETEXT = CreateLabel(DAMAGEFRAME, "Damage ["..(Damage.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Damage Text")
  2135.  
  2136. local MOVEMENTFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.685, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 255 / 255, 100 / 255), C3(0, 0, 0),"Movement Frame")
  2137. local MOVEMENTTEXT = CreateLabel(MOVEMENTFRAME, "Movement ["..(Movement.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Movement Text")
  2138.  
  2139. local SKILL1FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 1 Frame")
  2140. local SKILL2FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 2 Frame")
  2141. local SKILL3FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 3 Frame")
  2142. local SKILL4FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 4 Frame")
  2143.  
  2144. local SKILL1BAR = CreateFrame(SKILL1FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 1 Bar")
  2145. local SKILL2BAR = CreateFrame(SKILL2FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 2 Bar")
  2146. local SKILL3BAR = CreateFrame(SKILL3FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 3 Bar")
  2147. local SKILL4BAR = CreateFrame(SKILL4FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 4 Bar")
  2148.  
  2149. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 1")
  2150. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Ability 2", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 2")
  2151. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 3")
  2152. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 4")
  2153.  
  2154. if Enable_Gui == true then
  2155. WEAPONGUI.Parent = PlayerGui
  2156. end
  2157.  
  2158. if Enable_Stats == true and Show_Stats == true then
  2159. DEFENSEFRAME.Parent = WEAPONGUI
  2160. DAMAGEFRAME.Parent = WEAPONGUI
  2161. MOVEMENTFRAME.Parent = WEAPONGUI
  2162. end
  2163.  
  2164. if Enable_Secondary_Bar == true then
  2165. SECONDARYMANABAR.Parent = WEAPONGUI
  2166. end
  2167.  
  2168. if Enable_Abilities == true then
  2169. SKILL1FRAME.Parent = WEAPONGUI
  2170. SKILL2FRAME.Parent = WEAPONGUI
  2171. SKILL3FRAME.Parent = WEAPONGUI
  2172. SKILL4FRAME.Parent = WEAPONGUI
  2173. end
  2174.  
  2175. if Enable_Stun == true then
  2176. STUNFRAME.Parent = WEAPONGUI
  2177. end
  2178.  
  2179. function UpdateGUI()
  2180. MANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2181. MANACOVER:TweenSize(UD2(1 * (Mana.Value / Max_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2182. MANATEXT.Text = Mana_Name.." ["..FLOOR(Mana.Value).."]"
  2183. HEALTHBAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2184. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2185. HEALTHTEXT.Text = "Health ["..FLOOR(Humanoid.Health).."]"
  2186. if Enable_Abilities == true then
  2187. SKILL1FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2188. SKILL2FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2189. SKILL3FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2190. SKILL4FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2191. SKILL1BAR:TweenSize(UD2(1 * (CO1 / Cooldown_1), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2192. SKILL2BAR:TweenSize(UD2(1 * (CO2 / Cooldown_2), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2193. SKILL3BAR:TweenSize(UD2(1 * (CO3 / Cooldown_3), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2194. SKILL4BAR:TweenSize(UD2(1 * (CO4 / Cooldown_4), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2195. end
  2196. if Enable_Stats == true and Show_Stats == true then
  2197. DEFENSEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2198. DEFENSETEXT.Text = "Defense ["..(Defense.Value * 100).."%]"
  2199. DAMAGEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2200. DAMAGETEXT.Text = "Damage ["..(Damage.Value * 100).."%]"
  2201. MOVEMENTFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2202. MOVEMENTTEXT.Text = "Movement ["..(Movement.Value * 100).."%]"
  2203. end
  2204. if Enable_Stun == true then
  2205. STUNFRAME:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2206. STUNBAR:TweenSize(UD2(1 * (StunValue.Value / Max_Stun), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2207. STUNTEXT.Text = "Stun ["..FLOOR(StunValue.Value).."]"
  2208. end
  2209. if Enable_Secondary_Bar == true then
  2210. SECONDARYMANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2211. SECONDARYMANACOVER:TweenSize(UD2(1 * (SecondaryMana.Value / Max_Secondary_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2212. SECONDARYMANATEXT.Text = Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]"
  2213. end
  2214. end
  2215.  
  2216. if Enable_Gui == true then
  2217. UpdateGUI()
  2218. for _, v in pairs (WEAPONGUI:GetChildren()) do
  2219. if v.ClassName == "Frame" then
  2220. for _, b in pairs (v:GetChildren()) do
  2221. if b.ClassName == "TextLabel" then
  2222. coroutine.resume(coroutine.create(function(THETEXTLABEL)
  2223. wait(Menu_Update_Speed)
  2224. for i = 1, 0, -0.1 do
  2225. Swait()
  2226. THETEXTLABEL.TextTransparency = i
  2227. THETEXTLABEL.TextStrokeTransparency = i
  2228. end
  2229. THETEXTLABEL.TextTransparency = 0
  2230. THETEXTLABEL.TextStrokeTransparency = 0
  2231. end), b)
  2232. end
  2233. end
  2234. end
  2235. end
  2236. end
  2237.  
  2238. --//=================================\\
  2239. --|| ABYSSAL FUNCTIONS
  2240. --\\=================================//
  2241.  
  2242. function accessblack()
  2243. m = Character:GetChildren()
  2244. for i = 1, #m do
  2245. if m[i].ClassName == "Accessory" then
  2246. m[i].Handle.Transparency = 0
  2247. end
  2248. end
  2249. end
  2250.  
  2251. function accessnormal()
  2252. m = Character:GetChildren()
  2253. for i = 1, #m do
  2254. if m[i].ClassName == "Accessory" then
  2255. m[i].Handle.Transparency = 0
  2256. end
  2257. end
  2258. end
  2259.  
  2260. function cloak()
  2261. Face.Texture = AFaceID
  2262. accessblack()
  2263. m = Character:GetChildren()
  2264. for i = 1, #m do
  2265. if m[i].ClassName == "Part" then
  2266. if m[i]:FindFirstChildOfClass("ParticleEmitter") then
  2267. m[i].PE.Enabled = true
  2268. m[i].Transparency = 1
  2269. end
  2270. end
  2271. end
  2272. end
  2273.  
  2274. function decloak()
  2275. Face.Texture = FaceID
  2276. accessnormal()
  2277. m = Character:GetChildren()
  2278. for i = 1, #m do
  2279. if m[i].ClassName == "Part" then
  2280. if m[i]:FindFirstChildOfClass("ParticleEmitter") then
  2281. m[i].PE.Enabled = false
  2282. m[i].Transparency = 0
  2283. end
  2284. end
  2285. end
  2286. end
  2287.  
  2288. function warpdecloak()
  2289. Face.Texture = ""
  2290. HandlePart.Transparency = 0
  2291. HitboxPart.Transparency = 0
  2292. m = Character:GetChildren()
  2293. for i = 1, #m do
  2294. if m[i].ClassName == "Part" then
  2295. if m[i]:FindFirstChildOfClass("ParticleEmitter") then
  2296. m[i].PE.Enabled = false
  2297. end
  2298. end
  2299. end
  2300. end
  2301.  
  2302. --//=================================\\
  2303. --|| SKILL FUNCTIONS
  2304. --\\=================================//
  2305.  
  2306. function UpdateSkillsAndStuff()
  2307. if Mana_Regen_Mode == "1" then
  2308. if Mana.Value >= Max_Mana then
  2309. Mana.Value = Max_Mana
  2310. elseif Mana.Value < 0 then
  2311. Mana.Value = 0
  2312. else
  2313. if MANADELAYNUMBER <= Mana_Wait then
  2314. MANADELAYNUMBER = MANADELAYNUMBER + 1
  2315. else
  2316. MANADELAYNUMBER = 0
  2317. Mana.Value = Mana.Value + Recover_Mana
  2318. end
  2319. end
  2320. elseif Mana_Regen_Mode == "2" then
  2321. if Mana.Value <= Max_Mana then
  2322. Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  2323. elseif Mana.Value >= Max_Mana then
  2324. Mana.Value = Max_Mana
  2325. elseif Mana.Value < 0 then
  2326. Mana.Value = 0
  2327. end
  2328. end
  2329. if Enable_Secondary_Bar == true then
  2330. if Secondary_Mana_Regen_Mode == "1" then
  2331. if SecondaryMana.Value >= Max_Secondary_Mana then
  2332. SecondaryMana.Value = Max_Secondary_Mana
  2333. elseif SecondaryMana.Value < 0 then
  2334. SecondaryMana.Value = 0
  2335. else
  2336. if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  2337. SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  2338. else
  2339. SECONDARYMANADELAYNUMBER = 0
  2340. SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  2341. end
  2342. end
  2343. elseif Secondary_Mana_Regen_Mode == "2" then
  2344. if SecondaryMana.Value <= Max_Secondary_Mana then
  2345. SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  2346. elseif SecondaryMana.Value >= Max_Secondary_Mana then
  2347. SecondaryMana.Value = Max_Secondary_Mana
  2348. elseif SecondaryMana.Value < 0 then
  2349. SecondaryMana.Value = 0
  2350. end
  2351. end
  2352. else
  2353. SecondaryMana.Value = 0
  2354. end
  2355. if Enable_Stun == true then
  2356. if Stun_Lose_Mode == "1" then
  2357. if StunValue.Value > Max_Stun then
  2358. StunValue.Value = Max_Stun
  2359. elseif StunValue.Value <= 0 then
  2360. StunValue.Value = 0
  2361. else
  2362. if STUNDELAYNUMBER <= Stun_Wait then
  2363. STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  2364. else
  2365. STUNDELAYNUMBER = 0
  2366. StunValue.Value = StunValue.Value - Lose_Stun
  2367. end
  2368. end
  2369. elseif Stun_Lose_Mode == "2" then
  2370. if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  2371. StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  2372. elseif StunValue.Value > Max_Stun then
  2373. StunValue.Value = Max_Stun
  2374. elseif StunValue.Value <= 0 then
  2375. StunValue.Value = 0
  2376. end
  2377. end
  2378. else
  2379. StunValue.Value = 0
  2380. end
  2381. if Enable_Abilities == true then
  2382. if CO1 <= Cooldown_1 then
  2383. CO1 = CO1 + (1 / 30) / Animation_Speed
  2384. elseif CO1 >= Cooldown_1 then
  2385. CO1 = Cooldown_1
  2386. end
  2387. if CO2 <= Cooldown_2 then
  2388. CO2 = CO2 + (1 / 30) / Animation_Speed
  2389. elseif CO2 >= Cooldown_2 then
  2390. CO2 = Cooldown_2
  2391. end
  2392. if CO3 <= Cooldown_3 then
  2393. CO3 = CO3 + (1 / 30) / Animation_Speed
  2394. elseif CO3 >= Cooldown_3 then
  2395. CO3 = Cooldown_3
  2396. end
  2397. if CO4 <= Cooldown_4 then
  2398. CO4 = CO4 + (1 / 30) / Animation_Speed
  2399. elseif CO4 >= Cooldown_4 then
  2400. CO4 = Cooldown_4
  2401. end
  2402. end
  2403. end
  2404.  
  2405. --//=================================\\
  2406. --\\=================================//
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412. --//=================================\\
  2413. --|| ATTACK FUNCTIONS AND STUFF
  2414. --\\=================================//
  2415.  
  2416. function EquipWeapon()
  2417. --ATTACK = true
  2418. DEFENSECHANGE1.Parent = nil
  2419. MOVEMENTCHANGE1.Parent = ChangeStat
  2420. for i=0, 1, 0.5 / Animation_Speed do
  2421. Swait()
  2422. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2423. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2424. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2425. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2426. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2427. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2428. end
  2429. for i=0, 1, 0.08 / Animation_Speed do
  2430. Swait()
  2431. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2435. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2436. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2437. end
  2438. HandleWeld.Part0 = RightArm
  2439. HandleWeld.C0 = CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0))
  2440. CreateSound("174884033", HitboxPart, 1, 1.5)
  2441. for i=0, 1, 0.5 / Animation_Speed do
  2442. Swait()
  2443. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2447. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2448. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2449. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  2450. end
  2451. LASTPOINT = EffectPart.CFrame
  2452. for i=0, 1, 0.08 / Animation_Speed do
  2453. Swait()
  2454. TrailEffect("Institutional white", "Neon", EffectPart.CFrame, LASTPOINT, "Block", 0, 0.2, ANGLES(0, 0, 0), -0.01, 0, -0.01, 0.1)
  2455. LASTPOINT = EffectPart.CFrame
  2456. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2458. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(-60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2460. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  2461. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2462. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-140), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  2463. end
  2464. LASTPOINT = nil
  2465. --ATTACK = false
  2466. end
  2467.  
  2468. function UnequipWeapon()
  2469. --ATTACK = true
  2470. for i=0, 1, 0.5 / Animation_Speed do
  2471. Swait()
  2472. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2473. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2474. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2475. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2476. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2477. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2478. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  2479. end
  2480. CreateSound("245542809", HitboxPart, 1, 1.2)
  2481. for i=0, 1, 0.08 / Animation_Speed do
  2482. Swait()
  2483. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2487. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2489. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  2490. end
  2491. HandleWeld.Part0 = Torso
  2492. HandleWeld.C0 = CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135))
  2493. for i=0, 1, 0.5 / Animation_Speed do
  2494. Swait()
  2495. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2496. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2497. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2498. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2499. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2501. end
  2502. for i=0, 1, 0.08 / Animation_Speed do
  2503. Swait()
  2504. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2505. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2507. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.3 / Animation_Speed)
  2508. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2509. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2510. if Disable_Moving_Arms == false then
  2511. RightShoulder.C1 = Clerp(RightShoulder.C1, ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2512. LeftShoulder.C1 = Clerp(LeftShoulder.C1, ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2513. else
  2514. RightShoulder.C1 = Clerp(RightShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2515. LeftShoulder.C1 = Clerp(LeftShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2516. end
  2517. 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.3 / Animation_Speed)
  2518. 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.3 / Animation_Speed)
  2519. 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.3 / Animation_Speed)
  2520. 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.3 / Animation_Speed)
  2521. end
  2522. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2523. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2524. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2525. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2526. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  2527. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  2528. if Disable_Moving_Arms == false then
  2529. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2530. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2531. else
  2532. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2533. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2534. end
  2535. 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))
  2536. 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))
  2537. 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))
  2538. 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))
  2539. --ATTACK = false
  2540. DEFENSECHANGE1.Parent = ChangeStat
  2541. MOVEMENTCHANGE1.Parent = nil
  2542. end
  2543.  
  2544. function StaggerHitAnimation()
  2545. ATTACK = true
  2546. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2547. for i = 1, MRANDOM(2, 4) do
  2548. ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2549. end
  2550. end
  2551. for i = 0, 1, 0.1 / Animation_Speed do
  2552. Swait()
  2553. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2554. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2555. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2556. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2557. 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(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2558. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2559. if Stagger.Value == true or Stun.Value == true then
  2560. break
  2561. end
  2562. end
  2563. ATTACK = false
  2564. end
  2565.  
  2566. function StaggerAnimation()
  2567. ATTACK = true
  2568. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2569. for i = 1, MRANDOM(2, 4) do
  2570. ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2571. end
  2572. end
  2573. DISABLEJUMPING = true
  2574. COMBO = 1
  2575. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Staggered!", C3(255 / 255, 255 / 255, 0))
  2576. local STAGGERVELOCITY = Instance.new("BodyVelocity",Torso)
  2577. STAGGERVELOCITY.P = 500
  2578. STAGGERVELOCITY.maxForce = VT(math.huge, 0, math.huge)
  2579. if Rooted.Value == false then
  2580. STAGGERVELOCITY.Velocity = RootPart.CFrame.lookVector * -40
  2581. end
  2582. for i = 0, 1, 0.35 / Animation_Speed do
  2583. Swait()
  2584. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2588. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.3 / Animation_Speed)
  2590. end
  2591. for i = 0, 1, 0.2 / Animation_Speed do
  2592. Swait()
  2593. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2594. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2595. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2596. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2597. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2598. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.4 / Animation_Speed)
  2599. end
  2600. STAGGERVELOCITY.Parent = nil
  2601. for i = 1, 50 * Animation_Speed do
  2602. Swait()
  2603. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.8 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-20)) * ANGLES(RAD(-5), RAD(-5), RAD(0)), 0.3 / Animation_Speed)
  2604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.3 / Animation_Speed)
  2605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(-20), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-10)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2607. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.4 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)), 0.3 / Animation_Speed)
  2608. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-10)), 0.3 / Animation_Speed)
  2609. end
  2610. DISABLEJUMPING = false
  2611. ATTACK = false
  2612. end
  2613.  
  2614. function StunAnimation()
  2615. ATTACK = true
  2616. DISABLEJUMPING = true
  2617. COMBO = 1
  2618. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Stunned!", C3(255 / 255, 255 / 255, 0))
  2619. for i = 0, 1, 0.3 / Animation_Speed do
  2620. Swait()
  2621. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  2622. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2623. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2624. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2625. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2626. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2627. end
  2628. for i = 0, 1, 0.3 / Animation_Speed do
  2629. Swait()
  2630. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2634. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2636. end
  2637. for i = 0, 1, 0.3 / Animation_Speed do
  2638. Swait()
  2639. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  2645. end
  2646. for i = 1, 70 * Animation_Speed do
  2647. Swait()
  2648. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  2649. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  2650. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2651. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2652. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2654. end
  2655. for i = 0, 1, 0.2 / Animation_Speed do
  2656. Swait()
  2657. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.5 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(100)), 0.4 / Animation_Speed)
  2658. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(-10), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(80), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2661. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(70)), 0.4 / Animation_Speed)
  2662. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.25 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2663. end
  2664. DISABLEJUMPING = false
  2665. ATTACK = false
  2666. end
  2667.  
  2668. function EAbility()
  2669. ATTACK = true
  2670. ATTACK = false
  2671. end
  2672.  
  2673. function AbyssAttack1()
  2674. ATTACK = true
  2675. for i=0, 1, 0.1 / Animation_Speed do
  2676. Swait()
  2677. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2678. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2679. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2680. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2681. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2682. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2683. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2684. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2685. break
  2686. end
  2687. end
  2688. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2689. attacksound1.Volume = 3
  2690. attacksound1:Play()
  2691. for i=0, 1, 0.1 / Animation_Speed do
  2692. Swait()
  2693. local Pos = HitboxPart
  2694. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2695. local Color = "Really black"
  2696. local Material = "Neon"
  2697. local TheDelay = 0.01
  2698. local Height = 6.2 * Player_Size
  2699. BLCF = Offset
  2700. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2701. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2702. if a then game:GetService("Debris"):AddItem(a, 1) end
  2703. if b then game:GetService("Debris"):AddItem(b, 1) end
  2704. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2705. if a then game:GetService("Debris"):AddItem(a, 1) end
  2706. if b then game:GetService("Debris"):AddItem(b, 1) end
  2707. SCFR = BLCF
  2708. elseif not SCFR then
  2709. SCFR = BLCF
  2710. end
  2711. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 10, 20, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2712. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2713. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2714. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2715. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2716. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2717. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2718. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2719. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2720. break
  2721. end
  2722. end
  2723. BLCF = nil
  2724. SCFR = nil
  2725. ATTACK = false
  2726. end
  2727.  
  2728. function AbyssAttack2()
  2729. ATTACK = true
  2730. for i=0, 1, 0.1 / Animation_Speed do
  2731. Swait()
  2732. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2735. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2736. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2737. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2738. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2739. break
  2740. end
  2741. end
  2742. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  2743. attacksound2.Volume = 3
  2744. attacksound2:Play()
  2745. local HASHITFLOOR = false
  2746. for i=0, 1, 0.1 / Animation_Speed do
  2747. Swait()
  2748. local Pos = HitboxPart
  2749. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2750. local Color = "Really black"
  2751. local Material = "Neon"
  2752. local TheDelay = 0.01
  2753. local Height = 6.2 * Player_Size
  2754. BLCF = Offset
  2755. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2756. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2757. if a then game:GetService("Debris"):AddItem(a, 1) end
  2758. if b then game:GetService("Debris"):AddItem(b, 1) end
  2759. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2760. if a then game:GetService("Debris"):AddItem(a, 1) end
  2761. if b then game:GetService("Debris"):AddItem(b, 1) end
  2762. SCFR = BLCF
  2763. elseif not SCFR then
  2764. SCFR = BLCF
  2765. end
  2766. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  2767. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  2768. HASHITFLOOR = true
  2769. --print(SWORDHIT.Material)
  2770. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  2771. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  2772. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  2773. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2774. for i = 1, MRANDOM(2, 4) do
  2775. ClangEffect("Bright yellow", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2776. end
  2777. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  2778. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2779. end
  2780. end
  2781. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 20, 40, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2782. if HASHITFLOOR == true then
  2783. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2784. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2785. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2786. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2788. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-132.5), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2789. else
  2790. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2793. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2794. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2795. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-150), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2796. end
  2797. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2798. break
  2799. end
  2800. end
  2801. BLCF = nil
  2802. SCFR = nil
  2803. ATTACK = false
  2804. end
  2805.  
  2806. function AbyssAttack3()
  2807. ATTACK = true
  2808. for i=0, 1, 0.1 / Animation_Speed do
  2809. Swait()
  2810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2814. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2816. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2817. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2818. break
  2819. end
  2820. end
  2821. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2822. attacksound3.Volume = 3
  2823. attacksound3:Play()
  2824. for i=0, 1, 0.1 / Animation_Speed do
  2825. Swait()
  2826. local Pos = HitboxPart
  2827. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2828. local Color = "Really black"
  2829. local Material = "Neon"
  2830. local TheDelay = 0.01
  2831. local Height = 6.2 * Player_Size
  2832. BLCF = Offset
  2833. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2834. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2835. if a then game:GetService("Debris"):AddItem(a, 1) end
  2836. if b then game:GetService("Debris"):AddItem(b, 1) end
  2837. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2838. if a then game:GetService("Debris"):AddItem(a, 1) end
  2839. if b then game:GetService("Debris"):AddItem(b, 1) end
  2840. SCFR = BLCF
  2841. elseif not SCFR then
  2842. SCFR = BLCF
  2843. end
  2844. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 30, 60, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2846. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2848. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2849. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2850. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2851. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2852. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2853. break
  2854. end
  2855. end
  2856. BLCF = nil
  2857. SCFR = nil
  2858. ATTACK = false
  2859. end
  2860.  
  2861. function AbyssAttack4()
  2862. ATTACK = true
  2863. for i=0, 1, 0.1 / Animation_Speed do
  2864. Swait()
  2865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2868. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2869. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2870. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2871. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2872. break
  2873. end
  2874. end
  2875. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  2876. attacksound4.Volume = 3
  2877. attacksound4:Play()
  2878. local HASHITFLOOR = false
  2879. for i=0, 1, 0.1 / Animation_Speed do
  2880. Swait()
  2881. local Pos = HitboxPart
  2882. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2883. local Color = "Really black"
  2884. local Material = "Neon"
  2885. local TheDelay = 0.01
  2886. local Height = 6.2 * Player_Size
  2887. BLCF = Offset
  2888. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2889. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2890. if a then game:GetService("Debris"):AddItem(a, 1) end
  2891. if b then game:GetService("Debris"):AddItem(b, 1) end
  2892. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2893. if a then game:GetService("Debris"):AddItem(a, 1) end
  2894. if b then game:GetService("Debris"):AddItem(b, 1) end
  2895. SCFR = BLCF
  2896. elseif not SCFR then
  2897. SCFR = BLCF
  2898. end
  2899. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  2900. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  2901. HASHITFLOOR = true
  2902. --print(SWORDHIT.Material)
  2903. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  2904. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  2905. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  2906. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2907. for i = 1, MRANDOM(2, 4) do
  2908. ClangEffect("Bright yellow", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2909. end
  2910. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  2911. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2912. end
  2913. end
  2914. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 50, 80, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2915. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2916. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2917. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2918. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2920. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2921. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2922. break
  2923. end
  2924. end
  2925. BLCF = nil
  2926. SCFR = nil
  2927. ATTACK = false
  2928. end
  2929.  
  2930. function Attack1()
  2931. ATTACK = true
  2932. for i=0, 1, 0.1 / Animation_Speed do
  2933. Swait()
  2934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2938. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2940. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2941. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2942. break
  2943. end
  2944. end
  2945. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2946. attacksound1.Volume = 3
  2947. attacksound1:Play()
  2948. for i=0, 1, 0.1 / Animation_Speed do
  2949. Swait()
  2950. local Pos = HitboxPart
  2951. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2952. local Color = "Institutional white"
  2953. local Material = "Neon"
  2954. local TheDelay = 0.01
  2955. local Height = 6.2 * Player_Size
  2956. BLCF = Offset
  2957. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2958. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2959. if a then game:GetService("Debris"):AddItem(a, 1) end
  2960. if b then game:GetService("Debris"):AddItem(b, 1) end
  2961. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2962. if a then game:GetService("Debris"):AddItem(a, 1) end
  2963. if b then game:GetService("Debris"):AddItem(b, 1) end
  2964. SCFR = BLCF
  2965. elseif not SCFR then
  2966. SCFR = BLCF
  2967. end
  2968. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2969. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2970. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2973. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2974. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2975. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2976. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2977. break
  2978. end
  2979. end
  2980. BLCF = nil
  2981. SCFR = nil
  2982. ATTACK = false
  2983. end
  2984.  
  2985. function Attack2()
  2986. ATTACK = true
  2987. for i=0, 1, 0.1 / Animation_Speed do
  2988. Swait()
  2989. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2992. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2993. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2994. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2995. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2996. break
  2997. end
  2998. end
  2999. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  3000. attacksound2.Volume = 3
  3001. attacksound2:Play()
  3002. local HASHITFLOOR = false
  3003. for i=0, 1, 0.1 / Animation_Speed do
  3004. Swait()
  3005. local Pos = HitboxPart
  3006. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  3007. local Color = "Institutional white"
  3008. local Material = "Neon"
  3009. local TheDelay = 0.01
  3010. local Height = 6.2 * Player_Size
  3011. BLCF = Offset
  3012. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  3013. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  3014. if a then game:GetService("Debris"):AddItem(a, 1) end
  3015. if b then game:GetService("Debris"):AddItem(b, 1) end
  3016. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  3017. if a then game:GetService("Debris"):AddItem(a, 1) end
  3018. if b then game:GetService("Debris"):AddItem(b, 1) end
  3019. SCFR = BLCF
  3020. elseif not SCFR then
  3021. SCFR = BLCF
  3022. end
  3023. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  3024. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  3025. HASHITFLOOR = true
  3026. --print(SWORDHIT.Material)
  3027. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  3028. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  3029. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  3030. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  3031. for i = 1, MRANDOM(2, 4) do
  3032. ClangEffect("Bright yellow", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  3033. end
  3034. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  3035. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  3036. end
  3037. end
  3038. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 10, 20, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3039. if HASHITFLOOR == true then
  3040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  3041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  3042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3043. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  3044. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3045. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-132.5), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3046. else
  3047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  3048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  3049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3050. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  3051. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3052. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-150), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3053. end
  3054. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3055. break
  3056. end
  3057. end
  3058. BLCF = nil
  3059. SCFR = nil
  3060. ATTACK = false
  3061. end
  3062.  
  3063. function Attack3()
  3064. ATTACK = true
  3065. for i=0, 1, 0.1 / Animation_Speed do
  3066. Swait()
  3067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  3068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  3069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3071. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3073. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3074. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3075. break
  3076. end
  3077. end
  3078. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  3079. attacksound3.Volume = 3
  3080. attacksound3:Play()
  3081. for i=0, 1, 0.1 / Animation_Speed do
  3082. Swait()
  3083. local Pos = HitboxPart
  3084. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  3085. local Color = "Institutional white"
  3086. local Material = "Neon"
  3087. local TheDelay = 0.01
  3088. local Height = 6.2 * Player_Size
  3089. BLCF = Offset
  3090. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  3091. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  3092. if a then game:GetService("Debris"):AddItem(a, 1) end
  3093. if b then game:GetService("Debris"):AddItem(b, 1) end
  3094. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  3095. if a then game:GetService("Debris"):AddItem(a, 1) end
  3096. if b then game:GetService("Debris"):AddItem(b, 1) end
  3097. SCFR = BLCF
  3098. elseif not SCFR then
  3099. SCFR = BLCF
  3100. end
  3101. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 15, 30, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3102. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  3103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3105. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3106. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  3107. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3108. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3109. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3110. break
  3111. end
  3112. end
  3113. BLCF = nil
  3114. SCFR = nil
  3115. ATTACK = false
  3116. end
  3117.  
  3118. function Attack4()
  3119. ATTACK = true
  3120. for i=0, 1, 0.1 / Animation_Speed do
  3121. Swait()
  3122. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  3123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  3124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3125. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  3126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3127. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3128. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3129. break
  3130. end
  3131. end
  3132. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  3133. attacksound4.Volume = 3
  3134. attacksound4:Play()
  3135. local HASHITFLOOR = false
  3136. for i=0, 1, 0.1 / Animation_Speed do
  3137. Swait()
  3138. local Pos = HitboxPart
  3139. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  3140. local Color = "Institutional white"
  3141. local Material = "Neon"
  3142. local TheDelay = 0.01
  3143. local Height = 6.2 * Player_Size
  3144. BLCF = Offset
  3145. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  3146. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  3147. if a then game:GetService("Debris"):AddItem(a, 1) end
  3148. if b then game:GetService("Debris"):AddItem(b, 1) end
  3149. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  3150. if a then game:GetService("Debris"):AddItem(a, 1) end
  3151. if b then game:GetService("Debris"):AddItem(b, 1) end
  3152. SCFR = BLCF
  3153. elseif not SCFR then
  3154. SCFR = BLCF
  3155. end
  3156. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  3157. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  3158. HASHITFLOOR = true
  3159. --print(SWORDHIT.Material)
  3160. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  3161. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  3162. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  3163. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  3164. for i = 1, MRANDOM(2, 4) do
  3165. ClangEffect("Bright yellow", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  3166. end
  3167. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  3168. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  3169. end
  3170. end
  3171. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 25, 40, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  3174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3175. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3177. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3178. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3179. break
  3180. end
  3181. end
  3182. BLCF = nil
  3183. SCFR = nil
  3184. ATTACK = false
  3185. end
  3186.  
  3187. function part2(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3188. local fp=Instance.new("Part")
  3189. fp.formFactor=formfactor
  3190. fp.Parent=Effects
  3191. fp.Reflectance=reflectance
  3192. fp.Transparency=transparency
  3193. fp.CanCollide=false
  3194. fp.Locked=true
  3195. fp.BrickColor=brickcolor
  3196. fp.Name=name
  3197. fp.Size=size
  3198. fp.Position=Torso.Position
  3199. fp.Material="SmoothPlastic"
  3200. fp:BreakJoints()
  3201. return fp
  3202. end
  3203.  
  3204. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3205. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3206. end
  3207.  
  3208. euler=CFrame.fromEulerAnglesXYZ
  3209. vt=Vector3.new
  3210.  
  3211. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3212. local mesh=Instance.new(Mesh)
  3213. mesh.Parent=part
  3214. if Mesh=="SpecialMesh" then
  3215. mesh.MeshType=meshtype
  3216. mesh.MeshId=meshid
  3217. end
  3218. mesh.Offset=offset
  3219. mesh.Scale=scale
  3220. return mesh
  3221. end
  3222.  
  3223. function MagicBlock3(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3224. local prt=part2(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3225. prt.Anchored=true
  3226. prt.Material = "Neon"
  3227. prt.CFrame=cframe
  3228. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3229. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3230. game:GetService("Debris"):AddItem(prt,5)
  3231. coroutine.resume(coroutine.create(function(Part,Mesh)
  3232. for i=0,1,delay do
  3233. Swait()
  3234. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3235. Part.Transparency=i
  3236. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3237. end
  3238. Part.Parent=nil
  3239. end),prt,msh)
  3240. end
  3241.  
  3242. angles=CFrame.Angles
  3243.  
  3244. function Quickslashes()
  3245. ATTACK = true
  3246. Humanoid.WalkSpeed = 0
  3247. for i=0, 1, 0.1 / Animation_Speed do
  3248. Swait()
  3249. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  3251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3252. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3253. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3254. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3255. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3256. break
  3257. end
  3258. end
  3259. for i=0, 1, 0.1 / Animation_Speed do
  3260. Swait()
  3261. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3262. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  3263. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3264. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3265. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3266. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-170), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3267. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3268. break
  3269. end
  3270. end
  3271. Humanoid.WalkSpeed = 16
  3272. RightArm.Transparency = 1
  3273. HandlePart.Transparency = 1
  3274. for i = 1, 15 do
  3275. local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(HitboxPart.Position-(HitboxPart.Position+vt(0,-1,0))).magnitude/100
  3276. local TheHit=HitboxPart.Position+vt(0,-1,0)
  3277. local MouseLook=cf((HitboxPart.Position+TheHit)/2,TheHit+spread)
  3278. local hit,pos = rayCast(HitboxPart.Position,MouseLook.lookVector,999,Character)
  3279. local mag=(HitboxPart.Position-pos).magnitude
  3280. MagicCylinder2(BrickColor.new("Institutional white"),CFrame.new((HitboxPart.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*1,1,0.5,0,0.5,0.05)
  3281. mat = math.random(1,3)
  3282. if mat ~= 2 then
  3283. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  3284. end
  3285. for i= 1, 5 do
  3286. Swait()
  3287. end
  3288. MagnitudeDamage("", "", "", HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 7, false, 4, 5, MRANDOM(5, 10), "Normal", RootPart, 0.01, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3289. Swait(1)
  3290. end
  3291. RightArm.Transparency = 0
  3292. HandlePart.Transparency = 0
  3293. BLCF = nil
  3294. SCFR = nil
  3295. ATTACK = false
  3296. end
  3297.  
  3298. function Abyssslashes()
  3299. ATTACK = true
  3300. Humanoid.WalkSpeed = 0
  3301. for i=0, 1, 0.1 / Animation_Speed do
  3302. Swait()
  3303. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3304. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  3305. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3306. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3308. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3309. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3310. break
  3311. end
  3312. end
  3313. for i=0, 1, 0.1 / Animation_Speed do
  3314. Swait()
  3315. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  3317. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3318. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3319. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3320. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-170), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3321. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3322. break
  3323. end
  3324. end
  3325. Humanoid.WalkSpeed = 25
  3326. RightArm.PE.Enabled = false
  3327. HandlePart.Transparency = 1
  3328. for i = 1, 15 do
  3329. local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(HitboxPart.Position-(HitboxPart.Position+vt(0,-1,0))).magnitude/100
  3330. local TheHit=HitboxPart.Position+vt(0,-1,0)
  3331. local MouseLook=cf((HitboxPart.Position+TheHit)/2,TheHit+spread)
  3332. local hit,pos = rayCast(HitboxPart.Position,MouseLook.lookVector,999,Character)
  3333. local mag=(HitboxPart.Position-pos).magnitude
  3334. MagicCylinder2(BrickColor.new("Really black"),CFrame.new((HitboxPart.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*1,1,0.5,0,0.5,0.05)
  3335. mat = math.random(1,3)
  3336. if mat ~= 2 then
  3337. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  3338. end
  3339. for i= 1, 5 do
  3340. Swait()
  3341. end
  3342. MagnitudeDamage("", "", "", HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 7, false, 10, 12, MRANDOM(5, 10), "Normal", RootPart, 0.02, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3343. Swait(1)
  3344. end
  3345. RightArm.PE.Enabled = true
  3346. HandlePart.Transparency = 0
  3347. BLCF = nil
  3348. SCFR = nil
  3349. ATTACK = false
  3350. end
  3351.  
  3352. function dash()
  3353. Humanoid.WalkSpeed = 0
  3354. ATTACK = true
  3355. cloak()
  3356. for i=0, 1, 0.1 / Animation_Speed do
  3357. Swait()
  3358. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3361. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3362. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3364. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3365. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3366. break
  3367. end
  3368. end
  3369. CreateSound("444667824", root, 1, 1)
  3370. MagicBlock3(BrickColor.new("Really black"),root.CFrame,2,2,2,0.2,0.2,0.2,0.015)
  3371. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 20, false, 20, 60, 0, "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3372. Humanoid.WalkSpeed = 0
  3373. local bv = Instance.new("BodyVelocity")
  3374. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3375. bv.velocity = RootPart.CFrame.lookVector*250
  3376. bv.Parent = RootPart
  3377. game:GetService("Debris"):AddItem(bv, 1)
  3378. local rng = Instance.new("Part", char)
  3379. rng.Anchored = true
  3380. rng.BrickColor = BrickColor.new("Really black")
  3381. rng.CanCollide = false
  3382. rng.FormFactor = 3
  3383. rng.Name = "Ring"
  3384. rng.Size = Vector3.new(1, 1, 1)
  3385. rng.Transparency = 0
  3386. rng.TopSurface = 0
  3387. rng.BottomSurface = 0
  3388. rng.CFrame = Torso.CFrame
  3389. local rngm = Instance.new("SpecialMesh", rng)
  3390. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3391. local rng2 = rng:Clone()
  3392. rng2.Parent = char
  3393. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  3394. local rng2m = rng2.Mesh
  3395. local rng3 = rng:Clone()
  3396. rng3.Parent = char
  3397. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  3398. local rng3m = rng3.Mesh
  3399. local rng4 = rng:Clone()
  3400. rng4.Parent = char
  3401. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  3402. local rng4m = rng4.Mesh
  3403. local rng5 = rng:Clone()
  3404. rng5.Parent = char
  3405. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  3406. local rng5m = rng5.Mesh
  3407. wait()
  3408. local scaler = 5/5
  3409. local scaler2 = 5/5
  3410. local hit = Torso.Touched:connect(function(hit)
  3411. if bv then
  3412. bv:remove()
  3413. end
  3414. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 6,true, 60, 70, 25, "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3415. end)
  3416. for i = 0,10,0.1 do
  3417. Swait()
  3418. rng.Transparency = rng.Transparency + 0.01
  3419. rng2.Transparency = rng2.Transparency + 0.01
  3420. rng3.Transparency = rng3.Transparency + 0.01
  3421. rng4.Transparency = rng4.Transparency + 0.01
  3422. rng5.Transparency = rng5.Transparency + 0.01
  3423. scaler = scaler - 0.125/5
  3424. scaler2 = scaler2 - 0.1/5
  3425. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  3426. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  3427. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  3428. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  3429. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3430. end
  3431. game:GetService("Debris"):AddItem(rng, 0.1)
  3432. game:GetService("Debris"):AddItem(rng2, 0.1)
  3433. game:GetService("Debris"):AddItem(rng3, 0.1)
  3434. game:GetService("Debris"):AddItem(rng4, 0.1)
  3435. game:GetService("Debris"):AddItem(rng5, 0.1)
  3436. hit:disconnect()
  3437. ATTACK = false
  3438. Humanoid.WalkSpeed = 16
  3439. decloak()
  3440. end
  3441.  
  3442. function abyssdash()
  3443. Humanoid.WalkSpeed = 0
  3444. ATTACK = true
  3445. for i=0, 1, 0.1 / Animation_Speed do
  3446. Swait()
  3447. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3448. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3449. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3450. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3451. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3452. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3453. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3454. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3455. break
  3456. end
  3457. end
  3458. CreateSound("444667824", root, 1, 1)
  3459. MagicBlock3(BrickColor.new("Really black"),root.CFrame,2,2,2,0.2,0.2,0.2,0.015)
  3460. MagicBlock3(BrickColor.new("Really black"),root.CFrame,2,2,2,1,1,1,0.015)
  3461. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 20, false, 40, 80, 0, "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3462. Humanoid.WalkSpeed = 0
  3463. local bv = Instance.new("BodyVelocity")
  3464. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3465. bv.velocity = RootPart.CFrame.lookVector*350
  3466. bv.Parent = RootPart
  3467. game:GetService("Debris"):AddItem(bv, 1)
  3468. local rng = Instance.new("Part", char)
  3469. rng.Anchored = true
  3470. rng.BrickColor = BrickColor.new("Really black")
  3471. rng.CanCollide = false
  3472. rng.FormFactor = 3
  3473. rng.Name = "Ring"
  3474. rng.Size = Vector3.new(1, 1, 1)
  3475. rng.Transparency = 0
  3476. rng.TopSurface = 0
  3477. rng.BottomSurface = 0
  3478. rng.CFrame = Torso.CFrame
  3479. local rngm = Instance.new("SpecialMesh", rng)
  3480. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3481. local rng2 = rng:Clone()
  3482. rng2.Parent = char
  3483. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  3484. local rng2m = rng2.Mesh
  3485. local rng3 = rng:Clone()
  3486. rng3.Parent = char
  3487. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  3488. local rng3m = rng3.Mesh
  3489. local rng4 = rng:Clone()
  3490. rng4.Parent = char
  3491. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  3492. local rng4m = rng4.Mesh
  3493. local rng5 = rng:Clone()
  3494. rng5.Parent = char
  3495. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  3496. local rng5m = rng5.Mesh
  3497. wait()
  3498. local scaler = 10/5
  3499. local scaler2 = 10/5
  3500. local hit = Torso.Touched:connect(function(hit)
  3501. if bv then
  3502. bv:remove()
  3503. end
  3504. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 10,true, 60, 70, 25, "Normal", RootPart, 0, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3505. end)
  3506. for i = 0,10,0.1 do
  3507. Swait()
  3508. rng.Transparency = rng.Transparency + 0.01
  3509. rng2.Transparency = rng2.Transparency + 0.01
  3510. rng3.Transparency = rng3.Transparency + 0.01
  3511. rng4.Transparency = rng4.Transparency + 0.01
  3512. rng5.Transparency = rng5.Transparency + 0.01
  3513. scaler = scaler - 0.125/5
  3514. scaler2 = scaler2 - 0.1/5
  3515. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  3516. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  3517. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  3518. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  3519. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3520. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 10, false, 10, 10, 0, "Normal", RootPart, 0.01, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3521. end
  3522. game:GetService("Debris"):AddItem(rng, 0.1)
  3523. game:GetService("Debris"):AddItem(rng2, 0.1)
  3524. game:GetService("Debris"):AddItem(rng3, 0.1)
  3525. game:GetService("Debris"):AddItem(rng4, 0.1)
  3526. game:GetService("Debris"):AddItem(rng5, 0.1)
  3527. hit:disconnect()
  3528. ATTACK = false
  3529. Humanoid.WalkSpeed = 25
  3530. end
  3531.  
  3532.  
  3533. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3534. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  3535. prt.Anchored=true
  3536. prt.CFrame=cframe
  3537. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3538. game:GetService("Debris"):AddItem(prt,5)
  3539. table.insert(Effects2,{prt,"Cylinder",delay,x3,y3,z3,msh})
  3540. end
  3541.  
  3542. function MagicBlock2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3543. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  3544. prt.Anchored=true
  3545. prt.CFrame=cframe
  3546. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3547. game:GetService("Debris"):AddItem(prt,2)
  3548. coroutine.resume(coroutine.create(function(Part,Mesh)
  3549. for i=0,1,delay do
  3550. wait()
  3551. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3552. Part.Transparency=i
  3553. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3554. end
  3555. Part.Parent=nil
  3556. end),prt,msh)
  3557. end
  3558.  
  3559. function MagicCylinder2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3560. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(2.5,2.5,2.5))
  3561. prt.Anchored=true
  3562. prt.CFrame=cframe
  3563. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  3564. game:GetService("Debris"):AddItem(prt,5)
  3565. coroutine.resume(coroutine.create(function(Part,Mesh)
  3566. for i=0,1,delay do
  3567. wait()
  3568. Part.CFrame=Part.CFrame
  3569. Part.Transparency=i
  3570. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3571. end
  3572. Part.Parent=nil
  3573. end),prt,msh)
  3574. end
  3575.  
  3576. cf=CFrame.new
  3577.  
  3578. function Shriek()
  3579. Humanoid.WalkSpeed = 0
  3580. ATTACK = true
  3581. cloak()
  3582. for i=0, 1, 0.1 / Animation_Speed do
  3583. Swait()
  3584. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3588. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3590. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3591. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3592. break
  3593. end
  3594. end
  3595. shriek.Volume = 3
  3596. shriek:Play()
  3597. siz = 0.06
  3598. for i = 1, 6 do
  3599. siz2 = siz*2
  3600. MagicCylinder2(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X + math.random(-5,5),Torso.Position.Y + math.random(10,12),Torso.Position.Z + math.random(-5,5))),0,0,0,siz,siz2,siz,0.05)
  3601. siz = siz + 0.06
  3602. end
  3603. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,0.3,0.2,.025)
  3604. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,2,5,2,0,2,.025)
  3605. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,1,0.2,.025)
  3606. for i = 1, 10 do
  3607. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, Torso, 25, false, 8, 18, MRANDOM(5, 10), "Normal", RootPart, 0.1, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3608. wait(0.1)
  3609. end
  3610. decloak()
  3611. ATTACK = false
  3612. Humanoid.WalkSpeed = 16
  3613. end
  3614.  
  3615. function AbyssShriek()
  3616. Humanoid.WalkSpeed = 0
  3617. ATTACK = true
  3618. for i=0, 1, 0.1 / Animation_Speed do
  3619. Swait()
  3620. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3624. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3625. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3626. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3627. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3628. break
  3629. end
  3630. end
  3631. shriek.Volume = 4
  3632. shriek:Play()
  3633. siz = 0.08
  3634. for i = 1, 10 do
  3635. siz2 = siz*2
  3636. MagicCylinder2(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X + math.random(-5,5),Torso.Position.Y + math.random(10,12),Torso.Position.Z + math.random(-5,5))),0,0,0,siz,siz2,siz,0.05)
  3637. siz = siz + 0.06
  3638. end
  3639. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,0.3,0.2,.025)
  3640. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,2,5,2,0,2,.025)
  3641. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,1,0.2,.025)
  3642. for i = 1, 10 do
  3643. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, Torso, 35, false, 12, 22, MRANDOM(5, 10), "Normal", RootPart, 0.1, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3644. wait(0.1)
  3645. end
  3646. ATTACK = false
  3647. Humanoid.WalkSpeed = 25
  3648. end
  3649.  
  3650. function AbyssBullet(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  3651. local POS1 = POSITION1
  3652. local POS2 = POSITION2
  3653. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  3654. local FIREBALLSPEED = SPEED * Player_Size
  3655. local FIREBALLDURATION = DURATION
  3656. local FIREBALLCOLORS = {"Really black", "Black"}
  3657. local FIREBALLHITSOUNDS = {"971126018", "971125740"}
  3658. coroutine.resume(coroutine.create(function()
  3659. repeat
  3660. Swait()
  3661. local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  3662. POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  3663. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  3664. if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  3665. FIREBALLDURATION = 0
  3666. local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3667. FireballHitRefpart.Anchored = true
  3668. FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  3669. game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  3670. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  3671. for i = 1, MRANDOM(4, 8) do
  3672. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 5, 5, 5, 0, 0, 0, MRANDOM(3, 5) / 100)
  3673. end
  3674. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  3675. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  3676. MagicBlock("Black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  3677. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FireballHitRefpart, SIZE / 2, false, 25, 30, 15, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  3678. else
  3679. FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  3680. end
  3681. until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  3682. end))
  3683. end
  3684.  
  3685. function AbyssRain()
  3686. Humanoid.WalkSpeed = 0
  3687. Humanoid.JumpPower = 0
  3688. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,0.3,0.2,.025)
  3689. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,2,5,2,0,2,.025)
  3690. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,1,0.2,.025)
  3691. ATTACK = true
  3692. CreateSound("160773067", root, 1, 1)
  3693. for i=0, 1, 0.1 / Animation_Speed do
  3694. wait()
  3695. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 35 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3699. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3701. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3702. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3703. break
  3704. end
  3705. end
  3706. laugh:Play()
  3707. for i=0, 1, 0.1 / Animation_Speed do
  3708. wait()
  3709. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 35 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3710. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3713. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3715. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3716. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3717. break
  3718. end
  3719. end
  3720. wait(2)
  3721. for i=0, 1, 0.1 / Animation_Speed do
  3722. wait()
  3723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 35 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  3724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3727. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3729. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3730. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3731. break
  3732. end
  3733. end
  3734. for i = 1, 40 do
  3735. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Vector3.new(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
  3736. AbyssBullet((CFrame.new(Mouse.Hit.p.X + math.random(-12,12),Mouse.Hit.p.Y + math.random(200,300),Mouse.Hit.p.Z + math.random(-12,12)) * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 4, 100, 2.1, 5, 10)
  3737. wait(0.2)
  3738. end
  3739. for i=0, 1, 0.1 / Animation_Speed do
  3740. wait()
  3741. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 35 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  3742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3745. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3747. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3748. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3749. break
  3750. end
  3751. end
  3752. wait(1)
  3753. for i=0, 1, 0.1 / Animation_Speed do
  3754. wait()
  3755. 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)
  3756. 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)
  3757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3759. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3760. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3761. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3762. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3763. break
  3764. end
  3765. end
  3766. ATTACK = false
  3767. Humanoid.JumpPower = 50
  3768. Humanoid.WalkSpeed = 25
  3769. end
  3770.  
  3771. function AbyssWarp()
  3772. RootPart.Anchored = true
  3773. Torso.CanCollide = false
  3774. warpdecloak()
  3775. for i=0, 1, 0.1 / Animation_Speed do
  3776. wait()
  3777. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3781. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3782. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3783. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3784. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3785. break
  3786. end
  3787. end
  3788. RootPart.CFrame = CFrame.new(Mouse.Hit.p.X,Mouse.Hit.p.Y + 2,Mouse.Hit.p.Z)
  3789. wait(0.2)
  3790. cloak()
  3791. HandlePart.Transparency = 0
  3792. HitboxPart.Transparency = 0
  3793. for i=0, 1, 0.1 / Animation_Speed do
  3794. wait()
  3795. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3796. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3799. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3800. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3801. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3802. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3803. break
  3804. end
  3805. end
  3806. Torso.CanCollide = true
  3807. RootPart.Anchored = false
  3808. end
  3809.  
  3810. function forceback()
  3811. ATTACK = true
  3812. ABYSSFORM = false
  3813. Humanoid.MaxHealth = math.huge
  3814. Humanoid.Health = math.huge
  3815. Humanoid.WalkSpeed = 0
  3816. Humanoid.JumpPower = 0
  3817. for i=0, 1, 0.1 / Animation_Speed do
  3818. Swait()
  3819. 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(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3820. 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(15)), 0.15 / Animation_Speed)
  3821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3823. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  3824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3825. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  3826. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3827. break
  3828. end
  3829. end
  3830. for i=0, 1, 0.1 / Animation_Speed do
  3831. Swait()
  3832. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(50 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3836. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3838. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-55), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3839. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3840. break
  3841. end
  3842. end
  3843. wait(1)
  3844. Humanoid.MaxHealth = math.huge
  3845. Humanoid.Health = math.huge
  3846. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 10,true, 20, 20, 0, "Normal", RootPart, 0, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3847. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,2,2,2,0.3,0.3,0.3,0.015)
  3848. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,2,2,2,0.2,0.2,0.2,0.015)
  3849. CreateSound("3264923", Torso, 2, 0.85)
  3850. decloak()
  3851. wingholder:ClearAllChildren()
  3852. sick.SoundId = basicmusic
  3853. wait(1)
  3854. ATTACK = false
  3855. Humanoid.WalkSpeed = 16
  3856. Humanoid.JumpPower = 50
  3857. end
  3858.  
  3859. function refuel()
  3860. ATTACK = true
  3861. Humanoid.WalkSpeed = 0
  3862. Humanoid.JumpPower = 0
  3863. for i=0, 1, 0.1 / Animation_Speed do
  3864. Swait()
  3865. 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(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3866. 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(15)), 0.15 / Animation_Speed)
  3867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3869. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  3870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3871. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  3872. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3873. break
  3874. end
  3875. end
  3876. for i=0, 1, 0.1 / Animation_Speed do
  3877. Swait()
  3878. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(50 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3882. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3884. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-55), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3885. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3886. break
  3887. end
  3888. end
  3889. while true do
  3890. wait(2)
  3891. if HOLDCHARGE == true and Abysstimer < 700 then
  3892. Humanoid.Health = Humanoid.Health - 500
  3893. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,1,1,1,0.3,0.3,0.3,0.015)
  3894. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,1,1,1,0.2,0.2,0.2,0.015)
  3895. CreateSound("3264923", Torso, 2, 0.85)
  3896. Abysstimer = Abysstimer + 100
  3897. elseif HOLDCHARGE == false or Abysstimer > 699 then
  3898. break
  3899. end
  3900. end
  3901. ATTACK = false
  3902. Humanoid.WalkSpeed = 16
  3903. Humanoid.JumpPower = 50
  3904. end
  3905.  
  3906. function ChangeForm()
  3907. Humanoid.WalkSpeed = 0
  3908. Humanoid.JumpPower = 0
  3909. ATTACK = true
  3910. for i=0, 1, 0.1 / Animation_Speed do
  3911. Swait()
  3912. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3916. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3918. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3919. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3920. break
  3921. end
  3922. end
  3923. for i = 1, 3 do
  3924. CreateSound("3264923", Torso, 2, 0.5)
  3925. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  3926. wait(1)
  3927. end
  3928. cloak()
  3929. siz = 0.2
  3930. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,0.3,0.2,.025)
  3931. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,2,5,2,0,2,.025)
  3932. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,1,0.2,.025)
  3933. for i = 1, 5 do
  3934. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 20,true, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3935. MagicBlock3(BrickColor.new("Really black"),Torso.CFrame,0,0,0,siz,siz,siz,0.015)
  3936. siz = siz + 0.3
  3937. end
  3938. wait(0.2)
  3939. warpdecloak()
  3940. wait(0.3)
  3941. cloak()
  3942. HandlePart.Transparency = 0
  3943. HitboxPart.Transparency = 0
  3944. ATTACK = false
  3945. Humanoid.WalkSpeed = 25
  3946. Humanoid.JumpPower = 50
  3947. sick.SoundId = abyssmusic
  3948. ABYSSFORM = true
  3949. end
  3950.  
  3951. function AbyssSlices()
  3952. Humanoid.WalkSpeed = 0
  3953. ATTACK = true
  3954. laugh:Play()
  3955. cloak()
  3956. for i=0, 1, 0.1 / Animation_Speed do
  3957. Swait()
  3958. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3959. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3960. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3961. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3962. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3963. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3964. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3965. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3966. break
  3967. end
  3968. end
  3969. wait(2)
  3970. MagnitudeDamage("0", "0", HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 45, false, 101, 101, 0, "Normal", RootPart, 0.5, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3971. fade:Play()
  3972. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,0.3,0.2,.025)
  3973. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,2,5,2,0,2,.025)
  3974. MagicWave(BrickColor.new("Really black"),cf(Vector3.new(Torso.Position.X,RootPart.Position.Y-3.2,Torso.Position.Z)),5,0.75,5,0.2,1,0.2,.025)
  3975. local color = Instance.new("ColorCorrectionEffect")
  3976. color.Parent = game.Lighting
  3977. for i = 1, 10 do
  3978. color.Brightness = color.Brightness - 0.1
  3979. wait(0.01)
  3980. end
  3981. for i = 1, 5 do
  3982. MagnitudeDamage("0", "0", HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 45, false, 101, 101, 0, "Normal", RootPart, 0.5, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3983. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Character, 2, 1)
  3984. wait(0.3)
  3985. end
  3986. MagnitudeDamage("0", "0", HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Torso, 45, false, 100, 100, 0, "Normal", RootPart, 0.5, 0.1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3987. wait(0.5)
  3988. for i = 1, 10 do
  3989. color.Brightness = color.Brightness + 0.1
  3990. wait(0.05)
  3991. end
  3992. color:remove()
  3993. wait(1)
  3994. decloak()
  3995. ATTACK = false
  3996. Humanoid.WalkSpeed = 16
  3997. end
  3998.  
  3999. --//=================================\\
  4000. --\\=================================//
  4001.  
  4002.  
  4003. function Taunt()
  4004. ATTACK = true
  4005. for i=0, 1, 0.1 / Animation_Speed do
  4006. Swait()
  4007. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  4008. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4009. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  4010. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  4011. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  4012. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  4013. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  4014. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  4015. break
  4016. end
  4017. end
  4018. CreateSound(Taunts[MRANDOM(1, #Taunts)], Head, 1.4, 1.2)
  4019. wait(2.5)
  4020. ATTACK = false
  4021. end
  4022.  
  4023.  
  4024.  
  4025. --//=================================\\
  4026. --|| SET THINGS UP
  4027. --\\=================================//
  4028.  
  4029. if Start_Equipped == true then
  4030. ATTACK = true
  4031. EQUIPPED = true
  4032. if Disable_Animate == true then
  4033. ANIMATE.Parent = nil
  4034. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4035. IDLEANIMATION:Play()
  4036. end
  4037. if Disable_Animator == true then
  4038. ANIMATOR.Parent = nil
  4039. end
  4040. if Disable_Moving_Arms == true then
  4041. RSH = Torso["Right Shoulder"]
  4042. LSH = Torso["Left Shoulder"]
  4043. RSH.Parent = nil
  4044. LSH.Parent = nil
  4045. if Use_Motors_Instead_Of_Welds == true then
  4046. RightShoulder = IT("Motor")
  4047. LeftShoulder = IT("Motor")
  4048. else
  4049. RightShoulder = IT("Weld")
  4050. LeftShoulder = IT("Weld")
  4051. end
  4052. RightShoulder.Name = "Right Shoulder"
  4053. RightShoulder.Part0 = Torso
  4054. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4055. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4056. RightShoulder.Part1 = Character["Right Arm"]
  4057. RightShoulder.Parent = Torso
  4058. LeftShoulder.Name = "Left Shoulder"
  4059. LeftShoulder.Part0 = Torso
  4060. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4061. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4062. LeftShoulder.Part1 = Character["Left Arm"]
  4063. LeftShoulder.Parent = Torso
  4064. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  4065. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  4066. end
  4067. if Start_Equipped_With_Equipped_Animation == true then
  4068. Swait()
  4069. EquipWeapon()
  4070. end
  4071. ATTACK = false
  4072. end
  4073.  
  4074. --//=================================\\
  4075. --\\=================================//
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081. --//=================================\\
  4082. --|| ASSIGN THINGS TO KEYS
  4083. --\\=================================//
  4084.  
  4085. Humanoid.Changed:connect(function(Jump)
  4086. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  4087. Humanoid.Jump = false
  4088. end
  4089. end)
  4090.  
  4091. function MouseDown(Mouse)
  4092. if ATTACK == true or EQUIPPED == false then
  4093. return
  4094. end
  4095. HOLD = true
  4096. if COMBO == 1 then
  4097. COMBO = 2
  4098. if ABYSSFORM == false then
  4099. Attack1()
  4100. elseif ABYSSFORM == true then
  4101. AbyssAttack1()
  4102. end
  4103. elseif COMBO == 2 then
  4104. COMBO = 3
  4105. if ABYSSFORM == false then
  4106. Attack2()
  4107. elseif ABYSSFORM == true then
  4108. AbyssAttack2()
  4109. end
  4110. elseif COMBO == 3 then
  4111. COMBO = 4
  4112. if ABYSSFORM == false then
  4113. Attack3()
  4114. elseif ABYSSFORM == true then
  4115. AbyssAttack3()
  4116. end
  4117. elseif COMBO == 4 then
  4118. COMBO = 1
  4119. if ABYSSFORM == false then
  4120. Attack4()
  4121. elseif ABYSSFORM == true then
  4122. AbyssAttack4()
  4123. end
  4124. end
  4125. coroutine.resume(coroutine.create(function()
  4126. for i=1, 50 do
  4127. if ATTACK == false then
  4128. Swait()
  4129. end
  4130. end
  4131. if ATTACK == false then
  4132. COMBO = 1
  4133. end
  4134. end))
  4135. end
  4136.  
  4137. function MouseUp(Mouse)
  4138. HOLD = false
  4139. end
  4140.  
  4141. function KeyDown(Key)
  4142. if Key == "f" and Can_Equip_Or_Unequip == true and ATTACK == false then
  4143. ATTACK = true
  4144. COMBO = 1
  4145. if EQUIPPED == false then
  4146. EQUIPPED = true
  4147. if Disable_Animate == true then
  4148. ANIMATE.Parent = nil
  4149. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4150. IDLEANIMATION:Play()
  4151. end
  4152. if Disable_Animator == true then
  4153. ANIMATOR.Parent = nil
  4154. end
  4155. if Disable_Moving_Arms == true then
  4156. RSH = Torso["Right Shoulder"]
  4157. LSH = Torso["Left Shoulder"]
  4158. RSH.Parent = nil
  4159. LSH.Parent = nil
  4160. if Use_Motors_Instead_Of_Welds == true then
  4161. RightShoulder = IT("Motor")
  4162. LeftShoulder = IT("Motor")
  4163. else
  4164. RightShoulder = IT("Weld")
  4165. LeftShoulder = IT("Weld")
  4166. end
  4167. RightShoulder.Name = "Right Shoulder"
  4168. RightShoulder.Part0 = Torso
  4169. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4170. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4171. RightShoulder.Part1 = Character["Right Arm"]
  4172. RightShoulder.Parent = Torso
  4173. LeftShoulder.Name = "Left Shoulder"
  4174. LeftShoulder.Part0 = Torso
  4175. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4176. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  4177. LeftShoulder.Part1 = Character["Left Arm"]
  4178. LeftShoulder.Parent = Torso
  4179. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  4180. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  4181. end
  4182. Swait()
  4183. EquipWeapon()
  4184. elseif EQUIPPED == true and ABYSSFORM == false then
  4185. EQUIPPED = false
  4186. UnequipWeapon()
  4187. if Disable_Animator == true then
  4188. ANIMATOR.Parent = Humanoid
  4189. end
  4190. if Disable_Animate == true then
  4191. ANIMATE.Parent = Character
  4192. end
  4193. Swait()
  4194. if Disable_Moving_Arms == true then
  4195. RightShoulder.Parent = nil
  4196. LeftShoulder.Parent = nil
  4197. RSH.Parent = Torso
  4198. LSH.Parent = Torso
  4199. end
  4200. end
  4201. ATTACK = false
  4202. end
  4203. if Key == "t" and EQUIPPED == true and ATTACK == false then
  4204. Taunt()
  4205. end
  4206. if Key == "z" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false and Abysstimer > 199 then
  4207. Abysstimer = Abysstimer - 200
  4208. Shriek()
  4209. end
  4210. if Key == "z" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4211. AbyssShriek()
  4212. end
  4213. if Key == "x" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false and Abysstimer > 499 then
  4214. Abysstimer = Abysstimer - 500
  4215. AbyssSlices()
  4216. end
  4217. if Key == "u" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false and Abysstimer < 700 then
  4218. HOLDCHARGE = true
  4219. refuel()
  4220. end
  4221. if Key == "x" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4222. Abysstimer = 0
  4223. AbyssRain()
  4224. end
  4225. if Key == "u" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4226. forceback()
  4227. Humanoid.MaxHealth = math.huge
  4228. Humanoid.Health = math.huge
  4229. end
  4230. if Key == "c" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false and Abysstimer > 399 then
  4231. Abysstimer = Abysstimer - 400
  4232. dash()
  4233. end
  4234. if Key == "c" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4235. abyssdash()
  4236. end
  4237. if Key == "v" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false and Abysstimer > 699 then
  4238. ChangeForm()
  4239. end
  4240. if Key == "y" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4241. AbyssWarp()
  4242. end
  4243. if Key == "e" and EQUIPPED == true and ATTACK == false and ABYSSFORM == false then
  4244. Quickslashes()
  4245. end
  4246. if Key == "e" and EQUIPPED == true and ATTACK == false and ABYSSFORM == true then
  4247. Abyssslashes()
  4248. end
  4249. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  4250. if Key == "q" then
  4251. Mana.Value = Max_Mana
  4252. SecondaryMana.Value = Max_Secondary_Mana
  4253. CO1 = Cooldown_1
  4254. CO2 = Cooldown_2
  4255. CO3 = Cooldown_3
  4256. CO4 = Cooldown_4
  4257. end
  4258. if Key == "p" then
  4259. StaggerHit.Value = true
  4260. end
  4261. if Key == "[" then
  4262. Stagger.Value = true
  4263. end
  4264. if Key == "]" then
  4265. Stun.Value = true
  4266. end
  4267. end
  4268. end
  4269.  
  4270. function KeyUp(Key)
  4271. HOLDCHARGE = false
  4272. end
  4273.  
  4274. if Use_HopperBin == false then
  4275.  
  4276. Mouse.Button1Down:connect(function(NEWKEY)
  4277. MouseDown(NEWKEY)
  4278. end)
  4279. Mouse.Button1Up:connect(function(NEWKEY)
  4280. MouseUp(NEWKEY)
  4281. end)
  4282. Mouse.KeyDown:connect(function(NEWKEY)
  4283. KeyDown(NEWKEY)
  4284. end)
  4285. Mouse.KeyUp:connect(function(NEWKEY)
  4286. KeyUp(NEWKEY)
  4287. end)
  4288.  
  4289. elseif Use_HopperBin == true then
  4290. WEAPONTOOL.Parent = Backpack
  4291. script.Parent = WEAPONTOOL
  4292. function SelectTool(Mouse)
  4293. Mouse.Button1Down:connect(function()
  4294. MouseDown(Mouse)
  4295. end)
  4296. Mouse.Button1Up:connect(function()
  4297. MouseUp(Mouse)
  4298. end)
  4299. Mouse.KeyDown:connect(KeyDown)
  4300. Mouse.KeyUp:connect(KeyUp)
  4301. end
  4302. function DeselectTool(Mouse)
  4303. end
  4304. WEAPONTOOL.Selected:connect(SelectTool)
  4305. WEAPONTOOL.Deselected:connect(DeselectTool)
  4306. end
  4307.  
  4308. --//=================================\\
  4309. --\\=================================//
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315. --//=================================\\
  4316. --|| WRAP THE WHOLE SCRIPT UP
  4317. --\\=================================//
  4318.  
  4319. while true do
  4320. Swait()
  4321. if HitboxPart ~= nil and ATTACK == false and StaggerHit.Value == false and Stagger.Value == false and Stun.Value == false then
  4322. HitboxPart.Name = "NilHitbox"
  4323. else
  4324. HitboxPart.Name = "Hitbox"
  4325. end
  4326. if Enable_Gui == true then
  4327. UpdateGUI()
  4328. end
  4329. UpdateSkillsAndStuff()
  4330. if Walkspeed_Depends_On_Movement_Value == true then
  4331. if Movement.Value < 0 or StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true or Rooted.Value == true then
  4332. Humanoid.WalkSpeed = 0
  4333. else
  4334. Humanoid.WalkSpeed = 16 * Movement.Value * Player_Size
  4335. end
  4336. end
  4337. if Enable_Stun == true and StunValue.Value >= Max_Stun then
  4338. StunValue.Value = 0
  4339. Stun.Value = true
  4340. end
  4341. if Enable_Stagger_Hit == true then
  4342. if StaggerHit.Value == true and STAGGERHITANIM == false then
  4343. coroutine.resume(coroutine.create(function()
  4344. STAGGERHITANIM = true
  4345. while ATTACK == true do
  4346. Swait()
  4347. end
  4348. StaggerHitAnimation()
  4349. StaggerHit.Value = false
  4350. STAGGERHITANIM = false
  4351. end))
  4352. end
  4353. else
  4354. StaggerHit.Value = false
  4355. end
  4356. if Enable_Stagger == true then
  4357. if Stagger.Value == true and STAGGERANIM == false then
  4358. coroutine.resume(coroutine.create(function()
  4359. STAGGERANIM = true
  4360. while ATTACK == true do
  4361. Swait()
  4362. end
  4363. StaggerAnimation()
  4364. Stagger.Value = false
  4365. STAGGERANIM = false
  4366. end))
  4367. end
  4368. else
  4369. Stagger.Value = false
  4370. end
  4371. if Enable_Stun == true then
  4372. if Stun.Value == true and STUNANIM == false then
  4373. coroutine.resume(coroutine.create(function()
  4374. StunValue.Value = 0
  4375. STUNANIM = true
  4376. while ATTACK == true do
  4377. Swait()
  4378. end
  4379. StunAnimation()
  4380. Stun.Value = false
  4381. STUNANIM = false
  4382. end))
  4383. end
  4384. else
  4385. StunValue.Value = 0
  4386. Stun.Value = false
  4387. end
  4388. if DONUMBER >= .5 then
  4389. HANDIDLE = true
  4390. elseif DONUMBER <= 0 then
  4391. HANDIDLE = false
  4392. end
  4393. if HANDIDLE == false then
  4394. DONUMBER = DONUMBER + 0.003 / Animation_Speed
  4395. else
  4396. DONUMBER = DONUMBER - 0.003 / Animation_Speed
  4397. end
  4398. if ATTACK == false then
  4399. IDLENUMBER = IDLENUMBER + 1
  4400. else
  4401. IDLENUMBER = 0
  4402. end
  4403. if Enable_Stats == true then
  4404. for _, v in pairs (ChangeStat:GetChildren()) do
  4405. if v:FindFirstChild("Duration") ~= nil then
  4406. v:FindFirstChild("Duration").Value = v:FindFirstChild("Duration").Value - (1 / 30) / Animation_Speed
  4407. if v:FindFirstChild("Duration").Value <= 0 then
  4408. v.Parent = nil
  4409. end
  4410. end
  4411. if v.Name == "ChangeDefense" then
  4412. CHANGEDEFENSE = CHANGEDEFENSE + v.Value
  4413. elseif v.Name == "ChangeDamage" then
  4414. CHANGEDAMAGE = CHANGEDAMAGE + v.Value
  4415. elseif v.Name == "ChangeMovement" then
  4416. CHANGEMOVEMENT = CHANGEMOVEMENT + v.Value
  4417. end
  4418. end
  4419. Defense.Value = 1 + (CHANGEDEFENSE)
  4420. if Defense.Value <= 0.01 then
  4421. Defense.Value = 0.01
  4422. end
  4423. Damage.Value = 1 + (CHANGEDAMAGE)
  4424. if Damage.Value <= 0 then
  4425. Damage.Value = 0
  4426. end
  4427. Movement.Value = 1 + (CHANGEMOVEMENT)
  4428. if Movement.Value <= 0 then
  4429. Movement.Value = 0
  4430. end
  4431. CHANGEDEFENSE = 0
  4432. CHANGEDAMAGE = 0
  4433. CHANGEMOVEMENT = 0
  4434. end
  4435. SINE = SINE + CHANGE
  4436. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4437. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4438. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  4439. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  4440. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4441. if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 and ABYSSFORM == false then
  4442. 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)
  4443. 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)
  4444. 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)
  4445. 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)
  4446. elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) and ABYSSFORM == false then
  4447. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4448. 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)
  4449. 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)
  4450. 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)
  4451. end
  4452. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4453. ANIM = "Jump"
  4454. if EQUIPPED == true and ATTACK == false then
  4455. 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)
  4456. 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)
  4457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4459. 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)
  4460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4461. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  4462. end
  4463. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4464. ANIM = "Fall"
  4465. if EQUIPPED == true and ATTACK == false then
  4466. 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)
  4467. 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)
  4468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4470. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4471. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4472. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  4473. end
  4474. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4475. ANIM = "Idle"
  4476. if EQUIPPED == true and ATTACK == false then
  4477. 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(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  4478. 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(15)), 0.15 / Animation_Speed)
  4479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4481. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  4482. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  4483. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  4484. end
  4485. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4486. ANIM = "Walk"
  4487. WALK = WALK + 1 / Animation_Speed
  4488. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  4489. WALK = 0
  4490. if WALKINGANIM == true then
  4491. WALKINGANIM = false
  4492. elseif WALKINGANIM == false then
  4493. WALKINGANIM = true
  4494. end
  4495. end
  4496. if EQUIPPED == true and ATTACK == false then
  4497. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * COS(SINE / WALKSPEEDVALUE) * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(45 + 2.5 * SIN(SINE / (WALKSPEEDVALUE / 2)))) * RIGHTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4501. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4502. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4503. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4504. end
  4505. end
  4506. if #Effects2>0 then
  4507. for e=1,#Effects2 do
  4508. if Effects2[e]~=nil then
  4509. local Thing=Effects2[e]
  4510. if Thing~=nil then
  4511. local Part=Thing[1]
  4512. local Mode=Thing[2]
  4513. local Delay=Thing[3]
  4514. local IncX=Thing[4]
  4515. local IncY=Thing[5]
  4516. local IncZ=Thing[6]
  4517. if Thing[1].Transparency<=1 then
  4518. if Thing[2]=="Block1" then
  4519. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4520. Mesh=Thing[1].Mesh
  4521. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4522. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4523. elseif Thing[2]=="Cylinder" then
  4524. Mesh=Thing[1].Mesh
  4525. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4526. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4527. elseif Thing[2]=="Blood" then
  4528. Mesh=Thing[7]
  4529. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  4530. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4531. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4532. elseif Thing[2]=="Elec" then
  4533. Mesh=Thing[1].Mesh
  4534. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  4535. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4536. elseif Thing[2]=="Disappear" then
  4537. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4538. end
  4539. else
  4540. Part.Parent=nil
  4541. table.remove(Effects2,e)
  4542. end
  4543. end
  4544. end
  4545. end
  4546. end
  4547. if ABYSSFORM == true then
  4548. Humanoid.MaxHealth = "inf"
  4549. Humanoid.Health = "inf"
  4550. Swait()
  4551. Abysstimer = Abysstimer - 0.8
  4552. if Abysstimer < 1 then
  4553. if ATTACK == false and ABYSSFORM == true then
  4554. forceback()
  4555. end
  4556. end
  4557. end
  4558. if ABYSSFORM == false and Abysstimer ~= 700 then
  4559. Swait()
  4560. Abysstimer = Abysstimer + 0.8
  4561. if Abysstimer > 699 then
  4562. Abysstimer = 700
  4563. if Abysstimer < 0 then
  4564. Abysstimer = 0
  4565. end
  4566. end
  4567. end
  4568. end
  4569.  
  4570. --//=================================\\
  4571. --\\=================================//
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577. --//====================================================\\--
  4578. --|| END OF SCRIPT
  4579. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement