Nico1702

Stop Sign Script

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