Advertisement
Guest User

Untitled

a guest
May 21st, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 138.48 KB | None | 0 0
  1.  
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. PlayerGui = Player.PlayerGui
  5. Backpack = Player.Backpack
  6. Torso = Character.Torso
  7. Head = Character.Head
  8. Humanoid = Character.Humanoid
  9. RootPart = Character.HumanoidRootPart
  10. RootJoint = RootPart.RootJoint
  11. LeftArm = Character["Left Arm"]
  12. LeftLeg = Character["Left Leg"]
  13. RightArm = Character["Right Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19. Face = Head.face
  20. Neck = Torso.Neck
  21. it = Instance.new
  22. vt = Vector3.new
  23. cf = CFrame.new
  24. rad = math.rad
  25. euler = CFrame.fromEulerAnglesXYZ
  26. angles = CFrame.Angles
  27. Mouse = Player:GetMouse()
  28. coroutine.resume(coroutine.create(function()
  29. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  30. Text = "Fixed by PixelFir3 / Cortana#8155";
  31. Color = Color3.new(0, 1, 1);
  32. Font = Enum.Font.Code;
  33. FontSize = Enum.FontSize.Size24;
  34. })
  35. end))
  36. ArtificialHB = Instance.new("BindableEvent", script)
  37. ArtificialHB.Name = "ArtificialHB"
  38. script:WaitForChild("ArtificialHB")
  39. frame = 0.016666666666667
  40. tf = 0
  41. allowframeloss = false
  42. tossremainder = false
  43. lastframe = tick()
  44. script.ArtificialHB:Fire()
  45. game:GetService("RunService").Heartbeat:connect(function(s, p)
  46. tf = tf + s
  47. if frame <= tf then
  48. if allowframeloss then
  49. script.ArtificialHB:Fire()
  50. lastframe = tick()
  51. else
  52. for i = 1, math.floor(tf / frame) do
  53. script.ArtificialHB:Fire()
  54. end
  55. lastframe = tick()
  56. end
  57. if tossremainder then
  58. tf = 0
  59. else
  60. tf = tf - frame * math.floor(tf / frame)
  61. end
  62. end
  63. end
  64. )
  65. local animationspeed = 2
  66. hbwait = function(number)
  67.  
  68. if number == 0 or number == nil then
  69. ArtificialHB.Event:wait()
  70. else
  71. for i = 0, number do
  72. ArtificialHB.Event:wait()
  73. end
  74. end
  75. end
  76.  
  77. local Stats = Instance.new("Folder", Character)
  78. Stats.Name = "Stats"
  79. local Defense = Instance.new("NumberValue", Stats)
  80. Defense.Name = "Defense"
  81. Defense.Value = 0.6
  82. local Movement = Instance.new("NumberValue", Stats)
  83. Movement.Name = "Movement"
  84. Movement.Value = 1.1
  85. local Damage = Instance.new("NumberValue", Stats)
  86. Damage.Name = "Damage"
  87. Damage.Value = 1
  88. local Mana = Instance.new("NumberValue", Stats)
  89. Mana.Name = "Mana"
  90. Mana.Value = 0
  91. local Rooted = Instance.new("BoolValue", Stats)
  92. Rooted.Name = "Rooted"
  93. Rooted.Value = false
  94. local BlockValue = Instance.new("BoolValue", Stats)
  95. BlockValue.Name = "BlockValue"
  96. BlockValue.Value = false
  97. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  98. StaggerHitAnim.Name = "StaggerHitAnim"
  99. StaggerHitAnim.Value = false
  100. local StaggerAnim = Instance.new("BoolValue", Stats)
  101. StaggerAnim.Name = "StaggerAnim"
  102. StaggerAnim.Value = false
  103. local StunAnim = Instance.new("BoolValue", Stats)
  104. StunAnim.Name = "StunAnim"
  105. StunAnim.Value = false
  106. local StunValue = Instance.new("NumberValue", Stats)
  107. StunValue.Name = "StunValue"
  108. StunValue.Value = 0
  109. local CanCrit = Instance.new("BoolValue", Stats)
  110. CanCrit.Name = "CanCrit"
  111. CanCrit.Value = false
  112. local CritChance = Instance.new("NumberValue", Stats)
  113. CritChance.Name = "CritChance"
  114. CritChance.Value = 20
  115. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  116. CanPenetrateArmor.Name = "CanPenetrateArmor"
  117. CanPenetrateArmor.Value = false
  118. local AntiTeamKill = Instance.new("BoolValue", Stats)
  119. AntiTeamKill.Name = "AntiTeamKill"
  120. AntiTeamKill.Value = false
  121. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  122. RootCF = angles(rad(-90), 0, rad(180))
  123. local idle = 0
  124. local Anim = "Idle"
  125. local attacktype = 1
  126. local attack = false
  127. local equipped = false
  128. local weaponequipped = false
  129. local LastPoint = nil
  130. local staggerhitanim = false
  131. local staggeranim = false
  132. local stunanim = false
  133. local CritChanceNumber = 0
  134. local idlen = 0
  135. local donum = 0
  136. local sine = 0
  137. local change = 2 / animationspeed
  138. local walkinganim = false
  139. local handidle = false
  140. local walk = 0
  141. local someangle = 0
  142. local change2 = 1
  143. local stundelay = 0
  144. local manadelay = 0
  145. local robloxidleanimation = Instance.new("Animation", Torso)
  146. robloxidleanimation.Name = "robloxidleanimation"
  147. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  148. local Animator = Humanoid:FindFirstChild("Animator")
  149. local Animate = Character:FindFirstChild("Animate")
  150. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  151. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  152. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  153. local HitBlockSounds = {199148933, 199148947}
  154. local cooldown1 = 0
  155. local cooldown2 = 0
  156. local cooldown3 = 0
  157. local cooldown4 = 0
  158. local scrn = Instance.new("ScreenGui", PlayerGui)
  159. local ud = UDim2.new
  160. local c3 = Color3.new
  161. local skillcolorscheme = c3(1, 1, 1)
  162. subtractmana = function(k)
  163.  
  164. if k <= Mana.Value then
  165. Mana.Value = Mana.Value - k
  166. end
  167. end
  168.  
  169. local co1 = 20
  170. local co2 = 40
  171. local co3 = 1
  172. local co4 = 1
  173. local maxmana = 100
  174. local maxstun = 100
  175. local recovermana = 1
  176. local losestun = 1
  177. local stunwait = 20
  178. local manawait = 10
  179. local skill1mana = 20
  180. local skill2mana = 40
  181. local skill3mana = 0
  182. local skill4mana = 0
  183. local menuupdatespeed = 0.5
  184. local constantupdate = true
  185. local showstats = true
  186. local allowstunbar = true
  187. local CustomColor = Torso.BrickColor
  188. local Colorpart1 = CustomColor.r
  189. local Colorpart2 = CustomColor.g
  190. local Colorpart3 = CustomColor.b
  191. local InverseColor = BrickColor.new("Institutional white")
  192. makeframe = function(par, trans, pos, size, color, name)
  193.  
  194. local frame = Instance.new("Frame")
  195. frame.Parent = par
  196. frame.BackgroundTransparency = trans
  197. frame.BorderSizePixel = 2
  198. frame.Position = pos
  199. frame.Size = size
  200. frame.BackgroundColor3 = color
  201. frame.Name = name
  202. return frame
  203. end
  204.  
  205. makelabel = function(par, text, trans, stroketrans, name)
  206.  
  207. local label = Instance.new("TextLabel")
  208. label.Parent = par
  209. label.BackgroundTransparency = 1
  210. label.Size = ud(1, 0, 1, 0)
  211. label.Position = ud(0, 0, 0, 0)
  212. label.TextColor3 = c3(255, 255, 255)
  213. label.TextStrokeTransparency = stroketrans
  214. label.TextTransparency = trans
  215. label.FontSize = Enum.FontSize.Size32
  216. label.Font = Enum.Font.Legacy
  217. label.BorderSizePixel = 0
  218. label.TextScaled = true
  219. label.Text = text
  220. label.Name = name
  221. return label
  222. end
  223.  
  224. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  225. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  226. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  227. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  228. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  229. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  230. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  231. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  232. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  233. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  234. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  235. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  236. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  237. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  238. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  239. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  240. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  241. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  242. if allowstunbar == true then
  243. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  244. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  245. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  246. end
  247. if showstats == true then
  248. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  249. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  250. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  251. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  252. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  253. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  254. end
  255. NoOutline = function(Part)
  256. Part.TopSurface = 10
  257. end
  258.  
  259. local weldBetween = function(a, b)
  260.  
  261. local weldd = Instance.new("ManualWeld")
  262. weldd.Part0 = a
  263. weldd.Part1 = b
  264. weldd.C0 = CFrame.new()
  265. weldd.C1 = b.CFrame:inverse() * a.CFrame
  266. weldd.Parent = a
  267. return weldd
  268. end
  269.  
  270. nooutline = function(part)
  271.  
  272. part.TopSurface = 10
  273. end
  274.  
  275. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  276.  
  277. local fp = it("Part")
  278. fp.formFactor = formfactor
  279. fp.Parent = parent
  280. fp.Reflectance = reflectance
  281. fp.Transparency = transparency
  282. fp.CanCollide = false
  283. fp.Locked = true
  284. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  285. fp.Name = name
  286. fp.Size = size
  287. fp.Position = Character.Torso.Position
  288. nooutline(fp)
  289. fp.Material = material
  290. fp:BreakJoints()
  291. return fp
  292. end
  293.  
  294. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  295.  
  296. local mesh = it(Mesh)
  297. mesh.Parent = part
  298. if Mesh == "SpecialMesh" then
  299. mesh.MeshType = meshtype
  300. mesh.MeshId = meshid
  301. end
  302. mesh.Offset = offset
  303. mesh.Scale = scale
  304. return mesh
  305. end
  306.  
  307. weld = function(parent, part0, part1, c0, c1)
  308.  
  309. local weld = it("Motor")
  310. weld.Parent = parent
  311. weld.Part0 = part0
  312. weld.Part1 = part1
  313. weld.C0 = c0
  314. weld.C1 = c1
  315. return weld
  316. end
  317.  
  318. local WeaponName = "Stop Sign"
  319. local ClassName = "Stop Sign"
  320. local PlayerSize = 1
  321. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  322. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  323. if PlayerSize ~= 1 then
  324. RootPart.Size = RootPart.Size * PlayerSize
  325. Torso.Size = Torso.Size * PlayerSize
  326. Head.Size = Head.Size * PlayerSize
  327. RightArm.Size = RightArm.Size * PlayerSize
  328. LeftArm.Size = LeftArm.Size * PlayerSize
  329. RightLeg.Size = RightLeg.Size * PlayerSize
  330. LeftLeg.Size = LeftLeg.Size * PlayerSize
  331. RootJoint.Parent = RootPart
  332. Neck.Parent = Torso
  333. LS.Parent = Torso
  334. RS.Parent = Torso
  335. LH.Parent = Torso
  336. RH.Parent = Torso
  337. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  338. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  339. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  340. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  341. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  342. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  343. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  344. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  345. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  346. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  347. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  348. for _,v in pairs(Character:GetChildren()) do
  349. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  350. v.Parent = nil
  351. v.Parent = Character
  352. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  353. for _,b in pairs(v.Handle:GetChildren()) do
  354. if b.ClassName == "Weld" then
  355. local p1 = b.Part1
  356. b.Part1 = nil
  357. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  358. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  359. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  360. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  361. b.Part1 = p1
  362. end
  363. end
  364. end
  365. end
  366. end
  367. m = Instance.new("Model", Character)
  368. m.Name = WeaponName
  369. Effects = Instance.new("Folder", m)
  370. Effects.Name = "Effects"
  371. Handle = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  372. Handleweld = weld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883e-08))
  373. mesh("SpecialMesh", Handle, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(35, 1.75, 1.75))
  374. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  375. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000118, -0.200000763, -1.1920929e-07, 1, 4.37113883e-08, 0, 0, 1.91068547e-15, 1, 4.37113883e-08, -1, 1.91068547e-15))
  376. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  377. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  378. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1283927, -0.200000763, -2.12839127, 0.707106948, 0.70710659, -1.28027615e-08, -1.28027615e-08, 3.0908609e-08, 1, 0.70710659, -0.707106948, 3.0908609e-08))
  379. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  380. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  381. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12839174, -0.200000763, -2.1283927, -0.70710659, 0.707106948, -7.46199973e-08, -7.46199973e-08, 3.09086268e-08, 1, 0.707106948, 0.70710659, 3.09086268e-08))
  382. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  383. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  384. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.200000763, 3.01000118, 1.91068547e-15, -1, -4.37113883e-08, -4.37113883e-08, -4.37113883e-08, 1, -1, 0, -4.37113883e-08))
  385. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  386. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  387. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724999547, -0.210002899, -3.34500122, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  388. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  389. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  390. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18500042, -0.210002899, -0.824999571, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  391. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  392. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  393. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.72500062, -0.210002899, 3.0350008, -5.96046341e-08, -1, -4.37113954e-08, -4.37113883e-08, -4.37113918e-08, 1, -1, 5.96046377e-08, -4.37113847e-08))
  394. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  395. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  396. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, -0.625000238, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  397. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  398. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  399. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.725000381, -0.210002899, 2.73500061, -5.96046341e-08, -1, -4.37113954e-08, -4.37113883e-08, -4.37113918e-08, 1, -1, 5.96046377e-08, -4.37113847e-08))
  400. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  401. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  402. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500023, -0.210002899, -0.305000544, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  403. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  404. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  405. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.1950016, -0.210002899, -0.30500102, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  406. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  407. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  408. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.305000186, -0.210002899, -3.34500217, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  409. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  410. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  411. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.015000701, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  412. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  413. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  414. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.0150001049, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  415. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  416. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  417. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998531, -0.210002899, -3.34500122, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  418. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  419. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  420. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.315000296, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  421. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  422. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  423. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.315001369, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  424. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  425. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  426. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998174, -0.210002899, -2.73500061, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  427. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  428. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  429. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500214, -0.210002899, 0.535002112, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  430. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  431. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  432. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.535001278, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  433. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  434. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  435. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.834999204, -1, 5.96046377e-08, -8.74227766e-08, -8.74227766e-08, 0, 1, 5.96046377e-08, 1, 5.21080354e-15))
  436. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  437. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  438. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684997559, -0.210002899, -3.34500027, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  439. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  440. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  441. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684998512, -0.210002899, -3.04500103, 5.96046412e-08, 1, -4.37113883e-08, -4.37113847e-08, 4.37113918e-08, 1, 1, -5.96046377e-08, 4.37113883e-08))
  442. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  443. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  444. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000166, -0.189994812, 0.0100030899, 1, -4.37114025e-08, -1.58932352e-08, -1.58932387e-08, -5.96046377e-08, -1, 4.37114025e-08, 1, -5.96046341e-08))
  445. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  446. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  447. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1354661, -0.189994812, -2.12131977, 0.707106829, -0.707106769, 4.58097809e-08, -2.24173533e-08, -8.72021815e-08, -1, 0.707106769, 0.707106829, -7.75127234e-08))
  448. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  449. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  450. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12131834, -0.189994812, -2.13546705, -0.707106292, -0.707107246, -6.07109172e-08, 1.47268324e-07, -6.14099775e-08, -1, 0.707107246, -0.707106292, 1.47557884e-07))
  451. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  452. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  453. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100032091, -0.189994812, 3.01000166, 2.60540156e-15, 1, -5.96046377e-08, -1.58932636e-08, -5.96046377e-08, -1, -1, 3.55271368e-15, 1.58932636e-08))
  454. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  455. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  456. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.735001564, -0.199996948, -3.34499979, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  457. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  458. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  459. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18499231, -0.199996948, -0.834997773, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  460. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  461. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  462. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735005498, -0.199996948, 3.03500223, -5.96046164e-08, 1, -5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, -1, -5.96046164e-08, 1.58932636e-08))
  463. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  464. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  465. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499784, -0.200004578, -0.63499558, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  466. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  467. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  468. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.734998822, -0.199993134, 2.73499918, -5.96046164e-08, 1, -5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, -1, -5.96046164e-08, 1.58932636e-08))
  469. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  470. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  471. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499594, -0.200000763, -0.315001726, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  472. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  473. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  474. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500494, -0.199996948, -0.31500113, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  475. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  476. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  477. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.315002918, -0.200000763, -3.34500074, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  478. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  479. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  480. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.00499808788, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  481. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  482. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  483. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200000763, 0.00499856472, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  484. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  485. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  486. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154998422, -0.200000763, -3.34500074, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  487. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  488. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  489. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200004578, 0.305001616, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  490. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  491. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  492. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.305000901, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  493. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  494. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  495. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154993892, -0.199996948, -2.73500013, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  496. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  497. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  498. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.525003314, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  499. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  500. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  501. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.524998307, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  502. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  503. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  504. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.82499969, -1, -5.96046519e-08, 1.58932281e-08, -1.58932245e-08, -5.96046377e-08, -1, 5.96046519e-08, -1, 5.96046377e-08))
  505. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  506. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  507. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.34499884, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  508. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  509. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, InverseColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  510. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.04500151, 5.96046092e-08, -1, 5.96046412e-08, -1.58932636e-08, -5.96046377e-08, -1, 1, 5.96046092e-08, -1.58932636e-08))
  511. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  512. Hitbox = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0, 0, 0))
  513. Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 3.01000118, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))
  514. Handleweld.Part0 = Torso
  515. Handleweld.Part1 = Handle
  516. Handleweld.C0 = cf(0, 0, 0.5) * angles(rad(0), rad(-90), rad(0)) * angles(rad(45), rad(0), rad(0))
  517. Humanoid.Died:connect(function()
  518.  
  519. attack = true
  520. for _,v in pairs(Character:GetChildren()) do
  521. if v.ClassName == "Model" then
  522. v:Destroy()
  523. end
  524. end
  525. end
  526. )
  527. for i,v in pairs(Character:GetChildren()) do
  528. if v.ClassName == "Model" then
  529. for _,c in pairs(v:GetChildren()) do
  530. if c.ClassName == "Part" then
  531. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  532. end
  533. end
  534. end
  535. end
  536. print(ClassName .. " loaded.")
  537. clerp = function(a, b, t)
  538. return a:lerp(b, t)
  539. end
  540.  
  541. positiveangle = function(number)
  542.  
  543. if number > 0 then
  544. number = 0
  545. end
  546. return number
  547. end
  548.  
  549. negativeangle = function(number)
  550.  
  551. if number < 0 then
  552. number = 0
  553. end
  554. return number
  555. end
  556.  
  557. so = function(id, par, vol, pit)
  558.  
  559. coroutine.resume(coroutine.create(function()
  560.  
  561. local sou = Instance.new("Sound", par or workspace)
  562. sou.Volume = vol
  563. sou.Pitch = pit or 1
  564. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  565. hbwait()
  566. sou:play()
  567. game:GetService("Debris"):AddItem(sou, 10)
  568. end
  569. ))
  570. end
  571.  
  572. GetDistance = function(Part1, Part2, magnitude)
  573.  
  574. local target = Part1.Position - Part2.Position
  575. local mag = target.magnitude
  576. if mag <= magnitude then
  577. return true
  578. else
  579. return false
  580. end
  581. end
  582.  
  583. rayCast = function(Pos, Dir, Max, Ignore)
  584.  
  585. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  586. end
  587.  
  588. DamageStatLabel = function(labeltype, cframe, text, color)
  589.  
  590. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  591. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  592. game:GetService("Debris"):AddItem(c, 5)
  593. Instance.new("BodyGyro", c)
  594. local f = Instance.new("BodyPosition", c)
  595. f.P = 2000
  596. f.D = 100
  597. f.maxForce = vt(math.huge, math.huge, math.huge)
  598. if labeltype == "Normal" then
  599. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  600. else
  601. if labeltype == "Debuff" then
  602. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  603. else
  604. if labeltype == "Interruption" then
  605. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  606. end
  607. end
  608. end
  609. game:GetService("Debris"):AddItem(c, 5)
  610. local bg = Instance.new("BillboardGui", c)
  611. bg.Adornee = c
  612. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  613. bg.StudsOffset = vt(-2, 2, 0)
  614. bg.AlwaysOnTop = false
  615. local tl = Instance.new("TextLabel", bg)
  616. tl.BackgroundTransparency = 1
  617. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  618. tl.Text = text
  619. tl.Font = Enum.Font.SourceSans
  620. tl.FontSize = Enum.FontSize.Size42
  621. tl.TextColor3 = color
  622. tl.TextScaled = false
  623. tl.TextStrokeTransparency = 0
  624. tl.TextScaled = true
  625. tl.TextWrapped = true
  626. f.Parent = c
  627. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  628.  
  629. wait(0.25)
  630. for i = 1, 5 do
  631. wait()
  632. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  633. end
  634. wait(1.25)
  635. for i = 1, 5 do
  636. wait()
  637. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  638. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  639. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  640. end
  641. Part.Parent = nil
  642. end
  643. ), c, f, tl)
  644. end
  645.  
  646. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  647.  
  648. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  649.  
  650. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  651.  
  652. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  653. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  654. if ShowTheStat == true then
  655. if Stat == "Defense" then
  656. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  657. else
  658. if Stat == "Damage" then
  659. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  660. else
  661. if Stat == "Movement" then
  662. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  663. end
  664. end
  665. end
  666. end
  667. coroutine.resume(coroutine.create(function(CurrentDecrease)
  668.  
  669. wait(Duration)
  670. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  671. end
  672. ), Location.Stats[Stat])
  673. end
  674. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  675. end
  676.  
  677. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  678.  
  679. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  680.  
  681. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  682.  
  683. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  684. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  685. if ShowTheStat == true then
  686. if Stat == "Defense" then
  687. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  688. else
  689. if Stat == "Damage" then
  690. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  691. else
  692. if Stat == "Movement" then
  693. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  694. end
  695. end
  696. end
  697. end
  698. coroutine.resume(coroutine.create(function(CurrentDecrease)
  699.  
  700. wait(Duration)
  701. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  702. end
  703. ), Location.Stats[Stat])
  704. end
  705. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  706. end
  707.  
  708. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  709.  
  710. if hit.Parent == nil then
  711. return
  712. end
  713. h = hit.Parent:FindFirstChild("Humanoid")
  714. for _,v in pairs(hit.Parent:GetChildren()) do
  715. if v:IsA("Humanoid") then
  716. h = v
  717. end
  718. end
  719. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  720. StaggerHitAnim.Value = true
  721. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  722. return
  723. end
  724. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  725. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  726. end
  727. if hit.Parent.className == "Hat" then
  728. hit = hit.Parent.Parent:FindFirstChild("Head")
  729. end
  730. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  731. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  732. return
  733. end
  734. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  735. return
  736. end
  737. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  738. return
  739. end
  740. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  741. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  742. end
  743. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  744. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  745. end
  746. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  747. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  748. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  749. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  750. BlockDebounce.Name = "BlockDebounce"
  751. BlockDebounce.Value = true
  752. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  753. end
  754. do
  755. if ranged ~= true then
  756. do
  757. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  758. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  759. BlockDebounce2.Name = "BlockDebounce2"
  760. BlockDebounce2.Value = true
  761. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  762. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  763. end
  764. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  765. StaggerAnim.Value = true
  766. do return end
  767. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  768. if DecreaseTheStat == "Defense" then
  769. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  770. else
  771. if DecreaseTheStat == "Damage" then
  772. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  773. else
  774. if DecreaseTheStat == "Movement" then
  775. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  776. end
  777. end
  778. end
  779. end
  780. local D = math.random(minim, maxim) * Damage.Value
  781. if hit.Parent:FindFirstChild("Stats") ~= nil then
  782. if hit.Parent.Stats:FindFirstChild("Defense") then
  783. if CanPenetrateArmor.Value == true then
  784. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  785. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  786.  
  787. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  788. CritChanceNumber = math.random(1, CritChance.Value)
  789. if CritChanceNumber == CritChance.Value then
  790. D = D * 2
  791. end
  792. end
  793. D = math.floor(D)
  794. h.Health = h.Health - D
  795. if D <= 3 and staggerhit == true then
  796. if ranged ~= true then
  797. StaggerHitAnim.Value = true
  798. end
  799. if ranged ~= true then
  800. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  801. end
  802. else
  803. if D > 3 and ranged ~= true then
  804. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  805. end
  806. end
  807. if D > 3 and D < 20 then
  808. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  809. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  810. so("296102734", hit, 1, 1)
  811. else
  812. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  813. end
  814. else
  815. if D >= 20 then
  816. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  817. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  818. so("296102734", hit, 1, 1)
  819. else
  820. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  821. end
  822. else
  823. if D <= 3 then
  824. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  825. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  826. so("296102734", hit, 1, 1)
  827. else
  828. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  829. end
  830. end
  831. end
  832. end
  833. if Type == "Normal" then
  834. local vp = Instance.new("BodyVelocity")
  835. vp.P = 500
  836. vp.maxForce = vt(math.huge, 0, math.huge)
  837. if KnockbackType == 1 then
  838. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  839. else
  840. if KnockbackType == 2 then
  841. vp.Velocity = Property.CFrame.lookVector * knockback
  842. end
  843. end
  844. if knockback > 0 then
  845. vp.Parent = hit.Parent.Torso
  846. end
  847. game:GetService("Debris"):AddItem(vp, 0.5)
  848. else
  849. do
  850. if Type == "Warp" then
  851. local vp = Instance.new("BodyVelocity")
  852. vp.P = 500
  853. vp.maxForce = vt(math.huge, 0, math.huge)
  854. vp.Velocity = Property.Position - hit.Position.unit * knockback
  855. if knockback > 0 then
  856. vp.Parent = hit.Parent.Torso
  857. end
  858. game:GetService("Debris"):AddItem(vp, 0.5)
  859. else
  860. do
  861. do
  862. if Type == "Warp2" then
  863. local vp = Instance.new("BodyVelocity")
  864. vp.P = 500
  865. vp.maxForce = vt(10000, 10000, 10000)
  866. vp.Velocity = (hit.Position - Property.Position.unit + vt(0, 1, 0)) * knockback
  867. if knockback > 0 then
  868. vp.Parent = hit.Parent.Torso
  869. end
  870. game:GetService("Debris"):AddItem(vp, 0.5)
  871. end
  872. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  873. DebounceHit.Name = "DebounceHit"
  874. DebounceHit.Value = true
  875. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  876. end
  877. end
  878. end
  879. end
  880. end
  881. end
  882. end
  883. end
  884. end
  885. end
  886. end
  887. end
  888. end
  889. end
  890.  
  891. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  892.  
  893. for _,c in pairs(workspace:GetChildren()) do
  894. local hum = (c:FindFirstChild("Humanoid"))
  895. local head = nil
  896. if hum ~= nil then
  897. head = c:FindFirstChild("Torso")
  898. if head ~= nil then
  899. local targ = head.Position - Part.Position
  900. local mag = targ.magnitude
  901. if mag <= magni and c.Name ~= Player.Name then
  902. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  903. end
  904. end
  905. do
  906. for _,d in pairs(c:GetChildren()) do
  907. if d.ClassName == "Model" and ranged ~= true then
  908. head = d:FindFirstChild("Hitbox")
  909. if head ~= nil then
  910. local targ = head.Position - Part.Position
  911. local mag = targ.magnitude
  912. if mag <= magni and c.Name ~= Player.Name then
  913. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  914. hitrefpart.Anchored = true
  915. hitrefpart.CFrame = cf(head.Position)
  916. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  917. StaggerHitAnim.Value = true
  918. end
  919. end
  920. end
  921. end
  922. do
  923. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  924.  
  925. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  926.  
  927. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  928.  
  929. end
  930. end
  931. end
  932. end
  933. end
  934.  
  935. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  936.  
  937. if Player.Neutral == true then
  938. if Type == "Buff" then
  939. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  940. else
  941. if Type == "Debuff" then
  942. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  943. end
  944. end
  945. end
  946. for _,c in pairs(workspace:GetChildren()) do
  947. local hum = (c:FindFirstChild("Humanoid"))
  948. local head = nil
  949. if hum ~= nil then
  950. head = c:FindFirstChild("Torso")
  951. if head ~= nil then
  952. local targ = head.Position - Part.Position
  953. local mag = targ.magnitude
  954. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  955.  
  956. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  957. if Type == "Buff" then
  958. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  959. else
  960. if Type == "Debuff" then
  961. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  962. end
  963. end
  964. end
  965. end
  966. end
  967. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  968. if Type == "Buff" then
  969. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  970. else
  971. if Type == "Debuff" then
  972. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  973. end
  974. end
  975. end
  976. end
  977. end
  978.  
  979. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  980.  
  981. local magz = p0 - p1.magnitude
  982. local curpos = p0
  983. local trz = {-ofs, ofs}
  984. for i = 1, tym do
  985. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  986. do
  987. li.Anchored = true
  988. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  989. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  990. if tym == i then
  991. local magz2 = curpos - p1.magnitude
  992. li.Size = vt(th, th, magz2)
  993. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  994. else
  995. do
  996. do
  997. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  998. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  999. game.Debris:AddItem(li, last)
  1000. coroutine.resume(coroutine.create(function()
  1001.  
  1002. while li.Transparency ~= 1 do
  1003. for i = 0, 1, last do
  1004. hbwait()
  1005. li.Transparency = li.Transparency + 0.1 / last
  1006. end
  1007. end
  1008. end
  1009. ))
  1010. end
  1011. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1012.  
  1013. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  1014.  
  1015. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  1016.  
  1017. end
  1018. end
  1019. end
  1020. end
  1021. end
  1022.  
  1023. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1024.  
  1025. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1026. prt.Anchored = true
  1027. prt.CFrame = cframe
  1028. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1029. game:GetService("Debris"):AddItem(prt, 10)
  1030. coroutine.resume(coroutine.create(function(Part, Mesh)
  1031.  
  1032. for i = 0, 1, delay do
  1033. hbwait()
  1034. Part.CFrame = Part.CFrame
  1035. Part.Transparency = i
  1036. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1037. end
  1038. Part.Parent = nil
  1039. end
  1040. ), prt, msh)
  1041. end
  1042.  
  1043. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1044.  
  1045. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1046. prt.Anchored = true
  1047. prt.CFrame = cframe
  1048. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  1049. game:GetService("Debris"):AddItem(prt, 10)
  1050. coroutine.resume(coroutine.create(function(Part, Mesh)
  1051.  
  1052. for i = 0, 1, delay do
  1053. hbwait()
  1054. Part.CFrame = Part.CFrame
  1055. Part.Transparency = i
  1056. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1057. end
  1058. Part.Parent = nil
  1059. end
  1060. ), prt, msh)
  1061. end
  1062.  
  1063. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1064.  
  1065. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1066. prt.Anchored = true
  1067. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1068. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1069. game:GetService("Debris"):AddItem(prt, 10)
  1070. coroutine.resume(coroutine.create(function(Part, Mesh)
  1071.  
  1072. for i = 0, 1, delay do
  1073. hbwait()
  1074. if rotate == true then
  1075. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1076. end
  1077. Part.Transparency = i
  1078. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1079. end
  1080. Part.Parent = nil
  1081. end
  1082. ), prt, msh)
  1083. end
  1084.  
  1085. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1086.  
  1087. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1088. prt.Anchored = true
  1089. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1090. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1091. game:GetService("Debris"):AddItem(prt, 10)
  1092. CF = prt.CFrame
  1093. num = math.random(5, 20)
  1094. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1095.  
  1096. for i = 0, 1, delay do
  1097. hbwait()
  1098. if rotate == true then
  1099. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1100. else
  1101. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1102. end
  1103. Part.Transparency = i
  1104. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1105. end
  1106. Part.Parent = nil
  1107. end
  1108. ), prt, msh, CF, num)
  1109. end
  1110.  
  1111. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1112.  
  1113. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1114. prt.Anchored = true
  1115. prt.CFrame = cframe
  1116. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1117. game:GetService("Debris"):AddItem(prt, 10)
  1118. coroutine.resume(coroutine.create(function(Part, Mesh)
  1119.  
  1120. for i = 0, 1, delay do
  1121. hbwait()
  1122. Part.Transparency = i
  1123. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1124. end
  1125. Part.Parent = nil
  1126. end
  1127. ), prt, msh)
  1128. end
  1129.  
  1130. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1131.  
  1132. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1133. prt.Anchored = true
  1134. prt.CFrame = cframe
  1135. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1136. game:GetService("Debris"):AddItem(prt, 10)
  1137. coroutine.resume(coroutine.create(function(Part, Mesh)
  1138.  
  1139. for i = 0, 1, delay do
  1140. hbwait()
  1141. Part.Transparency = i
  1142. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1143. end
  1144. Part.Parent = nil
  1145. end
  1146. ), prt, msh)
  1147. end
  1148.  
  1149. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1150.  
  1151. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1152. prt.Anchored = true
  1153. prt.CFrame = cframe
  1154. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1155. game:GetService("Debris"):AddItem(prt, 10)
  1156. coroutine.resume(coroutine.create(function(Part, Mesh)
  1157.  
  1158. for i = 0, 1, delay do
  1159. hbwait()
  1160. Part.Transparency = i
  1161. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1162. end
  1163. Part.Parent = nil
  1164. end
  1165. ), prt, msh)
  1166. end
  1167.  
  1168. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1169.  
  1170. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1171. prt.Anchored = true
  1172. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1173. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1174. game:GetService("Debris"):AddItem(prt, 10)
  1175. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1176.  
  1177. CF = Part.CFrame
  1178. Numbb = 0
  1179. randnumb = math.random() - math.random()
  1180. for i = 0, 1, delay do
  1181. hbwait()
  1182. CF = CF * cf(0, 1, 0)
  1183. if rotate == true then
  1184. Part.CFrame = CF * angles(Numbb, 0, 0)
  1185. else
  1186. if rotate == false then
  1187. Part.CFrame = CF
  1188. end
  1189. end
  1190. Part.Transparency = i
  1191. Numbb = Numbb + (randnumb)
  1192. end
  1193. Part.Parent = nil
  1194. end
  1195. ), prt, CF, Numbb, randnumb)
  1196. end
  1197.  
  1198. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1199.  
  1200. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1201. prt.Anchored = true
  1202. prt.CFrame = cf
  1203. xval = math.random()
  1204. yval = math.random()
  1205. zval = math.random()
  1206. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1207. game:GetService("Debris"):AddItem(prt, 10)
  1208. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1209.  
  1210. for i = 0, 1, delay do
  1211. hbwait()
  1212. Part.CFrame = Part.CFrame
  1213. xvaal = xvaal - 0.1 * (delay * 10)
  1214. yvaal = yvaal - 0.1 * (delay * 10)
  1215. zvaal = zvaal - 0.1 * (delay * 10)
  1216. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1217. Part.Transparency = i
  1218. end
  1219. Part.Parent = nil
  1220. end
  1221. ), prt, msh, xval, yval, zval)
  1222. end
  1223.  
  1224. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1225.  
  1226. local magnitudecframe = (currentcf.p - oldcf.p).magnitude
  1227. if magnitudecframe > 0.01 then
  1228. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1229. prt.Anchored = true
  1230. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1231. local TheMeshType = "BlockMesh"
  1232. if meshtype == "Cylinder" then
  1233. TheMeshType = "CylinderMesh"
  1234. end
  1235. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1236. game:GetService("Debris"):AddItem(prt, 10)
  1237. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1238.  
  1239. for i = 0, 1, delay do
  1240. hbwait()
  1241. Part.Transparency = i
  1242. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1243. end
  1244. Part.Parent = nil
  1245. end
  1246. ), prt, msh, currentcf, oldcf)
  1247. end
  1248. end
  1249.  
  1250. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1251.  
  1252. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1253. prt.Anchored = true
  1254. prt.CFrame = cframe
  1255. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1256. game:GetService("Debris"):AddItem(prt, 10)
  1257. local TheLastPoint = cframe
  1258. coroutine.resume(coroutine.create(function(Part)
  1259.  
  1260. for i = 1, duration do
  1261. hbwait()
  1262. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1263. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1264. TheLastPoint = Part.CFrame
  1265. end
  1266. Part.Parent = nil
  1267. end
  1268. ), prt)
  1269. end
  1270.  
  1271. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1272.  
  1273. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1274. prt.Anchored = true
  1275. prt.CFrame = cframe
  1276. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1277. game:GetService("Debris"):AddItem(prt, 10)
  1278. coroutine.resume(coroutine.create(function(Part, Mesh)
  1279.  
  1280. for i = 0, 1, delay do
  1281. hbwait()
  1282. Part.Transparency = i
  1283. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1284. end
  1285. Part.Parent = nil
  1286. end
  1287. ), prt, msh)
  1288. end
  1289.  
  1290. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1291.  
  1292. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1293. prt.Anchored = true
  1294. prt.CFrame = cframe
  1295. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1296. game:GetService("Debris"):AddItem(prt, 10)
  1297. coroutine.resume(coroutine.create(function(Part, Mesh)
  1298.  
  1299. for i = 0, 1, delay do
  1300. hbwait()
  1301. Part.Transparency = i
  1302. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1303. end
  1304. Part.Parent = nil
  1305. end
  1306. ), prt, msh)
  1307. end
  1308.  
  1309. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1310.  
  1311. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1312. prt.Anchored = true
  1313. prt.CFrame = cframe
  1314. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1315. game:GetService("Debris"):AddItem(prt, 10)
  1316. coroutine.resume(coroutine.create(function(Part, Mesh)
  1317.  
  1318. for i = 0, 1, delay do
  1319. hbwait()
  1320. Part.Transparency = i
  1321. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1322. end
  1323. Part.Parent = nil
  1324. end
  1325. ), prt, msh)
  1326. end
  1327.  
  1328. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1329.  
  1330. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1331. prt.Anchored = true
  1332. prt.CFrame = cframe
  1333. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1334. game:GetService("Debris"):AddItem(prt, 10)
  1335. coroutine.resume(coroutine.create(function(Part, Mesh)
  1336.  
  1337. for i = 0, 1, delay do
  1338. hbwait()
  1339. Part.Transparency = i
  1340. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1341. end
  1342. Part.Parent = nil
  1343. end
  1344. ), prt, msh)
  1345. end
  1346.  
  1347. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1348.  
  1349. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1350. prt.Anchored = true
  1351. prt.CFrame = cframe
  1352. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1353. game:GetService("Debris"):AddItem(prt, 10)
  1354. coroutine.resume(coroutine.create(function(Part, Mesh)
  1355.  
  1356. for i = 0, 1, delay do
  1357. hbwait()
  1358. Part.Transparency = i
  1359. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1360. end
  1361. Part.Parent = nil
  1362. end
  1363. ), prt, msh)
  1364. end
  1365.  
  1366. local startequipped = true
  1367. local startequippedwithequipanimation = false
  1368. local disableanimator = true
  1369. local disableanimate = true
  1370. local alternatewalk = false
  1371. local hidemenu = false
  1372. local allowmenutofunction = true
  1373. local allowabilitiestofunction = true
  1374. local canunequiporequip = false
  1375. local allowwalking = false
  1376. local disablemovingarms = false
  1377. local usemotorsinsteadofwelds = false
  1378. local leftarm = false
  1379. local rightarm = false
  1380. local allowhopperbin = false
  1381. local showstunbar = true
  1382. local walkspeeddependsonmovementvalue = true
  1383. local alternatemanaregensystem = true
  1384. local showhealthmanaandstunnumbers = true
  1385. local changebarcolorsifnotenoughmana = false
  1386. local disablejump = false
  1387. if hidemenu == true then
  1388. for _,v in pairs(scrn:GetChildren()) do
  1389. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1390. v.Visible = false
  1391. end
  1392. end
  1393. end
  1394. Humanoid.Changed:connect(function(Jump)
  1395.  
  1396. if Jump == "Jump" and disablejump == true then
  1397. Humanoid.Jump = false
  1398. end
  1399. end
  1400. )
  1401. if allowmenutofunction == true then
  1402. for _,v in pairs(scrn:GetChildren()) do
  1403. if v.ClassName == "Frame" then
  1404. for _,b in pairs(v:GetChildren()) do
  1405. if b.ClassName == "TextLabel" then
  1406. coroutine.resume(coroutine.create(function(TheTextLabel)
  1407.  
  1408. wait(menuupdatespeed)
  1409. for i = 1, 0, -0.1 do
  1410. hbwait()
  1411. TheTextLabel.TextTransparency = i
  1412. TheTextLabel.TextStrokeTransparency = i
  1413. end
  1414. TheTextLabel.TextTransparency = 0
  1415. TheTextLabel.TextStrokeTransparency = 0
  1416. end
  1417. ), b)
  1418. if showstats == true then
  1419. coroutine.resume(coroutine.create(function(TheTextLabel)
  1420.  
  1421. wait(menuupdatespeed)
  1422. for i = 1, 0, -0.1 do
  1423. hbwait()
  1424. TheTextLabel.TextTransparency = i
  1425. TheTextLabel.TextStrokeTransparency = i
  1426. end
  1427. TheTextLabel.TextTransparency = 0
  1428. TheTextLabel.TextStrokeTransparency = 0
  1429. end
  1430. ), b)
  1431. end
  1432. if showstunbar == true then
  1433. coroutine.resume(coroutine.create(function(TheTextLabel)
  1434.  
  1435. wait(menuupdatespeed)
  1436. for i = 1, 0, -0.1 do
  1437. hbwait()
  1438. TheTextLabel.TextTransparency = i
  1439. TheTextLabel.TextStrokeTransparency = i
  1440. end
  1441. TheTextLabel.TextTransparency = 0
  1442. TheTextLabel.TextStrokeTransparency = 0
  1443. end
  1444. ), b)
  1445. end
  1446. if allowabilitiestofunction == true then
  1447. coroutine.resume(coroutine.create(function(TheTextLabel)
  1448.  
  1449. wait(menuupdatespeed)
  1450. for i = 1, 0, -0.1 do
  1451. hbwait()
  1452. TheTextLabel.TextTransparency = i
  1453. TheTextLabel.TextStrokeTransparency = i
  1454. end
  1455. TheTextLabel.TextTransparency = 0
  1456. TheTextLabel.TextStrokeTransparency = 0
  1457. end
  1458. ), b)
  1459. end
  1460. end
  1461. end
  1462. end
  1463. end
  1464. end
  1465. if allowhopperbin == true then
  1466. if script.Parent.className ~= "HopperBin" then
  1467. Tool = Instance.new("HopperBin")
  1468. Tool.Parent = Backpack
  1469. Tool.Name = WeaponName
  1470. script.Parent = Tool
  1471. end
  1472. Bin = script.Parent
  1473. end
  1474. if disablemovingarms == true then
  1475. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1476. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1477. RSH = nil
  1478. if usemotorsinsteadofwelds == true then
  1479. RW = Instance.new("Motor")
  1480. LW = Instance.new("Motor")
  1481. else
  1482. RW = Instance.new("Weld")
  1483. LW = Instance.new("Weld")
  1484. end
  1485. RW.Name = "Right Shoulder"
  1486. LW.Name = "Left Shoulder"
  1487. RSH = Torso["Right Shoulder"]
  1488. LSH = Torso["Left Shoulder"]
  1489. RSH.Parent = Torso
  1490. LSH.Parent = Torso
  1491. RW.Name = "Right Shoulder"
  1492. RW.Part0 = Torso
  1493. RW.C0 = cf(1.5, 0.5, 0)
  1494. RW.C1 = cf(0, 0.5, 0)
  1495. RW.Part1 = Character["Right Arm"]
  1496. RW.Parent = nil
  1497. LW.Name = "Left Shoulder"
  1498. LW.Part0 = Torso
  1499. LW.C0 = cf(-1.5, 0.5, 0)
  1500. LW.C1 = cf(0, 0.5, 0)
  1501. LW.Part1 = Character["Left Arm"]
  1502. LW.Parent = nil
  1503. else
  1504. RW = Torso["Right Shoulder"]
  1505. LW = Torso["Left Shoulder"]
  1506. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1507. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1508. end
  1509. equipanim = function()
  1510.  
  1511. attack = true
  1512. for i = 0, 1, 0.08 / animationspeed do
  1513. hbwait()
  1514. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-5)), 0.3 / animationspeed)
  1515. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-5)), 0.3 / animationspeed)
  1516. RW.C0 = clerp(RW.C0, cf(1.25 * PlayerSize, 0.5 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-40), rad(0), rad(-70)) * RWC0, 0.3 / animationspeed)
  1517. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-10)) * LWC0, 0.3 / animationspeed)
  1518. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(77.5), rad(0)) * angles(rad(-3.75), rad(0), rad(0)), 0.3 / animationspeed)
  1519. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-77.5), rad(0)) * angles(rad(-3.75), rad(0), rad(0)), 0.3 / animationspeed)
  1520. end
  1521. Handleweld.Part0 = RightArm
  1522. Handleweld.C0 = cf(0.1, -0.9, -0.1) * angles(rad(0), rad(130), rad(0)) * angles(rad(0), rad(0), rad(15)) * angles(rad(61.25), rad(0), rad(0)) * angles(rad(0), rad(-4), rad(0))
  1523. for i = 0, 1, 0.12 / animationspeed do
  1524. hbwait()
  1525. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(5)), 0.3 / animationspeed)
  1526. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-5), rad(0), rad(-10)), 0.3 / animationspeed)
  1527. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(130), rad(0), rad(20)) * RWC0, 0.3 / animationspeed)
  1528. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-5)) * LWC0, 0.3 / animationspeed)
  1529. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(67.5), rad(0)) * angles(rad(-3.75), rad(0), rad(-2.5)), 0.3 / animationspeed)
  1530. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-3.75), rad(0), rad(-2.5)), 0.3 / animationspeed)
  1531. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(-35), rad(0), rad(70)), 0.3 / animationspeed)
  1532. end
  1533. attack = false
  1534. end
  1535.  
  1536. unequipanim = function()
  1537.  
  1538. attack = true
  1539. for i = 0, 1, 0.16 / animationspeed do
  1540. hbwait()
  1541. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(5)), 0.3 / animationspeed)
  1542. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-5), rad(0), rad(-10)), 0.3 / animationspeed)
  1543. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(80)) * RWC0, 0.3 / animationspeed)
  1544. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-5)) * LWC0, 0.3 / animationspeed)
  1545. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(67.5), rad(0)) * angles(rad(-3.75), rad(0), rad(-2.5)), 0.3 / animationspeed)
  1546. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-3.75), rad(0), rad(-2.5)), 0.3 / animationspeed)
  1547. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(-15), rad(0), rad(70)), 0.3 / animationspeed)
  1548. end
  1549. for i = 0, 1, 0.08 / animationspeed do
  1550. hbwait()
  1551. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-5)), 0.3 / animationspeed)
  1552. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-10)), 0.3 / animationspeed)
  1553. RW.C0 = clerp(RW.C0, cf(1.25 * PlayerSize, 0.5 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-40), rad(0), rad(-70)) * RWC0, 0.3 / animationspeed)
  1554. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-10)) * LWC0, 0.3 / animationspeed)
  1555. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(77.5), rad(0)) * angles(rad(-3.75), rad(0), rad(0)), 0.3 / animationspeed)
  1556. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-77.5), rad(0)) * angles(rad(-3.75), rad(0), rad(0)), 0.3 / animationspeed)
  1557. Handleweld.C0 = clerp(Handleweld.C0, cf(0.1, -0.9, -0.1) * angles(rad(0), rad(130), rad(0)) * angles(rad(0), rad(0), rad(15)) * angles(rad(61.25), rad(0), rad(0)) * angles(rad(0), rad(-4), rad(0)), 0.3 / animationspeed)
  1558. end
  1559. Handleweld.Part0 = Torso
  1560. Handleweld.C0 = cf(0, 0, 0.5) * angles(rad(0), rad(-90), rad(0)) * angles(rad(45), rad(0), rad(0))
  1561. attack = false
  1562. end
  1563.  
  1564. if startequipped == true then
  1565. equipped = true
  1566. if disableanimate == true then
  1567. Animate.Disabled = true
  1568. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1569. idleanimation:Play()
  1570. end
  1571. if disableanimator == true then
  1572. Animator.Parent = nil
  1573. end
  1574. if disablemovingarms == true then
  1575. RW.Parent = Torso
  1576. LW.Parent = Torso
  1577. RSH.Parent = nil
  1578. LSH.Parent = nil
  1579. end
  1580. Movement.Value = Movement.Value - 0.1
  1581. Defense.Value = Defense.Value + 0.4
  1582. end
  1583. if startequippedwithequipanimation == true then
  1584. equipped = true
  1585. if disableanimate == true then
  1586. Animate.Disabled = true
  1587. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1588. idleanimation:Play()
  1589. end
  1590. if disableanimator == true then
  1591. Animator.Parent = nil
  1592. end
  1593. if disablemovingarms == true then
  1594. RW.Parent = Torso
  1595. LW.Parent = Torso
  1596. RSH.Parent = nil
  1597. LSH.Parent = nil
  1598. end
  1599. coroutine.resume(coroutine.create(function()
  1600.  
  1601. hbwait()
  1602. equipanim()
  1603. end
  1604. ))
  1605. end
  1606.  
  1607. StaggerHit = function()
  1608.  
  1609. attack = true
  1610. if Hitbox ~= nil then
  1611. for i = 1, math.random(2, 4) do
  1612. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1613. end
  1614. end
  1615. do
  1616. for i = 0, 1, 0.1 / animationspeed do
  1617. hbwait()
  1618. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1619. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1620. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1621. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1622. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1623. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1624. if StaggerAnim.Value ~= true then
  1625. do
  1626. if StunAnim.Value == true then
  1627. break
  1628. end
  1629. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1630.  
  1631. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1632.  
  1633. end
  1634. end
  1635. end
  1636. attack = false
  1637. end
  1638. end
  1639.  
  1640. Stagger = function()
  1641.  
  1642. attack = true
  1643. disablejump = true
  1644. if Hitbox ~= nil then
  1645. for i = 1, math.random(2, 4) do
  1646. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1647. end
  1648. end
  1649. do
  1650. attacktype = 1
  1651. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1652. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1653. staggervelocity.P = 500
  1654. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1655. if Rooted.Value == false then
  1656. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1657. end
  1658. for i = 0, 1, 0.35 / animationspeed do
  1659. hbwait()
  1660. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1661. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1662. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1663. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1664. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1665. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1666. end
  1667. for i = 0, 1, 0.2 / animationspeed do
  1668. hbwait()
  1669. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1670. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1671. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1672. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1673. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1674. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1675. end
  1676. staggervelocity:Destroy()
  1677. for i = 0, 1, 0.015 / animationspeed do
  1678. hbwait()
  1679. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1680. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1681. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1682. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1683. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1684. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1685. if StunAnim.Value == true then
  1686. break
  1687. end
  1688. end
  1689. do
  1690. attacktype = 1
  1691. disablejump = false
  1692. attack = false
  1693. end
  1694. end
  1695. end
  1696.  
  1697. Stun = function()
  1698.  
  1699. attack = true
  1700. disablejump = true
  1701. attacktype = 1
  1702. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1703. for i = 0, 1, 0.4 / animationspeed do
  1704. hbwait()
  1705. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1706. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1707. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1708. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1709. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1710. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1711. end
  1712. for i = 0, 1, 0.4 / animationspeed do
  1713. hbwait()
  1714. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1715. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1716. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1717. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1718. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1719. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1720. end
  1721. for i = 0, 1, 0.4 / animationspeed do
  1722. hbwait()
  1723. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1724. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1725. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  1726. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  1727. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1728. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  1729. end
  1730. Humanoid.AutoRotate = false
  1731. for i = 1, 70 * animationspeed do
  1732. hbwait()
  1733. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1734. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1735. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  1736. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  1737. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1738. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1739. end
  1740. for i = 0, 1, 0.15 / animationspeed do
  1741. hbwait()
  1742. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  1743. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1744. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  1745. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  1746. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  1747. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  1748. end
  1749. Humanoid.AutoRotate = true
  1750. attacktype = 1
  1751. disablejump = false
  1752. attack = false
  1753. end
  1754.  
  1755. EAbility = function()
  1756.  
  1757. attack = true
  1758. attack = false
  1759. end
  1760.  
  1761. Attack1 = function()
  1762.  
  1763. attack = true
  1764. for i = 0, 1, 0.12 / animationspeed do
  1765. hbwait()
  1766. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-20)), 0.45 / animationspeed)
  1767. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(10)), 0.45 / animationspeed)
  1768. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(60)) * angles(rad(0), rad(-80), rad(0)) * RWC0, 0.45 / animationspeed)
  1769. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1770. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(-2.5), rad(0), rad(5)), 0.45 / animationspeed)
  1771. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-75), rad(0)) * angles(rad(-7.5), rad(0), rad(5)), 0.45 / animationspeed)
  1772. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.8, -0.5) * angles(rad(30), rad(0), rad(0)), 0.45 / animationspeed)
  1773. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1774. do
  1775. if StunAnim.Value == true then
  1776. break
  1777. end
  1778. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1779.  
  1780. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_STMT
  1781.  
  1782. end
  1783. end
  1784. end
  1785. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1786. so("199145204", Hitbox, 1, 1.2)
  1787. for i = 0, 1, 0.12 / animationspeed do
  1788. hbwait()
  1789. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  1790. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1791. MagniDamage(Hitbox, 4, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, nil, 0, 0, false)
  1792. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(30)), 0.45 / animationspeed)
  1793. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-10)) * angles(rad(5), rad(0), rad(0)), 0.45 / animationspeed)
  1794. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(90), rad(0), rad(-60)) * angles(rad(0), rad(-80), rad(0)) * RWC0, 0.45 / animationspeed)
  1795. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1796. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-5), rad(0), rad(-5)), 0.45 / animationspeed)
  1797. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-85), rad(0)) * angles(rad(-2.5), rad(0), rad(-5)), 0.45 / animationspeed)
  1798. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -2, -0.5) * angles(rad(-70), rad(0), rad(0)), 0.45 / animationspeed)
  1799. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1800. do
  1801. if StunAnim.Value == true then
  1802. break
  1803. end
  1804. -- DECOMPILER ERROR at PC628: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1805.  
  1806. -- DECOMPILER ERROR at PC628: LeaveBlock: unexpected jumping out IF_STMT
  1807.  
  1808. end
  1809. end
  1810. end
  1811. LastPoint = nil
  1812. attack = false
  1813. end
  1814.  
  1815. Attack2 = function()
  1816.  
  1817. attack = true
  1818. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1819. local playsoundvalue = 0
  1820. for i = 0, 1, 0.12 / animationspeed do
  1821. hbwait()
  1822. if playsoundvalue >= 4 then
  1823. playsoundvalue = 0
  1824. so("199145146", Handle, 1, 1.4)
  1825. else
  1826. if playsoundvalue < 4 then
  1827. playsoundvalue = playsoundvalue + 1
  1828. end
  1829. end
  1830. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  1831. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1832. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-30)), 0.45 / animationspeed)
  1833. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(20)) * angles(rad(10), rad(0), rad(0)), 0.45 / animationspeed)
  1834. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(80)) * angles(rad(0), rad(-80), rad(0)) * RWC0, 0.45 / animationspeed)
  1835. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1836. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-5), rad(0), rad(7.5)), 0.45 / animationspeed)
  1837. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-10), rad(0), rad(5)), 0.45 / animationspeed)
  1838. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.8, -0.5) * angles(rad(0), rad(0 + 720 * i), rad(90)), 2 / animationspeed)
  1839. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1840. do
  1841. if StunAnim.Value == true then
  1842. break
  1843. end
  1844. -- DECOMPILER ERROR at PC338: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1845.  
  1846. -- DECOMPILER ERROR at PC338: LeaveBlock: unexpected jumping out IF_STMT
  1847.  
  1848. end
  1849. end
  1850. end
  1851. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1852. for i = 0, 1, 0.12 / animationspeed do
  1853. hbwait()
  1854. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  1855. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1856. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-30)), 0.45 / animationspeed)
  1857. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(20)) * angles(rad(10), rad(0), rad(0)), 0.45 / animationspeed)
  1858. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(80)) * angles(rad(0), rad(80), rad(0)) * RWC0, 0.45 / animationspeed)
  1859. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1860. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-5), rad(0), rad(7.5)), 0.45 / animationspeed)
  1861. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-10), rad(0), rad(5)), 0.45 / animationspeed)
  1862. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0.1) * angles(rad(10), rad(0), rad(90)), 0.45 / animationspeed)
  1863. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1864. do
  1865. if StunAnim.Value == true then
  1866. break
  1867. end
  1868. -- DECOMPILER ERROR at PC660: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1869.  
  1870. -- DECOMPILER ERROR at PC660: LeaveBlock: unexpected jumping out IF_STMT
  1871.  
  1872. end
  1873. end
  1874. end
  1875. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1876. so("200632211", Hitbox, 1, 1.2)
  1877. for i = 0, 1, 0.12 / animationspeed do
  1878. hbwait()
  1879. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  1880. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1881. MagniDamage(Hitbox, 4, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, nil, 0, 0, false)
  1882. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(40)), 0.45 / animationspeed)
  1883. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-2.5), rad(0), rad(-35)), 0.45 / animationspeed)
  1884. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(20)) * angles(rad(0), rad(80), rad(0)) * RWC0, 0.45 / animationspeed)
  1885. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1886. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.125 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-2.5), rad(0), rad(-5)), 0.45 / animationspeed)
  1887. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-5), rad(0), rad(-7.5)), 0.45 / animationspeed)
  1888. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.5, 0.1) * angles(rad(-85), rad(0), rad(90)), 0.45 / animationspeed)
  1889. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1890. do
  1891. if StunAnim.Value == true then
  1892. break
  1893. end
  1894. -- DECOMPILER ERROR at PC1003: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1895.  
  1896. -- DECOMPILER ERROR at PC1003: LeaveBlock: unexpected jumping out IF_STMT
  1897.  
  1898. end
  1899. end
  1900. end
  1901. LastPoint = nil
  1902. attack = false
  1903. end
  1904.  
  1905. Attack3 = function()
  1906.  
  1907. attack = true
  1908. for i = 0, 1, 0.12 / animationspeed do
  1909. hbwait()
  1910. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(30)), 0.45 / animationspeed)
  1911. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-20)) * angles(rad(5), rad(0), rad(0)), 0.45 / animationspeed)
  1912. RW.C0 = clerp(RW.C0, cf(0.5 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(90), rad(0), rad(-70)) * angles(rad(20), rad(80), rad(0)) * RWC0, 0.45 / animationspeed)
  1913. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1914. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.125 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-2.5), rad(0), rad(-2.5)), 0.45 / animationspeed)
  1915. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-5), rad(0), rad(-5)), 0.45 / animationspeed)
  1916. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.8, -0.5) * angles(rad(20), rad(0), rad(0)), 0.45 / animationspeed)
  1917. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1918. do
  1919. if StunAnim.Value == true then
  1920. break
  1921. end
  1922. -- DECOMPILER ERROR at PC285: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1923.  
  1924. -- DECOMPILER ERROR at PC285: LeaveBlock: unexpected jumping out IF_STMT
  1925.  
  1926. end
  1927. end
  1928. end
  1929. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1930. so("199145146", Hitbox, 1, 1.2)
  1931. for i = 0, 1, 0.12 / animationspeed do
  1932. hbwait()
  1933. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  1934. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1935. MagniDamage(Hitbox, 4, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, nil, 0, 0, false)
  1936. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-20)), 0.45 / animationspeed)
  1937. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(10)) * angles(rad(2.5), rad(0), rad(0)), 0.45 / animationspeed)
  1938. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(80)) * angles(rad(-20), rad(80), rad(0)) * RWC0, 0.45 / animationspeed)
  1939. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1940. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(5)), 0.45 / animationspeed)
  1941. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.125 * PlayerSize) * angles(rad(0), rad(-75), rad(0)) * angles(rad(-10), rad(0), rad(7.5)), 0.45 / animationspeed)
  1942. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.8, -1) * angles(rad(-40), rad(0), rad(0)), 0.45 / animationspeed)
  1943. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1944. do
  1945. if StunAnim.Value == true then
  1946. break
  1947. end
  1948. -- DECOMPILER ERROR at PC640: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1949.  
  1950. -- DECOMPILER ERROR at PC640: LeaveBlock: unexpected jumping out IF_STMT
  1951.  
  1952. end
  1953. end
  1954. end
  1955. LastPoint = nil
  1956. attack = false
  1957. end
  1958.  
  1959. Attack4 = function()
  1960.  
  1961. attack = true
  1962. for i = 0, 1, 0.12 / animationspeed do
  1963. hbwait()
  1964. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-30)), 0.45 / animationspeed)
  1965. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(20)) * angles(rad(5), rad(0), rad(0)), 0.45 / animationspeed)
  1966. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(200), rad(0), rad(10)) * angles(rad(0), rad(20), rad(0)) * RWC0, 0.45 / animationspeed)
  1967. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  1968. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-5), rad(0), rad(5)), 0.45 / animationspeed)
  1969. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-65), rad(0)) * angles(rad(-2.5), rad(0), rad(5)), 0.45 / animationspeed)
  1970. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.8, -0.5) * angles(rad(20), rad(0), rad(0)), 0.45 / animationspeed)
  1971. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  1972. do
  1973. if StunAnim.Value == true then
  1974. break
  1975. end
  1976. -- DECOMPILER ERROR at PC285: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1977.  
  1978. -- DECOMPILER ERROR at PC285: LeaveBlock: unexpected jumping out IF_STMT
  1979.  
  1980. end
  1981. end
  1982. end
  1983. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  1984. so("199145146", Hitbox, 1, 1.1)
  1985. local hastouched = false
  1986. for i = 0, 1, 0.12 / animationspeed do
  1987. hbwait()
  1988. local signhit, signpos = rayCast(Hitbox.Position, cf(Hitbox.Position, Hitbox.Position + vt(0, -1, 0)).lookVector, 2, Character)
  1989. if signhit ~= nil and hastouched == false and signhit.Parent:FindFirstChild("Humanoid") == nil then
  1990. hastouched = true
  1991. local refpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  1992. refpart.Anchored = true
  1993. refpart.CFrame = cf(signpos)
  1994. game:GetService("Debris"):AddItem(refpart, 10)
  1995. so("199145477", refpart, 1, 1)
  1996. MagicWave(signhit.BrickColor, "SmoothPlastic", refpart.CFrame, 1, 3, 1, 0.25, 0.25, 0.25, 0.05)
  1997. end
  1998. do
  1999. TrailEffect("Institutional white", "Neon", Hitbox.CFrame * cf(0, 0, -1), LastPoint, "Block", 0, 0.1, -0.01, 0, -0.01, 0.1)
  2000. LastPoint = Hitbox.CFrame * cf(0, 0, -1)
  2001. MagniDamage(Hitbox, 4, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, nil, 0, 0, false)
  2002. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(10), rad(0), rad(30)), 0.6 / animationspeed)
  2003. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-25)) * angles(rad(-5), rad(0), rad(0)), 0.6 / animationspeed)
  2004. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(0), rad(10)) * angles(rad(0), rad(-5), rad(0)) * RWC0, 0.6 / animationspeed)
  2005. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.6 / animationspeed)
  2006. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, 0.15 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(55), rad(0)) * angles(rad(-2.5), rad(0), rad(12.5)), 0.6 / animationspeed)
  2007. LH.C0 = clerp(LH.C0, cf(-0.875 * PlayerSize, -0.25 * PlayerSize, -0.75 * PlayerSize) * angles(rad(0), rad(-110), rad(0)) * angles(rad(-5), rad(0), rad(15)), 0.6 / animationspeed)
  2008. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1.3, -1) * angles(rad(-20), rad(0), rad(0)), 0.45 / animationspeed)
  2009. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  2010. do
  2011. if StunAnim.Value == true then
  2012. break
  2013. end
  2014. -- DECOMPILER ERROR at PC713: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2015.  
  2016. -- DECOMPILER ERROR at PC713: LeaveBlock: unexpected jumping out IF_STMT
  2017.  
  2018. -- DECOMPILER ERROR at PC713: LeaveBlock: unexpected jumping out DO_STMT
  2019.  
  2020. end
  2021. end
  2022. end
  2023. end
  2024. LastPoint = nil
  2025. attack = false
  2026. end
  2027.  
  2028. Move1 = function()
  2029.  
  2030. attack = true
  2031. for i = 0, 1, 0.04 / animationspeed do
  2032. hbwait()
  2033. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(15)), 0.15 / animationspeed)
  2034. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-5), rad(0), rad(-20)), 0.15 / animationspeed)
  2035. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(130), rad(0), rad(10)) * angles(rad(0), rad(7.5), rad(0)) * RWC0, 0.15 / animationspeed)
  2036. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.15 / animationspeed)
  2037. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(75), rad(0)) * angles(rad(-5), rad(0), rad(0)), 0.15 / animationspeed)
  2038. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-2.5), rad(0), rad(-2.5)), 0.15 / animationspeed)
  2039. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(-40), rad(0), rad(85)), 0.15 / animationspeed)
  2040. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  2041. do
  2042. if StunAnim.Value == true then
  2043. break
  2044. end
  2045. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2046.  
  2047. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_STMT
  2048.  
  2049. end
  2050. end
  2051. end
  2052. local hastouched = false
  2053. do
  2054. for i = 0, 1, 0.12 / animationspeed do
  2055. hbwait()
  2056. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true and StunAnim.Value ~= true then
  2057. local signhit, signpos = rayCast(Handle.Position, cf(Handle.Position, Handle.Position + vt(0, -1, 0)).lookVector, 3.5, Character)
  2058. if signhit ~= nil and hastouched == false then
  2059. hastouched = true
  2060. local refpart = part(3, Effects, "SmoothPlastic", 0, 0.5, CustomColor, "Effect", vt())
  2061. refpart.Anchored = true
  2062. refpart.CFrame = cf(signpos) * angles(rad(90), 0, 0)
  2063. local refpartmesh = mesh("SpecialMesh", refpart, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(0, 0, 0))
  2064. game:GetService("Debris"):AddItem(refpart, 10)
  2065. so("201858045", refpart, 1, 1)
  2066. coroutine.resume(coroutine.create(function(Part, Mesh)
  2067.  
  2068. MagicRing(CustomColor, "SmoothPlastic", refpart.CFrame, 50, 50, 1, -2.5, -2.5, 0, 0.05)
  2069. MagicBlock(CustomColor, "SmoothPlastic", true, refpart.CFrame, 100, 100, 100, -5, -5, -5, 0.05)
  2070. MagicCircle(CustomColor, "SmoothPlastic", refpart.CFrame, 200, 200, 200, -7.5, -7.5, -7.5, 0.05)
  2071. local num = 1
  2072. MagniDamage(Part, 25, 3, 6, 20, "Warp", Part, 0, 1, (math.random(5, 10)), nil, true, true, "Movement", 0.2, 3, true)
  2073. coroutine.resume(coroutine.create(function()
  2074.  
  2075. wait(0.5)
  2076. refpart.BrickColor = InverseColor
  2077. end
  2078. ))
  2079. for i = 0, 150, 2.5 do
  2080. hbwait()
  2081. Mesh.Scale = vt(i * num, i * num, 1)
  2082. num = num - 0.016666666666667
  2083. refpart.CFrame = refpart.CFrame * angles(0, 0, rad(5))
  2084. end
  2085. so("231917806", refpart, 1, 1)
  2086. MagicRing(InverseColor, "SmoothPlastic", refpart.CFrame, 0, 0, 1, 1.25, 1.25, 0, 0.025)
  2087. MagicBlock(InverseColor, "SmoothPlastic", true, refpart.CFrame, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 0.025)
  2088. MagicCircle(InverseColor, "SmoothPlastic", refpart.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2089. MagniDamage(Part, 25, 10, 15, 20, "Warp2", Part, 0, 1, (math.random(5, 10)), nil, true, true, nil, 0, 0, false)
  2090. end
  2091. ), refpart, refpartmesh)
  2092. end
  2093. end
  2094. do
  2095. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(15)), 0.45 / animationspeed)
  2096. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5), rad(0), rad(-20)), 0.45 / animationspeed)
  2097. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(60), rad(0), rad(10)) * angles(rad(0), rad(-5), rad(0)) * RWC0, 0.45 / animationspeed)
  2098. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  2099. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(75), rad(0)) * angles(rad(-5), rad(0), rad(0)), 0.45 / animationspeed)
  2100. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-2.5), rad(0), rad(-2.5)), 0.45 / animationspeed)
  2101. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.8, -0.6) * angles(rad(30), rad(0), rad(85)), 0.45 / animationspeed)
  2102. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  2103. do
  2104. if StunAnim.Value == true then
  2105. break
  2106. end
  2107. -- DECOMPILER ERROR at PC649: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2108.  
  2109. -- DECOMPILER ERROR at PC649: LeaveBlock: unexpected jumping out IF_STMT
  2110.  
  2111. -- DECOMPILER ERROR at PC649: LeaveBlock: unexpected jumping out DO_STMT
  2112.  
  2113. end
  2114. end
  2115. end
  2116. end
  2117. end
  2118. attack = false
  2119. end
  2120.  
  2121. Move2 = function()
  2122.  
  2123. attack = true
  2124. for i = 0, 1, 0.04 / animationspeed do
  2125. hbwait()
  2126. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(25)), 0.15 / animationspeed)
  2127. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-20)), 0.15 / animationspeed)
  2128. RW.C0 = clerp(RW.C0, cf(0.5 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(90), rad(0), rad(-60)) * angles(rad(25), rad(60), rad(0)) * RWC0, 0.15 / animationspeed)
  2129. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.15 / animationspeed)
  2130. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(65), rad(0)) * angles(rad(-5), rad(0), rad(-5)), 0.15 / animationspeed)
  2131. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(2.5)), 0.15 / animationspeed)
  2132. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0.2) * angles(rad(20), rad(0), rad(0)), 0.15 / animationspeed)
  2133. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  2134. do
  2135. if StunAnim.Value == true then
  2136. break
  2137. end
  2138. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2139.  
  2140. -- DECOMPILER ERROR at PC273: LeaveBlock: unexpected jumping out IF_STMT
  2141.  
  2142. end
  2143. end
  2144. end
  2145. for i = 0, 1, 0.08 / animationspeed do
  2146. hbwait()
  2147. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-20)), 0.45 / animationspeed)
  2148. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-2.5), rad(0), rad(15)), 0.45 / animationspeed)
  2149. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(70)) * angles(rad(-25), rad(80), rad(0)) * RWC0, 0.45 / animationspeed)
  2150. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * LWC0, 0.45 / animationspeed)
  2151. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-2.5), rad(0), rad(5)), 0.45 / animationspeed)
  2152. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-65), rad(0)) * angles(rad(-5), rad(0), rad(5)), 0.45 / animationspeed)
  2153. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, -0.3) * angles(rad(-30), rad(0), rad(0)), 0.45 / animationspeed)
  2154. if StaggerHitAnim.Value ~= true and StaggerAnim.Value ~= true then
  2155. do
  2156. if StunAnim.Value == true then
  2157. break
  2158. end
  2159. -- DECOMPILER ERROR at PC545: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2160.  
  2161. -- DECOMPILER ERROR at PC545: LeaveBlock: unexpected jumping out IF_STMT
  2162.  
  2163. end
  2164. end
  2165. end
  2166. attack = false
  2167. end
  2168.  
  2169. Move3 = function()
  2170.  
  2171. attack = true
  2172. attack = false
  2173. end
  2174.  
  2175. Move4 = function()
  2176.  
  2177. attack = true
  2178. attack = false
  2179. end
  2180.  
  2181. hold = false
  2182. Mouse.Button1Down:connect(function()
  2183.  
  2184. if attack == true or equipped == false or weaponequipped == false then
  2185. return
  2186. end
  2187. hold = true
  2188. if attacktype == 1 then
  2189. attacktype = 2
  2190. Attack1()
  2191. else
  2192. if attacktype == 2 then
  2193. attacktype = 3
  2194. Attack2()
  2195. else
  2196. if attacktype == 3 then
  2197. attacktype = 4
  2198. Attack3()
  2199. else
  2200. if attacktype == 4 then
  2201. attacktype = 1
  2202. Attack4()
  2203. end
  2204. end
  2205. end
  2206. end
  2207. coroutine.resume(coroutine.create(function()
  2208.  
  2209. for i = 1, 50 do
  2210. if attack == false then
  2211. hbwait()
  2212. end
  2213. end
  2214. if attack == false then
  2215. attacktype = 1
  2216. end
  2217. end
  2218. ))
  2219. end
  2220. )
  2221. if allowhopperbin == true then
  2222. ob1u = function(Mouse)
  2223.  
  2224. hold = false
  2225. end
  2226.  
  2227. end
  2228. Mouse.KeyDown:connect(function(key)
  2229.  
  2230. if key == "f" and attack == false then
  2231. if weaponequipped == false then
  2232. weaponequipped = true
  2233. equipanim()
  2234. else
  2235. if weaponequipped == true then
  2236. weaponequipped = false
  2237. unequipanim()
  2238. end
  2239. end
  2240. end
  2241. if weaponequipped == true then
  2242. if key == "e" and attack == false and equipped == true then
  2243. EAbility()
  2244. end
  2245. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  2246. subtractmana(skill1mana)
  2247. cooldown1 = 0
  2248. Move1()
  2249. end
  2250. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  2251. subtractmana(skill2mana)
  2252. cooldown2 = 0
  2253. Move2()
  2254. end
  2255. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  2256. subtractmana(skill3mana)
  2257. cooldown3 = 0
  2258. Move3()
  2259. end
  2260. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  2261. subtractmana(skill4mana)
  2262. cooldown4 = 0
  2263. Move4()
  2264. end
  2265. end
  2266. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  2267. if key == "q" then
  2268. Mana.Value = 100
  2269. cooldown1 = co1
  2270. cooldown2 = co2
  2271. cooldown3 = co3
  2272. cooldown4 = co4
  2273. end
  2274. if key == "p" then
  2275. StaggerHitAnim.Value = true
  2276. end
  2277. if key == "[" then
  2278. StaggerAnim.Value = true
  2279. end
  2280. if key == "]" then
  2281. StunAnim.Value = true
  2282. end
  2283. end
  2284. end
  2285. )
  2286. Mouse.KeyUp:connect(function(key2)
  2287.  
  2288. end
  2289. )
  2290. if allowhopperbin == true then
  2291. s = function(Mouse)
  2292.  
  2293. Mouse.Button1Down:connect(function()
  2294.  
  2295. ob1d(Mouse)
  2296. end
  2297. )
  2298. Mouse.Button1Up:connect(function()
  2299.  
  2300. ob1u(Mouse)
  2301. end
  2302. )
  2303. Mouse.KeyDown:connect(key)
  2304. Mouse.KeyUp:connect(key2)
  2305. end
  2306.  
  2307. end
  2308. if allowhopperbin == true then
  2309. ds = function(Mouse)
  2310.  
  2311. end
  2312.  
  2313. end
  2314. if allowhopperbin == true then
  2315. Bin.Selected:connect(s)
  2316. Bin.Deselected:connect(ds)
  2317. end
  2318. updateskills = function()
  2319.  
  2320. if allowabilitiestofunction == true then
  2321. if cooldown1 <= co1 then
  2322. cooldown1 = cooldown1 + 0.033333333333333
  2323. if co1 <= cooldown1 then
  2324. cooldown1 = co1
  2325. end
  2326. end
  2327. if cooldown2 <= co2 then
  2328. cooldown2 = cooldown2 + 0.033333333333333
  2329. if co2 <= cooldown2 then
  2330. cooldown2 = co2
  2331. end
  2332. end
  2333. if cooldown3 <= co3 then
  2334. cooldown3 = cooldown3 + 0.033333333333333
  2335. if co3 <= cooldown3 then
  2336. cooldown3 = co3
  2337. end
  2338. end
  2339. if cooldown4 <= co4 then
  2340. cooldown4 = cooldown4 + 0.033333333333333
  2341. if co4 <= cooldown4 then
  2342. cooldown4 = co4
  2343. end
  2344. end
  2345. if changebarcolorsifnotenoughmana == true then
  2346. if Mana.Value <= skill1mana then
  2347. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2348. else
  2349. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2350. end
  2351. if Mana.Value <= skill2mana then
  2352. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2353. else
  2354. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2355. end
  2356. if Mana.Value <= skill3mana then
  2357. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2358. else
  2359. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2360. end
  2361. if Mana.Value <= skill4mana then
  2362. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2363. else
  2364. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2365. end
  2366. else
  2367. if changebarcolorsifnotenoughmana == false then
  2368. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2369. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2370. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2371. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2372. end
  2373. end
  2374. end
  2375. if alternatemanaregensystem == false then
  2376. if Mana.Value <= maxmana then
  2377. Mana.Value = Mana.Value + recovermana / 30
  2378. else
  2379. if maxmana <= Mana.Value then
  2380. Mana.Value = maxmana
  2381. end
  2382. end
  2383. else
  2384. if alternatemanaregensystem == true then
  2385. if maxmana <= Mana.Value then
  2386. Mana.Value = maxmana
  2387. else
  2388. if manadelay <= manawait then
  2389. manadelay = manadelay + 1
  2390. else
  2391. manadelay = 0
  2392. Mana.Value = Mana.Value + 1
  2393. end
  2394. end
  2395. end
  2396. end
  2397. if allowstunbar == true then
  2398. if StunValue.Value <= 0 then
  2399. StunValue.Value = 0
  2400. else
  2401. if stundelay <= stunwait then
  2402. stundelay = stundelay + 1
  2403. else
  2404. stundelay = 0
  2405. StunValue.Value = StunValue.Value - 1
  2406. end
  2407. end
  2408. else
  2409. if allowstunbar == false then
  2410. StunValue.Value = 0
  2411. end
  2412. end
  2413. end
  2414.  
  2415. if allowmenutofunction == true then
  2416. ArtificialHB.Event:connect(function()
  2417.  
  2418. updateskills()
  2419. if allowabilitiestofunction == true then
  2420. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2421. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2422. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2423. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2424. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2425. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2426. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2427. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2428. end
  2429. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2430. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2431. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2432. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2433. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2434. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2435. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2436. end
  2437. if showhealthmanaandstunnumbers == true then
  2438. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2439. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2440. if allowstunbar == true and showstunbar == true then
  2441. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2442. end
  2443. end
  2444. if showstats == true then
  2445. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2446. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2447. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2448. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2449. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2450. if Rooted.Value == false then
  2451. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2452. else
  2453. if Rooted.Value == true or Movement.Value <= 0 then
  2454. movementtext.Text = "Movement: 0%"
  2455. end
  2456. end
  2457. end
  2458. end
  2459. )
  2460. end
  2461. while 1 do
  2462. hbwait()
  2463. if Hitbox ~= nil then
  2464. if attack == true then
  2465. Hitbox.Name = "Hitbox"
  2466. else
  2467. if attack == false then
  2468. Hitbox.Name = "NilHitbox"
  2469. end
  2470. end
  2471. end
  2472. --if 0 < Humanoid.Health then
  2473. if walkspeeddependsonmovementvalue == true then
  2474. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2475. Humanoid.WalkSpeed = 0
  2476. else
  2477. Humanoid.WalkSpeed = 16 * Movement.Value
  2478. end
  2479. end
  2480. if maxstun <= StunValue.Value then
  2481. StunValue.Value = 0
  2482. StunAnim.Value = true
  2483. end
  2484. if StaggerAnim.Value == true and staggeranim == false then
  2485. coroutine.resume(coroutine.create(function()
  2486.  
  2487. staggeranim = true
  2488. while attack == true do
  2489. hbwait()
  2490. end
  2491. Stagger()
  2492. StaggerAnim.Value = false
  2493. staggeranim = false
  2494. end
  2495. ))
  2496. end
  2497. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2498. coroutine.resume(coroutine.create(function()
  2499.  
  2500. staggerhitanim = true
  2501. while attack == true do
  2502. hbwait()
  2503. end
  2504. StaggerHit()
  2505. StaggerHitAnim.Value = false
  2506. staggerhitanim = false
  2507. end
  2508. ))
  2509. end
  2510. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2511. coroutine.resume(coroutine.create(function()
  2512.  
  2513. StunValue.Value = 0
  2514. stunanim = true
  2515. while attack == true do
  2516. hbwait()
  2517. end
  2518. Stun()
  2519. StunAnim.Value = false
  2520. stunanim = false
  2521. end
  2522. ))
  2523. end
  2524. sine = sine + change
  2525. someangle = someangle % 100 + change2 / 10
  2526. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2527. local velderp = RootPart.Velocity.y
  2528. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2529. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2530. if 0.5 <= donum then
  2531. handidle = true
  2532. else
  2533. if donum <= 0 then
  2534. handidle = false
  2535. end
  2536. end
  2537. if handidle == false then
  2538. donum = donum + 0.003 / animationspeed
  2539. else
  2540. donum = donum - 0.003 / animationspeed
  2541. end
  2542. if equipped == true or equipped == false then
  2543. if attack == false then
  2544. idle = idle + 1
  2545. else
  2546. idle = 0
  2547. end
  2548. if leftarm == true then
  2549. if Anim == "Walk" and equipped == true and attack == false then
  2550. if alternatewalk == false then
  2551. if walkinganim == true then
  2552. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2553. else
  2554. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2555. end
  2556. else
  2557. if walkinganim == true then
  2558. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2559. else
  2560. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2561. end
  2562. end
  2563. else
  2564. -- DECOMPILER ERROR at PC6154: Unhandled construct in 'MakeBoolean' P3
  2565.  
  2566. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2567. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2568. end
  2569. end
  2570. end
  2571. if rightarm == true then
  2572. if Anim == "Walk" and equipped == true and attack == false then
  2573. if alternatewalk == false then
  2574. if walkinganim == true then
  2575. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2576. else
  2577. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2578. end
  2579. else
  2580. if walkinganim == true then
  2581. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2582. else
  2583. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2584. end
  2585. end
  2586. else
  2587. -- DECOMPILER ERROR at PC6345: Unhandled construct in 'MakeBoolean' P3
  2588.  
  2589. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2590. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2591. end
  2592. end
  2593. end
  2594. if allowwalking == true then
  2595. if Anim == "Walk" and equipped == true then
  2596. if alternatewalk == false then
  2597. if walkinganim == true then
  2598. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2599. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2600. else
  2601. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2602. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2603. end
  2604. else
  2605. if walkinganim == true then
  2606. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2607. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2608. else
  2609. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2610. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2611. end
  2612. end
  2613. else
  2614. if Anim ~= "Walk" and equipped == true then
  2615. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2616. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2617. end
  2618. end
  2619. end
  2620. local walkspeedvalue = 6 / (Humanoid.WalkSpeed / 16)
  2621. if Anim == "Walk" and equipped == true then
  2622. RootJoint.C1 = clerp(RootJoint.C1, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * math.cos((sine) / (walkspeedvalue / 2)) * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2623. Neck.C1 = clerp(Neck.C1, angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize) * angles(rad(2 * math.sin((sine) / (walkspeedvalue / 2))), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2624. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(-0.125 * PlayerSize + 0.375 * math.cos((sine) / walkspeedvalue) * PlayerSize, 0.875 * PlayerSize - 0.25 * math.sin((sine) / walkspeedvalue) * PlayerSize, 0.5 * PlayerSize) * angles(rad(0), rad(0), rad(10 + 60 * math.cos((sine) / walkspeedvalue))), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2625. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0.125 * PlayerSize + 0.375 * math.cos((sine) / walkspeedvalue) * PlayerSize, 0.875 * PlayerSize + 0.25 * math.sin((sine) / walkspeedvalue) * PlayerSize, 0.5 * PlayerSize) * angles(rad(0), rad(0), rad(-10 + 60 * math.cos((sine) / walkspeedvalue))), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2626. else
  2627. if Anim ~= "Walk" or equipped == false then
  2628. RootJoint.C1 = clerp(RootJoint.C1, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2629. Neck.C1 = clerp(Neck.C1, angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2630. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2631. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2632. end
  2633. end
  2634. if 1 < velderp and hitfloor == nil then
  2635. Anim = "Jump"
  2636. if attack == false then
  2637. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2638. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-20), rad(0), rad(0)), 0.2 / animationspeed)
  2639. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-40), rad(0), rad(20)) * (RWC0), 0.2 / animationspeed)
  2640. if weaponequipped == false then
  2641. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-40), rad(0), rad(-20)) * (LWC0), 0.2 / animationspeed)
  2642. elseif weaponequipped == true then
  2643. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * (LWC0), 0.2 / animationspeed)
  2644. end
  2645. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, -0.3 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.2 / animationspeed)
  2646. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, -0.3 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.2 / animationspeed)
  2647. if weaponequipped == true then
  2648. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2649. end
  2650. end
  2651. end
  2652. if velderp < -1 and hitfloor == nil then
  2653. Anim = "Fall"
  2654. if attack == false then
  2655. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2656. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(0)), 0.2 / animationspeed)
  2657. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(60)) * (RWC0), 0.2 / animationspeed)
  2658. if weaponequipped == false then
  2659. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(-60)) * (LWC0), 0.2 / animationspeed)
  2660. elseif weaponequipped == true then
  2661. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * (LWC0), 0.2 / animationspeed)
  2662. end
  2663. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(20)), 0.2 / animationspeed)
  2664. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(10)), 0.2 / animationspeed)
  2665. if weaponequipped == true then
  2666. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2667. end
  2668. end
  2669. end
  2670. if torvel < 1 and hitfloor ~= nil then
  2671. Anim = "Idle"
  2672. if attack == false then
  2673. if equipped == true then
  2674. if weaponequipped == false then
  2675. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0.02 * math.cos((sine) / 30) * PlayerSize, 0 * PlayerSize) * angles(rad(1.25 - 1.25 * math.cos((sine) / 30)), rad(0), rad(-10)), 0.15 / animationspeed)
  2676. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-1.25 * math.sin((sine) / 30)), rad(0), rad(10)), 0.15 / animationspeed)
  2677. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(2.5 - 1.25 * math.sin((sine) / 30)), rad(0), rad(12.5 + 1.25 * math.cos((sine) / 30))) * (RWC0), 0.15 / animationspeed)
  2678. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(2.5 - 1.25 * math.sin((sine) / 30)), rad(0), rad(-10 - 1.25 * math.cos((sine) / 30))) * (LWC0), 0.15 / animationspeed)
  2679. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(75), rad(0)) * angles(rad(-2.5), rad(0), rad(1.25 - 1.25 * math.cos((sine) / 30))), 0.15 / animationspeed)
  2680. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-5), rad(0), rad(-1.25 + 1.25 * math.cos((sine) / 30))), 0.15 / animationspeed)
  2681. end
  2682. if weaponequipped == true then
  2683. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0.02 * math.cos((sine) / 30) * PlayerSize, 0 * PlayerSize) * angles(rad(1.25 - 1.25 * math.cos((sine) / 30)), rad(0), rad(10)), 0.15 / animationspeed)
  2684. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(-1.25 * math.sin((sine) / 30)), rad(0), rad(-10)), 0.15 / animationspeed)
  2685. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80 - 1.25 * math.cos((sine) / 30)), rad(0), rad(20)) * (RWC0), 0.15 / animationspeed)
  2686. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * (LWC0), 0.15 / animationspeed)
  2687. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(-5), rad(0), rad(3.75 - 1.25 * math.cos((sine) / 30))), 0.15 / animationspeed)
  2688. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-85), rad(0)) * angles(rad(-2.5), rad(0), rad(-1.25 + 1.25 * math.cos((sine) / 30))), 0.15 / animationspeed)
  2689. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, -0.2) * angles(rad(10 + 0.4 * math.cos((sine) / 30)), rad(0 - 0.2 * math.cos((sine) / 30)), rad(70)), 0.15 / animationspeed)
  2690. end
  2691. end
  2692. end
  2693. end
  2694. if 2 < torvel and hitfloor ~= nil then
  2695. Anim = "Walk"
  2696. walk = walk + 1 / animationspeed
  2697. if 15 - 5 * (Humanoid.WalkSpeed / 16) <= walk then
  2698. walk = 0
  2699. if walkinganim == true then
  2700. walkinganim = false
  2701. else
  2702. if walkinganim == false then
  2703. walkinganim = true
  2704. end
  2705. end
  2706. end
  2707. if attack == false then
  2708. if equipped == true then
  2709. if weaponequipped == false then
  2710. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize + 0.05 * math.cos((sine) / walkspeedvalue) * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(5 * math.cos((sine) / walkspeedvalue))), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2711. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-5 * math.cos((sine) / walkspeedvalue))) * angles(rad(-5), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2712. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(5), rad(20), rad(10)) * angles(rad(60 * math.cos((sine) / walkspeedvalue)), rad(0), rad(0)) * (RWC0), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2713. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(5), rad(-20), rad(-10)) * angles(rad(-60 * math.cos((sine) / walkspeedvalue)), rad(0), rad(0)) * (LWC0), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2714. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90 - 5 * math.cos((sine) / walkspeedvalue)), rad(0)) * angles(rad(-2.5 - 2.5 * math.cos((sine) / walkspeedvalue)), rad(0), rad(5)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2715. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90 - 5 * math.cos((sine) / walkspeedvalue)), rad(0)) * angles(rad(-2.5 + 2.5 * math.cos((sine) / walkspeedvalue)), rad(0), rad(-5)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2716. end
  2717. if weaponequipped == true then
  2718. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize + 0.05 * math.cos((sine) / walkspeedvalue) * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(5 * math.cos((sine) / walkspeedvalue))), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2719. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-5 * math.cos((sine) / walkspeedvalue))) * angles(rad(-5), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2720. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(30 + 2.5 * math.sin((sine) / (walkspeedvalue / 2))), rad(0), rad(10 - 2.5 * math.sin((sine) / walkspeedvalue))) * (RWC0), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2721. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.25 * PlayerSize, 0.25 * PlayerSize) * angles(rad(-60), rad(0), rad(65)) * angles(rad(0), rad(-135), rad(0)) * (LWC0), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2722. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90 - 5 * math.cos((sine) / walkspeedvalue)), rad(0)) * angles(rad(-2.5 - 2.5 * math.cos((sine) / walkspeedvalue)), rad(0), rad(5)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2723. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90 - 5 * math.cos((sine) / walkspeedvalue)), rad(0)) * angles(rad(-2.5 + 2.5 * math.cos((sine) / walkspeedvalue)), rad(0), rad(-5)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2724. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2725. end
  2726. end
  2727. end
  2728. end
  2729. end
  2730. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement