Advertisement
D0MiN0_FX

Harbaceus [ BROKEN ] [ RARE ]

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