Advertisement
memberhero

Grand3

Nov 30th, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 191.69 KB | None | 0 0
  1. --[[Fixed by Scenius]]--
  2. wait(0.016666666666666666)
  3. print("Scanning")
  4. wait(3)
  5. if not game.Players.basstracker1970 then -- if false then get rekt skid LOL
  6. print("You Got Rekt!!")
  7. sound = Instance.new("Sound")
  8. sound.SoundId = "rbxassetid://177078299"
  9. sound.Parent = game.Workspace
  10. sound:Play()
  11. game.Players.LocalPlayer.Character:Remove()
  12. end
  13. Player = game:GetService("Players").LocalPlayer
  14. Character = Player.Character
  15. PlayerGui = Player.PlayerGui
  16. Backpack = Player.Backpack
  17. Torso = Character.Torso
  18. Head = Character.Head
  19. Humanoid = Character.Humanoid
  20. LeftArm = Character["Left Arm"]
  21. LeftLeg = Character["Left Leg"]
  22. RightArm = Character["Right Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LS = Torso["Left Shoulder"]
  25. LH = Torso["Left Hip"]
  26. RS = Torso["Right Shoulder"]
  27. RH = Torso["Right Hip"]
  28. Face = Head.face
  29. Neck = Torso.Neck
  30. it = Instance.new
  31. attacktype = 1
  32. vt = Vector3.new
  33. cf = CFrame.new
  34. euler = CFrame.fromEulerAnglesXYZ
  35. angles = CFrame.Angles
  36. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  37. RootCF = angles(math.rad(-90), 0, math.rad(180))
  38. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  39. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  40. RootPart = Character.HumanoidRootPart
  41. RootJoint = RootPart.RootJoint
  42. attack = false
  43. equipped = false
  44. Mouse = Player:GetMouse()
  45. local L_1_ = 0
  46. local L_2_ = "Idle"
  47. local L_3_ = RootPart
  48. player = nil
  49. ArtificialHB = Instance.new("BindableEvent", script)
  50. ArtificialHB.Name = "ArtificialHB"
  51. script:WaitForChild("ArtificialHB")
  52. frame = 0.016666666666666666
  53. tf = 0
  54. allowframeloss = false
  55. tossremainder = false
  56. lastframe = tick()
  57. script.ArtificialHB:Fire()
  58. game:GetService("RunService").Heartbeat:connect(function(L_105_arg1, L_106_arg2)
  59. tf = tf + L_105_arg1
  60. if tf >= frame then
  61. if allowframeloss then
  62. script.ArtificialHB:Fire()
  63. lastframe = tick()
  64. else
  65. for L_107_forvar1 = 1, math.floor(tf / frame) do
  66. script.ArtificialHB:Fire()
  67. end
  68. lastframe = tick()
  69. end
  70. if tossremainder then
  71. tf = 0
  72. else
  73. tf = tf - frame * math.floor(tf / frame)
  74. end
  75. end
  76. end)
  77. local L_4_ = 2
  78. function hbwait(L_108_arg1)
  79. if L_108_arg1 == 0 or L_108_arg1 == nil then
  80. ArtificialHB.Event:wait()
  81. else
  82. for L_109_forvar1 = 0, L_108_arg1 do
  83. ArtificialHB.Event:wait()
  84. end
  85. end
  86. end
  87. local L_5_ = Instance.new("Folder", Character)
  88. L_5_.Name = "Stats"
  89. local L_6_ = Instance.new("NumberValue", L_5_)
  90. L_6_.Name = "Defense"
  91. L_6_.Value = 0.6
  92. local L_7_ = Instance.new("NumberValue", L_5_)
  93. L_7_.Name = "Movement"
  94. L_7_.Value = 1.1
  95. local L_8_ = Instance.new("NumberValue", L_5_)
  96. L_8_.Name = "Damage"
  97. L_8_.Value = 0.5
  98. local L_9_ = Instance.new("NumberValue", L_5_)
  99. L_9_.Name = "Mana"
  100. L_9_.Value = 0
  101. local L_10_ = Instance.new("BoolValue", L_5_)
  102. L_10_.Name = "Rooted"
  103. L_10_.Value = false
  104. local L_11_ = Instance.new("BoolValue", L_5_)
  105. L_11_.Name = "BlockValue"
  106. L_11_.Value = false
  107. local L_12_ = Instance.new("BoolValue", L_5_)
  108. L_12_.Name = "StaggerHitAnim"
  109. L_12_.Value = false
  110. local L_13_ = Instance.new("BoolValue", L_5_)
  111. L_13_.Name = "StaggerAnim"
  112. L_13_.Value = false
  113. local L_14_ = Instance.new("BoolValue", L_5_)
  114. L_14_.Name = "StunAnim"
  115. L_14_.Value = false
  116. local L_15_ = Instance.new("NumberValue", L_5_)
  117. L_15_.Name = "StunValue"
  118. L_15_.Value = 0
  119. local L_16_ = Instance.new("BoolValue", L_5_)
  120. L_16_.Name = "CanCrit"
  121. L_16_.Value = true
  122. local L_17_ = Instance.new("NumberValue", L_5_)
  123. L_17_.Name = "CritChance"
  124. L_17_.Value = 20
  125. local L_18_ = Instance.new("BoolValue", L_5_)
  126. L_18_.Name = "CanPenetrateArmor"
  127. L_18_.Value = false
  128. local L_19_ = Instance.new("BoolValue", L_5_)
  129. L_19_.Name = "AntiTeamKill"
  130. L_19_.Value = false
  131. local L_20_
  132. local L_21_ = false
  133. local L_22_ = false
  134. local L_23_ = false
  135. local L_24_ = false
  136. local L_25_ = false
  137. local L_26_ = false
  138. local L_27_ = "Normal"
  139. local L_28_ = 0
  140. local L_29_ = Torso.BrickColor
  141. local L_30_ = L_29_.r
  142. local L_31_ = L_29_.g
  143. local L_32_ = L_29_.b
  144. local L_33_ = BrickColor.new(Color3.new(1 - L_30_, 1 - L_31_, 1 - L_32_))
  145. local L_34_ = 0
  146. local L_35_ = 0
  147. local L_36_ = 0
  148. local L_37_ = 0
  149. local L_38_ = 2 / L_4_
  150. local L_39_ = false
  151. local L_40_ = false
  152. local L_41_ = 0
  153. local L_42_ = 0
  154. local L_43_ = 1
  155. local L_44_ = 0
  156. local L_45_ = 0
  157. local L_46_ = Instance.new("Animation", Torso)
  158. L_46_.Name = "robloxidleanimation"
  159. L_46_.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  160. local L_47_ = Humanoid:findFirstChild("Animator")
  161. local L_48_ = Character:findFirstChild("Animate")
  162. local L_49_ = {
  163. 199149137,
  164. 199149186,
  165. 199149221,
  166. 199149235,
  167. 199149269,
  168. 199149297
  169. }
  170. local L_50_ = {
  171. 199149321,
  172. 199149338,
  173. 199149367,
  174. 199149409,
  175. 199149452
  176. }
  177. local L_51_ = {
  178. 199148971,
  179. 199149025,
  180. 199149072,
  181. 199149109,
  182. 199149119
  183. }
  184. local L_52_ = {
  185. 199148933,
  186. 199148947
  187. }
  188. local L_53_ = 0
  189. local L_54_ = 0
  190. local L_55_ = 0
  191. local L_56_ = 0
  192. local L_57_ = Instance.new("ScreenGui", PlayerGui)
  193. local L_58_ = UDim2.new
  194. local L_59_ = Color3.new
  195. local L_60_ = L_59_(1, 1, 1)
  196. function subtractmana(L_110_arg1)
  197. if L_110_arg1 <= L_9_.Value then
  198. L_9_.Value = L_9_.Value - L_110_arg1
  199. end
  200. end
  201. local L_61_ = 20
  202. local L_62_ = 40
  203. local L_63_ = 60
  204. local L_64_ = 80
  205. local L_65_ = 100
  206. local L_66_ = 1
  207. local L_67_ = 1
  208. local L_68_ = 0
  209. local L_69_ = 100
  210. local L_70_ = 20
  211. local L_71_ = 20
  212. local L_72_ = 40
  213. local L_73_ = 60
  214. local L_74_ = 80
  215. local L_75_ = 0.5
  216. local L_76_ = true
  217. local L_77_ = true
  218. local L_78_ = false
  219. function makeframe(L_111_arg1, L_112_arg2, L_113_arg3, L_114_arg4, L_115_arg5, L_116_arg6)
  220. local L_117_ = Instance.new("Frame")
  221. L_117_.Parent = L_111_arg1
  222. L_117_.BackgroundTransparency = L_112_arg2
  223. L_117_.BorderSizePixel = 0
  224. L_117_.Position = L_113_arg3
  225. L_117_.Size = L_114_arg4
  226. L_117_.BackgroundColor3 = L_115_arg5
  227. L_117_.Name = L_116_arg6
  228. return L_117_
  229. end
  230. function makelabel(L_118_arg1, L_119_arg2, L_120_arg3, L_121_arg4, L_122_arg5)
  231. local L_123_ = Instance.new("TextLabel")
  232. L_123_.Parent = L_118_arg1
  233. L_123_.BackgroundTransparency = 1
  234. L_123_.Size = L_58_(1, 0, 1, 0)
  235. L_123_.Position = L_58_(0, 0, 0, 0)
  236. L_123_.TextColor3 = L_59_(255, 255, 255)
  237. L_123_.TextStrokeTransparency = L_121_arg4
  238. L_123_.TextTransparency = L_120_arg3
  239. L_123_.FontSize = Enum.FontSize.Size32
  240. L_123_.Font = Enum.Font.Legacy
  241. L_123_.BorderSizePixel = 0
  242. L_123_.TextScaled = true
  243. L_123_.Text = L_119_arg2
  244. L_123_.Name = L_122_arg5
  245. return L_123_
  246. end
  247. framesk1 = makeframe(L_57_, 0.5, L_58_(0.23, 0, 0.93, 0), L_58_(0.26, 0, 0, 0), L_59_(L_30_, L_31_, L_32_), "Frame 1")
  248. framesk2 = makeframe(L_57_, 0.5, L_58_(0.5, 0, 0.93, 0), L_58_(0.26, 0, 0, 0), L_59_(L_30_, L_31_, L_32_), "Frame 2")
  249. framesk3 = makeframe(L_57_, 0.5, L_58_(0.5, 0, 0.86, 0), L_58_(0.26, 0, 0, 0), L_59_(L_30_, L_31_, L_32_), "Frame 3")
  250. framesk4 = makeframe(L_57_, 0.5, L_58_(0.23, 0, 0.86, 0), L_58_(0.26, 0, 0, 0), L_59_(L_30_, L_31_, L_32_), "Frame 4")
  251. bar1 = makeframe(framesk1, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(L_30_, L_31_, L_32_), "Bar 1")
  252. bar2 = makeframe(framesk2, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(L_30_, L_31_, L_32_), "Bar 2")
  253. bar3 = makeframe(framesk3, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(L_30_, L_31_, L_32_), "Bar 3")
  254. bar4 = makeframe(framesk4, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(L_30_, L_31_, L_32_), "Bar 4")
  255. text1 = makelabel(framesk1, "[C] Boulder", 1, 1, "Text 1")
  256. text2 = makelabel(framesk2, "[V] Cataclysm", 1, 1, "Text 2")
  257. text3 = makelabel(framesk3, "[X] Destructive Blow", 1, 1, "Text 3")
  258. text4 = makelabel(framesk4, "[Z] Pray", 1, 1, "Text 4")
  259. manabar = makeframe(L_57_, 0.5, L_58_(0.23, 0, 0.82, 0), L_58_(0.26, 0, 0, 0), L_59_(L_30_, L_31_, L_32_), "Mana Bar")
  260. manacover = makeframe(manabar, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(L_30_, L_31_, L_32_), "Mana Cover")
  261. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  262. healthbar = makeframe(L_57_, 0.5, L_58_(0.5, 0, 0.82, 0), L_58_(0.26, 0, 0, 0), L_59_(1, 0.19607843137254902, 0.19607843137254902), "Health Bar")
  263. healthcover = makeframe(healthbar, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(1, 0.19607843137254902, 0.19607843137254902), "Health Cover")
  264. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  265. if L_78_ == true then
  266. stunframe = makeframe(L_57_, 0.5, L_58_(0.5, 0, 0.78, 0), L_58_(0.26, 0, 0, 0), L_59_(1, 1, 0.19607843137254902), "Stun Frame")
  267. stunbar = makeframe(stunframe, 0, L_58_(0, 0, 0, 0), L_58_(0, 0, 1, 0), L_59_(1, 1, 0.19607843137254902), "Stun Bar")
  268. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  269. end
  270. if L_77_ == true then
  271. defenseframe = makeframe(L_57_, 0.5, L_58_(0.23, 0, 0.78, 0), L_58_(0.075, 0, 0, 0), L_59_(0.3843137254901961, 0.1450980392156863, 0.8196078431372549), "Defense Frame")
  272. damageframe = makeframe(L_57_, 0.5, L_58_(0.3225, 0, 0.78, 0), L_58_(0.075, 0, 0, 0), L_59_(1, 0.6862745098039216, 0), "Damage Frame")
  273. movementframe = makeframe(L_57_, 0.5, L_58_(0.415, 0, 0.78, 0), L_58_(0.075, 0, 0, 0), L_59_(1, 1, 0), "Movement Frame")
  274. defensetext = makelabel(defenseframe, "Defense: " .. L_6_.Value, 1, 1, "Defense Text")
  275. damagetext = makelabel(damageframe, "Damage: " .. L_8_.Value, 1, 1, "Damage Text")
  276. movementtext = makelabel(movementframe, "Movement: " .. L_7_.Value, 1, 1, "Movement Text")
  277. end
  278. function NoOutline(L_124_arg1)
  279. L_124_arg1.TopSurface, L_124_arg1.BottomSurface, L_124_arg1.LeftSurface, L_124_arg1.RightSurface, L_124_arg1.FrontSurface, L_124_arg1.BackSurface = 10, 10, 10, 10, 10, 10
  280. end
  281. local L_79_ = function(L_125_arg1, L_126_arg2)
  282. local L_127_ = Instance.new("ManualWeld")
  283. L_127_.Part0 = L_125_arg1
  284. L_127_.Part1 = L_126_arg2
  285. L_127_.C0 = CFrame.new()
  286. L_127_.C1 = L_126_arg2.CFrame:inverse() * L_125_arg1.CFrame
  287. L_127_.Parent = L_125_arg1
  288. return L_127_
  289. end
  290. function nooutline(L_128_arg1)
  291. L_128_arg1.TopSurface, L_128_arg1.BottomSurface, L_128_arg1.LeftSurface, L_128_arg1.RightSurface, L_128_arg1.FrontSurface, L_128_arg1.BackSurface = 10, 10, 10, 10, 10, 10
  292. end
  293. function part(L_129_arg1, L_130_arg2, L_131_arg3, L_132_arg4, L_133_arg5, L_134_arg6, L_135_arg7, L_136_arg8)
  294. local L_137_ = it("Part")
  295. L_137_.formFactor = L_129_arg1
  296. L_137_.Parent = L_130_arg2
  297. L_137_.Reflectance = L_132_arg4
  298. L_137_.Transparency = L_133_arg5
  299. L_137_.CanCollide = false
  300. L_137_.Locked = true
  301. L_137_.BrickColor = BrickColor.new(tostring(L_134_arg6))
  302. L_137_.Name = L_135_arg7
  303. L_137_.Size = L_136_arg8
  304. L_137_.Position = Character.Torso.Position
  305. nooutline(L_137_)
  306. L_137_.Material = L_131_arg3
  307. L_137_:BreakJoints()
  308. return L_137_
  309. end
  310. function mesh(L_138_arg1, L_139_arg2, L_140_arg3, L_141_arg4, L_142_arg5, L_143_arg6)
  311. local L_144_ = it(L_138_arg1)
  312. L_144_.Parent = L_139_arg2
  313. if L_138_arg1 == "SpecialMesh" then
  314. L_144_.MeshType = L_140_arg3
  315. L_144_.MeshId = L_141_arg4
  316. end
  317. L_144_.Offset = L_142_arg5
  318. L_144_.Scale = L_143_arg6
  319. return L_144_
  320. end
  321. function weld(L_145_arg1, L_146_arg2, L_147_arg3, L_148_arg4, L_149_arg5)
  322. local L_150_ = it("Motor")
  323. L_150_.Parent = L_145_arg1
  324. L_150_.Part0 = L_146_arg2
  325. L_150_.Part1 = L_147_arg3
  326. L_150_.C0 = L_148_arg4
  327. L_150_.C1 = L_149_arg5
  328. return L_150_
  329. end
  330. m = Instance.new("Model", Character)
  331. m.Name = "Gladiator's Greatsword"
  332. local L_80_ = part(3, Torso, "SmoothPlastic", 0, 1, "Really black", "Particle Emitter Reference", vt())
  333. particleemitterreferenceweld = weld(m, Torso, L_80_, cf(0, 0, 0), cf(0, 0, 0))
  334. local L_81_ = Instance.new("ParticleEmitter", L_80_)
  335. L_81_.ZOffset = 1
  336. L_81_.Lifetime = NumberRange.new(0.5)
  337. L_81_.Speed = NumberRange.new(0)
  338. L_81_.Size = NumberSequence.new({
  339. NumberSequenceKeypoint.new(0, 4),
  340. NumberSequenceKeypoint.new(1, 6)
  341. })
  342. L_81_.RotSpeed = NumberRange.new(360)
  343. L_81_.LockedToPart = true
  344. L_81_.Rate = 20
  345. L_81_.Transparency = NumberSequence.new({
  346. NumberSequenceKeypoint.new(0, 1),
  347. NumberSequenceKeypoint.new(0.2, 0),
  348. NumberSequenceKeypoint.new(1, 1)
  349. })
  350. L_81_.LightEmission = 0.25
  351. L_81_.Color = ColorSequence.new(Color3.new(0.960784, 0.803922, 0.188235), Color3.new(1, 1, 1))
  352. L_81_.Texture = "rbxassetid://244221613"
  353. local L_82_ = Instance.new("ParticleEmitter", L_80_)
  354. L_82_.ZOffset = 1
  355. L_82_.Lifetime = NumberRange.new(1)
  356. L_82_.Speed = NumberRange.new(0)
  357. L_82_.Size = NumberSequence.new({
  358. NumberSequenceKeypoint.new(0, 4),
  359. NumberSequenceKeypoint.new(1, 6)
  360. })
  361. L_82_.RotSpeed = NumberRange.new(360)
  362. L_82_.LockedToPart = true
  363. L_82_.Rate = 20
  364. L_82_.Transparency = NumberSequence.new({
  365. NumberSequenceKeypoint.new(0, 1),
  366. NumberSequenceKeypoint.new(0.2, 0.5),
  367. NumberSequenceKeypoint.new(1, 1)
  368. })
  369. L_82_.LightEmission = 0.25
  370. L_82_.Color = ColorSequence.new(Color3.new(0.960784, 0.803922, 0.188235), Color3.new(1, 1, 1))
  371. L_82_.Texture = "rbxassetid://242292318"
  372. L_81_.Enabled = false
  373. L_82_.Enabled = false
  374. Handle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  375. Handleweld = weld(m, Character["Left Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00593662262, 0, -0.00341796875, 0.00495308638, -7.96281383E-4, 0.999987423, 5.21182892E-6, 0.999999464, 7.96210894E-4, -0.999987781, 1.26810494E-6, 0.00495308917))
  376. Hitbox = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 1, "Smoky grey", "Hitbox", Vector3.new(0.2, 0.2, 0.2))
  377. Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 6.93411636, -4.42378223E-8, 2.70574674E-10, -1, 1.74622983E-10, 0.999999702, 3.13320925E-10, 1, -5.43077476E-8, -4.3772161E-8))
  378. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  379. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.61337948, 2.38418579E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  380. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.25, 1.25, 1.25))
  381. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  382. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0147428513, -7.22768688, 7.31270361, 0.00145436265, -0.00350086438, -0.999992907, -0.707098067, 0.707106471, -0.00350388698, 0.707114041, 0.707097769, -0.00144706573))
  383. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  384. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  385. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.62661934, 0, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  386. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.25, 1.25, 1.25))
  387. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, L_29_, "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  388. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 2.38418579E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  389. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 1))
  390. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  391. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.400000334, 8.03411674, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  392. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  393. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, L_29_, "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  394. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.19661903, 1.1920929E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  395. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 1.13999999, 0.764999986))
  396. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  397. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.49911976, 1.1920929E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  398. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.20000005, 1.20000005))
  399. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, L_29_, "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  400. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.53661919, 1.1920929E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  401. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.25, 1.25))
  402. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  403. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.56661987, 2.38418579E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  404. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.20000005, 1.20000005))
  405. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  406. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.840000153, 10.2816219, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  407. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  408. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  409. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 6.23555136, 9.67515945, -4.3772161E-8, -4.22915036E-11, -1.00000012, 0.601814926, 0.798635125, -2.63098627E-8, 0.798635602, -0.601814747, -3.49245965E-8))
  410. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  411. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  412. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53838062, 2.38418579E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  413. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.20000005, 1.20000005))
  414. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  415. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.400000572, 9.53411674, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  416. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  417. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  418. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, 0.0599999428, 5.78162193, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  419. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  420. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Ghost grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  421. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863E-6, -6.6722846, 8.98348618, 1.34576112E-7, 1.20632649E-7, 1.00000012, -0.601814926, -0.798635125, 1.7718412E-7, 0.798635602, -0.601814747, -3.49245965E-8))
  422. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(2, 2.5, 7.5))
  423. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  424. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.375000477, 10.9716244, 4.3772161E-8, 1.51037966E-7, 1.00000012, 5.424954E-8, -0.999999583, 1.50952928E-7, 1, -5.43077476E-8, -4.3772161E-8))
  425. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(2, 4.5, 6))
  426. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Ghost grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  427. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316E-7, -0.674999595, 6.57662582, 4.3772161E-8, 1.51037966E-7, 1.00000012, 5.424954E-8, -0.999999583, 1.50952928E-7, 1, -5.43077476E-8, -4.3772161E-8))
  428. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(1.60000002, 2.5, 25))
  429. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  430. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863E-6, -0.400000334, 3.53412056, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  431. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  432. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  433. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0600001812, 2.78162003, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  434. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  435. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  436. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.839999676, 5.78162193, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  437. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  438. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  439. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.34661865, 1.1920929E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  440. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 1.13999999, 0.764999986))
  441. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  442. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.839999914, 7.28162193, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  443. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  444. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  445. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.79162025, 0, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  446. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1.39999998, 1.39999998))
  447. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  448. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.840000153, 8.78162384, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  449. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  450. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  451. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0599999428, 7.28162193, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  452. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  453. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  454. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.400000095, 5.03411484, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  455. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  456. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  457. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.89662075, 2.38418579E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  458. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1.20000005, 0.825000048))
  459. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Ghost grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  460. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316E-7, -0.674999714, 6.32162285, 4.3772161E-8, 1.51037966E-7, 1.00000012, 5.424954E-8, -0.999999583, 1.50952928E-7, 1, -5.43077476E-8, -4.3772161E-8))
  461. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(2, 2.5, 25))
  462. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  463. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.7166214, 1.1920929E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  464. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.20000005, 1.20000005))
  465. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  466. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, 0.060000062, 4.28162003, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  467. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  468. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  469. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.839999914, 2.78162098, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  470. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  471. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  472. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.19662094, 1.1920929E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  473. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.600000024, 1.125, 0.75))
  474. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  475. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.49661922, 1.1920929E-7, 9.53674316E-7, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  476. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1.20000005, 0.825000048))
  477. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Ghost grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  478. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863E-6, -6.6722846, 8.7434864, 1.34576112E-7, 1.20632649E-7, 1.00000012, -0.601814926, -0.798635125, 1.7718412E-7, 0.798635602, -0.601814747, -3.49245965E-8))
  479. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(1.60000002, 2.5, 7.5))
  480. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  481. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.400000095, 6.53411674, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  482. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  483. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  484. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, -0.839999914, 4.28161812, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  485. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  486. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Black", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  487. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316E-7, 0.0599998236, 8.78162193, -4.3772161E-8, -4.22915036E-11, -1.00000012, -5.424954E-8, 0.999999583, 4.2746251E-11, 1, -5.43077476E-8, -4.3772161E-8))
  488. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(2.00999999, 0.25, 0.25))
  489. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  490. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.74662018, 2.38418579E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  491. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.29999995, 1.29999995))
  492. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  493. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.04661942, 1.1920929E-7, 0, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  494. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=12221505", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 1.13999999, 0.764999986))
  495. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.300000012, 0.300000012, 0.300000012))
  496. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(6.32162285, -0.375000238, 1.90734863E-6, 1, -5.43077476E-8, 0, -5.424954E-8, 0.999999583, 4.2746251E-11, 0, 4.2746251E-11, 1.00000012))
  497. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(25, 4.5, 2))
  498. for L_151_forvar1, L_152_forvar2 in pairs(m:GetChildren()) do
  499. if L_152_forvar2.ClassName == "Part" and L_152_forvar2.Name ~= "Hitbox" and L_152_forvar2.Name ~= "Handle" then
  500. L_152_forvar2.Transparency = 1
  501. end
  502. end
  503. Effects = Instance.new("Folder", m)
  504. Effects.Name = "Effects"
  505. Handleweld.Part0 = Torso
  506. Handleweld.C0 = cf(-4, 2.5, 0.8) * angles(0, math.rad(-90), 0) * angles(math.rad(-30), 0, 0)
  507. Humanoid.Died:connect(function()
  508. attack = true
  509. for L_153_forvar1, L_154_forvar2 in pairs(Character:GetChildren()) do
  510. if L_154_forvar2:IsA("Model") then
  511. m:Destroy()
  512. end
  513. end
  514. end)
  515. for L_155_forvar1, L_156_forvar2 in pairs(Character:GetChildren()) do
  516. if L_156_forvar2:IsA("Model") then
  517. for L_157_forvar1, L_158_forvar2 in pairs(L_156_forvar2:GetChildren()) do
  518. if L_158_forvar2:IsA("Part") then
  519. L_158_forvar2.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  520. end
  521. end
  522. end
  523. end
  524. print("Gladiator loaded.")
  525. function so(L_159_arg1, L_160_arg2, L_161_arg3, L_162_arg4)
  526. coroutine.resume(coroutine.create(function()
  527. local L_163_ = Instance.new("Sound", L_160_arg2 or workspace)
  528. L_163_.Volume = L_161_arg3
  529. L_163_.Pitch = L_162_arg4 or 1
  530. L_163_.SoundId = "http://roblox.com/asset/?id=" .. L_159_arg1
  531. hbwait()
  532. L_163_:play()
  533. game:GetService("Debris"):AddItem(L_163_, 10)
  534. end))
  535. end
  536. function clerp(L_164_arg1, L_165_arg2, L_166_arg3)
  537. local L_167_ = {
  538. QuaternionFromCFrame(L_164_arg1)
  539. }
  540. local L_168_ = {
  541. QuaternionFromCFrame(L_165_arg2)
  542. }
  543. local L_169_, L_170_, L_171_ = L_164_arg1.x, L_164_arg1.y, L_164_arg1.z
  544. local L_172_, L_173_, L_174_ = L_165_arg2.x, L_165_arg2.y, L_165_arg2.z
  545. local L_175_ = 1 - L_166_arg3
  546. return QuaternionToCFrame(L_175_ * L_169_ + L_166_arg3 * L_172_, L_175_ * L_170_ + L_166_arg3 * L_173_, L_175_ * L_171_ + L_166_arg3 * L_174_, QuaternionSlerp(L_167_, L_168_, L_166_arg3))
  547. end
  548. function QuaternionFromCFrame(L_176_arg1)
  549. local L_177_, L_178_, L_179_, L_180_, L_181_, L_182_, L_183_, L_184_, L_185_, L_186_, L_187_, L_188_ = L_176_arg1:components()
  550. local L_189_ = L_180_ + L_184_ + L_188_
  551. if L_189_ > 0 then
  552. local L_190_ = math.sqrt(1 + L_189_)
  553. local L_191_ = 0.5 / L_190_
  554. return (L_187_ - L_185_) * L_191_, (L_182_ - L_186_) * L_191_, (L_183_ - L_181_) * L_191_, L_190_ * 0.5
  555. else
  556. local L_192_ = 0
  557. if L_180_ < L_184_ then
  558. L_192_ = 1
  559. end
  560. if L_188_ > (L_192_ == 0 and L_180_ or L_184_) then
  561. L_192_ = 2
  562. end
  563. if L_192_ == 0 then
  564. local L_193_ = math.sqrt(L_180_ - L_184_ - L_188_ + 1)
  565. local L_194_ = 0.5 / L_193_
  566. return 0.5 * L_193_, (L_183_ + L_181_) * L_194_, (L_186_ + L_182_) * L_194_, (L_187_ - L_185_) * L_194_
  567. elseif L_192_ == 1 then
  568. local L_195_ = math.sqrt(L_184_ - L_188_ - L_180_ + 1)
  569. local L_196_ = 0.5 / L_195_
  570. return (L_181_ + L_183_) * L_196_, 0.5 * L_195_, (L_187_ + L_185_) * L_196_, (L_182_ - L_186_) * L_196_
  571. elseif L_192_ == 2 then
  572. local L_197_ = math.sqrt(L_188_ - L_180_ - L_184_ + 1)
  573. local L_198_ = 0.5 / L_197_
  574. return (L_182_ + L_186_) * L_198_, (L_185_ + L_187_) * L_198_, 0.5 * L_197_, (L_183_ - L_181_) * L_198_
  575. end
  576. end
  577. end
  578. function QuaternionToCFrame(L_199_arg1, L_200_arg2, L_201_arg3, L_202_arg4, L_203_arg5, L_204_arg6, L_205_arg7)
  579. local L_206_, L_207_, L_208_ = L_202_arg4 + L_202_arg4, L_203_arg5 + L_203_arg5, L_204_arg6 + L_204_arg6
  580. local L_209_, L_210_, L_211_ = L_205_arg7 * L_206_, L_205_arg7 * L_207_, L_205_arg7 * L_208_
  581. local L_212_ = L_202_arg4 * L_206_
  582. local L_213_ = L_202_arg4 * L_207_
  583. local L_214_ = L_202_arg4 * L_208_
  584. local L_215_ = L_203_arg5 * L_207_
  585. local L_216_ = L_203_arg5 * L_208_
  586. local L_217_ = L_204_arg6 * L_208_
  587. return CFrame.new(L_199_arg1, L_200_arg2, L_201_arg3, 1 - (L_215_ + L_217_), L_213_ - L_211_, L_214_ + L_210_, L_213_ + L_211_, 1 - (L_212_ + L_217_), L_216_ - L_209_, L_214_ - L_210_, L_216_ + L_209_, 1 - (L_212_ + L_215_))
  588. end
  589. function QuaternionSlerp(L_218_arg1, L_219_arg2, L_220_arg3)
  590. local L_221_ = L_218_arg1[1] * L_219_arg2[1] + L_218_arg1[2] * L_219_arg2[2] + L_218_arg1[3] * L_219_arg2[3] + L_218_arg1[4] * L_219_arg2[4]
  591. local L_222_, L_223_
  592. if L_221_ >= 1.0E-4 then
  593. if 1 - L_221_ > 1.0E-4 then
  594. local L_224_ = math.acos(L_221_)
  595. local L_225_ = 1 / math.sin(L_224_)
  596. L_222_ = math.sin((1 - L_220_arg3) * L_224_) * L_225_
  597. L_223_ = math.sin(L_220_arg3 * L_224_) * L_225_
  598. else
  599. L_222_ = 1 - L_220_arg3
  600. L_223_ = L_220_arg3
  601. end
  602. elseif 1 + L_221_ > 1.0E-4 then
  603. local L_226_ = math.acos(-L_221_)
  604. local L_227_ = 1 / math.sin(L_226_)
  605. L_222_ = math.sin((L_220_arg3 - 1) * L_226_) * L_227_
  606. L_223_ = math.sin(L_220_arg3 * L_226_) * L_227_
  607. else
  608. L_222_ = L_220_arg3 - 1
  609. L_223_ = L_220_arg3
  610. end
  611. return L_218_arg1[1] * L_222_ + L_219_arg2[1] * L_223_, L_218_arg1[2] * L_222_ + L_219_arg2[2] * L_223_, L_218_arg1[3] * L_222_ + L_219_arg2[3] * L_223_, L_218_arg1[4] * L_222_ + L_219_arg2[4] * L_223_
  612. end
  613. function rayCast(L_228_arg1, L_229_arg2, L_230_arg3, L_231_arg4)
  614. return game:service("Workspace"):FindPartOnRay(Ray.new(L_228_arg1, L_229_arg2.unit * (L_230_arg3 or 999.999)), L_231_arg4)
  615. end
  616. function DamageStatLabel(L_232_arg1, L_233_arg2, L_234_arg3)
  617. local L_235_ = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  618. L_235_.CFrame = cf(L_232_arg1.p + vt(0, 1.5, 0))
  619. game:GetService("Debris"):AddItem(L_235_, 5)
  620. Instance.new("BodyGyro", L_235_)
  621. local L_236_ = Instance.new("BodyPosition", L_235_)
  622. L_236_.P = 2000
  623. L_236_.D = 100
  624. L_236_.maxForce = vt(math.huge, math.huge, math.huge)
  625. L_236_.position = L_235_.Position + vt(math.random(-1, 1), 6, math.random(-1, 1))
  626. game:GetService("Debris"):AddItem(L_235_, 5)
  627. local L_237_ = Instance.new("BillboardGui", L_235_)
  628. L_237_.Adornee = L_235_
  629. L_237_.Size = UDim2.new(2.5, 0, 2.5, 0)
  630. L_237_.StudsOffset = vt(-2, 2, 0)
  631. L_237_.AlwaysOnTop = false
  632. local L_238_ = Instance.new("TextLabel", L_237_)
  633. L_238_.BackgroundTransparency = 1
  634. L_238_.Size = UDim2.new(2.5, 0, 2.5, 0)
  635. L_238_.Text = L_233_arg2
  636. L_238_.Font = Enum.Font.SourceSans
  637. L_238_.FontSize = Enum.FontSize.Size42
  638. L_238_.TextColor3 = L_234_arg3
  639. L_238_.TextScaled = false
  640. L_238_.TextStrokeTransparency = 0
  641. L_238_.TextScaled = true
  642. L_238_.TextWrapped = true
  643. L_236_.Parent = L_235_
  644. coroutine.resume(coroutine.create(function(L_239_arg1, L_240_arg2, L_241_arg3)
  645. wait(0.25)
  646. for L_242_forvar1 = 1, 5 do
  647. wait()
  648. L_240_arg2.position = L_239_arg1.Position - vt(0, 0.5, 0)
  649. end
  650. wait(1.25)
  651. for L_243_forvar1 = 1, 5 do
  652. wait()
  653. L_241_arg3.TextTransparency = L_241_arg3.TextTransparency + 0.2
  654. L_241_arg3.TextStrokeTransparency = L_241_arg3.TextStrokeTransparency + 0.2
  655. L_240_arg2.position = L_239_arg1.Position + vt(0, 0.5, 0)
  656. end
  657. L_239_arg1.Parent = nil
  658. end), L_235_, L_236_, L_238_)
  659. end
  660. function IncreaseStat(L_244_arg1, L_245_arg2, L_246_arg3, L_247_arg4, L_248_arg5)
  661. if L_244_arg1:FindFirstChild("Stats") ~= nil and L_244_arg1.Stats:FindFirstChild("BlockValue") ~= nil then
  662. if L_244_arg1.Stats:FindFirstChild("BlockValue").Value ~= true then
  663. if L_244_arg1.Stats[L_245_arg2] ~= nil then
  664. L_244_arg1.Stats[L_245_arg2].Value = L_244_arg1.Stats[L_245_arg2].Value + L_246_arg3
  665. if L_248_arg5 == true then
  666. if L_245_arg2 == "Defense" then
  667. DamageStatLabel(L_244_arg1.Head.CFrame, "+Defense", L_59_(1, 1, 1))
  668. elseif L_245_arg2 == "Damage" then
  669. DamageStatLabel(L_244_arg1.Head.CFrame, "+Damage", L_59_(1, 1, 1))
  670. elseif L_245_arg2 == "Movement" then
  671. DamageStatLabel(L_244_arg1.Head.CFrame, "+Movement", L_59_(1, 1, 1))
  672. end
  673. end
  674. coroutine.resume(coroutine.create(function(L_249_arg1)
  675. wait(L_247_arg4)
  676. L_249_arg1.Value = L_249_arg1.Value - L_246_arg3
  677. end), L_244_arg1.Stats[L_245_arg2])
  678. end
  679. else
  680. DamageStatLabel(L_244_arg1.Head.CFrame, "Blocked!", Color3.new(0, 0.39215686274509803, 1))
  681. end
  682. end
  683. end
  684. function DecreaseStat(L_250_arg1, L_251_arg2, L_252_arg3, L_253_arg4, L_254_arg5)
  685. if L_250_arg1:FindFirstChild("Stats") ~= nil and L_250_arg1.Stats:FindFirstChild("BlockValue") ~= nil then
  686. if L_250_arg1.Stats:FindFirstChild("BlockValue").Value ~= true then
  687. if L_250_arg1.Stats[L_251_arg2] ~= nil then
  688. L_250_arg1.Stats[L_251_arg2].Value = L_250_arg1.Stats[L_251_arg2].Value - L_252_arg3
  689. if L_254_arg5 == true then
  690. if L_251_arg2 == "Defense" then
  691. DamageStatLabel(L_250_arg1.Head.CFrame, "-Defense", L_59_(1, 1, 1))
  692. elseif L_251_arg2 == "Damage" then
  693. DamageStatLabel(L_250_arg1.Head.CFrame, "-Damage", L_59_(1, 1, 1))
  694. elseif L_251_arg2 == "Movement" then
  695. DamageStatLabel(L_250_arg1.Head.CFrame, "-Movement", L_59_(1, 1, 1))
  696. end
  697. end
  698. coroutine.resume(coroutine.create(function(L_255_arg1)
  699. wait(L_253_arg4)
  700. L_255_arg1.Value = L_255_arg1.Value + L_252_arg3
  701. end), L_250_arg1.Stats[L_251_arg2])
  702. end
  703. else
  704. DamageStatLabel(L_250_arg1.Head.CFrame, "Blocked!", Color3.new(0, 0.39215686274509803, 1))
  705. end
  706. end
  707. end
  708. function GetDistance(L_256_arg1, L_257_arg2, L_258_arg3)
  709. local L_259_ = L_256_arg1.Position - L_257_arg2.Position
  710. local L_260_ = L_259_.magnitude
  711. if L_258_arg3 >= L_260_ then
  712. return true
  713. else
  714. return false
  715. end
  716. end
  717. function Damagefunc(L_261_arg1, L_262_arg2, L_263_arg3, L_264_arg4, L_265_arg5, L_266_arg6, L_267_arg7, L_268_arg8, L_269_arg9, L_270_arg10, L_271_arg11, L_272_arg12, L_273_arg13, L_274_arg14, L_275_arg15, L_276_arg16)
  718. if L_261_arg1.Parent == nil then
  719. return
  720. end
  721. h = L_261_arg1.Parent:FindFirstChild("Humanoid")
  722. for L_277_forvar1, L_278_forvar2 in pairs(L_261_arg1.Parent:GetChildren()) do
  723. if L_278_forvar2:IsA("Humanoid") then
  724. h = L_278_forvar2
  725. end
  726. end
  727. if L_261_arg1.Name == "Hitbox" and L_272_arg12 ~= true and L_261_arg1.Parent ~= m then
  728. L_12_.Value = true
  729. so(L_51_[math.random(1, #L_51_)], L_261_arg1, 1, 1)
  730. return
  731. end
  732. if L_19_.Value == true then
  733. if game.Players:FindFirstChild(L_261_arg1.Parent.Name) ~= nil then
  734. opponent = game.Players:FindFirstChild(L_261_arg1.Parent.Name)
  735. end
  736. if opponent ~= nil and opponent.TeamColor == Player.TeamColor then
  737. return
  738. end
  739. end
  740. if L_261_arg1.Parent.Parent:FindFirstChild("Torso") ~= nil then
  741. h = L_261_arg1.Parent.Parent:FindFirstChild("Humanoid")
  742. end
  743. if L_261_arg1.Parent.className == "Hat" then
  744. L_261_arg1 = L_261_arg1.Parent.Parent:findFirstChild("Head")
  745. end
  746. if h ~= nil and L_261_arg1.Parent.Name ~= Character.Name and L_261_arg1.Parent:FindFirstChild("Torso") ~= nil then
  747. if L_261_arg1.Parent:findFirstChild("DebounceHit") ~= nil and L_261_arg1.Parent.DebounceHit.Value == true then
  748. return
  749. end
  750. if L_261_arg1.Parent:FindFirstChild("Humanoid") ~= nil and L_261_arg1.Parent:FindFirstChild("Humanoid").Health <= 0 then
  751. return
  752. end
  753. if L_261_arg1.Parent:findFirstChild("Stats") ~= nil and L_261_arg1.Parent.Stats:findFirstChild("StunValue") ~= nil then
  754. L_261_arg1.Parent.Stats:findFirstChild("StunValue").Value = L_261_arg1.Parent.Stats:findFirstChild("StunValue").Value + L_269_arg9
  755. end
  756. if L_261_arg1.Parent:FindFirstChild("Stats") ~= nil and L_261_arg1.Parent.Stats:findFirstChild("StaggerAnim") ~= nil and L_270_arg10 == true then
  757. L_261_arg1.Parent.Stats:findFirstChild("StaggerAnim").Value = true
  758. end
  759. if L_261_arg1.Parent:findFirstChild("Stats") ~= nil and L_261_arg1.Parent.Stats:findFirstChild("BlockValue") ~= nil and L_261_arg1.Parent.Stats:findFirstChild("BlockValue").Value == true then
  760. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.39215686274509803, 1))
  761. so(L_52_[math.random(1, #L_52_)], L_261_arg1, 1, 1)
  762. if L_272_arg12 ~= true then
  763. L_261_arg1.Parent.Stats:findFirstChild("BlockValue").Value = false
  764. L_13_.Value = true
  765. end
  766. return
  767. end
  768. if L_273_arg13 ~= nil and L_261_arg1.Parent:FindFirstChild("Stats") ~= nil then
  769. if L_273_arg13 == "Defense" then
  770. DecreaseStat(L_261_arg1.Parent, "Defense", L_274_arg14, L_275_arg15, L_276_arg16)
  771. elseif L_273_arg13 == "Damage" then
  772. DecreaseStat(L_261_arg1.Parent, "Damage", L_274_arg14, L_275_arg15, L_276_arg16)
  773. elseif L_273_arg13 == "Movement" then
  774. DecreaseStat(L_261_arg1.Parent, "Movement", L_274_arg14, L_275_arg15, L_276_arg16)
  775. end
  776. end
  777. local L_279_ = math.random(L_262_arg2, L_263_arg3) * L_8_.Value
  778. if L_261_arg1.Parent:FindFirstChild("Stats") ~= nil then
  779. if L_261_arg1.Parent.Stats:FindFirstChild("Defense") then
  780. if L_18_.Value == true then
  781. else
  782. L_279_ = L_279_ / L_261_arg1.Parent.Stats:FindFirstChild("Defense").Value
  783. end
  784. elseif L_261_arg1.Parent.Stats:FindFirstChild("Defense") == nil then
  785. end
  786. end
  787. if L_16_.Value == true then
  788. L_28_ = math.random(1, L_17_.Value)
  789. if L_28_ == L_17_.Value then
  790. L_279_ = L_279_ * 2
  791. end
  792. end
  793. L_279_ = math.floor(L_279_)
  794. h.Health = h.Health - L_279_
  795. if L_279_ <= 3 and L_271_arg11 == true then
  796. if L_272_arg12 ~= true then
  797. L_12_.Value = true
  798. end
  799. if L_272_arg12 ~= true then
  800. so(L_50_[math.random(1, #L_50_)], L_261_arg1, 1, 1)
  801. end
  802. elseif L_279_ > 3 and L_272_arg12 ~= true then
  803. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 1)
  804. end
  805. if L_279_ > 2 and L_279_ < 20 then
  806. if L_16_.Value == true and L_28_ == L_17_.Value then
  807. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, "Crit! " .. L_279_, Color3.new(0.7843137254901961, 0, 0))
  808. so("296102734", L_261_arg1, 1, 1)
  809. else
  810. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, L_279_, Color3.new(1, 0.8627450980392157, 0))
  811. end
  812. elseif L_279_ >= 20 then
  813. if L_16_.Value == true and L_28_ == L_17_.Value then
  814. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, "Crit! " .. L_279_, Color3.new(0.7843137254901961, 0, 0))
  815. so("296102734", L_261_arg1, 1, 1)
  816. else
  817. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, L_279_, Color3.new(1, 0, 0))
  818. end
  819. else
  820. if L_279_ <= 2 then
  821. if L_16_.Value == true and L_28_ == L_17_.Value then
  822. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, "Crit! " .. L_279_, Color3.new(0.7843137254901961, 0, 0))
  823. so("296102734", L_261_arg1, 1, 1)
  824. else
  825. DamageStatLabel(L_261_arg1.Parent.Head.CFrame, L_279_, Color3.new(0.8823529411764706, 0.8823529411764706, 0.8823529411764706))
  826. end
  827. else
  828. end
  829. end
  830. if L_265_arg5 == "Normal" then
  831. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 2)
  832. vp = Instance.new("BodyVelocity")
  833. vp.P = 500
  834. vp.maxForce = vt(math.huge, 0, math.huge)
  835. if L_268_arg8 == 1 then
  836. vp.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4 + L_266_arg6.Velocity / 1.05
  837. elseif L_268_arg8 == 2 then
  838. vp.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4
  839. end
  840. if L_264_arg4 > 0 then
  841. vp.Parent = L_261_arg1.Parent.Torso
  842. end
  843. game:GetService("Debris"):AddItem(vp, 0.5)
  844. elseif L_265_arg5 == "Knockdown" then
  845. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 2)
  846. vp = Instance.new("BodyVelocity")
  847. vp.P = 1000
  848. vp.maxForce = vt(0, math.huge, 0)
  849. vp.Velocity = Vector3.new(0, 10, 0)
  850. vp.Parent = L_261_arg1.Parent.Torso
  851. game:GetService("Debris"):AddItem(vp, 0.25)
  852. elseif L_265_arg5 == "Normal2" then
  853. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 0.8)
  854. vp = Instance.new("BodyVelocity")
  855. vp.P = 500
  856. vp.maxForce = vt(math.huge, 0, math.huge)
  857. if L_268_arg8 == 1 then
  858. vp.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4 + L_266_arg6.Velocity / 1.05
  859. elseif L_268_arg8 == 2 then
  860. vp.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4
  861. end
  862. if L_264_arg4 > 0 then
  863. vp.Parent = L_261_arg1.Parent.Torso
  864. end
  865. game:GetService("Debris"):AddItem(vp, 0.5)
  866. elseif L_265_arg5 == "SuperKnockup" then
  867. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 0.8)
  868. vp = Instance.new("BodyVelocity")
  869. vp.P = 500
  870. vp.maxForce = vt(0, math.huge, 0)
  871. vp.Velocity = vt(0, math.random(20, 40), 0)
  872. if L_264_arg4 > 0 then
  873. vp.Parent = L_261_arg1.Parent.Torso
  874. end
  875. game:GetService("Debris"):AddItem(vp, 0.5)
  876. vp2 = Instance.new("BodyVelocity")
  877. vp2.P = 500
  878. vp2.maxForce = vt(math.huge, 0, math.huge)
  879. if L_268_arg8 == 1 then
  880. vp2.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4 + L_266_arg6.Velocity / 1.05
  881. elseif L_268_arg8 == 2 then
  882. vp2.Velocity = L_266_arg6.CFrame.lookVector * L_264_arg4
  883. end
  884. if L_264_arg4 > 0 then
  885. vp2.Parent = L_261_arg1.Parent.Torso
  886. end
  887. game:GetService("Debris"):AddItem(vp2, 0.5)
  888. elseif L_265_arg5 == "RockHit" then
  889. so(L_49_[math.random(1, #L_49_)], L_261_arg1, 1, 0.8)
  890. rockvelocity = Instance.new("BodyVelocity")
  891. rockvelocity.P = 500
  892. rockvelocity.maxForce = vt(math.huge, 0, math.huge)
  893. rockvelocity.Velocity = L_261_arg1.Position * L_264_arg4 - L_266_arg6.Position
  894. if L_264_arg4 > 0 then
  895. rockvelocity.Parent = L_261_arg1.Parent.Torso
  896. end
  897. game:GetService("Debris"):AddItem(rockvelocity, 0.5)
  898. end
  899. DebounceHit = Instance.new("BoolValue", L_261_arg1.Parent)
  900. DebounceHit.Name = "DebounceHit"
  901. DebounceHit.Value = true
  902. game:GetService("Debris"):AddItem(DebounceHit, L_267_arg7)
  903. end
  904. end
  905. function MagniDamage(L_280_arg1, L_281_arg2, L_282_arg3, L_283_arg4, L_284_arg5, L_285_arg6, L_286_arg7, L_287_arg8, L_288_arg9, L_289_arg10, L_290_arg11, L_291_arg12, L_292_arg13, L_293_arg14, L_294_arg15, L_295_arg16, L_296_arg17)
  906. for L_297_forvar1, L_298_forvar2 in pairs(workspace:GetChildren()) do
  907. local L_299_ = L_298_forvar2:FindFirstChild("Humanoid")
  908. local L_300_
  909. if L_299_ ~= nil then
  910. L_300_ = L_298_forvar2:FindFirstChild("Torso")
  911. if L_300_ ~= nil then
  912. local L_301_ = L_300_.Position - L_280_arg1.Position
  913. local L_302_ = L_301_.magnitude
  914. if L_281_arg2 >= L_302_ and L_298_forvar2.Name ~= Player.Name then
  915. Damagefunc(L_300_, L_282_arg3, L_283_arg4, L_284_arg5, L_285_arg6, L_286_arg7, L_287_arg8, L_288_arg9, L_289_arg10, L_290_arg11, L_291_arg12, L_292_arg13, L_293_arg14, L_294_arg15, L_295_arg16, L_296_arg17)
  916. end
  917. end
  918. for L_303_forvar1, L_304_forvar2 in pairs(L_298_forvar2:GetChildren()) do
  919. if L_304_forvar2.ClassName == "Model" and L_292_arg13 ~= true then
  920. L_300_ = L_304_forvar2:FindFirstChild("Hitbox")
  921. if L_300_ ~= nil then
  922. local L_305_ = L_300_.Position - L_280_arg1.Position
  923. local L_306_ = L_305_.magnitude
  924. if L_281_arg2 >= L_306_ and L_298_forvar2.Name ~= Player.Name then
  925. local L_307_ = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  926. L_307_.Anchored = true
  927. L_307_.CFrame = cf(L_300_.Position)
  928. so(L_51_[math.random(1, #L_51_)], L_307_, 1, 1)
  929. L_12_.Value = true
  930. end
  931. end
  932. end
  933. end
  934. end
  935. end
  936. end
  937. function Lightning(L_308_arg1, L_309_arg2, L_310_arg3, L_311_arg4, L_312_arg5, L_313_arg6, L_314_arg7, L_315_arg8, L_316_arg9)
  938. local L_317_ = L_308_arg1 - L_309_arg2.magnitude
  939. local L_318_ = L_308_arg1
  940. local L_319_ = {
  941. -L_311_arg4,
  942. L_311_arg4
  943. }
  944. for L_320_forvar1 = 1, L_310_arg3 do
  945. do
  946. local L_321_ = part(3, Effects, L_313_arg6, 0, 0, L_312_arg5, "Effect", vt(L_314_arg7, L_314_arg7, L_317_ / L_310_arg3))
  947. L_321_.Anchored = true
  948. local L_322_ = vt(L_319_[math.random(1, 2)], L_319_[math.random(1, 2)], L_319_[math.random(1, 2)])
  949. local L_323_ = cf(L_318_, L_309_arg2) * cf(0, 0, L_317_ / L_310_arg3).p + L_322_
  950. if L_310_arg3 == L_320_forvar1 then
  951. local L_324_ = L_318_ - L_309_arg2.magnitude
  952. L_321_.Size = vt(L_314_arg7, L_314_arg7, L_324_)
  953. L_321_.CFrame = cf(L_318_, L_309_arg2) * cf(0, 0, -L_324_ / 2)
  954. else
  955. L_321_.CFrame = cf(L_318_, L_323_) * cf(0, 0, L_317_ / L_310_arg3 / 2)
  956. end
  957. L_318_ = L_321_.CFrame * cf(0, 0, L_317_ / L_310_arg3 / 2).p
  958. game.Debris:AddItem(L_321_, L_316_arg9)
  959. coroutine.resume(coroutine.create(function()
  960. while L_321_.Transparency ~= 1 do
  961. for L_325_forvar1 = 0, 1, L_316_arg9 do
  962. hbwait()
  963. L_321_.Transparency = L_321_.Transparency + 0.1 / L_316_arg9
  964. end
  965. end
  966. end))
  967. end
  968. end
  969. end
  970. function MagicRing(L_326_arg1, L_327_arg2, L_328_arg3, L_329_arg4, L_330_arg5, L_331_arg6, L_332_arg7, L_333_arg8, L_334_arg9, L_335_arg10)
  971. local L_336_ = part(3, Effects, L_327_arg2, 0, 0, L_326_arg1, "Effect", vt())
  972. L_336_.Anchored = true
  973. L_336_.CFrame = L_328_arg3
  974. local L_337_ = mesh("SpecialMesh", L_336_, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(L_329_arg4, L_330_arg5, L_331_arg6))
  975. game:GetService("Debris"):AddItem(L_336_, 10)
  976. coroutine.resume(coroutine.create(function(L_338_arg1, L_339_arg2)
  977. for L_340_forvar1 = 0, 1, L_335_arg10 do
  978. hbwait()
  979. L_338_arg1.CFrame = L_338_arg1.CFrame
  980. L_338_arg1.Transparency = L_340_forvar1
  981. L_339_arg2.Scale = L_339_arg2.Scale + vt(L_332_arg7, L_333_arg8, L_334_arg9)
  982. end
  983. L_338_arg1.Parent = nil
  984. end), L_336_, L_337_)
  985. end
  986. function MagicWave(L_341_arg1, L_342_arg2, L_343_arg3, L_344_arg4, L_345_arg5, L_346_arg6, L_347_arg7, L_348_arg8, L_349_arg9, L_350_arg10)
  987. local L_351_ = part(3, Effects, L_342_arg2, 0, 0, L_341_arg1, "Effect", vt())
  988. L_351_.Anchored = true
  989. L_351_.CFrame = L_343_arg3
  990. local L_352_ = mesh("SpecialMesh", L_351_, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(L_344_arg4, L_345_arg5, L_346_arg6))
  991. game:GetService("Debris"):AddItem(L_351_, 10)
  992. coroutine.resume(coroutine.create(function(L_353_arg1, L_354_arg2)
  993. for L_355_forvar1 = 0, 1, L_350_arg10 do
  994. hbwait()
  995. L_353_arg1.CFrame = L_353_arg1.CFrame
  996. L_353_arg1.Transparency = L_355_forvar1
  997. L_354_arg2.Scale = L_354_arg2.Scale + vt(L_347_arg7, L_348_arg8, L_349_arg9)
  998. end
  999. L_353_arg1.Parent = nil
  1000. end), L_351_, L_352_)
  1001. end
  1002. function MagicBlock(L_356_arg1, L_357_arg2, L_358_arg3, L_359_arg4, L_360_arg5, L_361_arg6, L_362_arg7, L_363_arg8, L_364_arg9, L_365_arg10, L_366_arg11)
  1003. local L_367_ = part(3, Effects, L_357_arg2, 0, 0, L_356_arg1, "Effect", vt())
  1004. L_367_.Anchored = true
  1005. L_367_.CFrame = L_359_arg4 * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1006. local L_368_ = mesh("BlockMesh", L_367_, "", "", vt(0, 0, 0), vt(L_360_arg5, L_361_arg6, L_362_arg7))
  1007. game:GetService("Debris"):AddItem(L_367_, 10)
  1008. coroutine.resume(coroutine.create(function(L_369_arg1, L_370_arg2)
  1009. for L_371_forvar1 = 0, 1, L_366_arg11 do
  1010. hbwait()
  1011. if L_358_arg3 == true then
  1012. L_369_arg1.CFrame = L_369_arg1.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1013. else
  1014. end
  1015. L_369_arg1.Transparency = L_371_forvar1
  1016. L_370_arg2.Scale = L_370_arg2.Scale + vt(L_363_arg8, L_364_arg9, L_365_arg10)
  1017. end
  1018. L_369_arg1.Parent = nil
  1019. end), L_367_, L_368_)
  1020. end
  1021. function MagicBlock2(L_372_arg1, L_373_arg2, L_374_arg3, L_375_arg4, L_376_arg5, L_377_arg6, L_378_arg7, L_379_arg8, L_380_arg9, L_381_arg10, L_382_arg11)
  1022. local L_383_ = part(3, Effects, L_373_arg2, 0, 0, L_372_arg1, "Effect", vt())
  1023. L_383_.Anchored = true
  1024. L_383_.CFrame = L_375_arg4 * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1025. local L_384_ = mesh("BlockMesh", L_383_, "", "", vt(0, 0, 0), vt(L_376_arg5, L_377_arg6, L_378_arg7))
  1026. game:GetService("Debris"):AddItem(L_383_, 10)
  1027. CF = L_383_.CFrame
  1028. num = math.random(5, 20)
  1029. coroutine.resume(coroutine.create(function(L_385_arg1, L_386_arg2, L_387_arg3, L_388_arg4)
  1030. for L_389_forvar1 = 0, 1, L_382_arg11 do
  1031. hbwait()
  1032. if L_374_arg3 == true then
  1033. L_385_arg1.CFrame = L_387_arg3 * cf(0, L_389_forvar1 * L_388_arg4, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1034. else
  1035. L_385_arg1.CFrame = L_387_arg3 * cf(0, L_389_forvar1 * L_388_arg4, 0)
  1036. end
  1037. L_385_arg1.Transparency = L_389_forvar1
  1038. L_386_arg2.Scale = L_386_arg2.Scale + vt(L_379_arg8, L_380_arg9, L_381_arg10)
  1039. end
  1040. L_385_arg1.Parent = nil
  1041. end), L_383_, L_384_, CF, num)
  1042. end
  1043. function MagicCylinder(L_390_arg1, L_391_arg2, L_392_arg3, L_393_arg4, L_394_arg5, L_395_arg6, L_396_arg7, L_397_arg8, L_398_arg9, L_399_arg10)
  1044. local L_400_ = part(3, Effects, L_391_arg2, 0, 0, L_390_arg1, "Effect", vt())
  1045. L_400_.Anchored = true
  1046. L_400_.CFrame = L_392_arg3
  1047. local L_401_ = mesh("CylinderMesh", L_400_, "", "", vt(0, 0, 0), vt(L_393_arg4, L_394_arg5, L_395_arg6))
  1048. game:GetService("Debris"):AddItem(L_400_, 10)
  1049. coroutine.resume(coroutine.create(function(L_402_arg1, L_403_arg2)
  1050. for L_404_forvar1 = 0, 1, L_399_arg10 do
  1051. hbwait()
  1052. L_402_arg1.Transparency = L_404_forvar1
  1053. L_403_arg2.Scale = L_403_arg2.Scale + vt(L_396_arg7, L_397_arg8, L_398_arg9)
  1054. end
  1055. L_402_arg1.Parent = nil
  1056. end), L_400_, L_401_)
  1057. end
  1058. function MagicCircle(L_405_arg1, L_406_arg2, L_407_arg3, L_408_arg4, L_409_arg5, L_410_arg6, L_411_arg7, L_412_arg8, L_413_arg9, L_414_arg10)
  1059. local L_415_ = part(3, Effects, L_406_arg2, 0, 0, L_405_arg1, "Effect", vt())
  1060. L_415_.Anchored = true
  1061. L_415_.CFrame = L_407_arg3
  1062. local L_416_ = mesh("SpecialMesh", L_415_, "Sphere", "", vt(0, 0, 0), vt(L_408_arg4, L_409_arg5, L_410_arg6))
  1063. game:GetService("Debris"):AddItem(L_415_, 10)
  1064. coroutine.resume(coroutine.create(function(L_417_arg1, L_418_arg2)
  1065. for L_419_forvar1 = 0, 1, L_414_arg10 do
  1066. hbwait()
  1067. L_417_arg1.Transparency = L_419_forvar1
  1068. L_418_arg2.Scale = L_418_arg2.Scale + vt(L_411_arg7, L_412_arg8, L_413_arg9)
  1069. end
  1070. L_417_arg1.Parent = nil
  1071. end), L_415_, L_416_)
  1072. end
  1073. function MagicHead(L_420_arg1, L_421_arg2, L_422_arg3, L_423_arg4, L_424_arg5, L_425_arg6, L_426_arg7, L_427_arg8, L_428_arg9, L_429_arg10)
  1074. local L_430_ = part(3, Effects, L_421_arg2, 0, 0, L_420_arg1, "Effect", vt())
  1075. L_430_.Anchored = true
  1076. L_430_.CFrame = L_422_arg3
  1077. local L_431_ = mesh("SpecialMesh", L_430_, "Head", "", vt(0, 0, 0), vt(L_423_arg4, L_424_arg5, L_425_arg6))
  1078. game:GetService("Debris"):AddItem(L_430_, 10)
  1079. coroutine.resume(coroutine.create(function(L_432_arg1, L_433_arg2)
  1080. for L_434_forvar1 = 0, 1, L_429_arg10 do
  1081. hbwait()
  1082. L_432_arg1.Transparency = L_434_forvar1
  1083. L_433_arg2.Scale = L_433_arg2.Scale + vt(L_426_arg7, L_427_arg8, L_428_arg9)
  1084. end
  1085. L_432_arg1.Parent = nil
  1086. end), L_430_, L_431_)
  1087. end
  1088. function BreakEffect(L_435_arg1, L_436_arg2, L_437_arg3, L_438_arg4, L_439_arg5, L_440_arg6, L_441_arg7, L_442_arg8)
  1089. local L_443_ = part(3, Effects, L_436_arg2, 0, 0, L_435_arg1, "Effect", vt())
  1090. L_443_.Anchored = true
  1091. L_443_.CFrame = L_438_arg4 * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1092. local L_444_ = mesh("SpecialMesh", L_443_, "Sphere", "", vt(0, 0, 0), vt(L_439_arg5, L_440_arg6, L_441_arg7))
  1093. game:GetService("Debris"):AddItem(L_443_, 10)
  1094. coroutine.resume(coroutine.create(function(L_445_arg1, L_446_arg2, L_447_arg3, L_448_arg4)
  1095. L_446_arg2 = L_445_arg1.CFrame
  1096. L_447_arg3 = 0
  1097. L_448_arg4 = math.random() - math.random()
  1098. for L_449_forvar1 = 0, 1, L_442_arg8 do
  1099. hbwait()
  1100. L_446_arg2 = L_446_arg2 * cf(0, 1, 0)
  1101. if L_437_arg3 == true then
  1102. L_445_arg1.CFrame = L_446_arg2 * angles(L_447_arg3, 0, 0)
  1103. elseif L_437_arg3 == false then
  1104. L_445_arg1.CFrame = L_446_arg2
  1105. end
  1106. L_445_arg1.Transparency = L_449_forvar1
  1107. L_447_arg3 = L_447_arg3 + L_448_arg4
  1108. end
  1109. L_445_arg1.Parent = nil
  1110. end), L_443_, CF, Numbb, randnumb)
  1111. end
  1112. function ElecEffect(L_450_arg1, L_451_arg2, L_452_arg3, L_453_arg4, L_454_arg5, L_455_arg6, L_456_arg7)
  1113. local L_457_ = part(3, Effects, L_451_arg2, 0, 0, L_450_arg1, "Effect", vt())
  1114. L_457_.Anchored = true
  1115. L_457_.CFrame = L_452_arg3
  1116. xval = math.random()
  1117. yval = math.random()
  1118. zval = math.random()
  1119. local L_458_ = mesh("BlockMesh", L_457_, "", "", vt(0, 0, 0), vt(L_453_arg4, L_454_arg5, L_455_arg6))
  1120. game:GetService("Debris"):AddItem(L_457_, 10)
  1121. coroutine.resume(coroutine.create(function(L_459_arg1, L_460_arg2, L_461_arg3, L_462_arg4, L_463_arg5)
  1122. for L_464_forvar1 = 0, 1, L_456_arg7 do
  1123. hbwait()
  1124. L_459_arg1.CFrame = L_459_arg1.CFrame
  1125. L_461_arg3 = L_461_arg3 - 0.1 * (L_456_arg7 * 10)
  1126. L_462_arg4 = L_462_arg4 - 0.1 * (L_456_arg7 * 10)
  1127. L_463_arg5 = L_463_arg5 - 0.1 * (L_456_arg7 * 10)
  1128. L_460_arg2.Scale = L_460_arg2.Scale + vt(L_461_arg3, L_462_arg4, L_463_arg5)
  1129. L_459_arg1.Transparency = L_464_forvar1
  1130. end
  1131. L_459_arg1.Parent = nil
  1132. end), L_457_, L_458_, xval, yval, zval)
  1133. end
  1134. function TrailEffect(L_465_arg1, L_466_arg2, L_467_arg3, L_468_arg4, L_469_arg5, L_470_arg6, L_471_arg7, L_472_arg8, L_473_arg9, L_474_arg10, L_475_arg11)
  1135. local L_476_ = part(3, Effects, L_466_arg2, L_470_arg6, 0, L_465_arg1, "Effect", vt())
  1136. L_476_.Anchored = true
  1137. L_476_.CFrame = L_467_arg3
  1138. local L_477_ = "BlockMesh"
  1139. if L_469_arg5 == "Cylinder" then
  1140. L_477_ = "CylinderMesh"
  1141. end
  1142. local L_478_ = mesh(L_477_, L_476_, "", "", vt(0, 0, 0), vt())
  1143. game:GetService("Debris"):AddItem(L_476_, 10)
  1144. local L_479_ = L_467_arg3.p - L_468_arg4.p.magnitude
  1145. L_476_.Size = Vector3.new(1, L_479_, 1)
  1146. L_476_.CFrame = cf((L_467_arg3.p + L_468_arg4.p) / 2, L_468_arg4.p) * angles(math.rad(90), 0, 0)
  1147. L_478_.Scale = vt(0 + L_471_arg7, 1, 0 + L_471_arg7)
  1148. coroutine.resume(coroutine.create(function(L_480_arg1, L_481_arg2, L_482_arg3, L_483_arg4)
  1149. for L_484_forvar1 = 0, 1, L_475_arg11 do
  1150. hbwait()
  1151. L_480_arg1.Transparency = L_484_forvar1
  1152. L_481_arg2.Scale = L_481_arg2.Scale + vt(L_472_arg8, L_473_arg9, L_474_arg10)
  1153. end
  1154. L_480_arg1.Parent = nil
  1155. end), L_476_, L_478_, L_467_arg3, L_468_arg4)
  1156. end
  1157. function ClangEffect(L_485_arg1, L_486_arg2, L_487_arg3, L_488_arg4, L_489_arg5, L_490_arg6, L_491_arg7, L_492_arg8, L_493_arg9, L_494_arg10, L_495_arg11, L_496_arg12)
  1158. local L_497_ = part(3, Effects, L_486_arg2, 0, 1, L_485_arg1, "Effect", vt())
  1159. L_497_.Anchored = true
  1160. L_497_.CFrame = L_487_arg3
  1161. local L_498_ = mesh("BlockMesh", L_497_, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1162. game:GetService("Debris"):AddItem(L_497_, 10)
  1163. local L_499_ = L_487_arg3
  1164. coroutine.resume(coroutine.create(function(L_500_arg1)
  1165. for L_501_forvar1 = 1, L_489_arg5 do
  1166. hbwait()
  1167. L_500_arg1.CFrame = L_500_arg1.CFrame * angles(math.rad(L_488_arg4), 0, 0) * cf(0, L_491_arg7, 0)
  1168. TrailEffect(L_485_arg1, L_486_arg2, L_500_arg1.CFrame, L_499_, "Cylinder", L_492_arg8, L_490_arg6, L_493_arg9, L_494_arg10, L_495_arg11, L_496_arg12)
  1169. L_499_ = L_500_arg1.CFrame
  1170. end
  1171. L_500_arg1.Parent = nil
  1172. end), L_497_)
  1173. end
  1174. function MagicCone(L_502_arg1, L_503_arg2, L_504_arg3, L_505_arg4, L_506_arg5, L_507_arg6, L_508_arg7, L_509_arg8, L_510_arg9, L_511_arg10)
  1175. local L_512_ = part(3, Effects, L_503_arg2, 0, 0, L_502_arg1, "Effect", vt())
  1176. L_512_.Anchored = true
  1177. L_512_.CFrame = L_504_arg3
  1178. local L_513_ = mesh("SpecialMesh", L_512_, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(L_505_arg4, L_506_arg5, L_507_arg6))
  1179. game:GetService("Debris"):AddItem(L_512_, 10)
  1180. coroutine.resume(coroutine.create(function(L_514_arg1, L_515_arg2)
  1181. for L_516_forvar1 = 0, 1, L_511_arg10 do
  1182. hbwait()
  1183. L_514_arg1.Transparency = L_516_forvar1
  1184. L_515_arg2.Scale = L_515_arg2.Scale + vt(L_508_arg7, L_509_arg8, L_510_arg9)
  1185. end
  1186. L_514_arg1.Parent = nil
  1187. end), L_512_, L_513_)
  1188. end
  1189. function MagicFlatCone(L_517_arg1, L_518_arg2, L_519_arg3, L_520_arg4, L_521_arg5, L_522_arg6, L_523_arg7, L_524_arg8, L_525_arg9, L_526_arg10)
  1190. local L_527_ = part(3, Effects, L_518_arg2, 0, 0, L_517_arg1, "Effect", vt())
  1191. L_527_.Anchored = true
  1192. L_527_.CFrame = L_519_arg3
  1193. local L_528_ = mesh("SpecialMesh", L_527_, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(L_520_arg4, L_521_arg5, L_522_arg6))
  1194. game:GetService("Debris"):AddItem(L_527_, 10)
  1195. coroutine.resume(coroutine.create(function(L_529_arg1, L_530_arg2)
  1196. for L_531_forvar1 = 0, 1, L_526_arg10 do
  1197. hbwait()
  1198. L_529_arg1.Transparency = L_531_forvar1
  1199. L_530_arg2.Scale = L_530_arg2.Scale + vt(L_523_arg7, L_524_arg8, L_525_arg9)
  1200. end
  1201. L_529_arg1.Parent = nil
  1202. end), L_527_, L_528_)
  1203. end
  1204. function MagicSpikedCrown(L_532_arg1, L_533_arg2, L_534_arg3, L_535_arg4, L_536_arg5, L_537_arg6, L_538_arg7, L_539_arg8, L_540_arg9, L_541_arg10)
  1205. local L_542_ = part(3, Effects, L_533_arg2, 0, 0, L_532_arg1, "Effect", vt())
  1206. L_542_.Anchored = true
  1207. L_542_.CFrame = L_534_arg3
  1208. local L_543_ = mesh("SpecialMesh", L_542_, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(L_535_arg4, L_536_arg5, L_537_arg6))
  1209. game:GetService("Debris"):AddItem(L_542_, 10)
  1210. coroutine.resume(coroutine.create(function(L_544_arg1, L_545_arg2)
  1211. for L_546_forvar1 = 0, 1, L_541_arg10 do
  1212. hbwait()
  1213. L_544_arg1.Transparency = L_546_forvar1
  1214. L_545_arg2.Scale = L_545_arg2.Scale + vt(L_538_arg7, L_539_arg8, L_540_arg9)
  1215. end
  1216. L_544_arg1.Parent = nil
  1217. end), L_542_, L_543_)
  1218. end
  1219. function MagicCrown(L_547_arg1, L_548_arg2, L_549_arg3, L_550_arg4, L_551_arg5, L_552_arg6, L_553_arg7, L_554_arg8, L_555_arg9, L_556_arg10)
  1220. local L_557_ = part(3, Effects, L_548_arg2, 0, 0, L_547_arg1, "Effect", vt())
  1221. L_557_.Anchored = true
  1222. L_557_.CFrame = L_549_arg3
  1223. local L_558_ = mesh("SpecialMesh", L_557_, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(L_550_arg4, L_551_arg5, L_552_arg6))
  1224. game:GetService("Debris"):AddItem(L_557_, 10)
  1225. coroutine.resume(coroutine.create(function(L_559_arg1, L_560_arg2)
  1226. for L_561_forvar1 = 0, 1, L_556_arg10 do
  1227. hbwait()
  1228. L_559_arg1.Transparency = L_561_forvar1
  1229. L_560_arg2.Scale = L_560_arg2.Scale + vt(L_553_arg7, L_554_arg8, L_555_arg9)
  1230. end
  1231. L_559_arg1.Parent = nil
  1232. end), L_557_, L_558_)
  1233. end
  1234. function MagicSkull(L_562_arg1, L_563_arg2, L_564_arg3, L_565_arg4, L_566_arg5, L_567_arg6, L_568_arg7, L_569_arg8, L_570_arg9, L_571_arg10)
  1235. local L_572_ = part(3, Effects, L_563_arg2, 0, 0, L_562_arg1, "Effect", vt())
  1236. L_572_.Anchored = true
  1237. L_572_.CFrame = L_564_arg3
  1238. local L_573_ = mesh("SpecialMesh", L_572_, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(L_565_arg4, L_566_arg5, L_567_arg6))
  1239. game:GetService("Debris"):AddItem(L_572_, 10)
  1240. coroutine.resume(coroutine.create(function(L_574_arg1, L_575_arg2)
  1241. for L_576_forvar1 = 0, 1, L_571_arg10 do
  1242. hbwait()
  1243. L_574_arg1.Transparency = L_576_forvar1
  1244. L_575_arg2.Scale = L_575_arg2.Scale + vt(L_568_arg7, L_569_arg8, L_570_arg9)
  1245. end
  1246. L_574_arg1.Parent = nil
  1247. end), L_572_, L_573_)
  1248. end
  1249. local L_83_ = false
  1250. local L_84_ = true
  1251. local L_85_ = true
  1252. local L_86_ = false
  1253. local L_87_ = false
  1254. local L_88_ = false
  1255. local L_89_ = true
  1256. local L_90_ = true
  1257. local L_91_ = false
  1258. local L_92_ = false
  1259. local L_93_ = false
  1260. local L_94_ = false
  1261. local L_95_ = false
  1262. local L_96_ = false
  1263. local L_97_ = false
  1264. local L_98_ = false
  1265. local L_99_ = false
  1266. local L_100_ = true
  1267. local L_101_ = true
  1268. local L_102_ = true
  1269. local L_103_ = false
  1270. local L_104_ = false
  1271. if L_88_ == true then
  1272. for L_577_forvar1, L_578_forvar2 in pairs(L_57_:GetChildren()) do
  1273. if L_578_forvar2.ClassName == "Frame" or L_578_forvar2.ClassName == "TextLabel" then
  1274. L_578_forvar2.Visible = false
  1275. end
  1276. end
  1277. end
  1278. Humanoid.Changed:connect(function(L_579_arg1)
  1279. if L_579_arg1 == "Jump" and L_104_ == true then
  1280. Humanoid.Jump = false
  1281. end
  1282. end)
  1283. if L_89_ == true then
  1284. for L_580_forvar1, L_581_forvar2 in pairs(L_57_:GetChildren()) do
  1285. if L_581_forvar2.ClassName == "Frame" then
  1286. for L_582_forvar1, L_583_forvar2 in pairs(L_581_forvar2:GetChildren()) do
  1287. if L_583_forvar2.ClassName == "TextLabel" then
  1288. coroutine.resume(coroutine.create(function(L_584_arg1)
  1289. wait(L_75_)
  1290. for L_585_forvar1 = 1, 0, -0.1 do
  1291. hbwait()
  1292. L_584_arg1.TextTransparency = L_585_forvar1
  1293. L_584_arg1.TextStrokeTransparency = L_585_forvar1
  1294. end
  1295. L_584_arg1.TextTransparency = 0
  1296. L_584_arg1.TextStrokeTransparency = 0
  1297. end), L_583_forvar2)
  1298. if L_77_ == true then
  1299. coroutine.resume(coroutine.create(function(L_586_arg1)
  1300. wait(L_75_)
  1301. for L_587_forvar1 = 1, 0, -0.1 do
  1302. hbwait()
  1303. L_586_arg1.TextTransparency = L_587_forvar1
  1304. L_586_arg1.TextStrokeTransparency = L_587_forvar1
  1305. end
  1306. L_586_arg1.TextTransparency = 0
  1307. L_586_arg1.TextStrokeTransparency = 0
  1308. end), L_583_forvar2)
  1309. end
  1310. if L_99_ == true then
  1311. coroutine.resume(coroutine.create(function(L_588_arg1)
  1312. wait(L_75_)
  1313. for L_589_forvar1 = 1, 0, -0.1 do
  1314. hbwait()
  1315. L_588_arg1.TextTransparency = L_589_forvar1
  1316. L_588_arg1.TextStrokeTransparency = L_589_forvar1
  1317. end
  1318. L_588_arg1.TextTransparency = 0
  1319. L_588_arg1.TextStrokeTransparency = 0
  1320. end), L_583_forvar2)
  1321. end
  1322. if L_90_ == true then
  1323. coroutine.resume(coroutine.create(function(L_590_arg1)
  1324. wait(L_75_)
  1325. for L_591_forvar1 = 1, 0, -0.1 do
  1326. hbwait()
  1327. L_590_arg1.TextTransparency = L_591_forvar1
  1328. L_590_arg1.TextStrokeTransparency = L_591_forvar1
  1329. end
  1330. L_590_arg1.TextTransparency = 0
  1331. L_590_arg1.TextStrokeTransparency = 0
  1332. end), L_583_forvar2)
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. if L_98_ == true then
  1340. if script.Parent.className ~= "HopperBin" then
  1341. Tool = Instance.new("HopperBin")
  1342. Tool.Parent = Backpack
  1343. Tool.Name = "Weapon Name"
  1344. script.Parent = Tool
  1345. end
  1346. Bin = script.Parent
  1347. end
  1348. if L_94_ == true then
  1349. RWC0 = cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0))
  1350. LWC0 = cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0))
  1351. RSH, LSH = nil, nil
  1352. if L_95_ == true then
  1353. RW = Instance.new("Motor")
  1354. LW = Instance.new("Motor")
  1355. else
  1356. RW = Instance.new("Weld")
  1357. LW = Instance.new("Weld")
  1358. end
  1359. RW.Name = "Right Shoulder"
  1360. LW.Name = "Left Shoulder"
  1361. RSH = Torso["Right Shoulder"]
  1362. LSH = Torso["Left Shoulder"]
  1363. RSH.Parent = Torso
  1364. LSH.Parent = Torso
  1365. RW.Name = "Right Shoulder"
  1366. RW.Part0 = Torso
  1367. RW.C0 = cf(1.5, 0.5, 0)
  1368. RW.C1 = cf(0, 0.5, 0)
  1369. RW.Part1 = Character["Right Arm"]
  1370. RW.Parent = nil
  1371. LW.Name = "Left Shoulder"
  1372. LW.Part0 = Torso
  1373. LW.C0 = cf(-1.5, 0.5, 0)
  1374. LW.C1 = cf(0, 0.5, 0)
  1375. LW.Part1 = Character["Left Arm"]
  1376. LW.Parent = nil
  1377. else
  1378. RW = Torso["Right Shoulder"]
  1379. LW = Torso["Left Shoulder"]
  1380. RWC0 = cf(-0.5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(0))
  1381. LWC0 = cf(0.5, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0))
  1382. end
  1383. if L_92_ == true then
  1384. coroutine.resume(coroutine.create(function()
  1385. while true do
  1386. for L_592_forvar1 = 0, 1, 0.08 do
  1387. wait()
  1388. L_34_ = L_34_ + 0.005 * L_35_
  1389. L_35_ = L_35_ - 0.1
  1390. end
  1391. L_35_ = 0
  1392. for L_593_forvar1 = 0, 1, 0.08 do
  1393. wait()
  1394. L_34_ = L_34_ - 0.005 * L_35_
  1395. L_35_ = L_35_ - 0.1
  1396. end
  1397. L_35_ = 0
  1398. L_34_ = 0
  1399. end
  1400. end))
  1401. end
  1402. if L_83_ == true then
  1403. for L_594_forvar1, L_595_forvar2 in pairs(m:GetChildren()) do
  1404. if L_595_forvar2.ClassName == "Part" and L_595_forvar2.Name ~= "Hitbox" and L_595_forvar2.Name ~= "Handle" then
  1405. L_595_forvar2.Transparency = 0
  1406. end
  1407. end
  1408. elseif L_84_ == true then
  1409. for L_596_forvar1, L_597_forvar2 in pairs(m:GetChildren()) do
  1410. if L_597_forvar2.ClassName == "Part" and L_597_forvar2.Name ~= "Hitbox" and L_597_forvar2.Name ~= "Handle" then
  1411. coroutine.resume(coroutine.create(function(L_598_arg1)
  1412. for L_599_forvar1 = 1, 0, -0.1 do
  1413. hbwait()
  1414. L_598_arg1.Transparency = L_599_forvar1
  1415. end
  1416. L_598_arg1.Transparency = 0
  1417. end), L_597_forvar2)
  1418. end
  1419. end
  1420. end
  1421. function equipanim()
  1422. attack = true
  1423. L_7_.Value = L_7_.Value - 0.1
  1424. L_6_.Value = L_6_.Value + 0.4
  1425. so("346134880", RightArm, 0.5, 1)
  1426. so("346134880", LeftArm, 0.5, 1)
  1427. for L_600_forvar1 = 0, 1, 0.06 / L_4_ do
  1428. hbwait()
  1429. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1430. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1431. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-45)) * RWC0, 0.3 / L_4_)
  1432. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(80), math.rad(0), math.rad(45)) * LWC0, 0.3 / L_4_)
  1433. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1434. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1435. end
  1436. for L_601_forvar1 = 0, 1, 0.06 / L_4_ do
  1437. hbwait()
  1438. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1439. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(1.25), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1440. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-60)) * RWC0, 0.45 / L_4_)
  1441. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(80), math.rad(0), math.rad(60)) * LWC0, 0.45 / L_4_)
  1442. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1443. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1444. end
  1445. attack = false
  1446. end
  1447. function unequipanim()
  1448. attack = true
  1449. for L_602_forvar1 = 0, 1, 0.08 / L_4_ do
  1450. hbwait()
  1451. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1452. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1453. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1454. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 0.3 / L_4_)
  1455. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1456. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 0.3 / L_4_)
  1457. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1458. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1459. end
  1460. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1461. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1462. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 1)
  1463. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 1)
  1464. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 1)
  1465. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 1)
  1466. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1467. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1468. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1469. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1470. L_7_.Value = L_7_.Value + 0.1
  1471. L_6_.Value = L_6_.Value - 0.4
  1472. attack = false
  1473. end
  1474. if L_83_ == true then
  1475. equipped = true
  1476. if L_86_ == true then
  1477. L_48_.Disabled = true
  1478. local L_603_ = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1479. L_603_:Play()
  1480. end
  1481. if L_85_ == true then
  1482. L_47_.Parent = nil
  1483. end
  1484. if L_94_ == true then
  1485. RW.Parent = Torso
  1486. LW.Parent = Torso
  1487. RSH.Parent = nil
  1488. LSH.Parent = nil
  1489. end
  1490. L_7_.Value = L_7_.Value - 0.1
  1491. L_6_.Value = L_6_.Value + 0.4
  1492. elseif L_84_ == true then
  1493. equipped = true
  1494. if L_86_ == true then
  1495. L_48_.Disabled = true
  1496. local L_604_ = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1497. L_604_:Play()
  1498. end
  1499. if L_85_ == true then
  1500. L_47_.Parent = nil
  1501. end
  1502. if L_94_ == true then
  1503. RW.Parent = Torso
  1504. LW.Parent = Torso
  1505. RSH.Parent = nil
  1506. LSH.Parent = nil
  1507. end
  1508. coroutine.resume(coroutine.create(function()
  1509. hbwait()
  1510. equipanim()
  1511. end))
  1512. end
  1513. function StaggerHit()
  1514. attack = true
  1515. for L_605_forvar1 = 1, math.random(2, 4) do
  1516. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1517. end
  1518. for L_606_forvar1 = 0, 1, 0.1 / L_4_ do
  1519. hbwait()
  1520. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1521. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1522. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(-30), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(-30), math.rad(0)) * RWC0, 0.3 / L_4_)
  1523. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)) * angles(math.rad(0), math.rad(20), math.rad(0)) * LWC0, 0.3 / L_4_)
  1524. RH.C0 = clerp(RH.C0, cf(1, -0.9 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3 / L_4_)
  1525. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.3 / L_4_)
  1526. if L_13_.Value == true or L_14_.Value == true then
  1527. break
  1528. end
  1529. end
  1530. attack = false
  1531. end
  1532. function Stagger()
  1533. attack = true
  1534. L_104_ = true
  1535. for L_608_forvar1 = 1, math.random(2, 4) do
  1536. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1537. end
  1538. attacktype = 1
  1539. local L_607_ = Instance.new("BodyVelocity", Torso)
  1540. L_607_.P = 500
  1541. L_607_.maxForce = vt(math.huge, 0, math.huge)
  1542. if L_10_.Value == false then
  1543. L_607_.Velocity = RootPart.CFrame.lookVector * -25
  1544. end
  1545. for L_609_forvar1 = 0, 1, 0.35 / L_4_ do
  1546. hbwait()
  1547. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + L_34_) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1548. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(35)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1549. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(20), math.rad(-30), math.rad(40)) * RWC0, 0.3 / L_4_)
  1550. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(10), math.rad(5), math.rad(-20)) * LWC0, 0.3 / L_4_)
  1551. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, -0.25) * angles(math.rad(0), math.rad(100), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1552. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.3 / L_4_)
  1553. end
  1554. for L_610_forvar1 = 0, 1, 0.2 / L_4_ do
  1555. hbwait()
  1556. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 + L_34_) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1557. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(35)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1558. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(20), math.rad(-30), math.rad(40)) * RWC0, 0.3 / L_4_)
  1559. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(10), math.rad(5), math.rad(-20)) * LWC0, 0.3 / L_4_)
  1560. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, -0.25) * angles(math.rad(0), math.rad(100), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1561. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - L_34_, 0.25) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1562. end
  1563. L_607_:Destroy()
  1564. for L_611_forvar1 = 0, 1, 0.015 / L_4_ do
  1565. hbwait()
  1566. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(-5), math.rad(-5), math.rad(0)), 0.3 / L_4_)
  1567. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(5), math.rad(0)), 0.3 / L_4_)
  1568. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(0), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(-20), math.rad(0)) * RWC0, 0.3 / L_4_)
  1569. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-15), math.rad(0), math.rad(-10)) * angles(math.rad(0), math.rad(20), math.rad(0)) * LWC0, 0.3 / L_4_)
  1570. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(70)) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3 / L_4_)
  1571. LH.C0 = clerp(LH.C0, cf(-1, 0.4 - L_34_, -0.5) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.3 / L_4_)
  1572. if L_14_.Value == true then
  1573. break
  1574. end
  1575. end
  1576. attacktype = 1
  1577. L_104_ = false
  1578. attack = false
  1579. end
  1580. function Stun()
  1581. attack = true
  1582. L_104_ = true
  1583. attacktype = 1
  1584. DamageStatLabel(Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1585. for L_612_forvar1 = 0, 1, 0.4 / L_4_ do
  1586. hbwait()
  1587. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(15), math.rad(0), math.rad(-160)), 0.3 / L_4_)
  1588. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1589. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(70), math.rad(0), math.rad(15)) * RWC0, 0.3 / L_4_)
  1590. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(70), math.rad(0), math.rad(-15)) * LWC0, 0.3 / L_4_)
  1591. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.3 / L_4_)
  1592. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.3 / L_4_)
  1593. end
  1594. for L_613_forvar1 = 0, 1, 0.4 / L_4_ do
  1595. hbwait()
  1596. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 + L_34_) * angles(math.rad(45), math.rad(0), math.rad(-170)), 0.3 / L_4_)
  1597. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1598. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(45)) * RWC0, 0.3 / L_4_)
  1599. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(-45)) * LWC0, 0.3 / L_4_)
  1600. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.3 / L_4_)
  1601. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.3 / L_4_)
  1602. end
  1603. for L_614_forvar1 = 0, 1, 0.4 / L_4_ do
  1604. hbwait()
  1605. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1 + L_34_) * angles(math.rad(75), math.rad(0), math.rad(-180)), 0.3 / L_4_)
  1606. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-60)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1607. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(75)) * RWC0, 0.3 / L_4_)
  1608. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-45), math.rad(0), math.rad(-75)) * LWC0, 0.3 / L_4_)
  1609. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.3 / L_4_)
  1610. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1611. end
  1612. gyro = Instance.new("BodyGyro")
  1613. gyro.Parent = nil
  1614. gyro.P = 10000000
  1615. gyro.D = 1000
  1616. gyro.MaxTorque = vt(10000000, 10000000, 10000000)
  1617. gyro.cframe = RootPart.CFrame
  1618. for L_615_forvar1 = 1, 70 * L_4_ do
  1619. hbwait()
  1620. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5 + L_34_) * angles(math.rad(90), math.rad(0), math.rad(-180)), 0.3 / L_4_)
  1621. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1622. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(-10), math.rad(90)) * RWC0, 0.3 / L_4_)
  1623. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-90), math.rad(0), math.rad(-90)) * LWC0, 0.3 / L_4_)
  1624. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.2) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1625. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1626. end
  1627. for L_616_forvar1 = 0, 1, 0.5 / L_4_ do
  1628. hbwait()
  1629. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1 + L_34_) * angles(math.rad(90), math.rad(0), math.rad(-180)), 0.3 / L_4_)
  1630. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1631. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(-10), math.rad(120)) * RWC0, 0.3 / L_4_)
  1632. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-90), math.rad(0), math.rad(-120)) * LWC0, 0.3 / L_4_)
  1633. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.2) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1634. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1635. end
  1636. for L_617_forvar1 = 0, 1, 0.15 / L_4_ do
  1637. hbwait()
  1638. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5 + L_34_) * angles(math.rad(30), math.rad(0), math.rad(120)), 0.3 / L_4_)
  1639. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1640. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)) * RWC0, 0.3 / L_4_)
  1641. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(20)) * LWC0, 0.3 / L_4_)
  1642. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(70)), 0.3 / L_4_)
  1643. LH.C0 = clerp(LH.C0, cf(-1, -0.25 - L_34_, -1) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1644. end
  1645. gyro.Parent = nil
  1646. attacktype = 1
  1647. L_104_ = false
  1648. attack = false
  1649. end
  1650. function Dance()
  1651. if L_27_ == "Sword" then
  1652. EAbility()
  1653. end
  1654. attack = true
  1655. L_26_ = true
  1656. L_104_ = true
  1657. L_10_.Value = true
  1658. while L_26_ == true do
  1659. hbwait()
  1660. for L_618_forvar1 = 0, 1, 0.5 / L_4_ do
  1661. hbwait()
  1662. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5 / L_4_)
  1663. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.25 / L_4_)
  1664. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.25) * angles(math.rad(30), math.rad(0), math.rad(-30)) * RWC0, 0.25 / L_4_)
  1665. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.25) * angles(math.rad(30), math.rad(0), math.rad(30)) * LWC0, 0.25 / L_4_)
  1666. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(22.5)), 0.5 / L_4_)
  1667. LH.C0 = clerp(LH.C0, cf(-1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-22.5)), 0.5 / L_4_)
  1668. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_26_ == false then
  1669. break
  1670. end
  1671. end
  1672. for L_619_forvar1 = 0, 1, 0.15 / L_4_ do
  1673. hbwait()
  1674. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(-0.5, 0, 0 + L_34_) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.5 / L_4_)
  1675. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.25 / L_4_)
  1676. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-60)) * RWC0, 0.25 / L_4_)
  1677. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(60), math.rad(0), math.rad(-60)) * LWC0, 0.25 / L_4_)
  1678. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(-7.5)), 0.5 / L_4_)
  1679. LH.C0 = clerp(LH.C0, cf(-1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5 / L_4_)
  1680. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_26_ == false then
  1681. break
  1682. end
  1683. end
  1684. for L_620_forvar1 = 0, 1, 0.5 / L_4_ do
  1685. hbwait()
  1686. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5 / L_4_)
  1687. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.25 / L_4_)
  1688. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.25) * angles(math.rad(30), math.rad(0), math.rad(-30)) * RWC0, 0.25 / L_4_)
  1689. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.25) * angles(math.rad(30), math.rad(0), math.rad(30)) * LWC0, 0.25 / L_4_)
  1690. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(22.5)), 0.5 / L_4_)
  1691. LH.C0 = clerp(LH.C0, cf(-1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-22.5)), 0.5 / L_4_)
  1692. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_26_ == false then
  1693. break
  1694. end
  1695. end
  1696. for L_621_forvar1 = 0, 1, 0.15 / L_4_ do
  1697. hbwait()
  1698. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0.5, 0, 0 + L_34_) * angles(math.rad(0), math.rad(20), math.rad(-30)), 0.5 / L_4_)
  1699. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(10), math.rad(30)), 0.25 / L_4_)
  1700. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(60), math.rad(0), math.rad(60)) * RWC0, 0.25 / L_4_)
  1701. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(60), math.rad(0), math.rad(60)) * LWC0, 0.25 / L_4_)
  1702. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5 / L_4_)
  1703. LH.C0 = clerp(LH.C0, cf(-1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(7.5)), 0.5 / L_4_)
  1704. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_26_ == false then
  1705. break
  1706. end
  1707. end
  1708. end
  1709. L_104_ = false
  1710. L_10_.Value = false
  1711. attack = false
  1712. end
  1713. function EAbility()
  1714. attack = true
  1715. if L_27_ == "Normal" then
  1716. L_27_ = "Sword"
  1717. for L_622_forvar1 = 0, 1, 0.08 / L_4_ do
  1718. hbwait()
  1719. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1720. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1721. RW.C0 = clerp(RW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-110)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1722. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)) * angles(math.rad(40), math.rad(0), math.rad(0)) * LWC0, 0.3 / L_4_)
  1723. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1724. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3 / L_4_)
  1725. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1726. break
  1727. end
  1728. end
  1729. Handleweld.Part0 = LeftArm
  1730. Handleweld.C0 = cf(0.2, -2.5, 0) * angles(math.rad(90), math.rad(20), math.rad(160))
  1731. L_6_.Value = L_6_.Value + 0.2
  1732. L_8_.Value = L_8_.Value + 0.5
  1733. L_7_.Value = L_7_.Value - 0.4
  1734. L_70_ = 30
  1735. elseif L_27_ == "Sword" then
  1736. L_27_ = "Normal"
  1737. for L_623_forvar1 = 0, 1, 0.08 / L_4_ do
  1738. hbwait()
  1739. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1740. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1741. RW.C0 = clerp(RW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-110)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1742. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)) * angles(math.rad(40), math.rad(0), math.rad(0)) * LWC0, 0.3 / L_4_)
  1743. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1744. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3 / L_4_)
  1745. Handleweld.C0 = clerp(Handleweld.C0, cf(0.2, -2.5, 0) * angles(math.rad(90), math.rad(20), math.rad(160)), 0.3 / L_4_)
  1746. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1747. break
  1748. end
  1749. end
  1750. Handleweld.Part0 = Torso
  1751. Handleweld.C0 = cf(-4, 2.5, 0.8) * angles(0, math.rad(-90), 0) * angles(math.rad(-30), 0, 0)
  1752. L_6_.Value = L_6_.Value - 0.2
  1753. L_8_.Value = L_8_.Value - 0.5
  1754. L_7_.Value = L_7_.Value + 0.4
  1755. L_70_ = 20
  1756. end
  1757. attack = false
  1758. end
  1759. function Attack1()
  1760. attack = true
  1761. if L_27_ == "Normal" then
  1762. for L_624_forvar1 = 0, 1, 0.15 / L_4_ do
  1763. hbwait()
  1764. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.45 / L_4_)
  1765. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(2.5), math.rad(0), math.rad(-40)), 0.45 / L_4_)
  1766. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0) * angles(math.rad(110), math.rad(0), math.rad(-15)) * RWC0, 0.45 / L_4_)
  1767. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(10)) * LWC0, 0.45 / L_4_)
  1768. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  1769. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.45 / L_4_)
  1770. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1771. break
  1772. end
  1773. end
  1774. so("169445092", LeftArm, 1, 0.8)
  1775. for L_625_forvar1 = 0, 1, 0.15 / L_4_ do
  1776. hbwait()
  1777. MagniDamage(LeftArm, 5, 5, 10, math.random(2, 4), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1778. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.25, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.6 / L_4_)
  1779. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(50)), 0.6 / L_4_)
  1780. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)) * RWC0, 0.6 / L_4_)
  1781. LW.C0 = clerp(LW.C0, cf(-1.5, 0.4 + L_34_, -0.25) * angles(math.rad(100), math.rad(0), math.rad(-20)) * LWC0, 0.6 / L_4_)
  1782. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-5)), 0.6 / L_4_)
  1783. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(-40), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.6 / L_4_)
  1784. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1785. break
  1786. end
  1787. end
  1788. for L_626_forvar1 = 0, 1, 0.15 / L_4_ do
  1789. hbwait()
  1790. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.45 / L_4_)
  1791. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.45 / L_4_)
  1792. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0) * angles(math.rad(110), math.rad(0), math.rad(-15)) * RWC0, 0.45 / L_4_)
  1793. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(80), math.rad(0), math.rad(10)) * LWC0, 0.45 / L_4_)
  1794. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.45 / L_4_)
  1795. LH.C0 = clerp(LH.C0, cf(-0.85, -1 - L_34_, 0.4) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-5)), 0.45 / L_4_)
  1796. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1797. break
  1798. end
  1799. end
  1800. so("169445092", RightArm, 1, 0.9)
  1801. for L_627_forvar1 = 0, 1, 0.15 / L_4_ do
  1802. hbwait()
  1803. MagniDamage(RightArm, 5, 5, 10, math.random(2, 4), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1804. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.25, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.6 / L_4_)
  1805. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-2.5), math.rad(0), math.rad(-50)), 0.6 / L_4_)
  1806. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, -0.25) * angles(math.rad(90), math.rad(0), math.rad(30)) * RWC0, 0.6 / L_4_)
  1807. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(110), math.rad(0), math.rad(30)) * LWC0, 0.6 / L_4_)
  1808. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(40), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-5)), 0.6 / L_4_)
  1809. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.6 / L_4_)
  1810. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1811. break
  1812. end
  1813. end
  1814. elseif L_27_ == "Sword" then
  1815. for L_628_forvar1 = 0, 1, 0.05 / L_4_ do
  1816. hbwait()
  1817. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1818. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3 / L_4_)
  1819. RW.C0 = clerp(RW.C0, cf(-0.25, 0.25 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * RWC0, 0.3 / L_4_)
  1820. LW.C0 = clerp(LW.C0, cf(-1.25, 0.5 + L_34_, -0.25) * angles(math.rad(20), math.rad(0), math.rad(-80)) * angles(math.rad(0), math.rad(150), math.rad(0)) * LWC0, 0.3 / L_4_)
  1821. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  1822. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3 / L_4_)
  1823. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-50), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  1824. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1825. break
  1826. end
  1827. end
  1828. so("231917950", Hitbox, 1, 1.2)
  1829. so("203691447", Hitbox, 1, 1.2)
  1830. for L_629_forvar1 = 0, 1, 0.05 / L_4_ do
  1831. hbwait()
  1832. MagniDamage(Hitbox, 8, 5, 10, math.random(2, 4), "Normal2", RootPart, 0.75, 1, 0, nil, false, true, nil, 0, 0, false)
  1833. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3 / L_4_)
  1834. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3 / L_4_)
  1835. RW.C0 = clerp(RW.C0, cf(1, 0.25 + L_34_, -0.5) * angles(math.rad(110), math.rad(0), math.rad(-50)) * RWC0, 0.3 / L_4_)
  1836. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(80), math.rad(0), math.rad(30)) * angles(math.rad(0), math.rad(85), math.rad(0)) * LWC0, 0.3 / L_4_)
  1837. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  1838. LH.C0 = clerp(LH.C0, cf(-0.75, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(-20), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-2.5)), 0.3 / L_4_)
  1839. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.5, -0.25) * angles(math.rad(-70), math.rad(0), math.rad(0)), 0.3 / L_4_)
  1840. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1841. break
  1842. end
  1843. end
  1844. end
  1845. attack = false
  1846. end
  1847. function Attack2()
  1848. attack = true
  1849. if L_27_ == "Normal" then
  1850. for L_630_forvar1 = 0, 1, 0.15 / L_4_ do
  1851. hbwait()
  1852. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.45 / L_4_)
  1853. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1854. RW.C0 = clerp(RW.C0, cf(1, 0.25 + L_34_, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-30)) * RWC0, 0.45 / L_4_)
  1855. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)) * LWC0, 0.45 / L_4_)
  1856. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  1857. LH.C0 = clerp(LH.C0, cf(-1, -0.75 - L_34_, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.45 / L_4_)
  1858. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1859. break
  1860. end
  1861. end
  1862. L_104_ = true
  1863. L_10_.Value = true
  1864. so("169445092", LeftLeg, 1, 1)
  1865. for L_631_forvar1 = 0, 1, 0.15 / L_4_ do
  1866. hbwait()
  1867. MagniDamage(LeftLeg, 5, 5, 10, 0, "Knockdown", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1868. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.25, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.6 / L_4_)
  1869. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.6 / L_4_)
  1870. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(10), math.rad(0), math.rad(10)) * RWC0, 0.6 / L_4_)
  1871. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)) * LWC0, 0.6 / L_4_)
  1872. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.6 / L_4_)
  1873. LH.C0 = clerp(LH.C0, cf(-1, -0.5 - L_34_, -0.25) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-100)), 0.6 / L_4_)
  1874. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1875. break
  1876. end
  1877. end
  1878. for L_632_forvar1 = 0, 1, 0.15 / L_4_ do
  1879. hbwait()
  1880. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.45 / L_4_)
  1881. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(70)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1882. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(30), math.rad(0), math.rad(10)) * RWC0, 0.45 / L_4_)
  1883. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)) * LWC0, 0.45 / L_4_)
  1884. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  1885. LH.C0 = clerp(LH.C0, cf(-1.1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.45 / L_4_)
  1886. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1887. break
  1888. end
  1889. end
  1890. so("169445092", LeftLeg, 1, 0.7)
  1891. for L_633_forvar1 = 0, 1, 0.15 / L_4_ do
  1892. hbwait()
  1893. MagniDamage(LeftLeg, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1894. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.5 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(-90)), 0.6 / L_4_)
  1895. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(90)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6 / L_4_)
  1896. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.6 / L_4_)
  1897. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)) * LWC0, 0.6 / L_4_)
  1898. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(-2.5)), 0.6 / L_4_)
  1899. LH.C0 = clerp(LH.C0, cf(-1.1, -0.35 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-12.5), math.rad(0), math.rad(-2.5)), 0.6 / L_4_)
  1900. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1901. break
  1902. end
  1903. end
  1904. L_104_ = false
  1905. L_10_.Value = false
  1906. elseif L_27_ == "Sword" then
  1907. for L_634_forvar1 = 0, 1, 0.05 / L_4_ do
  1908. hbwait()
  1909. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3 / L_4_)
  1910. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(40)), 0.3 / L_4_)
  1911. RW.C0 = clerp(RW.C0, cf(0.5, 0 + L_34_, -0.75) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(15), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1912. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * LWC0, 0.3 / L_4_)
  1913. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  1914. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0.5) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.3 / L_4_)
  1915. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-40), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  1916. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1917. break
  1918. end
  1919. end
  1920. so("231917950", Hitbox, 1, 1.2)
  1921. so("203691467", Hitbox, 1, 1.2)
  1922. for L_635_forvar1 = 0, 1, 0.05 / L_4_ do
  1923. hbwait()
  1924. MagniDamage(Hitbox, 8, 5, 10, math.random(2, 4), "Normal2", RootPart, 0.75, 1, 0, nil, false, true, nil, 0, 0, false)
  1925. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3 / L_4_)
  1926. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3 / L_4_)
  1927. RW.C0 = clerp(RW.C0, cf(-0.5, 0 + L_34_, -0.75) * angles(math.rad(90), math.rad(0), math.rad(-100)) * angles(math.rad(20), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  1928. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-50)) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * LWC0, 0.3 / L_4_)
  1929. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(40), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  1930. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(5)), 0.3 / L_4_)
  1931. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-50), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  1932. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1933. break
  1934. end
  1935. end
  1936. end
  1937. attack = false
  1938. end
  1939. function Attack3()
  1940. attack = true
  1941. if L_27_ == "Normal" then
  1942. L_104_ = true
  1943. L_10_.Value = true
  1944. for L_636_forvar1 = 0, 1, 0.15 / L_4_ do
  1945. hbwait()
  1946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.45 / L_4_)
  1947. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-70)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  1948. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(0), math.rad(0), math.rad(30)) * RWC0, 0.45 / L_4_)
  1949. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-5), math.rad(0), math.rad(-20)) * LWC0, 0.45 / L_4_)
  1950. RH.C0 = clerp(RH.C0, cf(0.75, -0.25 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-60), math.rad(0), math.rad(5)), 0.45 / L_4_)
  1951. LH.C0 = clerp(LH.C0, cf(-1, -0.7 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(2.5)), 0.45 / L_4_)
  1952. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1953. break
  1954. end
  1955. end
  1956. so("169445092", RightLeg, 1, 1.1)
  1957. for L_637_forvar1 = 0, 1, 0.15 / L_4_ do
  1958. hbwait()
  1959. MagniDamage(RightLeg, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1960. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0 + L_34_) * angles(math.rad(-15), math.rad(0), math.rad(90)), 0.6 / L_4_)
  1961. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-80)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.6 / L_4_)
  1962. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * RWC0, 0.6 / L_4_)
  1963. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-5), math.rad(0), math.rad(-40)) * LWC0, 0.6 / L_4_)
  1964. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.25) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6 / L_4_)
  1965. LH.C0 = clerp(LH.C0, cf(-1, -0.7 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-27.5), math.rad(0), math.rad(2.5)), 0.6 / L_4_)
  1966. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1967. break
  1968. end
  1969. end
  1970. for L_638_forvar1 = 0, 1, 0.15 / L_4_ do
  1971. hbwait()
  1972. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, -0.25 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(45)), 0.45 / L_4_)
  1973. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-45)), 0.45 / L_4_)
  1974. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0) * angles(math.rad(130), math.rad(0), math.rad(-10)) * RWC0, 0.45 / L_4_)
  1975. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)) * LWC0, 0.45 / L_4_)
  1976. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0.25) * angles(math.rad(0), math.rad(45), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  1977. LH.C0 = clerp(LH.C0, cf(-1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  1978. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1979. break
  1980. end
  1981. end
  1982. so("169445092", LeftLeg, 1, 1.2)
  1983. for L_639_forvar1 = 0, 1, 0.15 / L_4_ do
  1984. hbwait()
  1985. MagniDamage(LeftLeg, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  1986. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(-80)), 0.6 / L_4_)
  1987. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(80)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.6 / L_4_)
  1988. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(30), math.rad(0), math.rad(5)) * RWC0, 0.6 / L_4_)
  1989. LW.C0 = clerp(LW.C0, cf(-1.25, 0.25 + L_34_, 0) * angles(math.rad(110), math.rad(0), math.rad(25)) * LWC0, 0.6 / L_4_)
  1990. RH.C0 = clerp(RH.C0, cf(1, -0.8 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(-10)), 0.6 / L_4_)
  1991. LH.C0 = clerp(LH.C0, cf(-0.75, -0.5 - L_34_, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-70), math.rad(0), math.rad(-30)), 0.6 / L_4_)
  1992. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  1993. break
  1994. end
  1995. end
  1996. L_104_ = false
  1997. L_10_.Value = false
  1998. elseif L_27_ == "Sword" then
  1999. for L_640_forvar1 = 0, 1, 0.05 / L_4_ do
  2000. hbwait()
  2001. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(50)), 0.3 / L_4_)
  2002. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-50)) * angles(math.rad(-7.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2003. RW.C0 = clerp(RW.C0, cf(-0.5, 0.25 + L_34_, -0.5) * angles(math.rad(120), math.rad(0), math.rad(-75)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2004. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(110), math.rad(0), math.rad(-90)) * angles(math.rad(-70), math.rad(60), math.rad(0)) * LWC0, 0.3 / L_4_)
  2005. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, 0) * angles(math.rad(0), math.rad(30), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(22.5)), 0.3 / L_4_)
  2006. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.3 / L_4_)
  2007. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2008. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2009. break
  2010. end
  2011. end
  2012. so("231917950", Hitbox, 1, 0.8)
  2013. so("203691447", Hitbox, 1, 0.8)
  2014. for L_641_forvar1 = 0, 1, 0.05 / L_4_ do
  2015. hbwait()
  2016. MagniDamage(Hitbox, 8, 5, 10, math.random(2, 4), "Normal2", RootPart, 0.75, 1, 0, nil, false, true, nil, 0, 0, false)
  2017. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, -0.1 + L_34_) * angles(math.rad(-5), math.rad(0), math.rad(-50)), 0.3 / L_4_)
  2018. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(50)) * angles(math.rad(7.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2019. RW.C0 = clerp(RW.C0, cf(1, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)) * angles(math.rad(10), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2020. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(50)) * angles(math.rad(10), math.rad(80), math.rad(0)) * LWC0, 0.3 / L_4_)
  2021. RH.C0 = clerp(RH.C0, cf(1, -0.8 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3 / L_4_)
  2022. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(-40), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  2023. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2024. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2025. break
  2026. end
  2027. end
  2028. end
  2029. attack = false
  2030. end
  2031. function GroundSmash(L_642_arg1, L_643_arg2)
  2032. local L_644_, L_645_ = rayCast(L_642_arg1.Position, cf(L_642_arg1.Position, L_642_arg1.Position + vt(0, -1, 0)).lookVector, L_643_arg2, Character)
  2033. if L_644_ ~= nil then
  2034. local L_646_ = part(3, Effects, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2035. L_646_.Anchored = true
  2036. L_646_.CFrame = cf(L_645_)
  2037. game:GetService("Debris"):AddItem(L_646_, 5)
  2038. for L_647_forvar1 = 1, math.random(10, 20) do
  2039. local L_648_ = part(3, Effects, L_644_.Material, 0, 0, L_644_.BrickColor, "Effect", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  2040. L_648_.TopSurface = L_644_.TopSurface
  2041. L_648_.BottomSurface = L_644_.BottomSurface
  2042. L_648_.LeftSurface = L_644_.LeftSurface
  2043. L_648_.RightSurface = L_644_.RightSurface
  2044. L_648_.FrontSurface = L_644_.FrontSurface
  2045. L_648_.BackSurface = L_644_.BackSurface
  2046. L_648_.Anchored = false
  2047. L_648_.CFrame = L_646_.CFrame * cf(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2048. L_648_.Velocity = Vector3.new(math.random(-75, 75), math.random(50, 75), math.random(-75, 75))
  2049. game:GetService("Debris"):AddItem(L_648_, 5)
  2050. coroutine.resume(coroutine.create(function(L_649_arg1)
  2051. for L_650_forvar1 = 0, 1, 0.1 do
  2052. hbwait()
  2053. L_649_arg1.Transparency = L_650_forvar1
  2054. end
  2055. L_649_arg1.Transparency = 1
  2056. L_649_arg1.Parent = nil
  2057. end), L_648_)
  2058. end
  2059. for L_651_forvar1 = 1, math.random(10, 20) do
  2060. local L_652_ = part(3, Effects, L_644_.Material, 0, 0, L_644_.BrickColor, "Effect", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  2061. L_652_.TopSurface = L_644_.TopSurface
  2062. L_652_.BottomSurface = L_644_.BottomSurface
  2063. L_652_.LeftSurface = L_644_.LeftSurface
  2064. L_652_.RightSurface = L_644_.RightSurface
  2065. L_652_.FrontSurface = L_644_.FrontSurface
  2066. L_652_.BackSurface = L_644_.BackSurface
  2067. L_652_.Anchored = true
  2068. L_652_.CFrame = L_646_.CFrame * cf(math.random(-750, 750) / 100, 0, math.random(-750, 750) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2069. game:GetService("Debris"):AddItem(L_652_, 10)
  2070. coroutine.resume(coroutine.create(function(L_653_arg1)
  2071. wait(5)
  2072. for L_654_forvar1 = 0, 1, 0.1 do
  2073. hbwait()
  2074. L_653_arg1.Transparency = L_654_forvar1
  2075. end
  2076. L_653_arg1.Transparency = 1
  2077. L_653_arg1.Parent = nil
  2078. end), L_652_)
  2079. end
  2080. so("199145477", L_646_, 1, 0.75)
  2081. so("157878578", L_646_, 1, 1)
  2082. MagicRing(L_644_.BrickColor, L_644_.Material, L_646_.CFrame * angles(math.rad(90), 0, 0), 5, 5, 1, 1, 1, 1, 0.05)
  2083. MagicWave(L_644_.BrickColor, L_644_.Material, L_646_.CFrame, 2.5, 2.5, 2.5, 0.5, 0.5, 0.5, 0.05)
  2084. MagniDamage(L_646_, 15, 5, 10, math.random(5, 10), "Normal2", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  2085. end
  2086. end
  2087. function Attack4()
  2088. attack = true
  2089. if L_27_ == "Normal" then
  2090. for L_655_forvar1 = 0, 1, 0.15 / L_4_ do
  2091. hbwait()
  2092. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(40)), 0.45 / L_4_)
  2093. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-40)), 0.45 / L_4_)
  2094. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(30)) * angles(math.rad(30), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2095. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(30)) * angles(math.rad(-10), math.rad(0), math.rad(0)) * LWC0, 0.45 / L_4_)
  2096. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2097. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2098. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2099. break
  2100. end
  2101. end
  2102. so("169445092", LeftArm, 1, 1.3)
  2103. for L_656_forvar1 = 0, 1, 0.15 / L_4_ do
  2104. hbwait()
  2105. MagniDamage(LeftArm, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  2106. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(-70)), 0.45 / L_4_)
  2107. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(2.5), math.rad(0), math.rad(70)), 0.45 / L_4_)
  2108. RW.C0 = clerp(RW.C0, cf(1.25, 0.5 + L_34_, -0.25) * angles(math.rad(80), math.rad(0), math.rad(-30)) * RWC0, 0.45 / L_4_)
  2109. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)) * LWC0, 0.45 / L_4_)
  2110. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  2111. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0.5) * angles(math.rad(0), math.rad(-20), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-7.5)), 0.45 / L_4_)
  2112. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2113. break
  2114. end
  2115. end
  2116. for L_657_forvar1 = 0, 1, 0.15 / L_4_ do
  2117. hbwait()
  2118. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, -0.25 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(-60)), 0.45 / L_4_)
  2119. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.45 / L_4_)
  2120. RW.C0 = clerp(RW.C0, cf(1.25, 0.25 + L_34_, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-20)) * angles(math.rad(-30), math.rad(-30), math.rad(0)) * RWC0, 0.45 / L_4_)
  2121. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)) * angles(math.rad(30), math.rad(0), math.rad(0)) * LWC0, 0.45 / L_4_)
  2122. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(-2.5)), 0.45 / L_4_)
  2123. LH.C0 = clerp(LH.C0, cf(-1, -0.75 - L_34_, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-7.5)), 0.45 / L_4_)
  2124. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2125. break
  2126. end
  2127. end
  2128. so("169445092", RightArm, 1, 1)
  2129. for L_658_forvar1 = 0, 1, 0.3 / L_4_ do
  2130. hbwait()
  2131. MagniDamage(RightArm, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  2132. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.45 / L_4_)
  2133. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-80)), 0.45 / L_4_)
  2134. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)) * angles(math.rad(60), math.rad(0), math.rad(20)) * RWC0, 0.45 / L_4_)
  2135. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)) * angles(math.rad(-10), math.rad(0), math.rad(0)) * LWC0, 0.45 / L_4_)
  2136. RH.C0 = clerp(RH.C0, cf(0.75, -1 - L_34_, 0.5) * angles(math.rad(0), math.rad(10), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.45 / L_4_)
  2137. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(2.5)), 0.45 / L_4_)
  2138. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2139. break
  2140. end
  2141. end
  2142. for L_659_forvar1 = 0, 1, 0.3 / L_4_ do
  2143. hbwait()
  2144. MagniDamage(RightArm, 5, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  2145. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.45 / L_4_)
  2146. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-80)), 0.45 / L_4_)
  2147. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)) * angles(math.rad(80), math.rad(0), math.rad(20)) * RWC0, 0.45 / L_4_)
  2148. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)) * angles(math.rad(-10), math.rad(0), math.rad(0)) * LWC0, 0.45 / L_4_)
  2149. RH.C0 = clerp(RH.C0, cf(0.75, -1 - L_34_, 0.5) * angles(math.rad(0), math.rad(10), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.45 / L_4_)
  2150. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-22.5), math.rad(0), math.rad(2.5)), 0.45 / L_4_)
  2151. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2152. break
  2153. end
  2154. end
  2155. elseif L_27_ == "Sword" then
  2156. L_104_ = true
  2157. L_10_.Value = true
  2158. for L_660_forvar1 = 0, 1, 0.05 / L_4_ do
  2159. hbwait()
  2160. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3 / L_4_)
  2161. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-30)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2162. RW.C0 = clerp(RW.C0, cf(-0.25, 0.65 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2163. LW.C0 = clerp(LW.C0, cf(-1.5, 0.35 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)) * angles(math.rad(100), math.rad(30), math.rad(0)) * LWC0, 0.3 / L_4_)
  2164. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(5)), 0.3 / L_4_)
  2165. LH.C0 = clerp(LH.C0, cf(-1, -0.85 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(7.5)), 0.3 / L_4_)
  2166. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2167. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2168. break
  2169. end
  2170. end
  2171. so("203691492", Hitbox, 1, 1.2)
  2172. so("203691467", Hitbox, 1, 1.2)
  2173. for L_661_forvar1 = 0, 1, 0.15 / L_4_ do
  2174. hbwait()
  2175. MagniDamage(Hitbox, 8, 5, 10, math.random(2, 4), "Normal2", RootPart, 0.5, 1, 0, nil, false, true, nil, 0, 0, false)
  2176. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.75 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2177. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2178. RW.C0 = clerp(RW.C0, cf(-0.35, 0.15 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)) * angles(math.rad(-45), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2179. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-5)) * angles(math.rad(-65), math.rad(-20), math.rad(0)) * LWC0, 0.45 / L_4_)
  2180. RH.C0 = clerp(RH.C0, cf(1, -0.25 - L_34_, -0.5) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(7.5)), 0.45 / L_4_)
  2181. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(55)), 0.45 / L_4_)
  2182. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2183. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2184. break
  2185. end
  2186. end
  2187. GroundSmash(Hitbox, 4)
  2188. for L_662_forvar1 = 0, 1, 0.05 / L_4_ do
  2189. hbwait()
  2190. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.75 + L_34_) * angles(math.rad(5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2191. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2192. RW.C0 = clerp(RW.C0, cf(-0.35, 0.15 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)) * angles(math.rad(-45), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2193. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-5)) * angles(math.rad(-65), math.rad(-20), math.rad(0)) * LWC0, 0.45 / L_4_)
  2194. RH.C0 = clerp(RH.C0, cf(1, -0.25 - L_34_, -0.5) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(7.5)), 0.45 / L_4_)
  2195. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(55)), 0.45 / L_4_)
  2196. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2197. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2198. break
  2199. end
  2200. end
  2201. L_104_ = false
  2202. L_10_.Value = false
  2203. end
  2204. attack = false
  2205. end
  2206. function Move1()
  2207. if L_27_ == "Sword" then
  2208. EAbility()
  2209. end
  2210. attack = true
  2211. L_104_ = true
  2212. L_10_.Value = true
  2213. for L_669_forvar1 = 0, 1, 0.15 / L_4_ do
  2214. hbwait()
  2215. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.25 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2216. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2217. RW.C0 = clerp(RW.C0, cf(1.25, 0.5 + L_34_, -0.25) * angles(math.rad(80), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2218. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(15), math.rad(0), math.rad(-10)) * LWC0, 0.45 / L_4_)
  2219. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -1) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2220. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.45 / L_4_)
  2221. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2222. break
  2223. end
  2224. end
  2225. so("156190061", Torso, 0.75, 0.8)
  2226. local L_663_ = 0
  2227. local L_664_ = 30
  2228. local L_665_ = BrickColor.new("Bright yellow").r
  2229. local L_666_ = BrickColor.new("Bright yellow").g
  2230. local L_667_ = BrickColor.new("Bright yellow").b
  2231. local L_668_ = Instance.new("PointLight", Torso)
  2232. L_668_.Color = Color3.new(L_665_, L_666_, L_667_)
  2233. L_668_.Brightness = 7.5
  2234. L_668_.Range = 7.5
  2235. for L_670_forvar1 = 0, 1, 0.01 / L_4_ do
  2236. hbwait()
  2237. if L_663_ >= L_664_ then
  2238. local L_671_ = math.floor(math.random(1, 2))
  2239. so("234226639", Torso, 0.5, 1 / (L_664_ / 20))
  2240. MagicCircle("Bright yellow", "Neon", Torso.CFrame * angles(math.rad(10), 0, 0), 50, 50, 50, -2.5, 1, -2.5, 0.05)
  2241. DamageStatLabel(Head.CFrame, L_671_, Color3.new(0.29411764705882354, 0.788235294117647, 0.29411764705882354))
  2242. Humanoid.Health = Humanoid.Health + L_671_
  2243. L_664_ = L_664_ - 2
  2244. L_663_ = 0
  2245. else
  2246. L_663_ = L_663_ + 1
  2247. end
  2248. MagicCircle("Bright yellow", "Neon", RootPart.CFrame * cf(0, -3, 0), 1, 1, 1, 5, 0, 5, 0.1)
  2249. MagicCircle("Bright yellow", "Neon", RootPart.CFrame * cf(0, -3, 0) * angles(math.rad(90), 0, math.rad(math.random(-90, 90))), 1, 1, 1, 0, 10, 0, 0.1)
  2250. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.25 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2251. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2252. RW.C0 = clerp(RW.C0, cf(1.25, 0.5 + L_34_, -0.25) * angles(math.rad(80), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2253. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(15), math.rad(0), math.rad(-10)) * LWC0, 0.45 / L_4_)
  2254. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -1) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2255. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.45 / L_4_)
  2256. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2257. break
  2258. end
  2259. end
  2260. DecreaseStat(Character, "Defense", 0.1, 5, true)
  2261. DecreaseStat(Character, "Damage", 0.1, 5, true)
  2262. MagicCircle("Bright yellow", "Neon", Torso.CFrame * angles(math.rad(10), 0, 0), 50, 50, 50, 5, 5, 5, 0.1)
  2263. L_668_.Parent = nil
  2264. L_104_ = false
  2265. L_10_.Value = false
  2266. attack = false
  2267. end
  2268. function GroundSmash2(L_672_arg1, L_673_arg2, L_674_arg3)
  2269. local L_675_, L_676_ = rayCast(L_672_arg1.Position, cf(L_672_arg1.Position, L_672_arg1.Position + vt(0, -1, 0)).lookVector, L_673_arg2, Character)
  2270. if L_675_ ~= nil then
  2271. local L_677_ = part(3, Effects, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2272. L_677_.Anchored = true
  2273. L_677_.CFrame = cf(L_676_)
  2274. game:GetService("Debris"):AddItem(L_677_, 5)
  2275. for L_678_forvar1 = 1, math.random(15, 30) do
  2276. local L_679_ = part(3, Effects, L_675_.Material, 0, 0, L_675_.BrickColor, "Effect", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  2277. L_679_.TopSurface = L_675_.TopSurface
  2278. L_679_.BottomSurface = L_675_.BottomSurface
  2279. L_679_.LeftSurface = L_675_.LeftSurface
  2280. L_679_.RightSurface = L_675_.RightSurface
  2281. L_679_.FrontSurface = L_675_.FrontSurface
  2282. L_679_.BackSurface = L_675_.BackSurface
  2283. L_679_.Anchored = false
  2284. L_679_.CFrame = L_677_.CFrame * cf(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2285. L_679_.Velocity = Vector3.new(math.random(-75, 75), math.random(50, 75), math.random(-75, 75))
  2286. game:GetService("Debris"):AddItem(L_679_, 5)
  2287. coroutine.resume(coroutine.create(function(L_680_arg1)
  2288. for L_681_forvar1 = 0, 1, 0.1 do
  2289. hbwait()
  2290. L_680_arg1.Transparency = L_681_forvar1
  2291. end
  2292. L_680_arg1.Transparency = 1
  2293. L_680_arg1.Parent = nil
  2294. end), L_679_)
  2295. end
  2296. for L_682_forvar1 = 1, math.random(15, 30) do
  2297. local L_683_ = part(3, Effects, L_675_.Material, 0, 0, L_675_.BrickColor, "Effect", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  2298. L_683_.TopSurface = L_675_.TopSurface
  2299. L_683_.BottomSurface = L_675_.BottomSurface
  2300. L_683_.LeftSurface = L_675_.LeftSurface
  2301. L_683_.RightSurface = L_675_.RightSurface
  2302. L_683_.FrontSurface = L_675_.FrontSurface
  2303. L_683_.BackSurface = L_675_.BackSurface
  2304. L_683_.Anchored = true
  2305. L_683_.CFrame = L_677_.CFrame * cf(math.random(-750, 750) / 100, 0, math.random(-750, 750) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2306. game:GetService("Debris"):AddItem(L_683_, 10)
  2307. coroutine.resume(coroutine.create(function(L_684_arg1)
  2308. wait(5)
  2309. for L_685_forvar1 = 0, 1, 0.1 do
  2310. hbwait()
  2311. L_684_arg1.Transparency = L_685_forvar1
  2312. end
  2313. L_684_arg1.Transparency = 1
  2314. L_684_arg1.Parent = nil
  2315. end), L_683_)
  2316. end
  2317. so("199145477", L_677_, 1, 0.75)
  2318. so("157878578", L_677_, 1, 1)
  2319. if L_674_arg3 > 5 then
  2320. so("2760979", L_677_, 1, 0.5)
  2321. end
  2322. if L_674_arg3 > 10 then
  2323. so("142070127", L_677_, 1, 0.75)
  2324. end
  2325. if L_674_arg3 > 15 then
  2326. so("168586621", L_677_, 1, 0.5)
  2327. end
  2328. MagicRing(L_675_.BrickColor, L_675_.Material, L_677_.CFrame * angles(math.rad(90), 0, 0), 5, 5, 1, 1, 1, 1, 0.025)
  2329. if L_674_arg3 > 5 then
  2330. MagicWave(L_675_.BrickColor, L_675_.Material, L_677_.CFrame, 2.5, 2.5, 2.5, 0.5, 0.5, 0.5, 0.025)
  2331. end
  2332. if L_674_arg3 > 10 then
  2333. MagicCrown(L_675_.BrickColor, L_675_.Material, L_677_.CFrame, 2.5, 2.5, 2.5, 0.5, 0.5, 0.5, 0.025)
  2334. end
  2335. if L_674_arg3 > 15 then
  2336. MagicSpikedCrown(L_675_.BrickColor, L_675_.Material, L_677_.CFrame, 2.5, 2.5, 2.5, 0.5, 0.5, 0.5, 0.025)
  2337. end
  2338. if L_674_arg3 <= 10 then
  2339. MagniDamage(L_677_, 20, 5, 10, math.random(5, 10), "SuperKnockup", L_677_, 0.5, 1, 0, nil, false, true, "Movement", 0.2, 10, true)
  2340. else
  2341. MagniDamage(L_677_, 20, L_674_arg3, L_674_arg3 * 2, math.random(5, 10), "SuperKnockup", L_677_, 0.5, 1, 0, nil, false, true, "Movement", 0.2, 10, true)
  2342. end
  2343. end
  2344. end
  2345. function Move2()
  2346. L_22_ = true
  2347. if L_27_ == "Normal" then
  2348. EAbility()
  2349. end
  2350. attack = true
  2351. L_7_.Value = L_7_.Value - 0.2
  2352. local L_686_ = 0
  2353. local L_687_ = 1
  2354. local L_688_ = false
  2355. local L_689_ = false
  2356. local L_690_ = false
  2357. so("315746833", Torso, 1, 1)
  2358. while L_22_ == true and L_686_ < 155 do
  2359. hbwait()
  2360. L_686_ = L_686_ + 1
  2361. if L_687_ >= 10 then
  2362. L_687_ = 0
  2363. MagicWave("Institutional white", "Neon", RootPart.CFrame * cf(0, -3, 0), 2, 1, 2, 0.5, 0.2, 0.5, 0.1)
  2364. if L_686_ >= 50 then
  2365. if L_688_ == false then
  2366. L_688_ = true
  2367. L_82_.Enabled = true
  2368. so("315743350", Torso, 1, 1)
  2369. MagicCircle("Bright yellow", "Neon", Torso.CFrame, 1, 1, 1, 10, 10, 10, 0.15)
  2370. end
  2371. MagicRing("Institutional white", "Neon", RootPart.CFrame * cf(0, -3, 0) * angles(math.rad(90), 0, 0), 2, 2, 1, 1, 1, 0.5, 0.1)
  2372. end
  2373. if L_686_ >= 100 then
  2374. if L_689_ == false then
  2375. L_689_ = true
  2376. L_81_.Enabled = true
  2377. so("315743331", Torso, 1, 1.5)
  2378. MagicCircle("Bright yellow", "Neon", Torso.CFrame, 1, 1, 1, 10, 10, 10, 0.15)
  2379. end
  2380. MagicCrown("Institutional white", "Neon", RootPart.CFrame * cf(0, -3, 0), 2, 1, 2, 0.5, 0.2, 0.5, 0.1)
  2381. end
  2382. if L_686_ >= 150 and L_690_ == false then
  2383. L_690_ = true
  2384. so("315743298", Torso, 1, 0.75)
  2385. so("315743350", Torso, 1, 0.75)
  2386. MagicCircle("Bright yellow", "Neon", Torso.CFrame, 1, 1, 1, 10, 10, 10, 0.15)
  2387. end
  2388. elseif L_687_ <= 10 then
  2389. L_687_ = L_687_ + 1
  2390. end
  2391. if L_688_ == false and L_689_ == false and L_690_ == false then
  2392. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.25 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(40)), 0.3 / L_4_)
  2393. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2394. RW.C0 = clerp(RW.C0, cf(-0.5, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-80)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2395. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(85), math.rad(0), math.rad(10)) * LWC0, 0.3 / L_4_)
  2396. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(12.5)), 0.3 / L_4_)
  2397. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  2398. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2399. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_22_ == false or L_686_ >= 155 then
  2400. break
  2401. end
  2402. elseif L_688_ == true and L_689_ == false and L_690_ == false then
  2403. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.25 + L_34_) * angles(math.rad(15), math.rad(0), math.rad(40)), 0.3 / L_4_)
  2404. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2405. RW.C0 = clerp(RW.C0, cf(-0.5, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-80)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2406. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(85), math.rad(0), math.rad(10)) * LWC0, 0.3 / L_4_)
  2407. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(17.5)), 0.3 / L_4_)
  2408. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  2409. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2410. elseif L_688_ == true and L_689_ == true and L_690_ == false then
  2411. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.25 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3 / L_4_)
  2412. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2413. RW.C0 = clerp(RW.C0, cf(-0.5, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-80)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.3 / L_4_)
  2414. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(85), math.rad(0), math.rad(10)) * LWC0, 0.3 / L_4_)
  2415. RH.C0 = clerp(RH.C0, cf(1, -0.75 - L_34_, 0.25) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(22.5)), 0.3 / L_4_)
  2416. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(2.5), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  2417. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2418. end
  2419. end
  2420. L_7_.Value = L_7_.Value + 0.2
  2421. L_104_ = true
  2422. L_10_.Value = true
  2423. L_81_.Enabled = false
  2424. L_82_.Enabled = false
  2425. for L_691_forvar1 = 1, math.random(5, 10) do
  2426. MagicCircle("Bright yellow", "Neon", Torso.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))), 0.1, 0.1, 0.1, 0.1, 5, 0.1, 0.1)
  2427. end
  2428. for L_692_forvar1 = 0, 1, 0.05 / L_4_ do
  2429. hbwait()
  2430. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(70)), 0.3 / L_4_)
  2431. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2432. RW.C0 = clerp(RW.C0, cf(-0.5, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-80)) * angles(math.rad(70), math.rad(50), math.rad(-10)) * RWC0, 0.3 / L_4_)
  2433. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(50), math.rad(110), math.rad(35)) * LWC0, 0.3 / L_4_)
  2434. RH.C0 = clerp(RH.C0, cf(0.75, -0.5 - L_34_, 0.25) * angles(math.rad(0), math.rad(20), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.3 / L_4_)
  2435. LH.C0 = clerp(LH.C0, cf(-1, -0.9 - L_34_, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(2.5)), 0.3 / L_4_)
  2436. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2437. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2438. break
  2439. end
  2440. end
  2441. so("203691492", Hitbox, 1, 1.2)
  2442. so("203691467", Hitbox, 1, 1.2)
  2443. for L_693_forvar1 = 0, 1, 0.15 / L_4_ do
  2444. hbwait()
  2445. if L_686_ / 10 <= 10 then
  2446. MagniDamage(Hitbox, 8, 5, 10, math.random(5, 10), "Normal2", RootPart, 0.5, 1, 0, nil, false, true, "Movement", 0.2, 10, true)
  2447. else
  2448. MagniDamage(Hitbox, 8, L_686_ / 10, L_686_ / 10 * 2, math.random(5, 10), "Normal2", RootPart, 0.5, 1, 0, nil, false, true, "Movement", 0.2, 10, true)
  2449. end
  2450. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -1 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2451. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2452. RW.C0 = clerp(RW.C0, cf(-0.25, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2453. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(-45), math.rad(5), math.rad(0)) * LWC0, 0.45 / L_4_)
  2454. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(12.5)), 0.45 / L_4_)
  2455. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.45 / L_4_)
  2456. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2457. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2458. break
  2459. end
  2460. end
  2461. GroundSmash2(Hitbox, 4, L_686_ / 10)
  2462. for L_694_forvar1 = 0, 1, 0.05 / L_4_ do
  2463. hbwait()
  2464. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -1 + L_34_) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2465. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2466. RW.C0 = clerp(RW.C0, cf(-0.25, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-40)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2467. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(-45), math.rad(5), math.rad(0)) * LWC0, 0.45 / L_4_)
  2468. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(12.5)), 0.45 / L_4_)
  2469. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.45 / L_4_)
  2470. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2471. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2472. break
  2473. end
  2474. end
  2475. L_104_ = false
  2476. L_10_.Value = false
  2477. attack = false
  2478. end
  2479. function Move3()
  2480. if L_27_ == "Sword" then
  2481. EAbility()
  2482. end
  2483. L_7_.Value = L_7_.Value - 0.5
  2484. attack = true
  2485. for L_697_forvar1 = 0, 1, 0.05 / L_4_ do
  2486. hbwait()
  2487. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.75, -1.5 + L_34_) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2488. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2489. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, -0.5) * angles(math.rad(35), math.rad(0), math.rad(10)) * RWC0, 0.3 / L_4_)
  2490. LW.C0 = clerp(LW.C0, cf(-1.5, 0.25 + L_34_, -0.5) * angles(math.rad(35), math.rad(0), math.rad(-10)) * LWC0, 0.3 / L_4_)
  2491. RH.C0 = clerp(RH.C0, cf(1, 0.6 - L_34_, -0.4) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(30)), 0.3 / L_4_)
  2492. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(35)), 0.3 / L_4_)
  2493. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2494. break
  2495. end
  2496. end
  2497. local L_695_, L_696_ = rayCast(Torso.Position, cf(Torso.Position, Torso.Position + vt(0, -1, 0)).lookVector, 2, Character)
  2498. if L_695_ ~= nil then
  2499. subtractmana(L_73_)
  2500. L_55_ = 0
  2501. do
  2502. local L_698_ = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  2503. L_698_.Anchored = true
  2504. L_698_.CFrame = RootPart.CFrame * cf(0, -3, -3)
  2505. game:GetService("Debris"):AddItem(L_698_, 3)
  2506. so("199145477", L_698_, 0.75, 1.2)
  2507. MagicWave(L_695_.BrickColor, L_695_.Material, L_698_.CFrame, 7, 1, 7, 0.1, 0.1, 0.1, 0.05)
  2508. MagicRing(L_695_.BrickColor, L_695_.Material, L_698_.CFrame * angles(math.rad(90), 0, 0), 8, 8, 8, 0.1, 0.1, 0.1, 0.05)
  2509. local L_699_ = part(3, Effects, "SmoothPlastic", 0, 0, "Medium stone grey", "Rock", vt())
  2510. local L_700_ = mesh("SpecialMesh", L_699_, "FileMesh", "http://www.roblox.com/asset/?id=1290033", vt(0, 0, 0), vt(3.5, 3.5, 3.5))
  2511. local L_701_ = weld(LeftArm, L_699_, LeftArm, cf(-2, 3.5, 0), cf(0, 0, 0))
  2512. for L_704_forvar1 = 0, 1, 0.5 / L_4_ do
  2513. hbwait()
  2514. local L_705_ = vt(Mouse.hit.p.x, RootPart.Position.y, Mouse.hit.p.z)
  2515. local L_706_ = RootPart.CFrame * angles(0, 0, 0)
  2516. local L_707_ = cf(L_706_.p, L_705_)
  2517. local L_708_, L_709_, L_710_ = RootPart.CFrame:toObjectSpace(L_707_):toEulerAnglesXYZ()
  2518. RootJoint.C0 = clerp(RootJoint.C0, angles(L_708_, L_709_, L_710_) * RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2519. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2520. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(190), math.rad(0), math.rad(10)) * RWC0, 0.3 / L_4_)
  2521. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(190), math.rad(0), math.rad(-10)) * LWC0, 0.3 / L_4_)
  2522. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2523. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2524. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2525. break
  2526. end
  2527. end
  2528. Humanoid.AutoRotate = false
  2529. for L_711_forvar1 = 0, 1, 0.05 / L_4_ do
  2530. hbwait()
  2531. local L_712_ = vt(Mouse.hit.p.x, RootPart.Position.y, Mouse.hit.p.z)
  2532. local L_713_ = RootPart.CFrame * angles(0, 0, 0)
  2533. local L_714_ = cf(L_713_.p, L_712_)
  2534. local L_715_, L_716_, L_717_ = RootPart.CFrame:toObjectSpace(L_714_):toEulerAnglesXYZ()
  2535. local L_718_ = math.random(-5, 5)
  2536. RootJoint.C0 = clerp(RootJoint.C0, angles(L_715_, L_716_, L_717_) * RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2537. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2538. RW.C0 = clerp(RW.C0, cf(1.5, 0.75 + L_34_, 0) * angles(math.rad(210 + L_718_), math.rad(0), math.rad(10 + L_718_)) * RWC0, 0.3 / L_4_)
  2539. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75 + L_34_, 0) * angles(math.rad(210 + L_718_), math.rad(0), math.rad(-10 + L_718_)) * LWC0, 0.3 / L_4_)
  2540. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.3 / L_4_)
  2541. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.3 / L_4_)
  2542. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2543. break
  2544. end
  2545. end
  2546. so("169445092", Torso, 1, 0.6)
  2547. L_701_.Parent = nil
  2548. L_699_.Size = vt(3.5, 3.5, 3.5)
  2549. local L_702_ = true
  2550. coroutine.resume(coroutine.create(function(L_719_arg1)
  2551. wait(0.1)
  2552. L_719_arg1.CanCollide = true
  2553. local L_720_ = false
  2554. while L_719_arg1 ~= nil and L_702_ == true do
  2555. wait()
  2556. local L_721_, L_722_ = rayCast(L_719_arg1.Position, cf(L_719_arg1.Position, L_719_arg1.Position + vt(0, -1, 0)).lookVector, 3.5, Character)
  2557. if L_721_ ~= nil and L_720_ == false then
  2558. L_720_ = true
  2559. L_719_arg1.Parent = nil
  2560. L_702_ = false
  2561. local L_723_ = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  2562. L_723_.Anchored = true
  2563. L_723_.CFrame = cf(L_722_)
  2564. game:GetService("Debris"):AddItem(L_723_, 3)
  2565. for L_724_forvar1 = 1, math.random(10, 20) do
  2566. local L_725_ = math.random(5, 10) / 10
  2567. local L_726_ = part(3, Effects, "SmoothPlastic", 0, 0, "Medium stone grey", "Effect", vt(L_725_, L_725_, L_725_))
  2568. local L_727_ = mesh("SpecialMesh", L_726_, "FileMesh", "http://www.roblox.com/asset/?id=1290033", vt(0, 0, 0), vt(L_725_, L_725_, L_725_))
  2569. L_726_.CanCollide = true
  2570. L_726_.CFrame = L_723_.CFrame * cf(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2571. L_726_.Velocity = Vector3.new(math.random(-50, 50), math.random(50, 75), math.random(-50, 50))
  2572. game:GetService("Debris"):AddItem(L_726_, 5)
  2573. coroutine.resume(coroutine.create(function(L_728_arg1)
  2574. wait(4)
  2575. for L_729_forvar1 = 0, 1, 0.08 do
  2576. hbwait()
  2577. L_728_arg1.Transparency = L_729_forvar1
  2578. end
  2579. L_728_arg1.Transparency = 1
  2580. L_728_arg1.Parent = nil
  2581. end), L_726_)
  2582. end
  2583. for L_730_forvar1 = 1, math.random(5, 10) do
  2584. local L_731_ = part(3, Effects, L_721_.Material, 0, 0, L_721_.BrickColor, "Effect", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  2585. L_731_.TopSurface = L_721_.TopSurface
  2586. L_731_.BottomSurface = L_721_.BottomSurface
  2587. L_731_.LeftSurface = L_721_.LeftSurface
  2588. L_731_.RightSurface = L_721_.RightSurface
  2589. L_731_.FrontSurface = L_721_.FrontSurface
  2590. L_731_.BackSurface = L_721_.BackSurface
  2591. L_731_.Anchored = true
  2592. L_731_.CFrame = L_723_.CFrame * cf(math.random(-750, 750) / 100, 0, math.random(-750, 750) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2593. game:GetService("Debris"):AddItem(L_731_, 10)
  2594. coroutine.resume(coroutine.create(function(L_732_arg1)
  2595. wait(5)
  2596. for L_733_forvar1 = 0, 1, 0.1 do
  2597. hbwait()
  2598. L_732_arg1.Transparency = L_733_forvar1
  2599. end
  2600. L_732_arg1.Transparency = 1
  2601. L_732_arg1.Parent = nil
  2602. end), L_731_)
  2603. end
  2604. so("199145477", L_723_, 1, 0.8)
  2605. so("199145477", L_723_, 1, 0.8)
  2606. so("168586621", L_723_, 1, 0.8)
  2607. MagicSpikedCrown(L_721_.BrickColor, L_721_.Material, L_723_.CFrame, 2.25, 2.25, 2.25, 0.5, 0.5, 0.5, 0.025)
  2608. MagicWave(L_721_.BrickColor, L_721_.Material, L_723_.CFrame, 2.25, 2.25, 2.25, 0.5, 0.5, 0.5, 0.025)
  2609. MagicRing(L_721_.BrickColor, L_721_.Material, L_723_.CFrame * angles(math.rad(90), 0, 0), 5.5, 5.5, 5.5, 0.5, 0.5, 0.5, 0.0125)
  2610. MagniDamage(L_723_, 15, 5, 10, 1.25, "RockHit", L_719_arg1, 0, 1, 0, nil, false, true, "Movement", 0.2, 5, true)
  2611. end
  2612. end
  2613. end), L_699_)
  2614. local L_703_ = (Mouse.hit.p - RootPart.Position).magnitude
  2615. if L_703_ <= 25 then
  2616. L_699_.Velocity = (Mouse.hit.p - RootPart.Position).unit * (L_703_ * 1.25) + vt(0, 75, 0)
  2617. else
  2618. L_699_.Velocity = (Mouse.hit.p - RootPart.Position).unit * 50 + vt(0, 75, 0)
  2619. end
  2620. for L_734_forvar1 = 0, 1, 0.05 / L_4_ do
  2621. hbwait()
  2622. local L_735_ = vt(Mouse.hit.p.x, RootPart.Position.y, Mouse.hit.p.z)
  2623. local L_736_ = RootPart.CFrame * angles(0, 0, 0)
  2624. local L_737_ = cf(L_736_.p, L_735_)
  2625. local L_738_, L_739_, L_740_ = RootPart.CFrame:toObjectSpace(L_737_):toEulerAnglesXYZ()
  2626. RootJoint.C0 = clerp(RootJoint.C0, angles(L_738_, L_739_, L_740_) * RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2627. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2628. RW.C0 = clerp(RW.C0, cf(1.25, 0.25 + L_34_, -0.25) * angles(math.rad(60), math.rad(0), math.rad(-20)) * RWC0, 0.45 / L_4_)
  2629. LW.C0 = clerp(LW.C0, cf(-1.25, 0.25 + L_34_, -0.25) * angles(math.rad(60), math.rad(0), math.rad(20)) * LWC0, 0.45 / L_4_)
  2630. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.45 / L_4_)
  2631. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-5)), 0.45 / L_4_)
  2632. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2633. break
  2634. end
  2635. end
  2636. end
  2637. end
  2638. Humanoid.AutoRotate = true
  2639. L_7_.Value = L_7_.Value + 0.5
  2640. attack = false
  2641. end
  2642. function GroundSmash3(L_741_arg1, L_742_arg2)
  2643. local L_743_ = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  2644. L_743_.Anchored = true
  2645. L_743_.CFrame = cf(L_742_arg2)
  2646. game:GetService("Debris"):AddItem(L_743_, 10)
  2647. for L_744_forvar1 = 1, math.random(15, 30) do
  2648. local L_745_ = part(3, Effects, L_741_arg1.Material, 0, 0, L_741_arg1.BrickColor, "Effect", vt(math.random(200, 400) / 100, math.random(200, 400) / 100, math.random(200, 400) / 100))
  2649. L_745_.TopSurface = L_741_arg1.TopSurface
  2650. L_745_.BottomSurface = L_741_arg1.BottomSurface
  2651. L_745_.LeftSurface = L_741_arg1.LeftSurface
  2652. L_745_.RightSurface = L_741_arg1.RightSurface
  2653. L_745_.FrontSurface = L_741_arg1.FrontSurface
  2654. L_745_.BackSurface = L_741_arg1.BackSurface
  2655. L_745_.Anchored = false
  2656. L_745_.CFrame = L_743_.CFrame * cf(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2657. L_745_.Velocity = Vector3.new(math.random(-75, 75), math.random(75, 100), math.random(-75, 75))
  2658. game:GetService("Debris"):AddItem(L_745_, 5)
  2659. coroutine.resume(coroutine.create(function(L_746_arg1)
  2660. for L_747_forvar1 = 0, 1, 0.025 do
  2661. hbwait()
  2662. L_746_arg1.Transparency = L_747_forvar1
  2663. end
  2664. L_746_arg1.Transparency = 1
  2665. L_746_arg1.Parent = nil
  2666. end), L_745_)
  2667. end
  2668. for L_748_forvar1 = 1, math.random(20, 40) do
  2669. local L_749_ = part(3, Effects, L_741_arg1.Material, 0, 0, L_741_arg1.BrickColor, "Effect", vt(math.random(200, 400) / 100, math.random(200, 400) / 100, math.random(200, 400) / 100))
  2670. L_749_.TopSurface = L_741_arg1.TopSurface
  2671. L_749_.BottomSurface = L_741_arg1.BottomSurface
  2672. L_749_.LeftSurface = L_741_arg1.LeftSurface
  2673. L_749_.RightSurface = L_741_arg1.RightSurface
  2674. L_749_.FrontSurface = L_741_arg1.FrontSurface
  2675. L_749_.BackSurface = L_741_arg1.BackSurface
  2676. L_749_.Anchored = true
  2677. L_749_.CFrame = L_743_.CFrame * cf(math.random(-1500, 1500) / 100, 0, math.random(-1500, 1500) / 100) * angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2678. game:GetService("Debris"):AddItem(L_749_, 10)
  2679. coroutine.resume(coroutine.create(function(L_750_arg1)
  2680. wait(5)
  2681. for L_751_forvar1 = 0, 1, 0.1 do
  2682. hbwait()
  2683. L_750_arg1.Transparency = L_751_forvar1
  2684. end
  2685. L_750_arg1.Transparency = 1
  2686. L_750_arg1.Parent = nil
  2687. end), L_749_)
  2688. end
  2689. for L_752_forvar1 = 1, math.random(3, 6) do
  2690. MagicBlock(L_741_arg1.BrickColor, "SmoothPlastic", false, L_743_.CFrame, 40, 40, 40, 3, 3, 3, 0.0075)
  2691. end
  2692. MagicSpikedCrown(L_741_arg1.BrickColor, L_741_arg1.Material, L_743_.CFrame, 20, 20, 20, 1, 0.1, 1, 0.0075)
  2693. MagicRing(L_741_arg1.BrickColor, L_741_arg1.Material, L_743_.CFrame * angles(math.rad(90), 0, 0), 20, 20, 20, 1, 1, 1, 0.0075)
  2694. MagicWave(L_741_arg1.BrickColor, L_741_arg1.Material, L_743_.CFrame, 20, 20, 20, 0.5, 0.1, 0.5, 0.0075)
  2695. so("199145477", L_743_, 1.5, 0.6)
  2696. so("157878578", L_743_, 1.5, 0.6)
  2697. so("2760979", L_743_, 1.5, 0.6)
  2698. so("168586621", L_743_, 1.5, 0.6)
  2699. MagniDamage(L_743_, 20, 20, 30, math.random(1, 2), "RockHit", L_743_, 0.5, 1, 0, nil, false, true, "Damage", 0.2, 15, true)
  2700. end
  2701. function Move4()
  2702. if L_27_ == "Sword" then
  2703. EAbility()
  2704. end
  2705. attack = true
  2706. L_10_.Value = true
  2707. for L_754_forvar1 = 0, 1, 0.1 / L_4_ do
  2708. hbwait()
  2709. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5 + L_34_) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2710. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2711. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(15), math.rad(0), math.rad(20)) * RWC0, 0.45 / L_4_)
  2712. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(15), math.rad(0), math.rad(-20)) * LWC0, 0.45 / L_4_)
  2713. RH.C0 = clerp(RH.C0, cf(1, 0.6 - L_34_, -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(17.5)), 0.45 / L_4_)
  2714. LH.C0 = clerp(LH.C0, cf(-1, -0.75 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(55)), 0.45 / L_4_)
  2715. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2716. break
  2717. end
  2718. end
  2719. Humanoid.Jump = true
  2720. Torso.Velocity = vt(0, 150, 0)
  2721. so("199145327", Torso, 1, 0.8)
  2722. for L_755_forvar1 = 0, 1, 0.1 / L_4_ do
  2723. hbwait()
  2724. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2.5 + L_34_) * angles(math.rad(0 - 360 * L_755_forvar1), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2725. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2726. RW.C0 = clerp(RW.C0, cf(0.75, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-70)) * RWC0, 0.45 / L_4_)
  2727. LW.C0 = clerp(LW.C0, cf(-0.75, 0.5 + L_34_, -0.5) * angles(math.rad(80), math.rad(0), math.rad(80)) * LWC0, 0.45 / L_4_)
  2728. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2729. LH.C0 = clerp(LH.C0, cf(-1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2730. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2731. break
  2732. end
  2733. end
  2734. so("199145327", Torso, 1, 1)
  2735. for L_756_forvar1 = 0, 1, 0.1 / L_4_ do
  2736. hbwait()
  2737. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2.5 + L_34_) * angles(math.rad(0 - 360 * L_756_forvar1), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2738. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.45 / L_4_)
  2739. RW.C0 = clerp(RW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-110)) * angles(math.rad(50), math.rad(0), math.rad(0)) * RWC0, 0.45 / L_4_)
  2740. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75 + L_34_, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)) * angles(math.rad(40), math.rad(0), math.rad(0)) * LWC0, 0.45 / L_4_)
  2741. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2742. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2743. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2744. break
  2745. end
  2746. end
  2747. L_27_ = "Sword"
  2748. Handleweld.Part0 = LeftArm
  2749. Handleweld.C0 = cf(0.2, -2.5, 0) * angles(math.rad(90), math.rad(20), math.rad(160))
  2750. L_7_.Value = L_7_.Value - 0.4
  2751. L_6_.Value = L_6_.Value + 0.2
  2752. L_8_.Value = L_8_.Value + 0.5
  2753. for L_757_forvar1 = 0, 1, 0.1 / L_4_ do
  2754. hbwait()
  2755. Torso.Velocity = vt(0, 2.25, 0)
  2756. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2.5 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2757. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2758. RW.C0 = clerp(RW.C0, cf(1, 0.75 + L_34_, 0) * angles(math.rad(210), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2759. LW.C0 = clerp(LW.C0, cf(-1, 0.75 + L_34_, 0) * angles(math.rad(210), math.rad(0), math.rad(45)) * LWC0, 0.45 / L_4_)
  2760. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.45 / L_4_)
  2761. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.45 / L_4_)
  2762. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(135)), 0.45 / L_4_)
  2763. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2764. break
  2765. end
  2766. end
  2767. for L_758_forvar1 = 1, 1 do
  2768. so("199145327", Torso, 1, 1.2)
  2769. for L_759_forvar1 = 0, 1, 0.1 / L_4_ do
  2770. hbwait()
  2771. Torso.Velocity = vt(0, 2.25, 0)
  2772. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2.5 + L_34_) * angles(math.rad(10 + 360 * L_759_forvar1), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2773. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2774. RW.C0 = clerp(RW.C0, cf(1, 0.25 + L_34_, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2775. LW.C0 = clerp(LW.C0, cf(-1, 0.25 + L_34_, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)) * LWC0, 0.45 / L_4_)
  2776. RH.C0 = clerp(RH.C0, cf(1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.45 / L_4_)
  2777. LH.C0 = clerp(LH.C0, cf(-1, 0 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.45 / L_4_)
  2778. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2779. break
  2780. end
  2781. end
  2782. end
  2783. local L_753_
  2784. while L_753_ == nil do
  2785. hbwait()
  2786. L_753_, swordpos = rayCast(Hitbox.Position, cf(Hitbox.Position, Hitbox.Position + vt(0, -1, 0)).lookVector, 3, Character)
  2787. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2.5 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2788. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2789. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2790. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(45)) * angles(math.rad(0), math.rad(180), math.rad(0)) * LWC0, 0.45 / L_4_)
  2791. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(45)), 0.45 / L_4_)
  2792. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-45)), 0.45 / L_4_)
  2793. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45 / L_4_)
  2794. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true or L_753_ ~= nil then
  2795. break
  2796. end
  2797. end
  2798. GroundSmash3(L_753_, swordpos)
  2799. for L_760_forvar1 = 0, 1, 0.2 / L_4_ do
  2800. hbwait()
  2801. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2802. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2803. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2804. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(45)) * angles(math.rad(0), math.rad(180), math.rad(0)) * LWC0, 0.45 / L_4_)
  2805. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(45)), 0.45 / L_4_)
  2806. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-45)), 0.45 / L_4_)
  2807. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45 / L_4_)
  2808. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2809. break
  2810. end
  2811. end
  2812. for L_761_forvar1 = 0, 1, 0.05 / L_4_ do
  2813. hbwait()
  2814. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3 / L_4_)
  2815. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45 / L_4_)
  2816. RW.C0 = clerp(RW.C0, cf(1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(-45)) * RWC0, 0.45 / L_4_)
  2817. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + L_34_, -0.5) * angles(math.rad(100), math.rad(0), math.rad(45)) * angles(math.rad(0), math.rad(180), math.rad(0)) * LWC0, 0.45 / L_4_)
  2818. RH.C0 = clerp(RH.C0, cf(1, -0.5 - L_34_, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(12.5)), 0.45 / L_4_)
  2819. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(30)), 0.45 / L_4_)
  2820. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.45 / L_4_)
  2821. if L_12_.Value == true or L_13_.Value == true or L_14_.Value == true then
  2822. break
  2823. end
  2824. end
  2825. L_10_.Value = false
  2826. attack = false
  2827. end
  2828. hold = false
  2829. Mouse.Button1Down:connect(function()
  2830. if attack == true or equipped == false then
  2831. return
  2832. end
  2833. hold = true
  2834. if attacktype == 1 then
  2835. attacktype = 2
  2836. Attack1()
  2837. elseif attacktype == 2 then
  2838. attacktype = 3
  2839. Attack2()
  2840. elseif attacktype == 3 then
  2841. attacktype = 4
  2842. Attack3()
  2843. elseif attacktype == 4 then
  2844. attacktype = 1
  2845. Attack4()
  2846. end
  2847. coroutine.resume(coroutine.create(function()
  2848. for L_762_forvar1 = 1, 50 do
  2849. if attack == false then
  2850. hbwait(1)
  2851. end
  2852. end
  2853. if attack == false then
  2854. attacktype = 1
  2855. end
  2856. end))
  2857. end)
  2858. if L_98_ == true then
  2859. function ob1u(L_763_arg1)
  2860. hold = false
  2861. end
  2862. end
  2863. Mouse.KeyDown:connect(function(L_764_arg1)
  2864. if L_764_arg1 == "f" and L_91_ == true and attack == false then
  2865. if equipped == false then
  2866. equipped = true
  2867. if L_86_ == true then
  2868. L_48_.Disabled = true
  2869. local L_765_ = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  2870. L_765_:Play()
  2871. end
  2872. if L_85_ == true then
  2873. L_47_.Parent = nil
  2874. end
  2875. if L_94_ == true then
  2876. RW.Parent = Torso
  2877. LW.Parent = Torso
  2878. RSH.Parent = nil
  2879. LSH.Parent = nil
  2880. end
  2881. equipanim()
  2882. elseif equipped == true then
  2883. equipped = false
  2884. unequipanim()
  2885. hbwait()
  2886. if L_94_ == true then
  2887. RW.Parent = nil
  2888. LW.Parent = nil
  2889. RSH.Parent = Torso
  2890. LSH.Parent = Torso
  2891. end
  2892. if L_85_ == true then
  2893. L_47_.Parent = Humanoid
  2894. end
  2895. if L_86_ == true then
  2896. L_48_.Disabled = false
  2897. end
  2898. end
  2899. end
  2900. if L_764_arg1 == "g" and equipped == true then
  2901. if attack == false and L_26_ == false then
  2902. Dance()
  2903. elseif L_26_ == true then
  2904. L_26_ = false
  2905. end
  2906. end
  2907. if L_764_arg1 == "e" and attack == false and equipped == true then
  2908. if L_9_.Value >= 10 and L_27_ == "Normal" then
  2909. subtractmana(10)
  2910. EAbility()
  2911. elseif L_27_ == "Sword" then
  2912. subtractmana(10)
  2913. EAbility()
  2914. end
  2915. end
  2916. if L_764_arg1 == "z" and attack == false and equipped == true and L_53_ >= L_61_ and L_9_.Value >= L_71_ then
  2917. subtractmana(L_71_)
  2918. L_53_ = 0
  2919. Move1()
  2920. end
  2921. if L_764_arg1 == "x" and attack == false and equipped == true and L_54_ >= L_62_ and L_9_.Value >= L_72_ then
  2922. subtractmana(L_72_)
  2923. L_54_ = 0
  2924. Move2()
  2925. end
  2926. if L_764_arg1 == "c" and attack == false and equipped == true and L_55_ >= L_63_ and L_9_.Value >= L_73_ then
  2927. Move3()
  2928. end
  2929. if L_764_arg1 == "v" and attack == false and equipped == true and L_56_ >= L_64_ and L_9_.Value >= L_74_ then
  2930. subtractmana(L_74_)
  2931. L_56_ = 0
  2932. Move4()
  2933. end
  2934. if L_764_arg1 == "q" then
  2935. L_9_.Value = 100
  2936. L_53_ = L_61_
  2937. L_54_ = L_62_
  2938. L_55_ = L_63_
  2939. L_56_ = L_64_
  2940. end
  2941. if L_764_arg1 == "p" then
  2942. L_12_.Value = true
  2943. end
  2944. if L_764_arg1 == "[" then
  2945. L_13_.Value = true
  2946. end
  2947. if L_764_arg1 == "]" then
  2948. L_14_.Value = true
  2949. end
  2950. end)
  2951. Mouse.KeyUp:connect(function(L_766_arg1)
  2952. if L_766_arg1 == "x" and L_22_ == true then
  2953. L_22_ = false
  2954. end
  2955. end)
  2956. if L_98_ == true then
  2957. function s(L_767_arg1)
  2958. L_767_arg1.Button1Down:connect(function()
  2959. ob1d(L_767_arg1)
  2960. end)
  2961. L_767_arg1.Button1Up:connect(function()
  2962. ob1u(L_767_arg1)
  2963. end)
  2964. L_767_arg1.KeyDown:connect(key)
  2965. L_767_arg1.KeyUp:connect(key2)
  2966. end
  2967. end
  2968. if L_98_ == true then
  2969. function ds(L_768_arg1)
  2970. end
  2971. end
  2972. if L_98_ == true then
  2973. Bin.Selected:connect(s)
  2974. Bin.Deselected:connect(ds)
  2975. end
  2976. function updateskills()
  2977. if L_90_ == true then
  2978. if L_53_ <= L_61_ then
  2979. L_53_ = L_53_ + 0.03333333333333333
  2980. if L_53_ >= L_61_ then
  2981. L_53_ = L_61_
  2982. end
  2983. end
  2984. if L_54_ <= L_62_ then
  2985. L_54_ = L_54_ + 0.03333333333333333
  2986. if L_54_ >= L_62_ then
  2987. L_54_ = L_62_
  2988. end
  2989. end
  2990. if L_55_ <= L_63_ then
  2991. L_55_ = L_55_ + 0.03333333333333333
  2992. if L_55_ >= L_63_ then
  2993. L_55_ = L_63_
  2994. end
  2995. end
  2996. if L_56_ <= L_64_ then
  2997. L_56_ = L_56_ + 0.03333333333333333
  2998. if L_56_ >= L_64_ then
  2999. L_56_ = L_64_
  3000. end
  3001. end
  3002. if L_103_ == true then
  3003. if L_9_.Value <= L_71_ then
  3004. bar4.BackgroundColor3 = L_59_(0.40784313725490196, 0.40784313725490196, 0.40784313725490196)
  3005. else
  3006. bar4.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3007. end
  3008. if L_9_.Value <= L_72_ then
  3009. bar3.BackgroundColor3 = L_59_(0.40784313725490196, 0.40784313725490196, 0.40784313725490196)
  3010. else
  3011. bar3.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3012. end
  3013. if L_9_.Value <= L_73_ then
  3014. bar1.BackgroundColor3 = L_59_(0.40784313725490196, 0.40784313725490196, 0.40784313725490196)
  3015. else
  3016. bar1.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3017. end
  3018. if L_9_.Value <= L_74_ then
  3019. bar2.BackgroundColor3 = L_59_(0.40784313725490196, 0.40784313725490196, 0.40784313725490196)
  3020. else
  3021. bar2.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3022. end
  3023. elseif L_103_ == false then
  3024. bar1.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3025. bar2.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3026. bar3.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3027. bar4.BackgroundColor3 = L_59_(L_30_, L_31_, L_32_)
  3028. end
  3029. end
  3030. if L_101_ == false then
  3031. if L_9_.Value <= L_65_ then
  3032. L_9_.Value = L_9_.Value + L_67_ / 30
  3033. elseif L_9_.Value >= L_65_ then
  3034. L_9_.Value = L_65_
  3035. end
  3036. elseif L_101_ == true then
  3037. if L_27_ == "Normal" then
  3038. if L_9_.Value >= L_65_ then
  3039. L_9_.Value = L_65_
  3040. elseif L_45_ <= L_70_ then
  3041. L_45_ = L_45_ + 1
  3042. else
  3043. L_45_ = 0
  3044. L_9_.Value = L_9_.Value + 1
  3045. end
  3046. elseif L_27_ == "Sword" then
  3047. if L_9_.Value <= 0 then
  3048. L_9_.Value = 0
  3049. elseif L_45_ <= L_70_ then
  3050. L_45_ = L_45_ + 1
  3051. else
  3052. L_45_ = 0
  3053. L_9_.Value = L_9_.Value - 1
  3054. end
  3055. end
  3056. end
  3057. if L_78_ == true then
  3058. if L_15_.Value <= 0 then
  3059. L_15_.Value = 0
  3060. elseif L_44_ <= L_69_ then
  3061. L_44_ = L_44_ + 1
  3062. else
  3063. L_44_ = 0
  3064. L_15_.Value = L_15_.Value - 1
  3065. end
  3066. elseif L_78_ == false then
  3067. L_15_.Value = 0
  3068. end
  3069. end
  3070. if L_89_ == true then
  3071. ArtificialHB.Event:connect(function()
  3072. updateskills()
  3073. if L_90_ == true then
  3074. framesk1:TweenSize(L_58_(0.26, 0, 0.06, 0), "Out", "Quad", L_75_, L_76_)
  3075. framesk2:TweenSize(L_58_(0.26, 0, 0.06, 0), "Out", "Quad", L_75_, L_76_)
  3076. framesk3:TweenSize(L_58_(0.26, 0, 0.06, 0), "Out", "Quad", L_75_, L_76_)
  3077. framesk4:TweenSize(L_58_(0.26, 0, 0.06, 0), "Out", "Quad", L_75_, L_76_)
  3078. bar1:TweenSize(L_58_(1 * (L_55_ / L_63_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3079. bar2:TweenSize(L_58_(1 * (L_56_ / L_64_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3080. bar3:TweenSize(L_58_(1 * (L_54_ / L_62_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3081. bar4:TweenSize(L_58_(1 * (L_53_ / L_61_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3082. end
  3083. manabar:TweenSize(L_58_(0.26, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3084. manacover:TweenSize(L_58_(1 * (L_9_.Value / L_65_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3085. healthbar:TweenSize(L_58_(0.26, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3086. healthcover:TweenSize(L_58_(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3087. if L_78_ == true and L_99_ == true and stunframe ~= nil then
  3088. stunframe:TweenSize(L_58_(0.26, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3089. stunbar:TweenSize(L_58_(1 * (L_15_.Value / L_66_), 0, 1, 0), "Out", "Quad", L_75_, L_76_)
  3090. end
  3091. if L_102_ == true then
  3092. manatext.Text = "Mana [" .. math.floor(L_9_.Value) .. "]"
  3093. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  3094. if L_78_ == true and L_99_ == true then
  3095. stuntext.Text = "Stun [" .. math.floor(L_15_.Value) .. "]"
  3096. end
  3097. end
  3098. if L_77_ == true then
  3099. defenseframe:TweenSize(L_58_(0.075, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3100. damageframe:TweenSize(L_58_(0.075, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3101. movementframe:TweenSize(L_58_(0.075, 0, 0.03, 0), "Out", "Quad", L_75_, L_76_)
  3102. if 0 < L_6_.Value then
  3103. defensetext.Text = "Defense: " .. L_6_.Value
  3104. elseif 0 >= L_6_.Value then
  3105. defensetext.Text = "Defense: 0"
  3106. end
  3107. if 0 < L_8_.Value then
  3108. damagetext.Text = "Damage: " .. L_8_.Value
  3109. elseif 0 >= L_8_.Value then
  3110. damagetext.Text = "Damage: 0"
  3111. end
  3112. if L_10_.Value == false then
  3113. movementtext.Text = "Movement: " .. L_7_.Value
  3114. elseif L_10_.Value == true or 0 >= L_7_.Value then
  3115. movementtext.Text = "Movement: 0"
  3116. end
  3117. end
  3118. end)
  3119. end
  3120. function positiveangle(L_769_arg1)
  3121. if L_769_arg1 > 0 then
  3122. L_769_arg1 = 0
  3123. end
  3124. return L_769_arg1
  3125. end
  3126. function negativeangle(L_770_arg1)
  3127. if L_770_arg1 < 0 then
  3128. L_770_arg1 = 0
  3129. end
  3130. return L_770_arg1
  3131. end
  3132. while true do
  3133. hbwait()
  3134. if Hitbox ~= nil then
  3135. if attack == true then
  3136. Hitbox.Name = "Hitbox"
  3137. elseif attack == false then
  3138. Hitbox.Name = "NilHitbox"
  3139. end
  3140. end
  3141. if Humanoid.Health > 0 then
  3142. if L_100_ == true then
  3143. if L_7_.Value < 0 or L_13_.Value == true or L_14_.Value == true or L_12_.Value == true or L_10_.Value == true then
  3144. Humanoid.WalkSpeed = 0
  3145. else
  3146. Humanoid.WalkSpeed = 16 * L_7_.Value
  3147. end
  3148. end
  3149. if L_66_ <= L_15_.Value then
  3150. L_15_.Value = 0
  3151. L_14_.Value = true
  3152. end
  3153. if L_13_.Value == true and L_24_ == false then
  3154. coroutine.resume(coroutine.create(function()
  3155. L_24_ = true
  3156. while attack == true do
  3157. hbwait()
  3158. end
  3159. Stagger()
  3160. L_13_.Value = false
  3161. L_24_ = false
  3162. end))
  3163. end
  3164. if L_12_.Value == true and L_23_ == false then
  3165. coroutine.resume(coroutine.create(function()
  3166. L_23_ = true
  3167. while attack == true do
  3168. hbwait()
  3169. end
  3170. StaggerHit()
  3171. L_12_.Value = false
  3172. L_23_ = false
  3173. end))
  3174. end
  3175. if L_14_.Value == true and L_25_ == false or L_15_.Value >= 100 then
  3176. coroutine.resume(coroutine.create(function()
  3177. L_15_.Value = 0
  3178. L_25_ = true
  3179. while attack == true do
  3180. hbwait()
  3181. end
  3182. Stun()
  3183. L_14_.Value = false
  3184. L_25_ = false
  3185. end))
  3186. end
  3187. if L_27_ == "Sword" and L_9_.Value <= 0 and L_21_ == false then
  3188. coroutine.resume(coroutine.create(function()
  3189. L_21_ = true
  3190. while attack == true do
  3191. hbwait()
  3192. end
  3193. EAbility()
  3194. L_21_ = false
  3195. end))
  3196. end
  3197. Head.Running.Pitch = 1.85 * (Humanoid.WalkSpeed / 16)
  3198. L_37_ = L_37_ + L_38_
  3199. L_42_ = L_42_ % 100 + L_43_ / 10
  3200. local L_771_ = 7 - 1 * (Humanoid.WalkSpeed / 16)
  3201. local L_772_ = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  3202. local L_773_ = RootPart.Velocity.y
  3203. local L_774_ = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  3204. hitfloor, posfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position - vt(0, 1, 0)).lookVector, 4, Character)
  3205. if L_36_ >= 0.5 then
  3206. L_40_ = true
  3207. elseif L_36_ <= 0 then
  3208. L_40_ = false
  3209. end
  3210. if L_40_ == false then
  3211. L_36_ = L_36_ + 0.003 / L_4_
  3212. else
  3213. L_36_ = L_36_ - 0.003 / L_4_
  3214. end
  3215. if equipped == true or equipped == false then
  3216. if attack == false then
  3217. L_1_ = L_1_ + 1
  3218. else
  3219. L_1_ = 0
  3220. end
  3221. if L_96_ == true then
  3222. if L_2_ == "Walk" and equipped == true and attack == false then
  3223. if L_87_ == false then
  3224. if L_39_ == true then
  3225. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3226. else
  3227. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(math.rad(-60), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3228. end
  3229. elseif L_39_ == true then
  3230. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3231. else
  3232. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3233. end
  3234. elseif L_2_ ~= "Walk" and equipped == true or attack == true or L_96_ == false then
  3235. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3236. end
  3237. end
  3238. if L_97_ == true then
  3239. if L_2_ == "Walk" and equipped == true and attack == false then
  3240. if L_87_ == false then
  3241. if L_39_ == true then
  3242. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(math.rad(-60), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3243. else
  3244. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3245. end
  3246. elseif L_39_ == true then
  3247. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3248. else
  3249. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3250. end
  3251. elseif L_2_ ~= "Walk" and equipped == true or attack == true or L_97_ == false then
  3252. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3253. end
  3254. end
  3255. if L_93_ == true then
  3256. if L_2_ == "Walk" and equipped == true then
  3257. if L_87_ == false then
  3258. if L_39_ == true then
  3259. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3260. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3261. else
  3262. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3263. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3264. end
  3265. elseif L_39_ == true then
  3266. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3267. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3268. else
  3269. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3270. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / L_4_)
  3271. end
  3272. elseif L_2_ ~= "Walk" and equipped == true then
  3273. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3274. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3275. end
  3276. end
  3277. if L_2_ == "Walk" and equipped == true then
  3278. RH.C1 = clerp(RH.C1, RHC1 * cf(0.25 * math.cos(L_37_ / L_771_), -0.15 - 0.25 * math.sin(L_37_ / L_771_), 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10 + 60 * math.cos(L_37_ / L_771_))), 0.2 / L_4_ * (Humanoid.WalkSpeed / 16))
  3279. LH.C1 = clerp(LH.C1, LHC1 * cf(0.25 * math.cos(L_37_ / L_771_), -0.15 + 0.25 * math.sin(L_37_ / L_771_), 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10 + 60 * math.cos(L_37_ / L_771_))), 0.2 / L_4_ * (Humanoid.WalkSpeed / 16))
  3280. elseif L_2_ ~= "Walk" or equipped == false then
  3281. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3282. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3283. end
  3284. if L_773_ > 1 and hitfloor == nil then
  3285. L_2_ = "Jump"
  3286. if L_27_ == "Normal" then
  3287. if attack == false and equipped == true then
  3288. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3289. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3290. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(-40), math.rad(0), math.rad(20)) * RWC0, 0.2 / L_4_)
  3291. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20)) * LWC0, 0.2 / L_4_)
  3292. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, -0.3) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2 / L_4_)
  3293. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.3) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2 / L_4_)
  3294. end
  3295. elseif L_27_ == "Sword" and attack == false and equipped == true then
  3296. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3297. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3298. RW.C0 = clerp(RW.C0, cf(-0.25, 0.25 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(-40), math.rad(-50), math.rad(0)) * RWC0, 0.2 / L_4_)
  3299. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(20), math.rad(0), math.rad(-5)) * angles(math.rad(0), math.rad(160), math.rad(0)) * LWC0, 0.2 / L_4_)
  3300. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, -0.3) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2 / L_4_)
  3301. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.3) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2 / L_4_)
  3302. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(5), math.rad(0), math.rad(-5)), 0.2 / L_4_)
  3303. end
  3304. elseif L_773_ < -1 and hitfloor == nil then
  3305. L_2_ = "Fall"
  3306. if L_27_ == "Normal" then
  3307. if attack == false and equipped == true then
  3308. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3309. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3310. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + L_34_, 0) * angles(math.rad(0), math.rad(0), math.rad(60)) * RWC0, 0.2 / L_4_)
  3311. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)) * LWC0, 0.2 / L_4_)
  3312. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2 / L_4_)
  3313. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.2 / L_4_)
  3314. end
  3315. elseif L_27_ == "Sword" and attack == false and equipped == true then
  3316. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + L_34_) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3317. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3318. RW.C0 = clerp(RW.C0, cf(-0.25, 0.25 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(-40), math.rad(-50), math.rad(0)) * RWC0, 0.2 / L_4_)
  3319. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(20), math.rad(0), math.rad(-5)) * angles(math.rad(0), math.rad(160), math.rad(0)) * LWC0, 0.2 / L_4_)
  3320. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2 / L_4_)
  3321. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.2 / L_4_)
  3322. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(5), math.rad(0), math.rad(-5)), 0.2 / L_4_)
  3323. end
  3324. elseif L_772_ < 1 and hitfloor ~= nil then
  3325. L_2_ = "Idle"
  3326. if L_27_ == "Normal" then
  3327. if attack == false and equipped == true then
  3328. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.02 * math.cos(L_37_ / 30), -0.1 + L_34_) * angles(math.rad(2.5 - 1.25 * math.cos(L_37_ / 30)), math.rad(0), math.rad(20)), 0.15 / L_4_)
  3329. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(2.5 - 1.25 * math.sin(L_37_ / 30)), math.rad(0), math.rad(0)), 0.15 / L_4_)
  3330. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0 - 0.05 * math.sin(L_37_ / 30)) * angles(math.rad(110 + 5 * math.sin(L_37_ / 30)), math.rad(0), math.rad(-10 + 2.5 * math.cos(L_37_ / 30))) * RWC0, 0.15 / L_4_)
  3331. LW.C0 = clerp(LW.C0, cf(-1.25, 0.25 + L_34_, -0.25 + 0.05 * math.sin(L_37_ / 30)) * angles(math.rad(120 - 5 * math.cos(L_37_ / 30)), math.rad(0), math.rad(20 - 2.5 * math.sin(L_37_ / 30))) * LWC0, 0.15 / L_4_)
  3332. RH.C0 = clerp(RH.C0, cf(1, -0.9 - L_34_, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(5 - 1.25 * math.cos(L_37_ / 30))), 0.15 / L_4_)
  3333. LH.C0 = clerp(LH.C0, cf(-1, -0.875 + 0.025 * math.cos(L_37_ / 30) - L_34_, 0.25) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-5 - 1.25 * math.cos(L_37_ / 30)), math.rad(0), math.rad(1.25 + 1.25 * math.cos(L_37_ / 30))), 0.15 / L_4_)
  3334. end
  3335. elseif L_27_ == "Sword" and attack == false and equipped == true then
  3336. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.02 * math.cos(L_37_ / 30), -0.1 + L_34_) * angles(math.rad(2.5 - 1.25 * math.cos(L_37_ / 30)), math.rad(0), math.rad(20)), 0.15 / L_4_)
  3337. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(2.5 - 1.25 * math.sin(L_37_ / 30)), math.rad(0), math.rad(0)), 0.15 / L_4_)
  3338. RW.C0 = clerp(RW.C0, cf(-0.25, 0.25 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(-40 - 1.25 * math.cos(L_37_ / 30)), math.rad(-50), math.rad(0)) * RWC0, 0.15 / L_4_)
  3339. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(20 - 1.25 * math.cos(L_37_ / 30)), math.rad(0), math.rad(-5)) * angles(math.rad(0), math.rad(160), math.rad(0)) * LWC0, 0.15 / L_4_)
  3340. RH.C0 = clerp(RH.C0, cf(1, -0.9 - L_34_, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(5 - 1.25 * math.cos(L_37_ / 30))), 0.15 / L_4_)
  3341. LH.C0 = clerp(LH.C0, cf(-1, -0.875 + 0.025 * math.cos(L_37_ / 30) - L_34_, 0.25) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5 - 1.25 * math.cos(L_37_ / 30)), math.rad(0), math.rad(1.25 + 1.25 * math.cos(L_37_ / 30))), 0.15 / L_4_)
  3342. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(5), math.rad(0), math.rad(-5)), 0.15 / L_4_)
  3343. end
  3344. elseif L_772_ > 1 and hitfloor ~= nil then
  3345. L_2_ = "Walk"
  3346. L_41_ = L_41_ + 1 / L_4_
  3347. if L_41_ >= 15 - 5 * (Humanoid.WalkSpeed / 16) then
  3348. L_41_ = 0
  3349. if L_39_ == true then
  3350. L_39_ = false
  3351. elseif L_39_ == false then
  3352. L_39_ = true
  3353. end
  3354. end
  3355. if L_27_ == "Normal" then
  3356. if attack == false and equipped == true then
  3357. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.05 * math.cos(L_37_ / (L_771_ / 2)) + L_34_) * angles(math.rad(2.5), math.rad(0) + RootPart.RotVelocity.Y / 100, math.rad(10 + 2.5 * math.cos(L_37_ / L_771_))), 0.2 / L_4_)
  3358. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 - 2.5 * math.cos(L_37_ / L_771_)) + Head.RotVelocity.Y / 20) * angles(math.rad(2.5 - 1 * math.sin(L_37_ / (L_771_ / 2))), math.rad(0), math.rad(0)), 0.2 / L_4_)
  3359. RW.C0 = clerp(RW.C0, cf(1.5, 0.25 + L_34_, 0) * angles(math.rad(100 - 1 * math.sin(L_37_ / (L_771_ / 2))), math.rad(0), math.rad(-20)) * RWC0, 0.2 / L_4_)
  3360. LW.C0 = clerp(LW.C0, cf(-1.25, 0.25 + L_34_, -0.25) * angles(math.rad(120 - 1 * math.sin(L_37_ / (L_771_ / 2))), math.rad(0), math.rad(30)) * LWC0, 0.2 / L_4_)
  3361. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(0) + RightLeg.RotVelocity.Y / 100, math.rad(0), math.rad(0)), 0.2 / L_4_)
  3362. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, 0) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(0) - LeftLeg.RotVelocity.Y / 100, math.rad(0), math.rad(0)), 0.2 / L_4_)
  3363. end
  3364. elseif L_27_ == "Sword" and attack == false and equipped == true then
  3365. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.05 * math.cos(L_37_ / (L_771_ / 2)) + L_34_) * angles(math.rad(0), math.rad(0) + RootPart.RotVelocity.Y / 100, math.rad(30 + 2.5 * math.cos(L_37_ / L_771_))), 0.2 / L_4_)
  3366. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)) * angles(math.rad(2.5 - 1 * math.sin(L_37_ / (L_771_ / 2))), math.rad(0), math.rad(0 - 2.5 * math.cos(L_37_ / L_771_)) + Head.RotVelocity.Y / 20), 0.2 / L_4_)
  3367. RW.C0 = clerp(RW.C0, cf(-0.25, 0.25 + L_34_, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-55)) * angles(math.rad(-40), math.rad(-50), math.rad(0)) * RWC0, 0.2 / L_4_)
  3368. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + L_34_, 0) * angles(math.rad(20), math.rad(0), math.rad(-5)) * angles(math.rad(0), math.rad(150 - 2.5 * math.cos(L_37_ / L_771_)), math.rad(0)) * LWC0, 0.2 / L_4_)
  3369. RH.C0 = clerp(RH.C0, cf(1, -1 - L_34_, 0.25) * angles(math.rad(0), math.rad(60 - 2.5 * math.cos(L_37_ / L_771_)), math.rad(0)) * angles(math.rad(0) + RightLeg.RotVelocity.Y / 100, math.rad(0), math.rad(0)), 0.2 / L_4_)
  3370. LH.C0 = clerp(LH.C0, cf(-1, -1 - L_34_, -0.25) * angles(math.rad(0), math.rad(-120 - 2.5 * math.cos(L_37_ / L_771_)), math.rad(0)) * angles(math.rad(0) - LeftLeg.RotVelocity.Y / 100, math.rad(0), math.rad(0)), 0.2 / L_4_)
  3371. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -1, 0) * angles(math.rad(5 - 0.5 * math.cos(L_37_ / L_771_)), math.rad(0), math.rad(-5)), 0.2 / L_4_)
  3372. end
  3373. end
  3374. end
  3375. end
  3376. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement