Advertisement
FireBlazer_Scripting

Untitled

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