UltimateGate

Harbucus

Jul 25th, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.91 KB | None | 0 0
  1. script.Parent = nil
  2. Meshes = {Blast = "20329976", Crown = "1323306", Ring = "3270017", Claw = "10681506", Crystal = "9756362", Coil = "9753878", Cloud = "1095708"}
  3. clangsounds = {"199149119", "199149109", "199149072", "199149025", "199148971"}
  4. hitsounds = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  5. blocksounds = {"199148933", "199148947"}
  6. armorsounds = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  7. woosh = {Heavy1 = "320557353", Heavy2 = "320557382", Heavy3 = "320557453", Heavy4 = "199144226", Heavy5 = "203691447", Heavy6 = "203691467", Heavy7 = "203691492", Light1 = "320557413", Light2 = "320557487", Light3 = "199145095", Light4 = "199145146", Light5 = "199145887", Light6 = "199145913", Light7 = "199145841", Medium1 = "320557518", Medium2 = "320557537", Medium3 = "320557563", Medium4 = "199145204"}
  8. music = {Breaking = "179281636", FinalReckoning = "357375770", NotDeadYet = "346175829", Intense = "151514610", JumpP1 = "160536628", JumpP2 = "60536666", SonsOfWar = "158929777", WrathOfSea = "165520893", ProtectorsOfEarth = "160542922", SkyTitans = "179282324", ArchAngel = "144043274", Anticipation = "168614529", TheMartyred = "186849544", AwakeP1 = "335631255", AwakeP2 = "335631297", ReadyAimFireP1 = "342455387", ReadyAimFireP2 = "342455399", DarkLordP1 = "209567483", DarkLordP2 = "209567529", BloodDrainP1 = "162914123", BloodDrainP2 = "162914203", DanceOfSwords = "320473062", Opal = "286415112", Calamity = "190454307", Hypnotica = "155968128", Nemisis = "160453802", Breathe = "276963903", GateToTheRift = "270655227", InfernalBeserking = "244143404", Trust = "246184492", AwakeningTheProject = "245121821", BloodPain = "242545577", Chaos = "247241693", NightmareFictionHighStake = "248062278", TheWhiteWeapon = "247236446", Gale = "256851659", ImperialCode = "256848383", Blitzkrieg = "306431437", RhapsodyRage = "348690251", TheGodFist = "348541501", BattleForSoul = "321185592", TheDarkColossus = "305976780", EmpireOfAngels = "302580452", Kronos = "302205297", Exorcist = "299796054", CrimsonFlames = "297799220", UltimatePower = "295753229", DrivingInTheDark = "295753229", AscendToPower = "293860654", GodOfTheSun = "293612495", DarkRider = "293861765", Vengeance = "293375555", SoundOfWar = "293376196", HellsCrusaders = "293012202", Legend = "293011823", RisingSouls = "290524959"}
  9. misc = {GroundSlam = "199145477", LaserSlash = "199145497", RailGunFire = "199145534", Charge1 = "199145659", Charge2 = "169380469", Charge3 = "169380479", EmptyGun = "203691822", GunShoot = "203691837", Stomp1 = "200632875", Stomp2 = "200632561", TelsaCannonCharge = "169445572", TelsaCannonShoot = "169445602", AncientHymm = "245313442"}
  10. Player = game:GetService("Players").LocalPlayer
  11. Character = Player.Character
  12. PlayerGui = Player.PlayerGui
  13. Backpack = Player.Backpack
  14. Torso = Character.Torso
  15. Head = Character.Head
  16. Humanoid = Character.Humanoid
  17. LeftArm = Character["Left Arm"]
  18. LeftLeg = Character["Left Leg"]
  19. RightArm = Character["Right Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LS = Torso["Left Shoulder"]
  22. LH = Torso["Left Hip"]
  23. RS = Torso["Right Shoulder"]
  24. RH = Torso["Right Hip"]
  25. Face = Head.face
  26. Neck = Torso.Neck
  27. it = Instance.new
  28. attacktype = 1
  29. vt = Vector3.new
  30. cf = CFrame.new
  31. euler = CFrame.fromEulerAnglesXYZ
  32. angles = CFrame.Angles
  33. cloaked = false
  34. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  35. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  36. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  38. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  39. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  40. RootPart = Character.HumanoidRootPart
  41. RootJoint = RootPart.RootJoint
  42. RootCF = euler(-1.57, 0, 3.14)
  43. attack = false
  44. attackdebounce = false
  45. deb = false
  46. equipped = false
  47. hand = false
  48. MMouse = nil
  49. combo = 0
  50. mana = 0
  51. trispeed = 0.2
  52. attackmode = "none"
  53. local idle = 0
  54. local Anim = "Idle"
  55. local gun = false
  56. local shoot = false
  57. ShotTarget = RootPart
  58. player = nil
  59. mana = 0
  60. Humanoid:findFirstChild("Animator"):Destroy()
  61. print("Harbaceus loaded.")
  62. mouse = Player:GetMouse()
  63. RSH = nil
  64. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  65. RW.Name = "Right Shoulder"
  66. LW.Name = "Left Shoulder"
  67. LH = Torso["Left Hip"]
  68. RH = Torso["Right Hip"]
  69. TorsoColor = Torso.BrickColor
  70. Colorpart1 = Torso.BrickColor.r
  71. Colorpart2 = Torso.BrickColor.g
  72. Colorpart3 = Torso.BrickColor.b
  73. NoOutline = function(Part)
  74. Part.TopSurface = 10
  75. end
  76. player = Player
  77. ch = Character
  78. RSH = ch.Torso["Right Shoulder"]
  79. LSH = ch.Torso["Left Shoulder"]
  80. RSH.Parent = nil
  81. LSH.Parent = nil
  82. RW.Name = "Right Shoulder"
  83. RW.Part0 = ch.Torso
  84. RW.C0 = cf(1.5, 0.5, 0)
  85. RW.C1 = cf(0, 0.5, 0)
  86. RW.Part1 = ch["Right Arm"]
  87. RW.Parent = ch.Torso
  88. LW.Name = "Left Shoulder"
  89. LW.Part0 = ch.Torso
  90. LW.C0 = cf(-1.5, 0.5, 0)
  91. LW.C1 = cf(0, 0.5, 0)
  92. LW.Part1 = ch["Left Arm"]
  93. LW.Parent = ch.Torso
  94. Player = game:GetService("Players").LocalPlayer
  95. Character = Player.Character
  96. Mouse = Player:GetMouse()
  97. local weldBetween = function(a, b)
  98. local weldd = Instance.new("ManualWeld")
  99. weldd.Part0 = a
  100. weldd.Part1 = b
  101. weldd.C0 = CFrame.new()
  102. weldd.C1 = b.CFrame:inverse() * a.CFrame
  103. weldd.Parent = a
  104. return weldd
  105. end
  106. swait = function(num)
  107. if num == 0 or num == nil then
  108. game:service("RunService").Heartbeat:wait(0)
  109. else
  110. for i = 0, num do
  111. game:service("RunService").Heartbeat:wait(0)
  112. end
  113. end
  114. end
  115. fat = Instance.new("BindableEvent", script)
  116. fat.Name = "Heartbeat"
  117. script:WaitForChild("Heartbeat")
  118. frame = 0.033333333333333
  119. tf = 0
  120. allowframeloss = false
  121. tossremainder = false
  122. lastframe = tick()
  123. script.Heartbeat:Fire()
  124. game:GetService("RunService").Heartbeat:connect(function(s, p)
  125. tf = tf + s
  126. if frame <= tf then
  127. if allowframeloss then
  128. script.Heartbeat:Fire()
  129. lastframe = tick()
  130. else
  131. for i = 1, math.floor(tf / frame) do
  132. script.Heartbeat:Fire()
  133. end
  134. lastframe = tick()
  135. end
  136. if tossremainder then
  137. tf = 0
  138. else
  139. tf = tf - frame * math.floor(tf / frame)
  140. end
  141. end
  142. end)
  143. it = Instance.new
  144. nooutline = function(part)
  145. part.TopSurface = 10
  146. end
  147. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  148. local fp = it("Part")
  149. fp.formFactor = formfactor
  150. fp.Parent = parent
  151. fp.Reflectance = reflectance
  152. fp.Transparency = transparency
  153. fp.CanCollide = false
  154. fp.Locked = true
  155. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  156. fp.Name = name
  157. fp.Size = size
  158. fp.Position = Character.Torso.Position
  159. nooutline(fp)
  160. fp.Material = material
  161. fp:BreakJoints()
  162. return fp
  163. end
  164. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  165. local mesh = it(Mesh)
  166. mesh.Parent = part
  167. if Mesh == "SpecialMesh" then
  168. mesh.MeshType = meshtype
  169. mesh.MeshId = meshid
  170. end
  171. mesh.Offset = offset
  172. mesh.Scale = scale
  173. return mesh
  174. end
  175. weld = function(parent, part0, part1, c0, c1)
  176. local weld = it("Weld")
  177. weld.Parent = parent
  178. weld.Part0 = part0
  179. weld.Part1 = part1
  180. weld.C0 = c0
  181. weld.C1 = c1
  182. return weld
  183. end
  184. m = Instance.new("Model", Character)
  185. m.Name = "Harbaceus"
  186. Handle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  187. Handleweld = weld(m, Character["Left Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149982452, 0.0603427887, 0.939049006, 1, 4.2277577e-08, 2.58397517e-08, 2.5839757e-08, 0, -0.999999881, -4.22775805e-08, 0.999999762, 0))
  188. mesh("SpecialMesh", Handle, Enum.MeshType.Head, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 5.5, 2.5))
  189. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  190. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.979997635, 0, 0, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  191. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(12, 2, 2))
  192. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  193. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.489999771, -4.76837158e-07, 1, 8.8817842e-15, -1.42108547e-14, 8.8817842e-15, 0.999999762, -1.09244243e-15, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  194. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(2.04999995, 2, 2.04999995))
  195. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  196. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 0, 0, -3.78551768e-08, 0.999999762, 5.07983287e-16, -0.866025627, -3.7279051e-08, 0.499999374, 0.499999583, -1.68824528e-08, 0.86602515))
  197. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  198. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  199. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 0, 4.76837158e-07, -1.13133867e-08, 0.999999762, 5.96046235e-08, -0.258820474, -6.62924933e-08, 0.965924978, 0.965925455, -4.84303975e-09, 0.258820355))
  200. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  201. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  202. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 0, 0, -3.09086339e-08, 0.999999762, 2.14300262e-16, -0.707107186, -7.78761162e-08, 0.707106054, 0.707106352, 7.78760949e-08, 0.707106888))
  203. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  204. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  205. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 4.76837158e-07, 0, -4.22219557e-08, 0.999999762, 6.92600047e-16, -0.965925872, -5.47616068e-08, 0.258818686, 0.258818805, 6.6878143e-09, 0.965925395))
  206. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  207. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  208. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 0, 0, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  209. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  210. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  211. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699998856, 4.76837158e-07, 0, -2.18557243e-08, 0.999999762, -1.68434884e-16, -0.500000834, -4.27222204e-08, 0.866024673, 0.866024911, -3.72267621e-08, 0.500000715))
  212. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  213. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  214. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, -4.76837158e-07, -4.76837158e-07, -3.09086339e-08, 0.999999762, 2.14300262e-16, -0.707107186, -7.78761162e-08, 0.707106054, 0.707106352, 7.78760949e-08, 0.707106888))
  215. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  216. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  217. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, -7.15255737e-07, 4.76837158e-07, -1.13133867e-08, 0.999999762, 5.96046235e-08, -0.258820474, -6.62924933e-08, 0.965924978, 0.965925455, -4.84303975e-09, 0.258820355))
  218. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  219. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  220. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, 4.76837158e-07, -7.15255737e-07, -4.22219557e-08, 0.999999762, 6.92600047e-16, -0.965925872, -5.47616068e-08, 0.258818686, 0.258818805, 6.6878143e-09, 0.965925395))
  221. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  222. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  223. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, -4.76837158e-07, -5.96046448e-07, -3.78551768e-08, 0.999999762, 5.07983287e-16, -0.866025627, -3.7279051e-08, 0.499999374, 0.499999583, -1.68824528e-08, 0.86602515))
  224. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  225. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  226. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, 0, 0, -2.18557243e-08, 0.999999762, -1.68434884e-16, -0.500000834, -4.27222204e-08, 0.866024673, 0.866024911, -3.72267621e-08, 0.500000715))
  227. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  228. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  229. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999832, 0, -7.15255737e-07, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  230. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  231. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  232. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, -4.76837158e-07, -5.96046448e-07, -3.78551768e-08, 0.999999762, 5.07983287e-16, -0.866025627, -3.7279051e-08, 0.499999374, 0.499999583, -1.68824528e-08, 0.86602515))
  233. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  234. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  235. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, -7.15255737e-07, 4.76837158e-07, -1.13133867e-08, 0.999999762, 5.96046235e-08, -0.258820474, -6.62924933e-08, 0.965924978, 0.965925455, -4.84303975e-09, 0.258820355))
  236. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  237. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  238. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, -4.76837158e-07, -4.76837158e-07, -3.09086339e-08, 0.999999762, 2.14300262e-16, -0.707107186, -7.78761162e-08, 0.707106054, 0.707106352, 7.78760949e-08, 0.707106888))
  239. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  240. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  241. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, 4.76837158e-07, -7.15255737e-07, -4.22219557e-08, 0.999999762, 6.92600047e-16, -0.965925872, -5.47616068e-08, 0.258818686, 0.258818805, 6.6878143e-09, 0.965925395))
  242. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  243. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  244. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, 0, 0, -2.18557243e-08, 0.999999762, -1.68434884e-16, -0.500000834, -4.27222204e-08, 0.866024673, 0.866024911, -3.72267621e-08, 0.500000715))
  245. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  246. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  247. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31999779, 0, -7.15255737e-07, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  248. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  249. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  250. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, 0, 0, -2.18557243e-08, 0.999999762, -1.68434884e-16, -0.500000834, -4.27222204e-08, 0.866024673, 0.866024911, -3.72267621e-08, 0.500000715))
  251. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  252. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  253. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, 0, -4.76837158e-07, -3.09086339e-08, 0.999999762, 2.14300262e-16, -0.707107186, -7.78761162e-08, 0.707106054, 0.707106352, 7.78760949e-08, 0.707106888))
  254. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  255. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  256. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, 4.76837158e-07, -4.76837158e-07, -4.22219557e-08, 0.999999762, 6.92600047e-16, -0.965925872, -5.47616068e-08, 0.258818686, 0.258818805, 6.6878143e-09, 0.965925395))
  257. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  258. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  259. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, -4.76837158e-07, -3.57627869e-07, -3.78551768e-08, 0.999999762, 5.07983287e-16, -0.866025627, -3.7279051e-08, 0.499999374, 0.499999583, -1.68824528e-08, 0.86602515))
  260. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  261. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  262. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, 0, -4.76837158e-07, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  263. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  264. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  265. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61999893, -4.76837158e-07, 4.76837158e-07, -1.13133867e-08, 0.999999762, 5.96046235e-08, -0.258820474, -6.62924933e-08, 0.965924978, 0.965925455, -4.84303975e-09, 0.258820355))
  266. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  267. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  268. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, -4.76837158e-07, -3.57627869e-07, -3.78551768e-08, 0.999999762, 5.07983287e-16, -0.866025627, -3.7279051e-08, 0.499999374, 0.499999583, -1.68824528e-08, 0.86602515))
  269. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  270. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  271. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, -4.76837158e-07, 4.76837158e-07, -1.13133867e-08, 0.999999762, 5.96046235e-08, -0.258820474, -6.62924933e-08, 0.965924978, 0.965925455, -4.84303975e-09, 0.258820355))
  272. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  273. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  274. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, 0, -4.76837158e-07, -3.09086339e-08, 0.999999762, 2.14300262e-16, -0.707107186, -7.78761162e-08, 0.707106054, 0.707106352, 7.78760949e-08, 0.707106888))
  275. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  276. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  277. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, 4.76837158e-07, -4.76837158e-07, -4.22219557e-08, 0.999999762, 6.92600047e-16, -0.965925872, -5.47616068e-08, 0.258818686, 0.258818805, 6.6878143e-09, 0.965925395))
  278. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  279. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  280. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, 0, -4.76837158e-07, -4.37113812e-08, 0.999999762, 7.55569324e-16, -1, -4.37113812e-08, 1.0658141e-14, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  281. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  282. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  283. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.9299984, 0, 0, -2.18557243e-08, 0.999999762, -1.68434884e-16, -0.500000834, -4.27222204e-08, 0.866024673, 0.866024911, -3.72267621e-08, 0.500000715))
  284. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2, 2))
  285. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  286. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.42128563, -1.9869709, 0, -4.37113954e-08, -0.707106709, -0.707106411, 1.77635684e-14, 0.70710659, -0.707106531, 1, -3.09086055e-08, -3.09086161e-08))
  287. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 5, 0.600000024))
  288. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  289. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.42128563, -1.9869709, 0, -4.37113954e-08, -0.707106709, -0.707106411, 1.77635684e-14, 0.70710659, -0.707106531, 1, -3.09086055e-08, -3.09086161e-08))
  290. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 0.5))
  291. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  292. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735219002, -2.99343491, 4.76837158e-07, -4.37113812e-08, -0.500000179, -0.866024792, 1.0658141e-14, 0.866024971, -0.50000006, 1, -2.18556941e-08, -3.7855159e-08))
  293. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2.5, 0.600000024))
  294. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  295. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735219002, -2.99343491, 4.76837158e-07, -4.37113812e-08, -0.500000179, -0.866024792, 1.0658141e-14, 0.866024971, -0.50000006, 1, -2.18556941e-08, -3.7855159e-08))
  296. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2.5, 0.5))
  297. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  298. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735218048, -2.99343491, -9.53674316e-07, -4.37114167e-08, -0.500000179, 0.866024792, 1.0658141e-14, 0.866024971, 0.50000006, -1, 2.18556941e-08, -3.78551199e-08))
  299. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2.5, 0.5))
  300. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  301. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.42128563, -1.9869709, -4.76837158e-07, -4.37114096e-08, -0.707106709, 0.707106411, 0, 0.70710659, 0.707106531, -1, 3.09086126e-08, -3.09085912e-08))
  302. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 0.5))
  303. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  304. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.42128563, -1.9869709, -4.76837158e-07, -4.37114096e-08, -0.707106709, 0.707106411, 0, 0.70710659, 0.707106531, -1, 3.09086126e-08, -3.09085912e-08))
  305. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 5, 0.600000024))
  306. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  307. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735218048, -2.99343491, -9.53674316e-07, -4.37114167e-08, -0.500000179, 0.866024792, 1.0658141e-14, 0.866024971, 0.50000006, -1, 2.18556941e-08, -3.78551199e-08))
  308. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2.5, 0.600000024))
  309. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  310. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.969996214, -3.38000107, 0, -4.37113918e-08, -7.45057946e-07, -0.999999642, 1.24344979e-14, 0.999999881, -7.45057775e-07, 1, -2.48689958e-14, -4.37113883e-08))
  311. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2.5, 0.600000024))
  312. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  313. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.969996214, -3.38000107, 0, -4.37113918e-08, -7.45057946e-07, -0.999999642, 1.24344979e-14, 0.999999881, -7.45057775e-07, 1, -2.48689958e-14, -4.37113883e-08))
  314. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2.5, 0.5))
  315. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  316. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.969997168, -3.38000107, 0, -4.37113883e-08, -7.45057946e-07, 0.999999642, 7.10542736e-15, 0.999999881, 7.45057775e-07, -1, 2.84217094e-14, -4.37113563e-08))
  317. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 2.5, 0.5))
  318. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  319. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.0699966, -3.38000298, 0, -4.37113918e-08, -7.45057946e-07, -0.999999642, 1.24344979e-14, 0.999999881, -7.45057775e-07, 1, -2.48689958e-14, -4.37113883e-08))
  320. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.354999989, 0.0700000003))
  321. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  322. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63521862, -2.99343491, 4.76837158e-07, -4.37113812e-08, -0.500000179, -0.866024792, 1.0658141e-14, 0.866024971, -0.50000006, 1, -2.18556941e-08, -3.7855159e-08))
  323. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.349999994, 0.0700000003))
  324. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  325. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.32128525, -1.98696899, 0, -4.37113954e-08, -0.707106709, -0.707106411, 1.77635684e-14, 0.70710659, -0.707106531, 1, -3.09086055e-08, -3.09086161e-08))
  326. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.699999988, 0.0700000003))
  327. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  328. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.06929064, -3.38000107, -4.76837158e-07, -2.06416678e-15, -7.45057946e-07, 0.999999523, 4.39843859e-08, 0.999999881, 7.45057775e-07, -0.999999881, 4.39843504e-08, 1.77635684e-14))
  329. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.354999989, 0.0700000003))
  330. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  331. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.635828018, -2.99308205, -4.76837158e-07, -1.77635684e-15, -0.500000179, 0.866024792, 0, 0.866024971, 0.50000006, -0.999999881, 2.21286811e-08, 0))
  332. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.349999994, 0.0700000003))
  333. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  334. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.969289303, -3.37999535, -4.76837158e-07, -2.06416678e-15, -7.45057946e-07, 0.999999523, 4.39843859e-08, 0.999999881, 7.45057775e-07, -0.999999881, 4.39843504e-08, 1.77635684e-14))
  335. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2.5, 0.600000024))
  336. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  337. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.32178497, -1.98646927, 0, -1.24344979e-14, -0.707106709, 0.707106411, 7.10542736e-15, 0.70710665, 0.707106471, -0.999999881, 1.30757876e-08, 7.10542736e-15))
  338. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.699999988, 0.0700000003))
  339. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  340. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, -4.1099987, -1.43051147e-06, 1, 8.8817842e-15, -1.42108547e-14, 8.8817842e-15, 0.999999762, -1.09244243e-15, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  341. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  342. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  343. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.06374645, -3.96995544, -1.43051147e-06, 0.965925813, 0.258819044, 1.87676186e-08, -0.258819073, 0.965925574, 1.09422427e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  344. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  345. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  346. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.05499935, -3.55936432, -1.43051147e-06, 0.866025388, 0.499999911, -2.17123013e-08, -0.5, 0.866025269, -3.8465835e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  347. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  348. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  349. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.90620995, -2.90620995, -1.43051147e-06, 0.707106769, 0.70710665, -9.24522681e-11, -0.707106709, 0.70710665, 2.98947604e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  350. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  351. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  352. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.55936432, -2.05500031, -1.43051147e-06, 0.499999881, 0.866025209, -5.09410967e-08, -0.866025329, 0.499999791, 2.17123013e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  353. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  354. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  355. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.55936432, -2.05500031, -1.43051147e-06, 0.499999881, 0.866025209, -5.09410967e-08, -0.866025329, 0.499999791, 2.17123013e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  356. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  357. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  358. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.96995544, -1.06374741, -1.43051147e-06, 0.258819044, 0.965925634, -1.09422444e-08, -0.965925813, 0.258819044, -1.87676186e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  359. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  360. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  361. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, -4.1099987, -4.76837158e-07, 1, 8.8817842e-15, -1.42108547e-14, 1.59872116e-14, 0.999999881, -1.49011555e-07, -7.40313657e-15, 1.49011598e-07, 0.999999642))
  362. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(6.5, 6.5, 16))
  363. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  364. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, -4.07999611, -1.16929173, 1, 8.8817842e-15, -1.42108547e-14, 8.8817842e-15, 0.999999762, -1.09244243e-15, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  365. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  366. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  367. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.05598116, -3.94097519, -1.16929173, 0.965925813, 0.258819044, 1.87676186e-08, -0.258819073, 0.965925574, 1.09422427e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  368. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  369. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  370. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.03999805, -3.53338242, -1.16929173, 0.866025388, 0.499999911, -2.17123013e-08, -0.5, 0.866025269, -3.8465835e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  371. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  372. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  373. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.88499451, -2.88499451, -1.16929173, 0.707106769, 0.70710665, -9.24522681e-11, -0.707106709, 0.70710665, 2.98947604e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  374. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  375. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  376. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.53338242, -2.03999901, -1.16929173, 0.499999881, 0.866025209, -5.09410967e-08, -0.866025329, 0.499999791, 2.17123013e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  377. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  378. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  379. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.94097519, -1.05598164, -1.16929173, 0.258818954, 0.965925574, -1.094224e-08, -0.965925694, 0.258818924, -1.87676221e-08, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  380. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  381. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  382. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-07, -4.08000183, 1.16999853, 1, 7.81597009e-14, 7.62850789e-07, 1.59872116e-14, 0.999999881, -1.49011555e-07, -7.62851073e-07, 1.49011584e-07, 0.999999642))
  383. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  384. EffectPart = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, TorsoColor, "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  385. EffectPartweld = weld(m, Handle, EffectPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -4.07999611, -1.46929336, 1, 8.8817842e-15, -1.42108547e-14, 8.8817842e-15, 0.999999762, -1.09244243e-15, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  386. mesh("SpecialMesh", EffectPart, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.5))
  387. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  388. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.05598116, -3.940979, 1.16999888, 0.965925813, 0.258818984, 7.78726587e-07, -0.258819073, 0.965925574, -1.38069311e-07, -7.89761543e-07, -2.14996884e-14, 0.999999523))
  389. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  390. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  391. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.03999901, -3.53338432, 1.16999972, 0.866025388, 0.499999881, 7.38246626e-07, -0.5, 0.866025269, -9.80704584e-08, -7.62851016e-07, -1.49011612e-07, 0.999999642))
  392. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  393. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  394. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.88499737, -2.88499641, 1.17000055, 0.707106769, 0.70710665, 7.44965348e-07, -0.707106709, 0.707106531, -1.78721422e-07, -6.83953544e-07, -4.47034807e-07, 0.999999523))
  395. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  396. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  397. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.53338432, -2.03999901, 1.17000151, 0.499999881, 0.86602509, 7.23919015e-07, -0.866025329, 0.499999821, -2.01805037e-07, -5.58445663e-07, -5.96046391e-07, 0.999999642))
  398. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  399. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  400. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.940979, -1.05598259, 1.17000198, 0.258818954, 0.965925515, 7.04313265e-07, -0.965925694, 0.258818924, -2.12482661e-07, -3.94880828e-07, -6.85453358e-07, 0.999999523))
  401. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 3))
  402. Effect2Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, TorsoColor, "Effect2Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  403. Effect2Partweld = weld(m, Handle, Effect2Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -4.07999611, 1.46999896, 1, 8.8817842e-15, -1.42108547e-14, 8.8817842e-15, 0.999999762, -1.09244243e-15, -1.0658141e-14, -1.09244243e-15, 0.999999523))
  404. mesh("SpecialMesh", Effect2Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.5))
  405. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  406. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, -4.11000061, -0.700001717, 1, 8.8817842e-15, -1.42108547e-14, 1.59872116e-14, 0.999999881, -1.49011555e-07, -7.40313657e-15, 1.49011598e-07, 0.999999642))
  407. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(6.5, 6.5, 8))
  408. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  409. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, -4.11000061, 0.699997306, 1, 8.8817842e-15, -1.42108547e-14, 1.59872116e-14, 0.999999881, -1.49011555e-07, -7.40313657e-15, 1.49011598e-07, 0.999999642))
  410. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(6.5, 6.5, 8))
  411. Hitbox = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(1.5, 5, 1.5))
  412. Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.43051147e-06, 4.11000061, 1, -1.643782e-08, -4.22775805e-08, 4.22775734e-08, 0, 0.999999642, -1.64378289e-08, -0.999999881, 1.78739389e-15))
  413. Handleweld.Part0 = Torso
  414. Handleweld.Part1 = Handle
  415. Handleweld.C0 = cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90))
  416. Hitbox.CanCollide = false
  417. hammeraura = Instance.new("Sound", Hitbox)
  418. hammeraura.SoundId = "http://roblox.com/asset/?id=143301643"
  419. hammeraura.Looped = true
  420. hammeraura.Pitch = 0
  421. hammeraura.Volume = 0
  422. for i,v in pairs(Character:GetChildren()) do
  423. if v:IsA("Model") then
  424. for _,c in pairs(v:GetChildren()) do
  425. if c:IsA("Part") then
  426. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  427. end
  428. end
  429. end
  430. end
  431. wait(0.1)
  432. hammeraura:Play()
  433. local Player = game.Players.localPlayer
  434. local Character = Player.Character
  435. local Humanoid = Character.Humanoid
  436. local mouse = Player:GetMouse()
  437. local LeftArm = Character["Left Arm"]
  438. local RightArm = Character["Right Arm"]
  439. local LeftLeg = Character["Left Leg"]
  440. local RightLeg = Character["Right Leg"]
  441. local Head = Character.Head
  442. local Torso = Character.Torso
  443. local cam = game.Workspace.CurrentCamera
  444. local RootPart = Character.HumanoidRootPart
  445. local equipped = false
  446. local attack = false
  447. local Anim = "Idle"
  448. local idle = 0
  449. local sprint = false
  450. local battlestance = false
  451. local attacktype = 1
  452. local state = "none"
  453. local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  454. local velocity = RootPart.Velocity.y
  455. local sine = 0
  456. local change = 1
  457. local on = false
  458. local grabbed = false
  459. local skill1 = false
  460. local skill2 = false
  461. local skill3 = false
  462. local skill4 = false
  463. local cooldown1 = 0
  464. local cooldown2 = 0
  465. local cooldown3 = 0
  466. local cooldown4 = 0
  467. local co1 = 0
  468. local co2 = 0
  469. local co3 = 0
  470. local co4 = 0
  471. local inputserv = game:GetService("UserInputService")
  472. local typing = false
  473. local crit = false
  474. local critchance = 2
  475. local critdamageaddmin = 2
  476. local critdamageaddmax = 7
  477. local maxstamina = 100
  478. local stamina = 0
  479. local skill1stam = 0
  480. local skill2stam = 0
  481. local skill3stam = 0
  482. local skill4stam = 0
  483. local recovermana = 4
  484. local defensevalue = 1.2
  485. local speedvalue = 1
  486. local mindamage = 4
  487. local maxdamage = 7
  488. local damagevalue = 1
  489. local cf = CFrame.new
  490. local mr = math.rad
  491. local angles = CFrame.Angles
  492. local ud = UDim2.new
  493. local c3 = Color3.new
  494. local skillcolorscheme = c3(1, 1, 1)
  495. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  496. makeframe = function(par, trans, pos, size, color)
  497. local frame = Instance.new("Frame", par)
  498. frame.BackgroundTransparency = trans
  499. frame.BorderSizePixel = 0
  500. frame.Position = pos
  501. frame.Size = size
  502. frame.BackgroundColor3 = color
  503. return frame
  504. end
  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.Size32
  513. label.Font = Enum.Font.SourceSansBold
  514. label.BorderSizePixel = 0
  515. label.TextScaled = true
  516. label.Text = text
  517. end
  518. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  519. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  520. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  521. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  522. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  523. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  524. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  525. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  526. text1 = makelabel(framesk1, "[C] Ability 3 (Finished)")
  527. text2 = makelabel(framesk2, "[V] Ability 4 (Does nothing at the moment)")
  528. text3 = makelabel(framesk3, "[X] Ability 2 (Finished)")
  529. text4 = makelabel(framesk4, "[Z] Ability 1 (Finished)")
  530. staminabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(0.23921568627451, 0.67058823529412, 1))
  531. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.23921568627451, 0.67058823529412, 1))
  532. staminatext = makelabel(staminabar, "Mana")
  533. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(1, 1, 0))
  534. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 0.18039215686275, 0.1921568627451))
  535. healthtext = makelabel(healthbar, "Health")
  536. local stats = Instance.new("Folder", Character)
  537. stats.Name = "Stats"
  538. local block = Instance.new("BoolValue", stats)
  539. block.Name = "Block"
  540. block.Value = false
  541. local stun = Instance.new("BoolValue", stats)
  542. stun.Name = "Stun"
  543. stun.Value = false
  544. local defense = Instance.new("NumberValue", stats)
  545. defense.Name = "Defence"
  546. defense.Value = defensevalue
  547. local speed = Instance.new("NumberValue", stats)
  548. speed.Name = "Speed"
  549. speed.Value = speedvalue
  550. local damagea = Instance.new("NumberValue", stats)
  551. damagea.Name = "Damage"
  552. damagea.Value = damagevalue
  553. makeeffect = function(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  554. local p = Instance.new("Part", par or workspace)
  555. p.CFrame = pos1
  556. p.Anchored = true
  557. p.Material = "Plastic"
  558. p.CanCollide = false
  559. p.TopSurface = 0
  560. p.Size = Vector3.new(1, 1, 1)
  561. p.BottomSurface = 0
  562. p.Transparency = trans
  563. p.FormFactor = "Custom"
  564. nooutline(p)
  565. local mesh = Instance.new("SpecialMesh", p)
  566. mesh.Scale = size
  567. if id ~= nil and type == nil then
  568. mesh.MeshId = "rbxassetid://" .. id
  569. else
  570. if id == nil and type ~= nil then
  571. mesh.MeshType = type
  572. else
  573. if id == nil and type == nil then
  574. mesh.MeshType = "Brick"
  575. end
  576. end
  577. end
  578. coroutine.wrap(function()
  579. for i = 0, delay1, 0.1 do
  580. wait(0.016666666666667)
  581. p.CFrame = p.CFrame
  582. mesh.Scale = mesh.Scale + howmuch
  583. p.Transparency = p.Transparency + trans1
  584. end
  585. p:Destroy()
  586. end)()
  587. return p
  588. end
  589. clangy = function(cframe)
  590. wait(0.016666666666667)
  591. local clang = {}
  592. local dis = 0
  593. local part = Instance.new("Part", nil)
  594. part.CFrame = cframe
  595. part.Anchored = true
  596. part.CanCollide = false
  597. part.BrickColor = BrickColor.new("New Yeller")
  598. part.FormFactor = "Custom"
  599. part.Name = "clanger"
  600. part.Size = Vector3.new(0.2, 0.2, 0.2)
  601. part.TopSurface = 10
  602. part.BottomSurface = 10
  603. part.RightSurface = 10
  604. part.LeftSurface = 10
  605. part.BackSurface = 10
  606. part.FrontSurface = 10
  607. part:BreakJoints()
  608. local mesh = Instance.new("BlockMesh", part)
  609. coroutine.wrap(function()
  610. for i = 1, 7 do
  611. do
  612. wait(0.016666666666667)
  613. dis = dis + 0.2
  614. local partc = part:clone()
  615. partc.Parent = workspace
  616. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  617. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  618. table.insert(clang, partc)
  619. end
  620. end
  621. for i,v in pairs(clang) do
  622. coroutine.wrap(function()
  623. for i = 1, 10 do
  624. wait(0.01)
  625. v.Transparency = v.Transparency + 0.1
  626. end
  627. v:destroy()
  628. end)()
  629. end
  630. end)()
  631. end
  632. circle = function(color, pos1)
  633. local p = Instance.new("Part", m)
  634. p.BrickColor = BrickColor.new(color)
  635. p.CFrame = pos1
  636. p.Anchored = true
  637. p.Material = "Plastic"
  638. p.CanCollide = false
  639. p.TopSurface = 0
  640. p.Size = Vector3.new(1, 1, 1)
  641. p.BottomSurface = 0
  642. p.Transparency = 0.35
  643. p.FormFactor = "Custom"
  644. local mesh = Instance.new("CylinderMesh", p)
  645. mesh.Scale = Vector3.new(0, 0, 0)
  646. coroutine.wrap(function()
  647. for i = 0, 5, 0.1 do
  648. wait(0.016666666666667)
  649. p.CFrame = p.CFrame
  650. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0, 0.5)
  651. p.Transparency = p.Transparency + 0.025
  652. end
  653. p:Destroy()
  654. end)()
  655. end
  656. firespaz1 = function(color, pos1)
  657. local p = Instance.new("Part", m)
  658. p.BrickColor = BrickColor.new(color)
  659. p.CFrame = pos1
  660. p.Anchored = true
  661. p.Material = "Plastic"
  662. p.CanCollide = false
  663. p.TopSurface = 0
  664. p.Size = Vector3.new(1, 1, 1)
  665. p.BottomSurface = 0
  666. p.Transparency = 0.5
  667. p.FormFactor = "Custom"
  668. local mesh = Instance.new("BlockMesh", p)
  669. mesh.Scale = Vector3.new(1, 1, 1)
  670. coroutine.wrap(function()
  671. for i = 0, 15, 0.1 do
  672. wait(0.033333333333333)
  673. p.CFrame = p.CFrame * CFrame.new(0, 0.1, 0)
  674. mesh.Scale = mesh.Scale - Vector3.new(0.1, 0.1, 0.1)
  675. p.Transparency = p.Transparency + 0.025
  676. end
  677. p:Destroy()
  678. end)()
  679. end
  680. pickrandom = function(tablesa)
  681. local randomized = tablesa[math.random(1, #tablesa)]
  682. return randomized
  683. end
  684. sound = function(id, pitch, volume, par, last)
  685. local s = Instance.new("Sound", par or Torso)
  686. s.SoundId = "rbxassetid://" .. id
  687. s.Pitch = pitch or 1
  688. s.Volume = volume or 1
  689. wait()
  690. s:play()
  691. game.Debris:AddItem(s, last or 120)
  692. end
  693. clangy = function(cframe)
  694. wait(0.016666666666667)
  695. local clang = {}
  696. local dis = 0
  697. local part = Instance.new("Part", nil)
  698. part.CFrame = cframe
  699. part.Anchored = true
  700. part.CanCollide = false
  701. part.BrickColor = BrickColor.new("New Yeller")
  702. part.FormFactor = "Custom"
  703. part.Name = "clanger"
  704. part.Size = Vector3.new(0.2, 0.2, 0.2)
  705. part.TopSurface = 10
  706. part.BottomSurface = 10
  707. part.RightSurface = 10
  708. part.LeftSurface = 10
  709. part.BackSurface = 10
  710. part.FrontSurface = 10
  711. part:BreakJoints()
  712. local mesh = Instance.new("BlockMesh", part)
  713. coroutine.wrap(function()
  714. for i = 1, 7 do
  715. do
  716. wait(0.016666666666667)
  717. dis = dis + 0.2
  718. local partc = part:clone()
  719. partc.Parent = workspace
  720. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  721. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  722. table.insert(clang, partc)
  723. end
  724. end
  725. for i,v in pairs(clang) do
  726. coroutine.wrap(function()
  727. for i = 1, 10 do
  728. wait(0.01)
  729. v.Transparency = v.Transparency + 0.1
  730. end
  731. v:destroy()
  732. end)()
  733. end
  734. end)()
  735. end
  736. so = function(id, par, vol, pit)
  737. coroutine.resume(coroutine.create(function()
  738. local sou = Instance.new("Sound", par or workspace)
  739. sou.Volume = vol
  740. sou.Pitch = pit or 1
  741. sou.SoundId = id
  742. swait()
  743. sou:play()
  744. game:GetService("Debris"):AddItem(sou, 6)
  745. end))
  746. end
  747. getclosest = function(obj, dis, player)
  748. if player.Torso.CFrame.p - obj.magnitude >= dis then
  749. do return not player end
  750. do
  751. local list = {}
  752. for i,v in pairs(workspace:GetChildren()) do
  753. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and v.Torso.Position - obj.magnitude <= dis then
  754. table.insert(list, v)
  755. end
  756. end
  757. do return list end
  758. -- DECOMPILER ERROR: 3 unprocessed JMP targets
  759. end
  760. end
  761. end
  762. tag = function(hum, player)
  763. local creator = Instance.new("ObjectValue", hum)
  764. creator.Value = player
  765. creator.Name = "creator"
  766. end
  767. untag = function(hum)
  768. if hum ~= nil then
  769. local tag = hum:findFirstChild("creator")
  770. if tag ~= nil then
  771. tag.Parent = nil
  772. end
  773. end
  774. end
  775. tagplayer = function(h)
  776. coroutine.wrap(function()
  777. tag(h, player)
  778. wait(1)
  779. untag(h)
  780. end)()
  781. end
  782. randomizer = function(percent)
  783. local randomized = math.random(0, 100)
  784. if randomized <= percent then
  785. return true
  786. else
  787. if percent <= randomized then
  788. return false
  789. end
  790. end
  791. end
  792. turncrit = function()
  793. coroutine.resume(coroutine.create(function()
  794. print("CRITICAL!")
  795. crit = true
  796. wait(0.25)
  797. crit = false
  798. end))
  799. end
  800. subtractstamina = function(k)
  801. if k <= stamina then
  802. stamina = stamina - k
  803. end
  804. end
  805. local weldBetween = function(a, b)
  806. local weldd = Instance.new("ManualWeld")
  807. weldd.Part0 = a
  808. weldd.Part1 = b
  809. weldd.C0 = CFrame.new()
  810. weldd.C1 = b.CFrame:inverse() * a.CFrame
  811. weldd.Parent = a
  812. return weldd
  813. end
  814. swait = function(num)
  815. if num == 0 or num == nil then
  816. game:service("RunService").Stepped:wait(0)
  817. else
  818. for i = 0, num do
  819. game:service("RunService").Stepped:wait(0)
  820. end
  821. end
  822. end
  823. nooutline = function(part)
  824. part.TopSurface = 10
  825. end
  826. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  827. local fp = it("Part")
  828. fp.formFactor = formfactor
  829. fp.Parent = parent
  830. fp.Reflectance = reflectance
  831. fp.Transparency = transparency
  832. fp.CanCollide = false
  833. fp.Locked = true
  834. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  835. fp.Name = name
  836. fp.Size = size
  837. fp.Position = Character.Torso.Position
  838. nooutline(fp)
  839. fp.Material = material
  840. fp:BreakJoints()
  841. return fp
  842. end
  843. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  844. local mesh = it(Mesh)
  845. mesh.Parent = part
  846. if Mesh == "SpecialMesh" then
  847. mesh.MeshType = meshtype
  848. mesh.MeshId = meshid
  849. end
  850. mesh.Offset = offset
  851. mesh.Scale = scale
  852. return mesh
  853. end
  854. weld = function(parent, part0, part1, c0, c1)
  855. local weld = it("Weld")
  856. weld.Parent = parent
  857. weld.Part0 = part0
  858. weld.Part1 = part1
  859. weld.C0 = c0
  860. weld.C1 = c1
  861. return weld
  862. end
  863. local CFrameFromTopBack = function(at, top, back)
  864. local right = top:Cross(back)
  865. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  866. end
  867. Triangle = function(a, b, c)
  868. local edg1 = c - a:Dot(b - a.unit)
  869. local edg2 = a - b:Dot(c - b.unit)
  870. local edg3 = b - c:Dot(a - c.unit)
  871. if edg1 <= b - a.magnitude and edg1 >= 0 then
  872. a = a
  873. else
  874. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  875.  
  876. if edg2 <= c - b.magnitude and edg2 >= 0 then
  877. a = b
  878. else
  879. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  880.  
  881. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  882.  
  883. if edg3 <= a - c.magnitude and edg3 >= 0 then
  884. a = c
  885. else
  886. assert(false, "unreachable")
  887. end
  888. end
  889. end
  890. local len1 = c - a:Dot(b - a.unit)
  891. local len2 = b - a.magnitude - len1
  892. local width = a + b - a.unit * len1 - c.magnitude
  893. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  894. local list = {}
  895. local TrailColor = "Dark grey"
  896. if len1 > 0.01 then
  897. local w1 = Instance.new("WedgePart", m)
  898. game:GetService("Debris"):AddItem(w1, 5)
  899. w1.Material = "SmoothPlastic"
  900. w1.FormFactor = "Custom"
  901. w1.BrickColor = BrickColor.new(TrailColor)
  902. w1.Transparency = 0
  903. w1.Reflectance = 0
  904. w1.Material = "SmoothPlastic"
  905. w1.CanCollide = false
  906. NoOutline(w1)
  907. local sz = Vector3.new(0.2, width, len1)
  908. w1.Size = sz
  909. local sp = Instance.new("SpecialMesh", w1)
  910. sp.MeshType = "Wedge"
  911. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  912. w1:BreakJoints()
  913. w1.Anchored = true
  914. w1.Parent = workspace
  915. w1.Transparency = 0.7
  916. table.insert(Effects, {w1, "Disappear", 0.01})
  917. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  918. table.insert(list, w1)
  919. end
  920. do
  921. if len2 > 0.01 then
  922. local w2 = Instance.new("WedgePart", m)
  923. game:GetService("Debris"):AddItem(w2, 5)
  924. w2.Material = "SmoothPlastic"
  925. w2.FormFactor = "Custom"
  926. w2.BrickColor = BrickColor.new(TrailColor)
  927. w2.Transparency = 0
  928. w2.Reflectance = 0
  929. w2.Material = "SmoothPlastic"
  930. w2.CanCollide = false
  931. NoOutline(w2)
  932. local sz = Vector3.new(0.2, width, len2)
  933. w2.Size = sz
  934. local sp = Instance.new("SpecialMesh", w2)
  935. sp.MeshType = "Wedge"
  936. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  937. w2:BreakJoints()
  938. w2.Anchored = true
  939. w2.Parent = workspace
  940. w2.Transparency = 0.7
  941. table.insert(Effects, {w2, "Disappear", 0.01})
  942. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  943. table.insert(list, w2)
  944. end
  945. do
  946. return unpack(list)
  947. end
  948. end
  949. end
  950. so = function(id, par, vol, pit)
  951. coroutine.resume(coroutine.create(function()
  952. local sou = Instance.new("Sound", par or workspace)
  953. sou.Volume = vol
  954. sou.Pitch = pit or 1
  955. sou.SoundId = id
  956. swait()
  957. sou:play()
  958. game:GetService("Debris"):AddItem(sou, 6)
  959. end))
  960. end
  961. clerp = function(a, b, t)
  962. local qa = {QuaternionFromCFrame(a)}
  963. local qb = {QuaternionFromCFrame(b)}
  964. local ax, ay, az = a.x, a.y, a.z
  965. local bx, by, bz = b.x, b.y, b.z
  966. local _t = 1 - t
  967. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  968. end
  969. local clerp = CFrame.new().lerp
  970. QuaternionFromCFrame = function(cf)
  971. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  972. local trace = m00 + m11 + m22
  973. if trace > 0 then
  974. local s = math.sqrt(1 + trace)
  975. local recip = 0.5 / s
  976. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  977. else
  978. do
  979. local i = 0
  980. if m00 < m11 then
  981. i = 1
  982. end
  983. if i == 0 and m00 or m11 < m22 then
  984. i = 2
  985. end
  986. if i == 0 then
  987. local s = math.sqrt(m00 - m11 - m22 + 1)
  988. local recip = 0.5 / s
  989. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  990. else
  991. do
  992. if i == 1 then
  993. local s = math.sqrt(m11 - m22 - m00 + 1)
  994. local recip = 0.5 / s
  995. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  996. else
  997. do
  998. if i == 2 then
  999. local s = math.sqrt(m22 - m00 - m11 + 1)
  1000. local recip = 0.5 / s
  1001. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1002. end
  1003. end
  1004. end
  1005. end
  1006. end
  1007. end
  1008. end
  1009. end
  1010. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  1011. local xs, ys, zs = x + x, y + y, z + z
  1012. local wx, wy, wz = w * xs, w * ys, w * zs
  1013. local xx = x * xs
  1014. local xy = x * ys
  1015. local xz = x * zs
  1016. local yy = y * ys
  1017. local yz = y * zs
  1018. local zz = z * zs
  1019. 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))
  1020. end
  1021. QuaternionSlerp = function(a, b, t)
  1022. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1023. local startInterp, finishInterp = nil, nil
  1024. if cosTheta >= 0.0001 then
  1025. if 1 - cosTheta > 0.0001 then
  1026. local theta = math.acos(cosTheta)
  1027. local invSinTheta = 1 / math.sin(theta)
  1028. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1029. finishInterp = math.sin(t * theta) * invSinTheta
  1030. else
  1031. do
  1032. startInterp = 1 - t
  1033. finishInterp = t
  1034. if 1 + cosTheta > 0.0001 then
  1035. local theta = math.acos(-cosTheta)
  1036. local invSinTheta = 1 / math.sin(theta)
  1037. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1038. finishInterp = math.sin(t * theta) * invSinTheta
  1039. else
  1040. do
  1041. startInterp = t - 1
  1042. finishInterp = t
  1043. 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
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end
  1049. end
  1050. rayCast = function(Pos, Dir, Max, Ignore)
  1051. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1052. end
  1053. makegui = function(cframe, text)
  1054. local a = math.random(-10, 10) / 100
  1055. local c = Instance.new("Part")
  1056. c.Transparency = 1
  1057. Instance.new("BodyGyro").Parent = c
  1058. c.Parent = workspace
  1059. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  1060. local f = Instance.new("BodyPosition")
  1061. f.P = 2000
  1062. f.D = 100
  1063. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1064. f.position = c.Position + Vector3.new(0, 3, 0)
  1065. f.Parent = c
  1066. game:GetService("Debris"):AddItem(c, 6.5)
  1067. c.CanCollide = false
  1068. c.Parent = workspace
  1069. c.CanCollide = false
  1070. local bg = Instance.new("BillboardGui", c)
  1071. bg.Adornee = c
  1072. bg.Size = UDim2.new(1, 0, 1, 0)
  1073. bg.StudsOffset = Vector3.new(0, 0, 0)
  1074. bg.AlwaysOnTop = false
  1075. local tl = Instance.new("TextLabel", bg)
  1076. tl.BackgroundTransparency = 1
  1077. tl.Size = UDim2.new(1, 0, 1, 0)
  1078. tl.Text = text
  1079. tl.Font = "SourceSansBold"
  1080. tl.FontSize = "Size42"
  1081. if crit == true then
  1082. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  1083. else
  1084. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  1085. end
  1086. tl.TextStrokeTransparency = 0
  1087. tl.TextScaled = true
  1088. tl.TextWrapped = true
  1089. coroutine.wrap(function()
  1090. wait(2)
  1091. for i = 1, 10 do
  1092. fat.Event:wait()
  1093. c.Transparency = 1
  1094. tl.TextTransparency = tl.TextTransparency + 0.1
  1095. end
  1096. end)()
  1097. end
  1098. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  1099. if hit.Parent == nil then
  1100. return
  1101. end
  1102. h = hit.Parent:FindFirstChild("Humanoid")
  1103. for _,v in pairs(hit.Parent:children()) do
  1104. if v:IsA("Humanoid") then
  1105. h = v
  1106. end
  1107. end
  1108. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1109. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1110. end
  1111. if hit.Parent.className == "Hat" then
  1112. hit = hit.Parent.Parent:findFirstChild("Head")
  1113. end
  1114. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1115. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1116. return
  1117. end
  1118. blocked = false
  1119. block = hit.Parent:findFirstChild("Block")
  1120. if block ~= nil then
  1121. print(block.className)
  1122. if block.className == "NumberValue" and block.Value > 0 then
  1123. blocked = true
  1124. if decreaseblock == nil then
  1125. block.Value = block.Value - 1
  1126. end
  1127. end
  1128. if block.className == "IntValue" and block.Value > 0 then
  1129. blocked = true
  1130. if decreaseblock ~= nil then
  1131. block.Value = block.Value - 1
  1132. end
  1133. end
  1134. end
  1135. if blocked == false then
  1136. local D = math.random(minim, maxim) * damagea.Value
  1137. if h.Parent:FindFirstChild("Stats") then
  1138. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1139. else
  1140. end
  1141. if not h.Parent:FindFirstChild("Stats") then
  1142. do
  1143. h.Health = h.Health - D
  1144. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1145. local D = math.random(minim, maxim) * damagea.Value
  1146. if h.Parent:FindFirstChild("Stats") then
  1147. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1148. else
  1149. end
  1150. if not h.Parent:FindFirstChild("Stats") then
  1151. do
  1152. h.Health = h.Health - D / 2
  1153. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1154. if Type == "Knockdown" then
  1155. humanoid = hit.Parent.Humanoid
  1156. humanoid.PlatformStand = true
  1157. coroutine.resume(coroutine.create(function(Humanoid)
  1158. fat.Event:wait()
  1159. Humanoid.PlatformStand = false
  1160. end), humanoid)
  1161. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1162. local bodvol = Instance.new("BodyVelocity")
  1163. bodvol.velocity = angle * knockback
  1164. bodvol.P = 5000
  1165. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1166. bodvol.Parent = hit
  1167. rl = Instance.new("BodyAngularVelocity")
  1168. rl.P = 3000
  1169. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1170. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1171. rl.Parent = hit
  1172. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1173. game:GetService("Debris"):AddItem(rl, 0.5)
  1174. else
  1175. do
  1176. if Type == "Normal" then
  1177. so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  1178. vp = Instance.new("BodyVelocity")
  1179. vp.P = 500
  1180. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1181. if KnockbackType == 1 then
  1182. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1183. else
  1184. if KnockbackType == 2 then
  1185. vp.velocity = Property.CFrame.lookVector * knockback
  1186. end
  1187. end
  1188. if knockback > 0 then
  1189. vp.Parent = hit.Parent.Torso
  1190. end
  1191. game:GetService("Debris"):AddItem(vp, 0.5)
  1192. else
  1193. if Type == "LaserShot" then
  1194. so("http://www.roblox.com/asset/?id=201858072", hit, 1, math.random(100, 200) / 100)
  1195. so("http://www.roblox.com/asset/?id=180204650", hit, 1, math.random(50, 100) / 100)
  1196. so("http://www.roblox.com/asset/?id=151790502", hit, 1, math.random(100, 200) / 100)
  1197. vp = Instance.new("BodyVelocity")
  1198. vp.P = 500
  1199. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1200. if KnockbackType == 1 then
  1201. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1202. else
  1203. if KnockbackType == 2 then
  1204. vp.velocity = Property.CFrame.lookVector * knockback
  1205. end
  1206. end
  1207. if knockback > 0 then
  1208. vp.Parent = hit.Parent.Torso
  1209. end
  1210. game:GetService("Debris"):AddItem(vp, 0.5)
  1211. else
  1212. if Type == "Up" then
  1213. local bodyVelocity = Instance.new("BodyVelocity")
  1214. bodyVelocity.velocity = vt(0, 60, 0)
  1215. bodyVelocity.P = 5000
  1216. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1217. bodyVelocity.Parent = hit
  1218. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1219. rl = Instance.new("BodyAngularVelocity")
  1220. rl.P = 3000
  1221. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1222. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1223. rl.Parent = hit
  1224. game:GetService("Debris"):AddItem(rl, 0.5)
  1225. else
  1226. do
  1227. if Type == "Snare" then
  1228. bp = Instance.new("BodyPosition")
  1229. bp.P = 2000
  1230. bp.D = 100
  1231. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1232. bp.position = hit.Parent.Torso.Position
  1233. bp.Parent = hit.Parent.Torso
  1234. game:GetService("Debris"):AddItem(bp, 1)
  1235. else
  1236. if Type == "Target" then
  1237. so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  1238. vp = Instance.new("BodyVelocity")
  1239. vp.P = 500
  1240. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1241. if KnockbackType == 1 then
  1242. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1243. else
  1244. if KnockbackType == 2 then
  1245. vp.velocity = Property.CFrame.lookVector * knockback
  1246. end
  1247. end
  1248. if knockback > 0 then
  1249. vp.Parent = hit.Parent.Torso
  1250. end
  1251. game:GetService("Debris"):AddItem(vp, 0.5)
  1252. end
  1253. end
  1254. debounce = Instance.new("BoolValue")
  1255. debounce.Name = "DebounceHit"
  1256. debounce.Parent = hit.Parent
  1257. debounce.Value = true
  1258. game:GetService("Debris"):AddItem(debounce, Delay)
  1259. c = Instance.new("ObjectValue")
  1260. c.Name = "creator"
  1261. c.Value = Player
  1262. c.Parent = h
  1263. game:GetService("Debris"):AddItem(c, 0.5)
  1264. CRIT = false
  1265. hitDeb = true
  1266. AttackPos = 6
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end
  1273. end
  1274. end
  1275. end
  1276. end
  1277. end
  1278. end
  1279. end
  1280. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1281. for _,c in pairs(workspace:children()) do
  1282. local hum = c:findFirstChild("Humanoid")
  1283. if hum ~= nil then
  1284. local head = c:findFirstChild("Torso")
  1285. if head ~= nil then
  1286. local targ = head.Position - Part.Position
  1287. local mag = targ.magnitude
  1288. if mag <= magni and c.Name ~= Player.Name then
  1289. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1)
  1290. end
  1291. end
  1292. end
  1293. end
  1294. end
  1295. JumpEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1296. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1297. prt.Anchored = true
  1298. prt.CanCollide = false
  1299. prt.CFrame = cframe * angles(math.rad(90), 0, 0)
  1300. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1301. game:GetService("Debris"):AddItem(prt, 10)
  1302. coroutine.resume(coroutine.create(function(Part, Mesh)
  1303. for i = 0, 1, delay do
  1304. fat.Event:wait()
  1305. Part.CFrame = Part.CFrame
  1306. Part.Transparency = i
  1307. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1308. end
  1309. Part.Parent = nil
  1310. end), prt, msh)
  1311. end
  1312. OrbEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1313. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1314. prt.Anchored = true
  1315. prt.CanCollide = false
  1316. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1317. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1318. game:GetService("Debris"):AddItem(prt, 10)
  1319. coroutine.resume(coroutine.create(function(Part, Mesh)
  1320. for i = 0, 1, delay do
  1321. fat.Event:wait()
  1322. Part.CFrame = Part.CFrame
  1323. Part.Transparency = i
  1324. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1325. end
  1326. Part.Parent = nil
  1327. end), prt, msh)
  1328. end
  1329. BlockShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1330. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1331. prt.Anchored = true
  1332. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1333. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1334. game:GetService("Debris"):AddItem(prt, 10)
  1335. coroutine.resume(coroutine.create(function(Part, Mesh)
  1336. for i = 0, 1, delay do
  1337. fat.Event:wait()
  1338. Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1339. Part.Transparency = i
  1340. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1341. end
  1342. Part.Parent = nil
  1343. end), prt, msh)
  1344. end
  1345. CylinderShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1346. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1347. prt.Anchored = true
  1348. prt.CFrame = cframe
  1349. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1350. game:GetService("Debris"):AddItem(prt, 10)
  1351. coroutine.resume(coroutine.create(function(Part, Mesh)
  1352. for i = 0, 1, delay do
  1353. fat.Event:wait()
  1354. Part.Transparency = i
  1355. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1356. end
  1357. Part.Parent = nil
  1358. end), prt, msh)
  1359. end
  1360. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1361. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1362. prt.Anchored = true
  1363. prt.CFrame = cframe
  1364. prt.Material = "Neon"
  1365. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1366. game:GetService("Debris"):AddItem(prt, 10)
  1367. coroutine.resume(coroutine.create(function(Part, Mesh)
  1368. for i = 0, 1, delay do
  1369. fat.Event:wait()
  1370. Part.Transparency = i
  1371. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1372. end
  1373. Part.Parent = nil
  1374. end), prt, msh)
  1375. end
  1376. Laser2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1377. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1378. prt.Anchored = true
  1379. prt.CFrame = cframe
  1380. prt.Material = "Neon"
  1381. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1382. game:GetService("Debris"):AddItem(prt, 10)
  1383. coroutine.resume(coroutine.create(function(Part, Mesh)
  1384. for i = 0, 1, delay do
  1385. fat.Event:wait()
  1386. Part.Transparency = i
  1387. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1388. end
  1389. Part.Parent = nil
  1390. end), prt, msh)
  1391. end
  1392. Laser3 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1393. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1394. prt.Anchored = true
  1395. prt.CFrame = cframe
  1396. prt.Material = "Neon"
  1397. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1398. game:GetService("Debris"):AddItem(prt, 10)
  1399. coroutine.resume(coroutine.create(function(Part, Mesh)
  1400. for i = 0, 1, delay do
  1401. fat.Event:wait()
  1402. Part.Transparency = i
  1403. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1404. end
  1405. Part.Parent = nil
  1406. end), prt, msh)
  1407. end
  1408. SphereShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1409. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1410. prt.Anchored = true
  1411. prt.CFrame = cframe
  1412. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1413. game:GetService("Debris"):AddItem(prt, 10)
  1414. coroutine.resume(coroutine.create(function(Part, Mesh)
  1415. for i = 0, 1, delay do
  1416. fat.Event:wait()
  1417. Part.Transparency = i
  1418. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1419. end
  1420. Part.Parent = nil
  1421. end), prt, msh)
  1422. end
  1423. SphereShockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1424. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1425. prt.Anchored = true
  1426. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1427. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1428. game:GetService("Debris"):AddItem(prt, 10)
  1429. coroutine.resume(coroutine.create(function(Part, Mesh)
  1430. for i = 0, 1, delay do
  1431. fat.Event:wait()
  1432. Part.Transparency = i
  1433. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1434. end
  1435. Part.Parent = nil
  1436. end), prt, msh)
  1437. end
  1438. Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1439. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1440. prt.Anchored = true
  1441. prt.CFrame = cframe
  1442. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1443. game:GetService("Debris"):AddItem(prt, 10)
  1444. coroutine.resume(coroutine.create(function(Part, Mesh)
  1445. for i = 0, 1, delay do
  1446. fat.Event:wait()
  1447. Part.CFrame = Part.CFrame
  1448. Part.Transparency = i
  1449. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1450. end
  1451. Part.Parent = nil
  1452. end), prt, msh)
  1453. end
  1454. canwalk = true
  1455. canidle = true
  1456. aimtorso = false
  1457. MMouse = mouse
  1458. gyro = Instance.new("BodyGyro")
  1459. gyro.Parent = nil
  1460. gyro.P = 10000000
  1461. gyro.D = 1000
  1462. gyro.MaxTorque = Vector3.new(0, 10000000, 0)
  1463. EquiporUnequip = function()
  1464. attack = true
  1465. if equipped == false then
  1466. equipped = true
  1467. so("http://roblox.com/asset/?id=200633077", Hitbox, 1, 0.8)
  1468. for i = 0, 1, 0.75 do
  1469. fat.Event:wait()
  1470. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45)
  1471. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-30)), 0.45)
  1472. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.6)
  1473. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(15)), 0.6)
  1474. end
  1475. for i = 0, 1, 0.15 do
  1476. fat.Event:wait()
  1477. hammeraura.Pitch = 0 + 0.8 * i
  1478. hammeraura.Volume = 0 + 1 * i
  1479. EffectPart.Transparency = 1 - 2 * i
  1480. Effect2Part.Transparency = 1 - 2 * i
  1481. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45)
  1482. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.45)
  1483. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.6)
  1484. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(210), math.rad(30), math.rad(30)), 0.6)
  1485. end
  1486. hammeraura.Pitch = 0.8
  1487. hammeraura.Volume = 1
  1488. Handleweld.Part0 = LeftArm
  1489. Handleweld.Part1 = Handle
  1490. Handleweld.C0 = cf(0, 0, -0.5) * angles(math.rad(-30), math.rad(-90), math.rad(0))
  1491. for i = 0, 1, 0.5 do
  1492. fat.Event:wait()
  1493. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.45)
  1494. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(45)), 0.45)
  1495. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.45)
  1496. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(135), math.rad(0), math.rad(-30)), 0.45)
  1497. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, -0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1498. end
  1499. attack=false
  1500. else
  1501. do
  1502. if equipped == true then
  1503. equipped = false
  1504. so("http://roblox.com/asset/?id=200633029", Hitbox, 1, 0.8)
  1505. for i = 0, 1, 0.75 do
  1506. fat.Event:wait()
  1507. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45)
  1508. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-30)), 0.45)
  1509. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.6)
  1510. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(15)), 0.6)
  1511. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, -0.5) * angles(math.rad(-30), math.rad(-90), math.rad(0)), 0.3)
  1512. end
  1513. for i = 0, 1, 0.15 do
  1514. fat.Event:wait()
  1515. hammeraura.Pitch = 0.8 - 0.8 * i
  1516. hammeraura.Volume = 1 - 1 * i
  1517. EffectPart.Transparency = 0 + 2 * i
  1518. Effect2Part.Transparency = 0 + 2 * i
  1519. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45)
  1520. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.45)
  1521. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.6)
  1522. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(210), math.rad(30), math.rad(30)), 0.6)
  1523. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, -0.5) * angles(math.rad(-30), math.rad(-90), math.rad(0)), 0.3)
  1524. end
  1525. hammeraura.Pitch = 0
  1526. hammeraura.Volume = 0
  1527. Handleweld.Part0 = Torso
  1528. Handleweld.Part1 = Handle
  1529. Handleweld.C0 = cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90))
  1530. for i = 0, 1, 0.75 do
  1531. fat.Event:wait()
  1532. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45)
  1533. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-30)), 0.45)
  1534. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.6)
  1535. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(15)), 0.6)
  1536. end
  1537. end
  1538. do
  1539. attack = false
  1540. end
  1541. end
  1542. end
  1543. end
  1544. unequipattackone = function()
  1545. attack = true
  1546. for i = 0, 1, 0.2 do
  1547. fat.Event:wait()
  1548. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(60)), 0.45)
  1549. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-45)), 0.45)
  1550. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-60)), 0.45)
  1551. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.45)
  1552. end
  1553. con1 = LeftArm.Touched:connect(function(hit)
  1554. Damagefunc(hit, 4, 6, 5, "Normal", RootPart, 0.2, 1)
  1555. end)
  1556. so("http://roblox.com/asset/?id=200632136", LeftArm, 1, 1)
  1557. Torso.Velocity = RootPart.CFrame.lookVector * 25
  1558. for i = 0, 1, 0.25 do
  1559. fat.Event:wait()
  1560. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-60)), 0.45)
  1561. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(-10), math.rad(45)), 0.45)
  1562. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.45)
  1563. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.45)
  1564. end
  1565. con1:disconnect()
  1566. attack = false
  1567. end
  1568. unequipattacktwo = function()
  1569. canwalk = false
  1570. canidle = false
  1571. attack = true
  1572. Humanoid.WalkSpeed = 0 * speed.Value
  1573. for i = 0, 1, 0.15 do
  1574. fat.Event:wait()
  1575. Humanoid.WalkSpeed = 0 * speed.Value
  1576. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.45)
  1577. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(-10), math.rad(-30)), 0.45)
  1578. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.45)
  1579. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(60), math.rad(0), math.rad(15)), 0.45)
  1580. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, -0.5) * angles(math.rad(-30), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1581. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * angles(math.rad(20), math.rad(-60), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0)), 0.45)
  1582. end
  1583. con1 = RightLeg.Touched:connect(function(hit)
  1584. Damagefunc(hit, 4, 6, 5, "Normal", RootPart, 0.2, 1)
  1585. end)
  1586. so("http://roblox.com/asset/?id=200632211", RightLeg, 1, 1)
  1587. Torso.Velocity = RootPart.CFrame.lookVector * 25
  1588. for i = 0, 1, 0.2 do
  1589. fat.Event:wait()
  1590. Humanoid.WalkSpeed = 0 * speed.Value
  1591. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(15)), 0.45)
  1592. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(-10), math.rad(-15)), 0.45)
  1593. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-45)), 0.45)
  1594. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-45), math.rad(0), math.rad(-15)), 0.45)
  1595. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, -0.5) * angles(math.rad(75), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1596. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * angles(math.rad(-20), math.rad(-60), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0)), 0.45)
  1597. end
  1598. Humanoid.WalkSpeed = 16 * speed.Value
  1599. canwalk = true
  1600. canidle = true
  1601. con1:disconnect()
  1602. attack = false
  1603. end
  1604. unequipattackthree = function()
  1605. attack = true
  1606. for i = 0, 1, 0.15 do
  1607. fat.Event:wait()
  1608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.45)
  1609. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.45)
  1610. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.45)
  1611. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(-15)), 0.45)
  1612. end
  1613. con1 = RightArm.Touched:connect(function(hit)
  1614. Damagefunc(hit, 4, 6, 5, "Normal", RootPart, 0.2, 1)
  1615. end)
  1616. so("http://roblox.com/asset/?id=200632136", RightArm, 1, 0.8)
  1617. Torso.Velocity = RootPart.CFrame.lookVector * 25
  1618. for i = 0, 1, 0.2 do
  1619. fat.Event:wait()
  1620. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.45)
  1621. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(45)), 0.45)
  1622. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(75)), 0.45)
  1623. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.45)
  1624. end
  1625. con1:disconnect()
  1626. attack = false
  1627. end
  1628. unequipattackfour = function()
  1629. canidle = false
  1630. canwalk = false
  1631. attack = true
  1632. for i = 0, 1, 0.15 do
  1633. fat.Event:wait()
  1634. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.25) * angles(math.rad(20), math.rad(0), math.rad(-45)), 0.45)
  1635. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.45)
  1636. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.45)
  1637. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.45)
  1638. RH.C0 = clerp(RH.C0, cf(0.8, -0.75, -0.1) * angles(math.rad(-10), math.rad(75), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.45)
  1639. LH.C0 = clerp(LH.C0, cf(-1.25, -0.65, -0.25) * angles(math.rad(20), math.rad(-45), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45)
  1640. end
  1641. con1 = RightLeg.Touched:connect(function(hit)
  1642. Damagefunc(hit, 4, 6, 5, "Normal", RootPart, 0.2, 1)
  1643. end)
  1644. con2 = LeftLeg.Touched:connect(function(hit)
  1645. Damagefunc(hit, 4, 6, 5, "Normal", RootPart, 0.2, 1)
  1646. end)
  1647. so("http://roblox.com/asset/?id=200632370", Torso, 1, 1)
  1648. for i = 0, 1, 0.12 do
  1649. fat.Event:wait()
  1650. Torso.Velocity = RootPart.CFrame.lookVector * 25
  1651. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * angles(math.rad(-10), math.rad(0), math.rad(45 + 360 * i)), 0.45)
  1652. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1653. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45)
  1654. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.45)
  1655. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-75), math.rad(0), math.rad(0)), 0.45)
  1656. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-75), math.rad(0), math.rad(0)), 0.45)
  1657. end
  1658. con1:disconnect()
  1659. con2:disconnect()
  1660. canidle = true
  1661. canwalk = true
  1662. attack = false
  1663. end
  1664. equipattackone = function()
  1665. attack = true
  1666. for i = 0, 1, 0.08 do
  1667. fat.Event:wait()
  1668. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(75)), 0.3)
  1669. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(-5), math.rad(-60)), 0.3)
  1670. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-75)), 0.3)
  1671. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(165), math.rad(30), math.rad(-60)), 0.3)
  1672. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, -1) * angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3)
  1673. end
  1674. con1 = Hitbox.Touched:connect(function(hit)
  1675. Damagefunc(hit, 5, 10, 5, "Normal", RootPart, 0.2, 1)
  1676. end)
  1677. so("http://roblox.com/asset/?id=203691447", Hitbox, 1, 0.9)
  1678. for i = 0, 1, 0.08 do
  1679. fat.Event:wait()
  1680. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-90)), 0.3)
  1681. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(75)), 0.3)
  1682. RW.C0 = clerp(RW.C0, CFrame.new(0.75, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1683. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(255), math.rad(90), math.rad(-165)), 0.3)
  1684. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.5, -0.5) * angles(math.rad(-120), math.rad(0), math.rad(0)), 0.3)
  1685. end
  1686. con1:disconnect()
  1687. attack = false
  1688. end
  1689. equipattacktwo = function()
  1690. attack = true
  1691. for i = 0, 1, 0.08 do
  1692. fat.Event:wait()
  1693. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-105)), 0.3)
  1694. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.3)
  1695. RW.C0 = clerp(RW.C0, CFrame.new(0.75, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1696. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(235), math.rad(90), math.rad(-165)), 0.3)
  1697. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.5, -0.5) * angles(math.rad(-120), math.rad(0), math.rad(0)), 0.3)
  1698. end
  1699. con1 = Hitbox.Touched:connect(function(hit)
  1700. Damagefunc(hit, 5, 10, 5, "Normal", RootPart, 0.2, 1)
  1701. end)
  1702. so("http://roblox.com/asset/?id=203691467", Hitbox, 1, 0.9)
  1703. for i = 0, 1, 0.08 do
  1704. fat.Event:wait()
  1705. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  1706. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(-5), math.rad(-45)), 0.3)
  1707. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  1708. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(175), math.rad(30), math.rad(-105)), 0.3)
  1709. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.5, -0.5) * angles(math.rad(-120), math.rad(0), math.rad(0)), 0.3)
  1710. end
  1711. con1:disconnect()
  1712. attack = false
  1713. end
  1714. equipattackthree = function()
  1715. attack = true
  1716. for i = 0, 1, 0.08 do
  1717. fat.Event:wait()
  1718. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(75)), 0.3)
  1719. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1720. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1721. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  1722. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1723. end
  1724. con1 = Hitbox.Touched:connect(function(hit)
  1725. Damagefunc(hit, 5, 10, 5, "Normal", RootPart, 0.2, 1)
  1726. end)
  1727. for i = 1, 3 do
  1728. so("http://roblox.com/asset/?id=203691492", Hitbox, 1, 0.9)
  1729. for i = 0, 1, 0.1 do
  1730. fat.Event:wait()
  1731. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30 - 360 * i)), 0.3)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1733. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1734. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  1735. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1736. end
  1737. end
  1738. con1:disconnect()
  1739. attack = false
  1740. end
  1741. equipattackfour = function()
  1742. attack = true
  1743. for i = 0, 1, 0.08 do
  1744. fat.Event:wait()
  1745. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1746. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1747. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(-45)), 0.3)
  1748. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1749. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1750. end
  1751. con1 = Hitbox.Touched:connect(function(hit)
  1752. Damagefunc(hit, 5, 10, 5, "Normal", RootPart, 0.2, 1)
  1753. end)
  1754. so("http://roblox.com/asset/?id=203691467", Hitbox, 1, 1.1)
  1755. for i = 0, 1, 0.08 do
  1756. fat.Event:wait()
  1757. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1758. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3)
  1759. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)), 0.3)
  1760. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.3)
  1761. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, -0.5) * angles(math.rad(-30), math.rad(30), math.rad(-45)), 0.3)
  1762. end
  1763. con1:disconnect()
  1764. attack = false
  1765. end
  1766. Ability1 = function()
  1767. attack = true
  1768. holdz = true
  1769. local prepare = 1
  1770. damagebonus = 1
  1771. gyro.Parent = RootPart
  1772. for i = 0, 1, 0.15 do
  1773. fat.Event:wait()
  1774. Humanoid.WalkSpeed = 8 * speed.Value
  1775. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1776. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  1777. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-45)), 0.3)
  1778. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(45)), 0.3)
  1779. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1780. end
  1781. so("http://roblox.com/asset/?id=2101137", Hitbox, 1, math.random(100, 150) / 100)
  1782. while holdz == true do
  1783. do
  1784. for i = 0, 1, 0.5 do
  1785. fat.Event:wait()
  1786. Humanoid.WalkSpeed = 8 * speed.Value
  1787. BlockShockwave(TorsoColor, cf(Effect2Part.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1)
  1788. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0 + prepare), math.rad(0), math.rad(-75 - prepare)), 0.3)
  1789. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  1790. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-45 + prepare * 1.5)), 0.3)
  1791. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(45 + prepare * 1.5)), 0.3)
  1792. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1793. end
  1794. end
  1795. prepare = prepare + 1
  1796. damagebonus = damagebonus + 1
  1797. print(damagebonus)
  1798. if holdz == false or damagebonus == 20 then
  1799. damagebonus = damagebonus / 2
  1800. holdz = false
  1801. print("Damage capability multiplied by " .. damagebonus .. ".")
  1802. end
  1803. end
  1804. if holdz == false or damagebonus == 10 then
  1805. holdz = false
  1806. con1 = Hitbox.Touched:connect(function(hit)
  1807. Damagefunc(hit, 5, 5 * (damagebonus / 2), 5, "Normal", RootPart, 0.2, 1)
  1808. end)
  1809. so("http://roblox.com/asset/?id=203691492", Hitbox, 1, 1.1)
  1810. for i = 0, 1, 0.08 do
  1811. fat.Event:wait()
  1812. BlockShockwave(TorsoColor, cf(Effect2Part.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1)
  1813. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30 + 360 * i)), 0.3)
  1814. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1815. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1816. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  1817. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1818. end
  1819. so("http://roblox.com/asset/?id=203691467", Hitbox, 1, 1.1)
  1820. for i = 0, 1, 0.16 do
  1821. fat.Event:wait()
  1822. if damagebonus == 10 then
  1823. so("http://roblox.com/asset/?id=378352088", Hitbox, 0.25, math.random(120, 140) / 100)
  1824. so("http://roblox.com/asset/?id=340143970", Hitbox, 0.25, math.random(120, 140) / 100)
  1825. local spread = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))
  1826. local MainPos = Hitbox.Position
  1827. local MainPos2 = MMouse.Hit.p + spread
  1828. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1829. local speed = 0
  1830. local num = 300
  1831. local dropspeed = 0
  1832. coroutine.resume(coroutine.create(function()
  1833. repeat
  1834. fat.Event:wait()
  1835. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, ShotTarget.Parent)
  1836. local mag = MainPos - pos.magnitude
  1837. Laser(TorsoColor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1838. MainPos = MainPos + MouseLook.lookVector * speed
  1839. num = num - 1
  1840. speed = speed + 0.01
  1841. dropspeed = dropspeed - 0.01
  1842. MouseLook = MouseLook * angles(math.rad(dropspeed), 0, 0)
  1843. if speed >= 1 then
  1844. speed = 1
  1845. end
  1846. if hit ~= nil then
  1847. num = 0
  1848. refpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1849. refpart.Anchored = true
  1850. refpart.CFrame = cf(pos)
  1851. game:GetService("Debris"):AddItem(refpart, 2)
  1852. so("http://roblox.com/asset/?id=114488148", refpart, 0.5, math.random(120, 140) / 100)
  1853. so("http://roblox.com/asset/?id=340143964", refpart, 0.5, math.random(120, 140) / 100)
  1854. so("http://roblox.com/asset/?id=340143970", refpart, 0.5, math.random(120, 140) / 100)
  1855. Damagefunc(hit, 4, 8, 10, "LaserShot", RootPart, 0)
  1856. MagniDamage(refpart, 2.5, 2, 4, 5, "LaserShot")
  1857. for i = 1, math.random(2, 4) do
  1858. OrbEffect(TorsoColor, cf(refpart.Position), 0.1, 0.1, 0.1, 0.25, 0.25, 0.25, 0.075)
  1859. BlockShockwave(TorsoColor, cf(refpart.Position), 1, 1, 1, 0.25, 0.25, 0.25, 0.075)
  1860. end
  1861. end
  1862. do
  1863. if num <= 0 then
  1864. refpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1865. refpart.Anchored = true
  1866. refpart.CFrame = cf(MainPos)
  1867. game:GetService("Debris"):AddItem(refpart, 2)
  1868. so("http://roblox.com/asset/?id=114488148", refpart, 0.5, math.random(120, 140) / 100)
  1869. so("http://roblox.com/asset/?id=340143964", refpart, 0.5, math.random(120, 140) / 100)
  1870. so("http://roblox.com/asset/?id=340143970", refpart, 0.5, math.random(120, 140) / 100)
  1871. MagniDamage(refpart, 2.5, 2, 4, 5, "LaserShot")
  1872. for i = 1, math.random(2, 4) do
  1873. OrbEffect(TorsoColor, cf(refpart.Position), 0.1, 0.1, 0.1, 0.25, 0.25, 0.25, 0.075)
  1874. BlockShockwave(TorsoColor, cf(refpart.Position), 1, 1, 1, 0.25, 0.25, 0.25, 0.075)
  1875. end
  1876. end
  1877. end
  1878. until num <= 0
  1879. end))
  1880. end
  1881. do
  1882. do
  1883. Humanoid.WalkSpeed = 8 * speed.Value
  1884. BlockShockwave(TorsoColor, cf(Effect2Part.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1)
  1885. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(75)), 0.3)
  1886. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.15)
  1887. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1888. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  1889. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -0.6, 0) * angles(math.rad(-90), math.rad(45), math.rad(90)), 0.3)
  1890. -- DECOMPILER ERROR at PC816: LeaveBlock: unexpected jumping out DO_STMT
  1891.  
  1892. end
  1893. end
  1894. end
  1895. end
  1896. gyro.Parent = nil
  1897. con1:disconnect()
  1898. Humanoid.WalkSpeed = 16 * speed.Value
  1899. attack = false
  1900. end
  1901. Ability2 = function()
  1902. attack = true
  1903. Humanoid.Jump = true
  1904. for i = 0, 1, 0.12 do
  1905. fat.Event:wait()
  1906. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 5 - 5 * i) * angles(math.rad(20 + 360 * i), math.rad(0), math.rad(0)), 0.3)
  1907. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1908. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(165), math.rad(0), math.rad(-45)), 0.3)
  1909. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(165), math.rad(0), math.rad(45)), 0.3)
  1910. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1911. end
  1912. Humanoid.WalkSpeed = 0 * speed.Value
  1913. so("http://roblox.com/asset/?id=203691492", Hitbox, 1, 1.1)
  1914. canwalk = false
  1915. canidle = false
  1916. for i = 0, 1, 0.24 do
  1917. fat.Event:wait()
  1918. Humanoid.WalkSpeed = 0 * speed.Value
  1919. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45)
  1920. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45)
  1921. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)), 0.45)
  1922. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.45)
  1923. RH.C0 = clerp(RH.C0, cf(1, 0, -0.5) * angles(math.rad(20), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1924. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-45), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1925. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, -0.5) * angles(math.rad(-30), math.rad(30), math.rad(-45)), 0.45)
  1926. end
  1927. hitfloor = nil
  1928. while hitfloor == nil do
  1929. local hit, pos = rayCast(Hitbox.Position, CFrame.new(Hitbox.Position, Hitbox.Position - Vector3.new(0, 1, 0)).lookVector, 5, Character)
  1930. for i = 0, 1, 0.24 do
  1931. do
  1932. fat.Event:wait()
  1933. Humanoid.WalkSpeed = 0 * speed.Value
  1934. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45)
  1935. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45)
  1936. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)), 0.45)
  1937. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.45)
  1938. RH.C0 = clerp(RH.C0, cf(1, 0, -0.5) * angles(math.rad(20), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1939. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-45), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1940. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, -0.5) * angles(math.rad(-30), math.rad(30), math.rad(-45)), 0.45)
  1941. end
  1942. end
  1943. end
  1944. do
  1945. wait()
  1946. actualstartingrefpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1947. actualstartingrefpart.Anchored = true
  1948. actualstartingrefpart.CFrame = RootPart.CFrame * cf(0, 0, inc)
  1949. game:GetService("Debris"):AddItem(actualstartingrefpart, 5)
  1950. local inc = -5
  1951. for i = 1, 5 do
  1952. Humanoid.WalkSpeed = 0 * speed.Value
  1953. startingrefpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1954. startingrefpart.Anchored = true
  1955. startingrefpart.CFrame = actualstartingrefpart.CFrame * cf(0, 0, inc)
  1956. game:GetService("Debris"):AddItem(startingrefpart, 3)
  1957. local hit, pos = rayCast(startingrefpart.Position, CFrame.new(startingrefpart.Position, startingrefpart.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character)
  1958. if hit ~= nil then
  1959. floor = true
  1960. local Color = hit.BrickColor
  1961. local Materials = hit.Material
  1962. refpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1963. refpart.Anchored = true
  1964. refpart.CFrame = cf(pos)
  1965. game:GetService("Debris"):AddItem(refpart, 3)
  1966. so("http://roblox.com/asset/?id=203691510", refpart, 1, math.random(80, 120) / 100)
  1967. for i = 1, 10 do
  1968. local actualgroundpart = part(3, workspace, "SmoothPlastic", 0, 0, Color, "Ground", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  1969. actualgroundpart.Anchored = true
  1970. actualgroundpart.Material = Materials
  1971. actualgroundpart.CanCollide = true
  1972. actualgroundpart.Friction = 1
  1973. actualgroundpart.CFrame = cf(refpart.Position) * cf(math.random(-250, 250) / 100, 0, math.random(-250, 250) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1974. game:GetService("Debris"):AddItem(actualgroundpart, 5.5)
  1975. coroutine.resume(coroutine.create(function()
  1976. wait(5)
  1977. while 1 do
  1978. swait()
  1979. actualgroundpart.Transparency = actualgroundpart.Transparency + 0.05
  1980. end
  1981. actualgroundpart:Destroy()
  1982. end))
  1983. end
  1984. BlockShockwave(Color, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.05)
  1985. SphereShockwave(Color, cf(refpart.Position), 0.1, 0.1, 0.1, 0.5, 1.5, 0.5, 0.025)
  1986. JumpEffect(Color, cf(refpart.Position), 0.5, 0.5, 1, 0.25, 0.25, 0.25, 0.025)
  1987. MagniDamage(refpart, 10, 10, 20, 10, "Normal")
  1988. end
  1989. do
  1990. inc = inc - 5
  1991. for i = 0, 1, 15 do
  1992. fat.Event:wait()
  1993. Humanoid.WalkSpeed = 0 * speed.Value
  1994. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45)
  1995. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45)
  1996. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)), 0.45)
  1997. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.45)
  1998. RH.C0 = clerp(RH.C0, cf(1, 0, -0.5) * angles(math.rad(20), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  1999. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-45), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45)
  2000. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.25, -0.5) * angles(math.rad(-30), math.rad(30), math.rad(-45)), 0.45)
  2001. end
  2002. -- DECOMPILER ERROR at PC1218: LeaveBlock: unexpected jumping out DO_STMT
  2003.  
  2004. end
  2005. end
  2006. canwalk = true
  2007. canidle = true
  2008. Humanoid.WalkSpeed = 16 * speed.Value
  2009. attack = false
  2010. end
  2011. end
  2012. Ability3 = function()
  2013. attack = true
  2014. so("http://roblox.com/asset/?id=200633077", Hitbox, 1, 1.2)
  2015. for i = 0, 1, 0.12 do
  2016. fat.Event:wait()
  2017. Effect2Part.Transparency = 0 + 2 * i
  2018. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3)
  2019. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3)
  2020. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-75)), 0.3)
  2021. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  2022. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2023. end
  2024. gyro.Parent = RootPart
  2025. do
  2026. for i = 1, 5 do
  2027. so("http://roblox.com/asset/?id=378352088", Effect2Part, 0.5, math.random(80, 120) / 100)
  2028. so("http://roblox.com/asset/?id=340143970", Effect2Part, 0.5, math.random(80, 120) / 100)
  2029. local spread = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))
  2030. local MainPos = Effect2Part.Position
  2031. local MainPos2 = MMouse.Hit.p + spread
  2032. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  2033. local speed = 10
  2034. local num = 30
  2035. coroutine.resume(coroutine.create(function()
  2036. repeat
  2037. fat.Event:wait()
  2038. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, ShotTarget.Parent)
  2039. local mag = (MainPos - pos).magnitude
  2040. Laser(TorsoColor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  2041. MainPos = MainPos + MouseLook.lookVector * speed
  2042. num = num - 1
  2043. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  2044. if hit ~= nil then
  2045. num = 0
  2046. refpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2047. refpart.Anchored = true
  2048. refpart.CFrame = cf(pos)
  2049. game:GetService("Debris"):AddItem(refpart, 2)
  2050. so("http://roblox.com/asset/?id=114488148", refpart, 0.5, math.random(80, 120) / 100)
  2051. so("http://roblox.com/asset/?id=340143964", refpart, 0.5, math.random(80, 120) / 100)
  2052. so("http://roblox.com/asset/?id=340143970", refpart, 0.5, math.random(80, 120) / 100)
  2053. Damagefunc(hit, 5, 10, 10, "LaserShot", RootPart, 0)
  2054. MagniDamage(refpart, 10, 5, 10, 5, "LaserShot")
  2055. for i = 1, math.random(2, 4) do
  2056. OrbEffect(TorsoColor, cf(refpart.Position), 0.1, 0.1, 0.1, 1, 1, 1, 0.075)
  2057. BlockShockwave(TorsoColor, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.075)
  2058. end
  2059. end
  2060. do
  2061. if num <= 0 then
  2062. refpart = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2063. refpart.Anchored = true
  2064. refpart.CFrame = cf(pos)
  2065. game:GetService("Debris"):AddItem(refpart, 2)
  2066. so("http://roblox.com/asset/?id=114488148", refpart, 0.5, math.random(80, 120) / 100)
  2067. so("http://roblox.com/asset/?id=340143964", refpart, 0.5, math.random(80, 120) / 100)
  2068. so("http://roblox.com/asset/?id=340143970", refpart, 0.5, math.random(80, 120) / 100)
  2069. MagniDamage(refpart, 10, 5, 10, 5, "LaserShot")
  2070. for i = 1, math.random(2, 4) do
  2071. OrbEffect(TorsoColor, cf(refpart.Position), 0.1, 0.1, 0.1, 1, 1, 1, 0.075)
  2072. BlockShockwave(TorsoColor, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.075)
  2073. end
  2074. end
  2075. end
  2076. until num <= 0
  2077. end))
  2078. for i = 1, math.random(2, 4) do
  2079. BlockShockwave(TorsoColor, cf(Effect2Part.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.125)
  2080. end
  2081. for i = 0, 1, 0.24 do
  2082. fat.Event:wait()
  2083. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  2084. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-15)), 0.3)
  2085. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(105), math.rad(0), math.rad(-90)), 0.3)
  2086. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(105), math.rad(0), math.rad(15)), 0.3)
  2087. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  2088. end
  2089. for i = 0, 1, 0.24 do
  2090. fat.Event:wait()
  2091. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3)
  2092. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3)
  2093. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-75)), 0.3)
  2094. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  2095. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2096. end
  2097. end
  2098. end
  2099. gyro.Parent = nil
  2100. so("http://roblox.com/asset/?id=200633029", Hitbox, 1, 1.2)
  2101. for i = 0, 1, 0.12 do
  2102. fat.Event:wait()
  2103. Effect2Part.Transparency = 1 - 2 * i
  2104. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3)
  2105. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3)
  2106. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-75)), 0.3)
  2107. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  2108. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2109. end
  2110. attack = false
  2111. end
  2112. mouse.Button1Down:connect(function()
  2113. if attack == false then
  2114. if attacktype == 1 then
  2115. attacktype = 2
  2116. if equipped == false then
  2117. unequipattackone()
  2118. else
  2119. if equipped == true then
  2120. equipattackone()
  2121. end
  2122. end
  2123. else
  2124. if attacktype == 2 then
  2125. attacktype = 3
  2126. if equipped == false then
  2127. unequipattacktwo()
  2128. else
  2129. if equipped == true then
  2130. equipattacktwo()
  2131. end
  2132. end
  2133. else
  2134. if attacktype == 3 then
  2135. attacktype = 4
  2136. if equipped == false then
  2137. unequipattackthree()
  2138. else
  2139. if equipped == true then
  2140. equipattackthree()
  2141. end
  2142. end
  2143. else
  2144. if attacktype == 4 then
  2145. attacktype = 1
  2146. if equipped == false then
  2147. unequipattackfour()
  2148. else
  2149. if equipped == true then
  2150. equipattackfour()
  2151. end
  2152. end
  2153. end
  2154. end
  2155. end
  2156. end
  2157. end
  2158. coroutine.resume(coroutine.create(function()
  2159. for i = 1, 50 do
  2160. if attack == false then
  2161. fat.Event:wait()
  2162. end
  2163. end
  2164. if attack == false then
  2165. attacktype = 1
  2166. end
  2167. end))
  2168. end)
  2169. idletype = 1
  2170. mouse.KeyDown:connect(function(k)
  2171. k = k:lower()
  2172. if k == "q" and attack == false then
  2173. idle = 300
  2174. idletype = math.random(1, 2)
  2175. end
  2176. if k == "e" and attack == false then
  2177. EquiporUnequip()
  2178. end
  2179. if k == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1stam <= stamina then
  2180. cooldown1 = 0
  2181. subtractstamina(skill1stam)
  2182. Ability1()
  2183. end
  2184. if k == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2stam <= stamina then
  2185. cooldown2 = 0
  2186. subtractstamina(skill2stam)
  2187. Ability2()
  2188. end
  2189. if k == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3stam <= stamina then
  2190. cooldown3 = 0
  2191. subtractstamina(skill3stam)
  2192. Ability3()
  2193. end
  2194. end)
  2195. mouse.KeyUp:connect(function(k)
  2196. k = k:lower()
  2197. if k == "z" and holdz == true then
  2198. holdz = false
  2199. end
  2200. end)
  2201. updateskills = function()
  2202. if cooldown1 <= co1 then
  2203. cooldown1 = cooldown1 + 0.033333333333333
  2204. end
  2205. if cooldown2 <= co2 then
  2206. cooldown2 = cooldown2 + 0.033333333333333
  2207. end
  2208. if cooldown3 <= co3 then
  2209. cooldown3 = cooldown3 + 0.033333333333333
  2210. end
  2211. if cooldown4 <= co4 then
  2212. cooldown4 = cooldown4 + 0.033333333333333
  2213. end
  2214. if stamina <= skill1stam then
  2215. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2216. else
  2217. bar4.BackgroundColor3 = skillcolorscheme
  2218. end
  2219. if stamina <= skill2stam then
  2220. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2221. else
  2222. bar3.BackgroundColor3 = skillcolorscheme
  2223. end
  2224. if stamina <= skill3stam then
  2225. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2226. else
  2227. bar1.BackgroundColor3 = skillcolorscheme
  2228. end
  2229. if stamina <= skill4stam then
  2230. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2231. else
  2232. bar2.BackgroundColor3 = skillcolorscheme
  2233. end
  2234. if stamina <= maxstamina then
  2235. stamina = stamina + recovermana / 30
  2236. end
  2237. end
  2238. game:GetService("RunService").Heartbeat:connect(function()
  2239. updateskills()
  2240. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  2241. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5)
  2242. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2243. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2244. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2245. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2246. end)
  2247. local sine = 0
  2248. local change = 1
  2249. local val = 0
  2250. fat.Event:connect(function()
  2251. gyro.CFrame = CFrame.new(Vector3.new(), mouse.Hit.p - RootPart.CFrame.p.unit * 100)
  2252. sine = sine + change
  2253. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2254. local velderp = RootPart.Velocity.y
  2255. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2256. if equipped == true or equipped == false then
  2257. if Anim == "Idle" and attack == false then
  2258. idle = idle + 1
  2259. else
  2260. idle = 0
  2261. end
  2262. if idle == 300 and attack == false then
  2263. idletype = math.random(1, 2)
  2264. end
  2265. if RootPart.Velocity.y > 1 and hitfloor == nil then
  2266. Anim = "Jump"
  2267. if attack == false and equipped == false then
  2268. fat.Event:wait()
  2269. Humanoid.WalkSpeed = 16 * speed.Value
  2270. change = 2
  2271. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2272. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2273. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.3)
  2274. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(-15)), 0.3)
  2275. RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-15), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2276. LH.C0 = clerp(LH.C0, cf(-1, -0.75, -0.25) * angles(math.rad(-5), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2277. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2278. else
  2279. if attack == false and equipped == true then
  2280. fat.Event:wait()
  2281. Humanoid.WalkSpeed = 16 * speed.Value
  2282. change = 2
  2283. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2284. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2285. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.225, 0) * angles(math.rad(90), math.rad(15), math.rad(-30)), 0.3)
  2286. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.225, -0.5) * angles(math.rad(-45), math.rad(-135), math.rad(-120)), 0.3)
  2287. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2288. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2289. Handleweld.C0 = clerp(Handleweld.C0, cf(1, -0.75, 0) * angles(math.rad(15), math.rad(0), math.rad(-90)), 0.3)
  2290. else
  2291. if attack == true then
  2292. fat.Event:wait()
  2293. Humanoid.WalkSpeed = 16 * speed.Value
  2294. change = 2
  2295. RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-15), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2296. LH.C0 = clerp(LH.C0, cf(-1, -0.75, -0.25) * angles(math.rad(-5), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2297. end
  2298. end
  2299. end
  2300. else
  2301. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2302. Anim = "Fall"
  2303. if attack == false and equipped == false then
  2304. fat.Event:wait()
  2305. Humanoid.WalkSpeed = 16 * speed.Value
  2306. change = 2
  2307. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2308. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2309. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  2310. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  2311. RH.C0 = clerp(RH.C0, cf(1, -0.75, -0.25) * angles(math.rad(-30), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2312. LH.C0 = clerp(LH.C0, cf(-1, -0.75, -0.25) * angles(math.rad(-30), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2313. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2314. else
  2315. if attack == false and equipped == true then
  2316. fat.Event:wait()
  2317. Humanoid.WalkSpeed = 16 * speed.Value
  2318. change = 2
  2319. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2320. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2321. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.225, 0) * angles(math.rad(90), math.rad(15), math.rad(-30)), 0.3)
  2322. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.225, -0.5) * angles(math.rad(-45), math.rad(-135), math.rad(-120)), 0.3)
  2323. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2324. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2325. Handleweld.C0 = clerp(Handleweld.C0, cf(1, -0.75, 0) * angles(math.rad(15), math.rad(0), math.rad(-90)), 0.3)
  2326. else
  2327. if attack == true then
  2328. fat.Event:wait()
  2329. Humanoid.WalkSpeed = 16 * speed.Value
  2330. change = 2
  2331. RH.C0 = clerp(RH.C0, cf(1, -0.75, -0.25) * angles(math.rad(-30), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2332. LH.C0 = clerp(LH.C0, cf(-1, -0.75, -0.25) * angles(math.rad(-30), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2333. end
  2334. end
  2335. end
  2336. else
  2337. if torvel < 1 and hitfloor ~= nil then
  2338. Anim = "Idle"
  2339. if attack == false and equipped == true and idletype == 1 and idle >= 300 then
  2340. fat.Event:wait()
  2341. Humanoid.WalkSpeed = 16 * speed.Value
  2342. change = 2
  2343. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.15)
  2344. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 2.5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(-15)), 0.15)
  2345. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, 0) * angles(math.rad(5 + 5 * math.cos(sine / 30)), math.rad(0), math.rad(15 - 5 * math.cos(sine / 30))), 0.15)
  2346. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, 0) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.15)
  2347. RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 30), 0) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2348. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 30), 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2349. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2350. else
  2351. if attack == false and equipped == true and idletype == 2 and idle >= 300 then
  2352. fat.Event:wait()
  2353. Humanoid.WalkSpeed = 16 * speed.Value
  2354. change = 2
  2355. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.15)
  2356. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 2.5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
  2357. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5 + 0.025 * math.cos(sine / 30), -0.5) * angles(math.rad(95 - 5 * math.cos(sine / 30)), math.rad(0), math.rad(-45)), 0.15)
  2358. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5 + 0.025 * math.cos(sine / 30), -0.5) * angles(math.rad(95 - 5 * math.cos(sine / 30)), math.rad(0), math.rad(45)), 0.15)
  2359. RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 30), 0.1) * angles(math.rad(5), math.rad(75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2360. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 30), 0.1) * angles(math.rad(5), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2361. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -1.75, -1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(-180 + 2.5 * math.cos(sine / 30)), math.rad(0 + 2.5 * math.cos(sine / 30)), math.rad(-45)), 0.15)
  2362. else
  2363. if attack == false and equipped == false and idletype == 1 and idle >= 300 then
  2364. fat.Event:wait()
  2365. Humanoid.WalkSpeed = 16 * speed.Value
  2366. change = 2
  2367. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2368. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
  2369. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.25 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, 0.25) * angles(math.rad(-45), math.rad(0), math.rad(-45)), 0.15)
  2370. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, 0.25) * angles(math.rad(-45), math.rad(0), math.rad(45)), 0.15)
  2371. RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 30), 0.1) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2372. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 30), 0.1) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2373. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2374. else
  2375. if attack == false and equipped == false and idletype == 2 and idle >= 300 then
  2376. fat.Event:wait()
  2377. Humanoid.WalkSpeed = 16 * speed.Value
  2378. change = 2
  2379. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.15)
  2380. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(15)), 0.15)
  2381. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, -0.25) * angles(math.rad(80 - 5 * math.cos(sine / 30)), math.rad(0), math.rad(-45)), 0.15)
  2382. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.025 * math.cos(sine / 30) + math.sin(sine / 30) / 15, 0) * angles(math.rad(15 + 5 * math.cos(sine / 30)), math.rad(0), math.rad(-15 + 5 * math.cos(sine / 30))), 0.15)
  2383. RH.C0 = clerp(RH.C0, cf(1, 0.1 - 0.1 * math.cos(sine / 30), -0.5) * angles(math.rad(10), math.rad(75), math.rad(0)) * angles(math.rad(2.5), math.rad(0), math.rad(0)), 0.15)
  2384. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 30), 0) * angles(math.rad(-60), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2385. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2386. else
  2387. if attack == false and equipped == false then
  2388. fat.Event:wait()
  2389. Humanoid.WalkSpeed = 16 * speed.Value
  2390. change = 2
  2391. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  2392. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(-5), math.rad(-30)), 0.3)
  2393. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.525 + 0.025 * math.cos(sine / 20) + math.sin(sine / 20) / 20, 0) * angles(math.rad(0), math.rad(0), math.rad(10 - 5 * math.cos(sine / 20))), 0.3)
  2394. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.525 + 0.025 * math.cos(sine / 20) + math.sin(sine / 20) / 20, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 5 * math.cos(sine / 20))), 0.3)
  2395. RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 20), 0) * angles(math.rad(7.5), math.rad(60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2396. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 20), 0) * angles(math.rad(-7.5), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2397. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2398. else
  2399. if attack == false and equipped == true then
  2400. fat.Event:wait()
  2401. Humanoid.WalkSpeed = 16 * speed.Value
  2402. change = 2
  2403. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(10), math.rad(-5), math.rad(-45)), 0.3)
  2404. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(5), math.rad(45)), 0.3)
  2405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.225 + 0.025 * math.cos(sine / 20) + math.sin(sine / 20) / 20, 0) * angles(math.rad(90), math.rad(15), math.rad(-30)), 0.3)
  2406. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.225 + 0.025 * math.cos(sine / 20) + math.sin(sine / 20) / 20, -0.5) * angles(math.rad(-45), math.rad(-135), math.rad(-120)), 0.3)
  2407. RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 20), 0) * angles(math.rad(-5), math.rad(75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2408. LH.C0 = clerp(LH.C0, cf(-1.2, -0.9 - 0.1 * math.cos(sine / 20), 0.2) * angles(math.rad(5), math.rad(-45), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2409. Handleweld.C0 = clerp(Handleweld.C0, cf(1, -0.75, 0) * angles(math.rad(15), math.rad(0), math.rad(-90)), 0.3)
  2410. else
  2411. if attack == true and canidle == true then
  2412. fat.Event:wait()
  2413. Humanoid.WalkSpeed = 16 * speed.Value
  2414. change = 2
  2415. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2416. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2417. end
  2418. end
  2419. end
  2420. end
  2421. end
  2422. end
  2423. end
  2424. else
  2425. if torvel > 2 and hitfloor ~= nil then
  2426. Anim = "Walk"
  2427. if attack == false and equipped == false then
  2428. fat.Event:wait()
  2429. Humanoid.WalkSpeed = 16 * speed.Value
  2430. change = 2
  2431. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 4)) * angles(math.rad(10), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 8))), 0.3)
  2432. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 * math.cos(sine / 8)) + Head.RotVelocity.Y / 15), 0.3)
  2433. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45 * math.cos(sine / 8)) + math.sin(sine / 8) / 4, math.rad(0), math.rad(5)), 0.3)
  2434. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 4, math.rad(0), math.rad(-5)), 0.3)
  2435. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.5 * math.cos(sine / 8) / 2, 0.25 * math.cos(sine / 8) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2436. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.5 * math.cos(sine / 8) / 2, -0.25 * math.cos(sine / 8) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2437. Handleweld.C0 = clerp(Handleweld.C0, cf(-1.5, 0.5, 0.75) * angles(math.rad(-90), math.rad(-45), math.rad(90)), 0.15)
  2438. else
  2439. if attack == false and equipped == true then
  2440. fat.Event:wait()
  2441. Humanoid.WalkSpeed = 16 * speed.Value
  2442. change = 2
  2443. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.2 * math.cos(sine / 3)) * angles(math.rad(10), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45 + 5 * math.cos(sine / 6))), 0.3)
  2444. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(5), math.rad(45 - 5 * math.cos(sine / 6)) + Head.RotVelocity.Y / 15), 0.3)
  2445. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.225, 0) * angles(math.rad(90), math.rad(15), math.rad(-30)), 0.3)
  2446. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.225, -0.5) * angles(math.rad(-45), math.rad(-135), math.rad(-120)), 0.3)
  2447. RH.C0 = clerp(RH.C0, cf(0.8 + 0.2 * math.cos(sine / 6) / 2, -1, 0.5 * math.cos(sine / 6) / 2) * angles(math.rad(-5 - 30 * math.cos(sine / 6)) + -math.sin(sine / 6) / 2.5, math.rad(90), math.rad(0)) * angles(math.rad(-30 * math.cos(sine / 6) + -math.sin(sine / 6) / 2.5), math.rad(0), math.rad(0)), 0.3)
  2448. LH.C0 = clerp(LH.C0, cf(-1 - 0.2 * math.cos(sine / 6) / 2, -0.8, -0.5 * math.cos(sine / 6) / 2) * angles(math.rad(-5 + 30 * math.cos(sine / 6)) + math.sin(sine / 6) / 2.5, math.rad(-90), math.rad(0)) * angles(math.rad(-30 * math.cos(sine / 6) + math.sin(sine / 6) / 2.5), math.rad(0), math.rad(0)), 0.3)
  2449. Handleweld.C0 = clerp(Handleweld.C0, cf(1, -0.75, 0) * angles(math.rad(15), math.rad(0), math.rad(-90)), 0.3)
  2450. else
  2451. if attack == true and canwalk == true then
  2452. fat.Event:wait()
  2453. Humanoid.WalkSpeed = 16 * speed.Value
  2454. change = 2
  2455. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.5 * math.cos(sine / 8) / 2, 0.25 * math.cos(sine / 8) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2456. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.5 * math.cos(sine / 8) / 2, -0.25 * math.cos(sine / 8) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2457. end
  2458. end
  2459. end
  2460. end
  2461. end
  2462. end
  2463. end
  2464. end
  2465. end)
Add Comment
Please, Sign In to add comment