dongw

Harbaceus

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