JuicyPenguin

Allenah Script

Feb 3rd, 2017
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 158.88 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. LS = Torso["Left Shoulder"]
  13. LH = Torso["Left Hip"]
  14. RS = Torso["Right Shoulder"]
  15. RH = Torso["Right Hip"]
  16. Neck = Torso.Neck
  17. it = Instance.new
  18. vt = Vector3.new
  19. cf = CFrame.new
  20. euler = CFrame.fromEulerAnglesXYZ
  21. angles = CFrame.Angles
  22. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  23. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  24. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  25. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  26. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  27. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  28. RootPart = Character.HumanoidRootPart
  29. RootJoint = RootPart.RootJoint
  30. RootCF = euler(-1.57, 0, 3.14)
  31. attack = false
  32. attackdebounce = false
  33. isblarghing = false
  34. MMouse = nil
  35. combo = 0
  36. combospeed = 0
  37. stop = false
  38. local hitfloor, posfloor = nil, nil
  39. local idle = 0
  40. local Anim = "Idle"
  41. local Effects = {}
  42. local Weapon = {}
  43. local Welds = {}
  44. local decreaseatk = 0
  45. local decreasedef = 0
  46. local decreasemvmt = 0
  47. local Mode = "Defensive"
  48. local GuardStance = false
  49. local Target = nil
  50. local manualguardend = false
  51. local Fly = false
  52. local prop = Instance.new("RocketPropulsion")
  53. local move1 = "(Z)\nCannonball"
  54. local move2 = "(X)\nWipeout"
  55. local move3 = "(C)\nSpeech"
  56. local move4 = "(V)\nmr steal yo doges ultimate attack111"
  57. local cooldowns = {}
  58. local cooldown1 = 0
  59. table.insert(cooldowns, cooldown1)
  60. local cooldown2 = 0
  61. table.insert(cooldowns, cooldown2)
  62. local cooldown3 = 0
  63. table.insert(cooldowns, cooldown3)
  64. local cooldown4 = 0
  65. table.insert(cooldowns, cooldown4)
  66. local cooldown5 = 0
  67. table.insert(cooldowns, cooldown5)
  68. local cooldownsadd = {}
  69. local cooldownadd1 = 0.55
  70. table.insert(cooldownsadd, cooldownadd1)
  71. local cooldownadd2 = 0.2
  72. table.insert(cooldownsadd, cooldownadd2)
  73. local cooldownadd3 = 0.25
  74. table.insert(cooldownsadd, cooldownadd3)
  75. local cooldownadd4 = 0.06
  76. table.insert(cooldownsadd, cooldownadd4)
  77. local cooldownadd5 = 0.06
  78. table.insert(cooldownsadd, cooldownadd5)
  79. local cooldownmax = 1
  80. player = nil
  81. RSH = nil
  82. RW = Instance.new("Motor")
  83. LW = Instance.new("Motor")
  84. RW.Name = "Right Shoulder"
  85. LW.Name = "Left Shoulder"
  86. LH = Torso["Left Hip"]
  87. RH = Torso["Right Hip"]
  88. TorsoColor = Torso.BrickColor
  89. TorsoRed = TorsoColor.Color.r
  90. TorsoGreen = TorsoColor.Color.g
  91. NewCol = Color3.new(TorsoRed, TorsoGreen, 1)
  92. if Player:findFirstChild("Color1") ~= nil then
  93.   NewCol = Player.Color1.Value
  94. end
  95. print(BrickColor.new(NewCol))
  96. local mdec = Instance.new("NumberValue", Decrease)
  97. mdec.Name = "DecreaseDef"
  98. mdec.Value = 0.5
  99. local mdec2 = Instance.new("NumberValue", Decrease)
  100. mdec2.Name = "DecreaseMvmt"
  101. mdec2.Value = 0.1
  102. local Animate = Humanoid.Animator
  103. local canjump = true
  104. removeControl = function()
  105.   canjump = false
  106. end
  107. resumeControl = function()
  108.   canjump = true
  109. end
  110. Player.Character.Humanoid.Changed:connect(function()
  111.   if canjump == false then
  112.     Player.Character.Humanoid.Jump = false
  113.   end
  114. end)
  115. swait = function(num)
  116.   if num == 0 or num == nil then
  117.     Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  118.   else
  119.     for i = 0, num do
  120.       Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  121.     end
  122.   end
  123. end
  124. ArtificialHB = Instance.new("BindableEvent", script)
  125. ArtificialHB.Name = "Heartbeat"
  126.  
  127. script:WaitForChild("Heartbeat")
  128.  
  129. frame = 1 / 40
  130. tf = 0
  131. allowframeloss = true
  132. tossremainder = false
  133. lastframe = tick()
  134. script.Heartbeat:Fire()
  135.  
  136. game:GetService("RunService").Heartbeat:connect(function(s, p)
  137.     tf = tf + s
  138.     if tf >= frame then
  139.         if allowframeloss then
  140.             script.Heartbeat:Fire()
  141.             lastframe = tick()
  142.         else
  143.             for i = 1, math.floor(tf / frame) do
  144.                 script.Heartbeat:Fire()
  145.             end
  146.             lastframe = tick()
  147.         end
  148.         if tossremainder then
  149.             tf = 0
  150.         else
  151.             tf = tf - frame * math.floor(tf / frame)
  152.         end
  153.     end
  154. end)
  155. function swait(num)
  156.     if num == 0 or num == nil then
  157.         ArtificialHB.Event:wait()
  158.     else
  159.         for i = 0, num do
  160.             ArtificialHB.Event:wait()
  161.         end
  162.     end
  163. end
  164. createpassgui = function(parent)
  165.   print("makegui111")
  166.   local g = Instance.new("ScreenGui", parent)
  167.   local f = Instance.new("Frame", g)
  168.   f.Position = UDim2.new(0.3, 0, 0.25, 0)
  169.   f.Size = UDim2.new(0.4, 0, 0.4, 0)
  170.   f.Style = "DropShadow"
  171.   local t = Instance.new("TextBox", f)
  172.   t.BackgroundColor3 = Color3.new(0, 0, 0)
  173.   t.BackgroundTransparency = 0.5
  174.   t.BorderSizePixel = 0
  175.   t.Position = UDim2.new(0.15, 0, 0.2, 0)
  176.   t.Size = UDim2.new(0.7, 0, 0.2, 0)
  177.   t.Font = "SourceSansLight"
  178.   t.Text = "Enter Access Code."
  179.   t.TextScaled = true
  180.   t.TextColor3 = Color3.new(1, 1, 1)
  181.   t.TextStrokeTransparency = 0
  182.   local t2 = Instance.new("TextButton", f)
  183.   t2.BackgroundColor3 = Color3.new(0, 0, 0)
  184.   t2.BackgroundTransparency = 0.5
  185.   t2.BorderSizePixel = 0
  186.   t2.Position = UDim2.new(0.3, 0, 0.5, 0)
  187.   t2.Size = UDim2.new(0.4, 0, 0.15, 0)
  188.   t2.TextScaled = true
  189.   t2.Font = "SourceSansLight"
  190.   t2.Text = "Submit"
  191.   t2.TextColor3 = Color3.new(1, 1, 1)
  192.   t2.TextStrokeTransparency = 0
  193.   print("done1")
  194.   return t2
  195. end
  196. local gud = true
  197. repeat
  198.   wait()
  199. until gud
  200. if Character:findFirstChild("dedliwepon", true) ~= nil then
  201.   Character:findFirstChild("dedliwepon", true).Parent = nil
  202. end
  203. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  204.   Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  205. end
  206. if Character:findFirstChild("Stats", true) ~= nil then
  207.   Character:findFirstChild("Stats", true).Parent = nil
  208. end
  209. local Stats = Instance.new("BoolValue")
  210. Stats.Name = "Stats"
  211. Stats.Parent = Character
  212. local Atk = Instance.new("NumberValue")
  213. Atk.Name = "Damage"
  214. Atk.Parent = Stats
  215. Atk.Value = 1
  216. local Def = Instance.new("NumberValue")
  217. Def.Name = "Defense"
  218. Def.Parent = Stats
  219. Def.Value = 0.5
  220. local Mvmt = Instance.new("NumberValue")
  221. Mvmt.Name = "Movement"
  222. Mvmt.Parent = Stats
  223. Mvmt.Value = 1
  224. local Block = Instance.new("BoolValue")
  225. Block.Name = "Block"
  226. Block.Parent = Stats
  227. Block.Value = false
  228. local Stun = Instance.new("NumberValue")
  229. Stun.Name = "Stun"
  230. Stun.Parent = Stats
  231. Stun.Value = 0
  232. local StunT = Instance.new("NumberValue")
  233. StunT.Name = "StunThreshold"
  234. StunT.Parent = Stats
  235. StunT.Value = 100
  236. local Rooted = Instance.new("BoolValue")
  237. Rooted.Name = "Rooted"
  238. Rooted.Parent = Stats
  239. Rooted.Value = false
  240. local Stunned = Instance.new("BoolValue")
  241. Stunned.Name = "Stunned"
  242. Stunned.Parent = Stats
  243. Stunned.Value = false
  244. local Stagger = Instance.new("BoolValue")
  245. Stagger.Name = "Stagger"
  246. Stagger.Parent = Stats
  247. Stagger.Value = false
  248. local StaggerHit = Instance.new("BoolValue")
  249. StaggerHit.Name = "StaggerHit"
  250. StaggerHit.Parent = Stats
  251. StaggerHit.Value = false
  252. local RecentEnemy = Instance.new("ObjectValue")
  253. RecentEnemy.Name = "RecentEnemy"
  254. RecentEnemy.Parent = Stats
  255. RecentEnemy.Value = nil
  256. local Decrease = Instance.new("BoolValue")
  257. Decrease.Name = "Decrease"
  258. Decrease.Parent = Stats
  259. Decrease.Value = false
  260. local passive = Instance.new("NumberValue", Decrease)
  261. passive.Name = "DecreaseMvmt"
  262. passive.Value = -0.4
  263. local passive2 = Instance.new("NumberValue", Decrease)
  264. passive2.Name = "DecreaseDef"
  265. passive2.Value = 0.5
  266. local mana = Instance.new("NumberValue")
  267. mana.Name = "Mana"
  268. mana.Parent = Stats
  269. mana.Value = 0
  270. NoOutline = function(Part)
  271.   Part.TopSurface = 10
  272. end
  273. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size, material, anchor)
  274.   local fp = it("Part")
  275.   fp.formFactor = formfactor
  276.   fp.Parent = parent
  277.   fp.Reflectance = reflectance
  278.   fp.Transparency = transparency
  279.   fp.CanCollide = false
  280.   fp.Locked = true
  281.   fp.BrickColor = brickcolor
  282.   fp.Name = name
  283.   fp.Size = size
  284.   fp.Position = Torso.Position
  285.   NoOutline(fp)
  286.   if material then
  287.     fp.Material = material
  288.   end
  289.   if anchor then
  290.     fp.Anchored = anchor
  291.   end
  292.   fp:BreakJoints()
  293.   return fp
  294. end
  295. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  296.   local mesh = it(Mesh)
  297.   mesh.Parent = part
  298.   if Mesh == "SpecialMesh" then
  299.     mesh.MeshType = meshtype
  300.     if meshid ~= "nil" then
  301.       mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  302.     end
  303.   end
  304.   mesh.Offset = offset
  305.   mesh.Scale = scale
  306.   return mesh
  307. end
  308. weld = function(parent, part0, part1, c0)
  309.   local weld = it("Motor")
  310.   weld.Parent = parent
  311.   weld.Part0 = part0
  312.   weld.Part1 = part1
  313.   weld.C0 = c0
  314.   return weld
  315. end
  316. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  317.   local gui = it(GuiType)
  318.   gui.Parent = parent
  319.   gui.Text = text
  320.   gui.BackgroundTransparency = backtrans
  321.   gui.BackgroundColor3 = backcol
  322.   gui.SizeConstraint = "RelativeXY"
  323.   gui.TextXAlignment = "Center"
  324.   gui.TextYAlignment = "Center"
  325.   gui.Position = pos
  326.   gui.Size = size
  327.   gui.Font = "SourceSans"
  328.   gui.FontSize = "Size14"
  329.   gui.TextWrapped = false
  330.   gui.TextStrokeTransparency = 0
  331.   gui.TextColor = BrickColor.new("White")
  332.   return gui
  333. end
  334. local Color1 = Torso.BrickColor
  335. local fengui = it("GuiMain")
  336. fengui.Parent = Player.PlayerGui
  337. fengui.Name = "WeaponGUI"
  338. local fenframe = it("Frame")
  339. fenframe.Parent = fengui
  340. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  341. fenframe.BackgroundTransparency = 1
  342. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  343. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  344. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  345. local fenframe2 = it("Frame")
  346. fenframe2.Parent = fengui
  347. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  348. fenframe2.BackgroundTransparency = 1
  349. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  350. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  351. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  352. local fenframe3 = it("Frame")
  353. fenframe3.Parent = fengui
  354. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  355. fenframe3.BackgroundTransparency = 1
  356. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  357. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  358. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  359. local fenframe4 = it("Frame")
  360. fenframe4.Parent = fengui
  361. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  362. fenframe4.BackgroundTransparency = 1
  363. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  364. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  365. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  366. local pressedf = false
  367. local fenframe5 = it("Frame")
  368. fenframe5.Parent = fengui
  369. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  370. fenframe5.BackgroundTransparency = 1
  371. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  372. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  373. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  374. fenframe5.ZIndex = 2
  375. local tellbar = gui("TextLabel", fenframe5, "mr steal yo doge is the coolest on earth ok bye press f", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  376. tellbar.Font = "Arial"
  377. tellbar.TextScaled = true
  378. tellbar.TextTransparency = 1
  379. tellbar.TextStrokeTransparency = 1
  380. tellbar.ZIndex = 2
  381. local fnumb = 0
  382. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  383. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  384. local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  385. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  386. local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  387. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  388. local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  389. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  390. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  391. local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  392. local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  393. local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  394. local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  395. fenbarmove1.ZIndex = 2
  396. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  397. local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  398. fenbarmove2.ZIndex = 2
  399. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  400. local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  401. fenbarmove3.ZIndex = 2
  402. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  403. local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  404. fenbarmove4.ZIndex = 2
  405. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  406. local modelzorz = Instance.new("Model")
  407. modelzorz.Parent = Character
  408. modelzorz.Name = "dedliwepon"
  409. local handle = part(3, modelzorz, 0, 0.5, TorsoColor, "Handle", vt(), "Fabric")
  410. local prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part01", vt(0.2, 0.2, 0.2), "Fabric")
  411. local prt2 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part02", vt(0.2, 0.2, 0.2), "Fabric")
  412. local prt3 = part(3, modelzorz, 0, 0, BrickColor.new("Reddish brown"), "Part03", vt(), "Fabric")
  413. local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Steel blue"), "Part04", vt(), "Metal")
  414. local prt5 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part05", vt(0.2, 0.2, 0.2), "Marble")
  415. local msh1 = mesh("BlockMesh", prt1, "", "nil", vt(0, 0, 0), vt(6, 5.5, 5.4))
  416. local msh2 = mesh("BlockMesh", prt2, "", "nil", vt(0, 0, 0), vt(1, 5.6, 7.4))
  417. local msh3 = mesh("BlockMesh", prt3, "", "nil", vt(0, 0, 0), vt(1, 5.6, 7.4))
  418. local msh4 = mesh("CylinderMesh", prt4, "", "nil", vt(0, 0, 0), vt(2.5, 5.53, 2.5))
  419. local msh5 = mesh("CylinderMesh", prt5, "", "nil", vt(0, 0, 0), vt(2, 5.55, 2))
  420. local handlewld = weld(handle, handle, Torso, euler(0, 0, 0) * cf(0, 0, 0))
  421. local wld1 = weld(prt1, prt1, Torso, cf(0, 0, 0) * euler(math.rad(90), 0, 0))
  422. local wld2 = weld(prt1, prt2, prt1, euler(0, 0, 0) * cf(0.7, 0, -0.3))
  423. local wld3 = weld(prt1, prt3, prt1, euler(0, 0, 0) * cf(-0.7, 0, -0.3))
  424. local wld4 = weld(prt1, prt4, prt1, euler(0, 0, 0) * cf(0, 0, 0))
  425. local wld5 = weld(prt1, prt5, prt1, euler(0, 0, 0) * cf(0, 0, 0))
  426. num = 0
  427. num2 = 0
  428. num3 = 0
  429. num4 = 0
  430. num5 = 2
  431. for _,c in pairs(modelzorz:children()) do
  432.   table.insert(Weapon, c)
  433. end
  434. for _,c in pairs(prt1:children()) do
  435.   if c.className == "Motor" then
  436.     table.insert(Welds, c)
  437.   end
  438. end
  439. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  440. hitbox.Anchored = false
  441. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  442. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  443. hitbox2.Anchored = true
  444. local hitboxCF = cf(0, 0, 0)
  445. hboxpos = Instance.new("BodyPosition", nil)
  446. hboxpos.P = 2000
  447. hboxpos.D = 100
  448. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  449. hitboxweld = function()
  450.   hbwld.Parent = modelzorz
  451.   hbwld.Part0 = hitbox
  452.   hbwld.Part1 = prt5
  453. end
  454.   Tool = Instance.new("HopperBin")
  455.   Tool.Parent = Backpack
  456.   Tool.Name = "lennah huehue mr steal yo doge"
  457.   local Parent = Tool
  458. Bin = Tool
  459. if Bin.Name == "Allah" then
  460.   Bin.Name = "lennah huehue mr steal yo doge"
  461. end
  462. local bodvel = Instance.new("BodyVelocity")
  463. local bg = Instance.new("BodyGyro")
  464. so = function(id, par, vol, pit)
  465.   local sou = Instance.new("Sound", par or workspace)
  466.   sou.Volume = vol
  467.   sou.Pitch = pit or 1
  468.   sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  469.   sou:play()
  470.   game:GetService("Debris"):AddItem(sou, 6)
  471. end
  472.  
  473. function clerp(a,b,t)
  474. local qa = {QuaternionFromCFrame(a)}
  475. local qb = {QuaternionFromCFrame(b)}
  476. local ax, ay, az = a.x, a.y, a.z
  477. local bx, by, bz = b.x, b.y, b.z
  478. local _t = 1-t
  479. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  480. end
  481.  
  482. function QuaternionFromCFrame(cf)
  483. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  484. local trace = m00 + m11 + m22
  485. if trace > 0 then
  486. local s = math.sqrt(1 + trace)
  487. local recip = 0.5/s
  488. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  489. else
  490. local i = 0
  491. if m11 > m00 then
  492. i = 1
  493. end
  494. if m22 > (i == 0 and m00 or m11) then
  495. i = 2
  496. end
  497. if i == 0 then
  498. local s = math.sqrt(m00-m11-m22+1)
  499. local recip = 0.5/s
  500. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  501. elseif i == 1 then
  502. local s = math.sqrt(m11-m22-m00+1)
  503. local recip = 0.5/s
  504. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  505. elseif i == 2 then
  506. local s = math.sqrt(m22-m00-m11+1)
  507. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  508. end
  509. end
  510. end
  511.  
  512. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  513. local xs, ys, zs = x + x, y + y, z + z
  514. local wx, wy, wz = w*xs, w*ys, w*zs
  515. local xx = x*xs
  516. local xy = x*ys
  517. local xz = x*zs
  518. local yy = y*ys
  519. local yz = y*zs
  520. local zz = z*zs
  521. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  522. end
  523.  
  524. function QuaternionSlerp(a, b, t)
  525. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  526. local startInterp, finishInterp;
  527. if cosTheta >= 0.0001 then
  528. if (1 - cosTheta) > 0.0001 then
  529. local theta = math.acos(cosTheta)
  530. local invSinTheta = 1/math.sin(theta)
  531. startInterp = math.sin((1-t)*theta)*invSinTheta
  532. finishInterp = math.sin(t*theta)*invSinTheta  
  533. else
  534. startInterp = 1-t
  535. finishInterp = t
  536. end
  537. else
  538. if (1+cosTheta) > 0.0001 then
  539. local theta = math.acos(-cosTheta)
  540. local invSinTheta = 1/math.sin(theta)
  541. startInterp = math.sin((t-1)*theta)*invSinTheta
  542. finishInterp = math.sin(t*theta)*invSinTheta
  543. else
  544. startInterp = t-1
  545. finishInterp = t
  546. end
  547. end
  548. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  549. end
  550. hideanim = function()
  551.   equipped = false
  552.   for i = 0, 1, 0.12 do
  553.     swait()
  554.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  555.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  556.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, 0) * euler(0, 0, -1), 0.3)
  557.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  558.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.3)
  559.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  560.   end
  561.   for i = 0, 1, 0.18 do
  562.     swait()
  563.     Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0), 0.5)
  564.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.5)
  565.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, -1.2), 0.5)
  566.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  567.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.25), 0.5)
  568.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  569.   end
  570.   prt5.Material = "Marble"
  571.   prt5.BrickColor = BrickColor.new("Black")
  572.   for i = 0, 1, 0.1 do
  573.     swait()
  574.     handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0), 0.3)
  575.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.3)
  576.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  577.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.3)
  578.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  579.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0) * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  580.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  581.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  582.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  583.   end
  584.   mdec.Parent = nil
  585.   handlewld.Part1 = Torso
  586.   handlewld.C0 = euler(-1.8, 0, 0) * cf(-1.1, 1, 0.65)
  587.   mdec.Parent = Decrease
  588.   mdec2.Parent = nil
  589. end
  590. mdec.Parent = Decrease
  591. equipanim = function()
  592.   equipped = true
  593.   mdec.Parent = nil
  594.   for i = 0, 1, 0.12 do
  595.     swait()
  596.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  597.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  598.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, 0) * euler(0, 0, -1), 0.3)
  599.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  600.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.3)
  601.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  602.   end
  603.   for i = 0, 1, 0.18 do
  604.     swait()
  605.     Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.5)
  606.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.5)
  607.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(1.3, 0.5, -1.2), 0.5)
  608.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  609.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.25), 0.5)
  610.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  611.   end
  612.   prt5.Material = "Neon"
  613.   prt5.BrickColor = BrickColor.new(NewCol)
  614.   handlewld.Part1 = LeftArm
  615.   handlewld.C0 = euler(1.5, 1.4, 0) * euler(0, 0, -1) * cf(0, 0, 0)
  616.   mdec2.Parent = Decrease
  617. end
  618. StaggerAnim = function()
  619.   attack = true
  620.   removeControl()
  621.   for i = 1, math.random(2, 4) do
  622.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  623.   end
  624.   for i = 0, 1, 0.35 do
  625.     swait()
  626.     Torso.Velocity = RootPart.CFrame.lookVector * -40
  627.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.1, 0, 0), 0.3)
  628.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0.6), 0.3)
  629.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.4, 0, 0.4) * euler(0, 0.4, 0), 0.3)
  630.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  631.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  632.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  633.     RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.4, -0.2, 0.4), 0.3)
  634.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  635.   end
  636.   for i = 0, 1, 0.2 do
  637.     swait()
  638.     Torso.Velocity = RootPart.CFrame.lookVector * -40
  639.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.3, 0, 0), 0.3)
  640.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.4, 0, 0.6), 0.3)
  641.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.6) * euler(0, 0.4, 0), 0.3)
  642.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  643.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  644.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  645.     RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.5, -0.2, 0.5), 0.3)
  646.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  647.   end
  648.   for i = 0, 1, 0.1 do
  649.     swait()
  650.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.3)
  651.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.3, 0, 0), 0.3)
  652.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, 0.4), 0.3)
  653.     RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.6, 0, -0.4), 0.3)
  654.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  655.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.3, 0), 0.3)
  656.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  657.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.2, 0) * euler(-0.4, 0, 1.2), 0.3)
  658.     LH.C0 = clerp(LH.C0, cf(-1, 0.4, -0.8) * euler(0, -1.57, 0) * euler(0, 0.2, -0.1), 0.3)
  659.   end
  660.   for i = 1, 40 do
  661.     swait()
  662.     if StunT.Value <= Stun.Value then
  663.       break
  664.     end
  665.   end
  666.   do
  667.     resumeControl()
  668.     combo = 0
  669.     attack = false
  670.   end
  671. end
  672. StaggerHitt = function()
  673.   attack = true
  674.   for i = 1, math.random(2, 4) do
  675.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  676.   end
  677.   for i = 0, 1, 0.1 do
  678.     swait()
  679.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.1, 0, 0), 0.3)
  680.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0.6), 0.3)
  681.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4) * euler(0, 0.4, 0), 0.3)
  682.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  683.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.9) * euler(0, 0.7, 0), 0.3)
  684.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  685.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.2, -0.2), 0.3)
  686.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  687.   end
  688.   attack = false
  689. end
  690. StunAnim = function()
  691.   attack = true
  692.   removeControl()
  693.   Stunned.Value = true
  694.   showDamage(Character, "Stunned", "Interrupt")
  695.   local dec = Instance.new("NumberValue", Decrease)
  696.   dec.Name = "DecreaseMvmt"
  697.   dec.Value = 10
  698.   for i = 0, 1, 0.3 do
  699.     swait()
  700.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  701.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  702.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  703.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  704.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  705.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  706.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  707.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  708.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  709.   end
  710.   for i = 0, 1, 0.3 do
  711.     swait()
  712.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  713.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  714.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  715.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  716.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  717.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  718.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  719.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  720.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  721.   end
  722.   for i = 0, 1, 0.3 do
  723.     swait()
  724.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  725.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  726.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  727.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  728.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  729.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  730.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  731.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  732.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  733.   end
  734.   local gairost = Instance.new("BodyGyro")
  735.   gairost.Parent = RootPart
  736.   gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  737.   gairost.P = 20000
  738.   gairost.cframe = cf(0, 0, 0)
  739.   for i = 0, 1, 0.1 do
  740.     swait()
  741.     if hitfloor ~= nil then
  742.       Torso.Velocity = vt(0, 0, 0)
  743.     end
  744.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  745.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  746.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  747.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  748.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  749.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  750.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  751.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  752.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  753.   end
  754.   for i = 1, 70 do
  755.     swait()
  756.     gairost.cframe = RootPart.CFrame
  757.     if hitfloor ~= nil then
  758.       Torso.Velocity = vt(0, 0, 0)
  759.     end
  760.   end
  761.   for i = 0, 1, 0.2 do
  762.     swait()
  763.     Stun.Value = 0
  764.     gairost.cframe = RootPart.CFrame
  765.     handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  766.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  767.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  768.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  769.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  770.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  771.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  772.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  773.     LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  774.   end
  775.   resumeControl()
  776.   gairost.Parent = nil
  777.   dec.Parent = nil
  778.   Stun.Value = 0
  779.   combo = 0
  780.   Stunned.Value = false
  781.   attack = false
  782.   for i = 1, 10 do
  783.     swait()
  784.     Stun.Value = 0
  785.   end
  786. end
  787. dattackone = function()
  788.   stop = true
  789.   if isblarghing == false then
  790.     attack = true
  791.     do
  792.       for i = 0, 1, 0.15 do
  793.         swait()
  794.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(-0.1, 0, 0), 0.3)
  795.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.3)
  796.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.3)
  797.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  798.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.15)
  799.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  800.         RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  801.         LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  802.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  803.           do
  804.             if StaggerHit.Value == true then
  805.               break
  806.             end
  807.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  808.  
  809.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  810.  
  811.           end
  812.         end
  813.       end
  814.     end
  815.     local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  816.     local pmsh = mesh("SpecialMesh", pl, "FileMesh", "113216991", vt(0, 0, 0), vt(1, 1, 1))
  817.     local pwld = weld(pl, pl, RightArm, euler(0, math.rad(180), math.rad(180)) * cf(0, 1.1, 0))
  818.     MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  819.     pl.Transparency = 0
  820.     for i = 0, 1, 0.15 do
  821.       swait()
  822.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(-0.3, 0, 0), 0.3)
  823.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.3)
  824.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3.8, 0, 0.2) * euler(0, 0, 0), 0.3)
  825.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  826.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  827.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  828.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  829.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  830.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  831.         do
  832.           if StaggerHit.Value == true then
  833.             break
  834.           end
  835.           -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_THEN_STMT
  836.  
  837.           -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_STMT
  838.  
  839.         end
  840.       end
  841.     end
  842.     pwld.Parent = nil
  843.     pl.Anchored = true
  844.     local MainPos = pl.Position
  845.     local MainPos2 = MMouse.Hit.p
  846.     local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  847.     coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  848.     local num = 15
  849.     repeat
  850.       swait()
  851.       local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  852.       pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  853.       MagicBlock(BrickColor.new("Bright red"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  854.       Pos1 = Pos1 + Look.lookVector * 5
  855.       pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  856.       if ohit ~= nil then
  857.         num = 0
  858.       end
  859.       num = num - 1
  860.     until num <= 0
  861.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  862.     ref.Anchored = true
  863.     ref.CFrame = cf(pl.Position)
  864.     so("206049428", ref, 0.5, math.random(7, 10) / 10)
  865.     game:GetService("Debris"):AddItem(ref, 0.5)
  866.     local col = {"Bright red", "Bright yellow", "Bright orange"}
  867.     MagicCircle(BrickColor.new(col[math.random(1, #col)]), "SmoothPlastic", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  868.     for i = 1, 4 do
  869.       MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  870.     end
  871.     MagniDamage(ref, 5, 6, 9, math.random(5, 10), "Knockdown2", ref, 0.15, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  872.     pl.Parent = nil
  873.   end), MainPos, MainPos2, MouseLook)
  874.     for i = 0, 1, 0.2 do
  875.       swait()
  876.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.1, 0, 0), 0.5)
  877.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0.5), 0.5)
  878.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.4, 0, 0.2) * euler(0, 0, 0), 0.5)
  879.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  880.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.2) * euler(0, 0, 0), 0.5)
  881.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  882.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  883.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  884.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  885.         do
  886.           if StaggerHit.Value == true then
  887.             break
  888.           end
  889.           -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_THEN_STMT
  890.  
  891.           -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_STMT
  892.  
  893.         end
  894.       end
  895.     end
  896.     attack = false
  897.   end
  898. end
  899. dattacktwo = function()
  900.   stop = true
  901.   if isblarghing == false then
  902.     attack = true
  903.     do
  904.       for i = 0, 1, 0.15 do
  905.         swait()
  906.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(-0.1, 0, 0), 0.3)
  907.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.3)
  908.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5) * euler(0, 0, 0), 0.3)
  909.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  910.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.7, 0, -0.2) * euler(0, 0, 0), 0.15)
  911.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  912.         RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  913.         LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  914.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  915.           do
  916.             if StaggerHit.Value == true then
  917.               break
  918.             end
  919.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  920.  
  921.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  922.  
  923.           end
  924.         end
  925.       end
  926.     end
  927.     local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  928.     local pmsh = mesh("SpecialMesh", pl, "FileMesh", "113216991", vt(0, 0, 0), vt(1, 1, 1))
  929.     local pwld = weld(pl, pl, LeftArm, euler(0, math.rad(180), math.rad(180)) * cf(0, 1.1, 0))
  930.     MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  931.     pl.Transparency = 0
  932.     for i = 0, 1, 0.15 do
  933.       swait()
  934.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(-0.3, 0, 0), 0.3)
  935.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.3)
  936.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5) * euler(0, 0, 0), 0.3)
  937.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  938.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(3.8, 0, -0.2) * euler(0, 0, 0), 0.3)
  939.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  940.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  941.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  942.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  943.         do
  944.           if StaggerHit.Value == true then
  945.             break
  946.           end
  947.           -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_THEN_STMT
  948.  
  949.           -- DECOMPILER ERROR at PC502: LeaveBlock: unexpected jumping out IF_STMT
  950.  
  951.         end
  952.       end
  953.     end
  954.     pwld.Parent = nil
  955.     pl.Anchored = true
  956.     local MainPos = pl.Position
  957.     local MainPos2 = MMouse.Hit.p
  958.     local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  959.     coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  960.     local num = 15
  961.     repeat
  962.       swait()
  963.       local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  964.       pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  965.       MagicBlock(BrickColor.new("Bright red"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  966.       Pos1 = Pos1 + Look.lookVector * 5
  967.       pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  968.       if ohit ~= nil then
  969.         num = 0
  970.       end
  971.       num = num - 1
  972.     until num <= 0
  973.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  974.     ref.Anchored = true
  975.     ref.CFrame = cf(pl.Position)
  976.     so("206049428", ref, 0.5, math.random(7, 10) / 10)
  977.     game:GetService("Debris"):AddItem(ref, 0.5)
  978.     local col = {"Bright red", "Bright yellow", "Bright orange"}
  979.     MagicCircle(BrickColor.new(col[math.random(1, #col)]), "SmoothPlastic", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  980.     for i = 1, 4 do
  981.       MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  982.     end
  983.     MagniDamage(ref, 5, 6, 9, math.random(5, 10), "Knockdown2", ref, 0.15, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  984.     pl.Parent = nil
  985.   end), MainPos, MainPos2, MouseLook)
  986.     for i = 0, 1, 0.2 do
  987.       swait()
  988.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(-0.1, 0, 0), 0.5)
  989.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -0.5), 0.5)
  990.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.2) * euler(0, 0, 0), 0.5)
  991.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  992.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.4, 0, -0.2) * euler(0, 0, 0), 0.5)
  993.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  994.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  995.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, -0.2), 0.3)
  996.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  997.         do
  998.           if StaggerHit.Value == true then
  999.             break
  1000.           end
  1001.           -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1002.  
  1003.           -- DECOMPILER ERROR at PC724: LeaveBlock: unexpected jumping out IF_STMT
  1004.  
  1005.         end
  1006.       end
  1007.     end
  1008.     attack = false
  1009.   end
  1010. end
  1011. dattackthree = function()
  1012.   stop = true
  1013.   if isblarghing == false then
  1014.     attack = true
  1015.     for i = 0, 1, 0.15 do
  1016.       swait()
  1017.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.1, 0, 0), 0.3)
  1018.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1019.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.5, 0, 0.2) * euler(0, 0, 0), 0.3)
  1020.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1021.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.15)
  1022.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1023.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1024.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1025.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1026.         do
  1027.           if StaggerHit.Value == true then
  1028.             break
  1029.           end
  1030.           -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1031.  
  1032.           -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  1033.  
  1034.         end
  1035.       end
  1036.     end
  1037.     do
  1038.       for i = 0, 1, 0.15 do
  1039.         swait()
  1040.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.3, 0, 0), 0.3)
  1041.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1042.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  1043.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1044.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  1045.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1046.         RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1047.         LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1048.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1049.           do
  1050.             if StaggerHit.Value == true then
  1051.               break
  1052.             end
  1053.             -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1054.  
  1055.             -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_STMT
  1056.  
  1057.           end
  1058.         end
  1059.       end
  1060.     end
  1061.     local ref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1062.     ref2.Anchored = true
  1063.     ref2.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(Vector3.new(0, 7, 0), MMouse.Hit.p)
  1064.     game:GetService("Debris"):AddItem(ref2, 1)
  1065.     for i = -1, 1 do
  1066.       local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(1, 1, 1))
  1067.       local pmsh = mesh("SpecialMesh", pl, "FileMesh", "113216991", vt(0, 0, 0), vt(1, 1, 1))
  1068.       pl.CFrame = ref2.CFrame * CFrame.new(i * 5, 0, 0)
  1069.       MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 2, 2, 2, 0.15, 2)
  1070.       pl.Transparency = 0
  1071.       pl.Anchored = true
  1072.       local MainPos = pl.Position
  1073.       local MainPos2 = MMouse.Hit.p + Vector3.new(i + math.random(-250, 250) / 100, i + math.random(-250, 250) / 100, i + math.random(-250, 250) / 100)
  1074.       local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1075.       coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1076.     local num = 25
  1077.     repeat
  1078.       swait()
  1079.       local ohit, opos = rayCast(Pos1, Look.lookVector, 5, pl)
  1080.       pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1081.       MagicBlock(BrickColor.new("Bright red"), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0.5, 0.5, 0.5, 1, 1, 1, 0.15, 2)
  1082.       Pos1 = Pos1 + Look.lookVector * 5
  1083.       pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  1084.       if ohit ~= nil then
  1085.         num = 0
  1086.       end
  1087.       num = num - 1
  1088.     until num <= 0
  1089.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1090.     ref.Anchored = true
  1091.     ref.CFrame = cf(pl.Position)
  1092.     so("206049428", ref, 0.5, math.random(7, 10) / 10)
  1093.     game:GetService("Debris"):AddItem(ref, 0.5)
  1094.     local col = {"Bright red", "Bright yellow", "Bright orange"}
  1095.     MagicCircle(BrickColor.new(col[math.random(1, #col)]), "SmoothPlastic", cf(ref.Position), 2, 2, 2, 2.5, 2.5, 2.5, 0.1, 0.2)
  1096.     for i = 1, 4 do
  1097.       MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 3, 3, 3, 1, 1, 1, 0.1)
  1098.     end
  1099.     MagniDamage(ref, 5, 8, 12, math.random(5, 10), "Knockdown2", ref, 0.01, 2, math.random(3, 7), false, true, false, "Movement", 0.02, 500)
  1100.     pl.Parent = nil
  1101.   end), MainPos, MainPos2, MouseLook)
  1102.     end
  1103.     for i = 0, 1, 0.15 do
  1104.       swait()
  1105.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1106.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1107.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 0) * euler(0, 0, 0), 0.3)
  1108.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1109.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5) * euler(0, 0, 0), 0.3)
  1110.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1111.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1) * euler(0, 0, 0), 0.3)
  1112.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.1), 0.3)
  1113.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1114.         do
  1115.           if StaggerHit.Value == true then
  1116.             break
  1117.           end
  1118.           -- DECOMPILER ERROR at PC780: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1119.  
  1120.           -- DECOMPILER ERROR at PC780: LeaveBlock: unexpected jumping out IF_STMT
  1121.  
  1122.         end
  1123.       end
  1124.     end
  1125.     attack = false
  1126.   end
  1127. end
  1128. dattackfour = function()
  1129.   stop = true
  1130.   if isblarghing == false then
  1131.     attack = true
  1132.     do
  1133.       for i = 0, 1, 0.15 do
  1134.         swait()
  1135.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.15, 0, 0), 0.3)
  1136.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1137.         RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(2.5, 0, 0.2) * euler(0, 0, 0), 0.3)
  1138.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1139.         LW.C0 = clerp(LW.C0, cf(-1.5, 1.2, 0) * euler(2.5, 0, -0.2) * euler(0, 0, 0), 0.3)
  1140.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1141.         RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1142.         LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1143.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1144.           do
  1145.             if StaggerHit.Value == true then
  1146.               break
  1147.             end
  1148.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1149.  
  1150.             -- DECOMPILER ERROR at PC206: LeaveBlock: unexpected jumping out IF_STMT
  1151.  
  1152.           end
  1153.         end
  1154.       end
  1155.     end
  1156.     for i = 0, 1, 0.15 do
  1157.       swait()
  1158.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.25, 0, 0), 0.3)
  1159.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1160.       RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.3)
  1161.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1162.       LW.C0 = clerp(LW.C0, cf(-1.5, 1.2, 0) * euler(3, 0, -0.2) * euler(0, 0, 0), 0.3)
  1163.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1164.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1165.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1166.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1167.         do
  1168.           if StaggerHit.Value == true then
  1169.             break
  1170.           end
  1171.           -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1172.  
  1173.           -- DECOMPILER ERROR at PC406: LeaveBlock: unexpected jumping out IF_STMT
  1174.  
  1175.         end
  1176.       end
  1177.     end
  1178.     local pl = part(3, workspace, 0, 1, BrickColor.new(NewCol), "Plane", vt(2, 2, 2))
  1179.     local pmsh = mesh("SpecialMesh", pl, "FileMesh", "113216991", vt(0, 0, 0), vt(4, 4, 4))
  1180.     local pwld = weld(pl, pl, RightArm, euler(0, math.rad(180), math.rad(180)) * cf(1.5, 2.6, 0))
  1181.     MagicBlock(BrickColor.new(NewCol), cf(pl.Position) * cf(0, 0, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 5, 5, 5, 0.1, 2)
  1182.     pl.Transparency = 0
  1183.     for i = 0, 1, 0.15 do
  1184.       swait()
  1185.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.45, 0, 0), 0.3)
  1186.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1187.       RW.C0 = clerp(RW.C0, cf(1.5, 1.2, 0) * euler(3.8, 0, 0.2) * euler(0, 0, 0), 0.3)
  1188.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1189.       LW.C0 = clerp(LW.C0, cf(-1.5, 1.2, 0) * euler(3.8, 0, -0.2) * euler(0, 0, 0), 0.3)
  1190.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1191.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1192.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1193.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1194.         do
  1195.           if StaggerHit.Value == true then
  1196.             break
  1197.           end
  1198.           -- DECOMPILER ERROR at PC702: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1199.  
  1200.           -- DECOMPILER ERROR at PC702: LeaveBlock: unexpected jumping out IF_STMT
  1201.  
  1202.         end
  1203.       end
  1204.     end
  1205.     pwld.Parent = nil
  1206.     pl.Anchored = true
  1207.     local MainPos = pl.Position
  1208.     local MainPos2 = MMouse.Hit.p
  1209.     local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1210.     coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1211.     local num = 30
  1212.     repeat
  1213.       swait()
  1214.       local ohit, opos = rayCast(Pos1, Look.lookVector, 20, pl)
  1215.       pl.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1216.       MagicBlock(BrickColor.new("Bright red"), cf(pl.Position) * cf(0, -0.55, 0) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2.5, 2.5, 2.5, 2, 2, 2, 0.15, 2)
  1217.       Pos1 = Pos1 + Look.lookVector * 5
  1218.       pl.CFrame = CFrame.new(pl.Position, MMouse.Hit.p)
  1219.       if ohit ~= nil then
  1220.         num = 0
  1221.       end
  1222.       num = num - 1
  1223.     until num <= 0
  1224.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1225.     ref.Anchored = true
  1226.     ref.CFrame = cf(pl.Position)
  1227.     so("206049428", ref, 0.8, math.random(4, 6) / 10)
  1228.     game:GetService("Debris"):AddItem(ref, 0.5)
  1229.     local col = {"Bright red", "Bright yellow", "Bright orange"}
  1230.     MagicCircle(BrickColor.new(col[math.random(1, #col)]), "SmoothPlastic", cf(ref.Position), 5, 5, 5, 10.5, 10.5, 10.5, 0.1, 1)
  1231.     for i = 1, 4 do
  1232.       MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(ref.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 5, 5, 5, 6, 6, 6, 0.1)
  1233.     end
  1234.     MagniDamage(ref, 15, 10, 15, math.random(15, 25), "Knockdown2", ref, 0.15, 2, math.random(12, 20), false, true, false, "Defense", 0.05, 700)
  1235.     pl.Parent = nil
  1236.   end), MainPos, MainPos2, MouseLook)
  1237.     for i = 0, 1, 0.2 do
  1238.       swait()
  1239.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.35, 0, 0), 0.5)
  1240.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1241.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.4, 0, 0.2) * euler(0, 0, 0), 0.5)
  1242.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1243.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.4, 0, -0.2) * euler(0, 0, 0), 0.5)
  1244.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1245.       RH.C0 = clerp(RH.C0, cf(1.1, -0.9, -0.2) * euler(0, 1.57, 0) * euler(-0.15, 0, 0.2) * euler(0, 0, 0), 0.3)
  1246.       LH.C0 = clerp(LH.C0, cf(-1, -1, -0.1) * euler(0, -1.57, 0) * euler(-0.15, 0, 0.2), 0.3)
  1247.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1248.         do
  1249.           if StaggerHit.Value == true then
  1250.             break
  1251.           end
  1252.           -- DECOMPILER ERROR at PC924: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1253.  
  1254.           -- DECOMPILER ERROR at PC924: LeaveBlock: unexpected jumping out IF_STMT
  1255.  
  1256.         end
  1257.       end
  1258.     end
  1259.     attack = false
  1260.   end
  1261. end
  1262. do1 = function()
  1263.   if attack == true then
  1264.     return
  1265.   end
  1266.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1267.     return
  1268.   end
  1269.   if cooldownmax <= cooldowns[1] and mana.Value >= 15 then
  1270.     stop = false
  1271.     attack = true
  1272.     isblarghing = true
  1273.     cooldowns[1] = 0
  1274.     s = Character.Torso
  1275.     local p = Instance.new("Sound", s)
  1276.     p.SoundId = "http://www.roblox.com/asset/?id=" .. "315652366"
  1277.     p.Volume = 1
  1278.     game:GetService("Debris"):AddItem(p, 4)
  1279.     p:Play()
  1280.     wait(0.1)
  1281.     s.Parent.Humanoid.PlatformStand = true
  1282.     local v = Instance.new("BodyVelocity", s)
  1283.     v.P = 5000
  1284.     v.maxForce = Vector3.new(545000, 545000, 545000)
  1285.     local Dist = 80
  1286.     v.velocity = s.CFrame.lookVector * Dist + Vector3.new(0, Dist, 0)
  1287.     game:GetService("Debris"):AddItem(v, 0.25)
  1288.     s.Parent.Humanoid.PlatformStand = true
  1289.     s.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) / 2
  1290.     wait(0.175)
  1291.     local x = false
  1292.     attack = false
  1293.     for i = 1, 500 do
  1294.       swait()
  1295.       MagicBlock(BrickColor.new("Medium stone grey"), RootPart.CFrame * euler(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 3, 3, 3, 0.1)
  1296.       for _,v in pairs(s:children()) do
  1297.         hitfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1298.         if v.className == "Motor" or v.className == "Weld" or v.className == "Motor6D" then
  1299.           v.C0 = v.C0 * CFrame.Angles(math.random(-50, 50) / 30, math.random(-50, 50) / 30, math.random(-50, 50) / 30)
  1300.         end
  1301.       end
  1302.       if stop then
  1303.         s.Parent.Humanoid.PlatformStand = false
  1304.         Torso.Velocity = Vector3.new(0, -100, 0)
  1305.         MagicBlock(BrickColor.new("Bright red"), RootPart.CFrame * euler(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360))), 1, 1, 1, 10, 10, 10, 0.07)
  1306.         MagicWave(BrickColor.new("Bright yellow"), cf(RootPart.Position) * euler(math.rad(math.random(-20, 20)), math.rad(math.random(-200, 200)), 0), 1, 0.5, 1, 3, 3, 3, 0.15)
  1307.       end
  1308.       if hitfloord then
  1309.         s.Parent.Humanoid.PlatformStand = false
  1310.         break
  1311.       end
  1312.     end
  1313.     do
  1314.       MagniDamage(RootPart, 25, 15, 20, math.random(75, 105), "Normal", RootPart, 0.15, 2, math.random(55, 97), true, true, false, "Movement", 0.25, 400)
  1315.       MagicWave(BrickColor.new("Bright yellow"), cf(RootPart.Position) * cf(0, 0, 0), 1.5, 4, 1.5, 1.5, 0.5, 1.5, 0.05)
  1316.       MagicBlock(BrickColor.new("Bright yellow"), cf(RootPart.Position) * cf(0, 0, 0), 1.5, 4, 1.5, 8, 8, 8, 0.05)
  1317.       p = Instance.new("Sound", s)
  1318.       p.SoundId = "http://www.roblox.com/asset/?id=" .. "157878578"
  1319.       p.Volume = 1
  1320.       p.Pitch = 0.9
  1321.       p:Play()
  1322.       game:GetService("Debris"):AddItem(p, 4)
  1323.       showDamage(Character, 15, "Damage")
  1324.       s.Parent.Humanoid:TakeDamage(15)
  1325.       isblarghing = false
  1326.     end
  1327.   end
  1328. end
  1329. bombmeshes = {
  1330. {mesh = "http://www.roblox.com/asset/?id=12891705", texture = "http://www.roblox.com/asset/?id=12891577", offset = Vector3.new(0, 4.4, 0), size = Vector3.new(2.5, 2.5, 2.5)}
  1331. ,
  1332. {mesh = "http://www.roblox.com/asset/?id=11563093", texture = "http://www.roblox.com/asset/?id=11563076", offset = Vector3.new(0, 7.25, 0), size = Vector3.new(10, 10, 10)}
  1333. ,
  1334. {mesh = "http://www.roblox.com/asset/?id=9419831", texture = "http://www.roblox.com/asset/?id=9419827", offset = Vector3.new(0, 7.25, 0), size = Vector3.new(8, 8, 8)}
  1335. }
  1336. xl = {"316012158", "316012174", "316012192"}
  1337. xe = {"316012212", "316012229", "316012256", "316012287"}
  1338. do2 = function()
  1339.   if attack == true then
  1340.     return
  1341.   end
  1342.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1343.     return
  1344.   end
  1345.   if cooldownmax <= cooldowns[2] and mana.Value >= 20 then
  1346.     stop = false
  1347.     attack = true
  1348.     cooldowns[2] = 10
  1349.     s = Character.Torso
  1350.     local p = Instance.new("Sound", s)
  1351.     p.SoundId = "http://www.roblox.com/asset/?id=" .. xe[math.random(1, #xe)]
  1352.     p.Volume = 1
  1353.     game:GetService("Debris"):AddItem(p, 4)
  1354.     p:Play()
  1355.     for i = 1, 15 do
  1356.       swait()
  1357.       handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.15)
  1358.       Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.3)
  1359.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.25)
  1360.       RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi, 0, 0) * euler(0, 0, 0.2), 0.25)
  1361.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1362.       LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(-math.pi, 0, 0) * euler(0, 0, -0.2), 0.25)
  1363.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1364.       RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.25)
  1365.       LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.25)
  1366.     end
  1367.     local b = Instance.new("Part", workspace)
  1368.     b.Name = "HEIL"
  1369.     b.TopSurface = 0
  1370.     b.BottomSurface = 0
  1371.     b.formFactor = "Symmetric"
  1372.     b.CanCollide = false
  1373.     b.Size = Vector3.new(5, 5, 5)
  1374.     local m = Instance.new("SpecialMesh", b)
  1375.     m.MeshType = "FileMesh"
  1376.     local rnd = math.random(0, 100)
  1377.     local rand = math.random(1, 2)
  1378.     if rnd <= 20 then
  1379.       rand = 3
  1380.     end
  1381.     m.MeshId = bombmeshes[rand].mesh
  1382.     m.TextureId = bombmeshes[rand].texture
  1383.     m.Scale = bombmeshes[rand].size
  1384.     b.Transparency = 1
  1385.     local w = Instance.new("Weld", b)
  1386.     w.Part0 = s
  1387.     w.Part1 = b
  1388.     w.C0 = CFrame.new(bombmeshes[rand].offset)
  1389.     local sus = Instance.new("ParticleEmitter", b)
  1390.     sus.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1391.     sus.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 10)})
  1392.     sus.Lifetime = NumberRange.new(1.5, 2.25)
  1393.     sus.RotSpeed = NumberRange.new(-20, 20)
  1394.     sus.Rotation = NumberRange.new(-360, 360)
  1395.     sus.Texture = "http://www.roblox.com/asset/?id=133619974"
  1396.     sus.Speed = NumberRange.new(2, 6)
  1397.     sus.Acceleration = Vector3.new(0, 0, 0)
  1398.     sus.VelocitySpread = 30
  1399.     sus.LockedToPart = true
  1400.     sus.Rate = 200
  1401.     for i = 1, 10 do
  1402.       b.Transparency = 1 - i / 10
  1403.       swait()
  1404.     end
  1405.     sus.Enabled = false
  1406.     wait(math.random(20, 40) / 10)
  1407.     local p = Instance.new("Sound", s)
  1408.     p.SoundId = "http://www.roblox.com/asset/?id=" .. xl[math.random(1, #xl)]
  1409.     p.Volume = 1
  1410.     p:Play()
  1411.     game:GetService("Debris"):AddItem(p, 4)
  1412.     MagniDamage(RootPart, 45, 30, 40, math.random(150, 250), "Normal", b, 0.05, 2, 9999, false, false, false, "Defense", 0.2, 550)
  1413.     local p = Instance.new("Sound", b)
  1414.     p.SoundId = "http://www.roblox.com/asset/?id=" .. "216782105"
  1415.     p.Pitch = 0.8
  1416.     p.Volume = 1
  1417.     p:Play()
  1418.     game:GetService("Debris"):AddItem(p, 4)
  1419.     local eff = Instance.new("Part", workspace)
  1420.     eff.formFactor = "Custom"
  1421.     eff.Size = Vector3.new(1, 1, 1)
  1422.     eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1423.     eff.BrickColor = BrickColor.new("Bright yellow")
  1424.     local m = Instance.new("BlockMesh", eff)
  1425.     m.Scale = Vector3.new(10, 10, 10)
  1426.     eff.Parent = workspace
  1427.     eff.Name = "Bewm"
  1428.     eff.Anchored = true
  1429.     eff.CanCollide = false
  1430.     game:GetService("Debris"):AddItem(eff, 5)
  1431.     coroutine.resume(coroutine.create(function(p, V, x)
  1432.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1433.     for i = 1, 30 do
  1434.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(25.5, 25.5, 25.5) / 20
  1435.       p.Transparency = i / 30
  1436.       p.CFrame = p.CFrame * V
  1437.       swait()
  1438.     end
  1439.     p:Remove()
  1440.   end), eff, CFrame.Angles(math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6))))
  1441.     local eff = Instance.new("Part", workspace)
  1442.     eff.formFactor = "Custom"
  1443.     eff.Size = Vector3.new(1, 1, 1)
  1444.     eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1445.     eff.BrickColor = BrickColor.new("Bright orange")
  1446.     local m = Instance.new("BlockMesh", eff)
  1447.     m.Scale = Vector3.new(10, 10, 10)
  1448.     eff.Parent = workspace
  1449.     eff.Name = "Bewm"
  1450.     eff.Anchored = true
  1451.     eff.CanCollide = false
  1452.     game:GetService("Debris"):AddItem(eff, 5)
  1453.     coroutine.resume(coroutine.create(function(p, V, x)
  1454.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1455.     for i = 1, 30 do
  1456.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(37.5, 37.5, 37.5) / 20
  1457.       p.Transparency = i / 30
  1458.       p.CFrame = p.CFrame * V
  1459.       swait()
  1460.     end
  1461.     p:Remove()
  1462.   end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1463.     local eff = Instance.new("Part", workspace)
  1464.     eff.formFactor = "Custom"
  1465.     eff.Size = Vector3.new(1, 1, 1)
  1466.     eff.CFrame = b.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))
  1467.     eff.BrickColor = BrickColor.new("Bright yellow")
  1468.     local m = Instance.new("BlockMesh", eff)
  1469.     m.Scale = Vector3.new(10, 10, 10)
  1470.     eff.Parent = workspace
  1471.     eff.Name = "Bewm"
  1472.     eff.Anchored = true
  1473.     eff.CanCollide = false
  1474.     game:GetService("Debris"):AddItem(eff, 5)
  1475.     coroutine.resume(coroutine.create(function(p, V, x)
  1476.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1477.     for i = 1, 30 do
  1478.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 55, 55) / 20
  1479.       p.Transparency = i / 30
  1480.       p.CFrame = p.CFrame * V
  1481.       swait()
  1482.     end
  1483.     p:Remove()
  1484.   end), eff, CFrame.Angles(math.rad(math.random(-10, 10)), math.rad(math.random(-10, 10)), math.rad(math.random(-10, 10))))
  1485.     hitfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1486.     local eff = Instance.new("Part", workspace)
  1487.     eff.formFactor = "Custom"
  1488.     eff.Size = Vector3.new(1, 1, 1)
  1489.     eff.CFrame = CFrame.new(RootPart.Position)
  1490.     eff.BrickColor = BrickColor.new("Bright yellow")
  1491.     local m = Instance.new("SpecialMesh", eff)
  1492.     m.MeshType = "FileMesh"
  1493.     m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1494.     m.Scale = Vector3.new(10, 10, 10)
  1495.     eff.Parent = workspace
  1496.     eff.Name = "Bewm"
  1497.     eff.Anchored = true
  1498.     eff.CanCollide = false
  1499.     game:GetService("Debris"):AddItem(eff, 5)
  1500.     coroutine.resume(coroutine.create(function(p, V, x)
  1501.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1502.     for i = 1, 30 do
  1503.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 0, 55) / 20
  1504.       p.Transparency = i / 30
  1505.       p.CFrame = p.CFrame * V
  1506.       swait()
  1507.     end
  1508.     p:Remove()
  1509.   end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  1510.     local eff = Instance.new("Part", workspace)
  1511.     eff.formFactor = "Custom"
  1512.     eff.Size = Vector3.new(1, 1, 1)
  1513.     eff.CFrame = CFrame.new(RootPart.Position)
  1514.     eff.BrickColor = BrickColor.new("Institutional white")
  1515.     local m = Instance.new("SpecialMesh", eff)
  1516.     m.MeshType = "FileMesh"
  1517.     m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1518.     m.Scale = Vector3.new(10, 10, 10)
  1519.     eff.Parent = workspace
  1520.     eff.Name = "Bewm"
  1521.     eff.Anchored = true
  1522.     eff.CanCollide = false
  1523.     game:GetService("Debris"):AddItem(eff, 5)
  1524.     coroutine.resume(coroutine.create(function(p, V, x)
  1525.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1526.     for i = 1, 12 do
  1527.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(100, 0, 100) / 12
  1528.       p.Transparency = 0.5 + i / 24
  1529.       p.CFrame = p.CFrame * V
  1530.       swait()
  1531.     end
  1532.     p:Remove()
  1533.   end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  1534.     b:BreakJoints()
  1535.     b.Transparency = 1
  1536.     b.Anchored = true
  1537.     game:GetService("Debris"):AddItem(b, 5)
  1538.     showDamage(Character, 20, "Damage")
  1539.     s.Parent.Stats.Stun.Value = 99999
  1540.     s.Parent.Humanoid:TakeDamage(20)
  1541.     local v = Instance.new("BodyVelocity", s)
  1542.     v.velocity = Vector3.new(math.random(-50, 50), math.random(5, 50), math.random(-50, 50)).unit * 70 + Vector3.new(0, 20, 0)
  1543.     v.maxForce = Vector3.new(545000, 545000, 545000)
  1544.     game:GetService("Debris"):AddItem(v, 0.3)
  1545.     local v = Instance.new("BodyAngularVelocity", s)
  1546.     do
  1547.       v.angularvelocity = Vector3.new(math.random(-50, 50), math.random(5, 50), math.random(-50, 50)).unit * 20
  1548.       v.maxTorque = Vector3.new(500000000, 500000000, 500000000)
  1549.       game:GetService("Debris"):AddItem(v, 0.6)
  1550.       local sus = Instance.new("ParticleEmitter", s)
  1551.       sus.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1552.       sus.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 6)})
  1553.       sus.Lifetime = NumberRange.new(1, 2)
  1554.       sus.RotSpeed = NumberRange.new(-20, 20)
  1555.       sus.Rotation = NumberRange.new(-360, 360)
  1556.       sus.Texture = "http://www.roblox.com/asset/?id=133619974"
  1557.       sus.Speed = NumberRange.new(0, 0)
  1558.       sus.Acceleration = Vector3.new(0, 5, 0)
  1559.       sus.VelocitySpread = 180
  1560.       sus.Rate = 20
  1561.       coroutine.resume(coroutine.create(function(p)
  1562.     wait(2)
  1563.     p.Enabled = false
  1564.   end), sus)
  1565.       if rand == 3 then
  1566.         local p = Instance.new("Sound", b)
  1567.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "270620358"
  1568.         p.Pitch = 1
  1569.         p.Volume = 1
  1570.         p:Play()
  1571.         game:GetService("Debris"):AddItem(p, 4)
  1572.         local Torso = b
  1573.         for i = 1, math.random(26, 34) do
  1574.           local s = math.random(100, 125) / 100
  1575.           if math.random(1, 20) == 20 then
  1576.             s = math.random(225, 250) / 100 * 2
  1577.           end
  1578.           local p = Instance.new("Part", workspace)
  1579.           p.Name = "BONUSDUCK"
  1580.           p.TopSurface = 0
  1581.           p.BottomSurface = 0
  1582.           p.formFactor = "Custom"
  1583.           p.Size = Vector3.new(s, s, s)
  1584.           p.BrickColor = BrickColor.new("New Yeller")
  1585.           p.CanCollide = false
  1586.           p.CFrame = Torso.CFrame * CFrame.new(math.random(-5, 5) / 10, 0, math.random(-5, 5) / 10) * CFrame.fromEulerAnglesXYZ(0, math.random(-50, 50) / 10, 0)
  1587.           local dir = Torso.CFrame * CFrame.new(0, 0, 1) * CFrame.fromEulerAnglesXYZ(0, math.rad(math.random(-180, 180)), 0).lookVector
  1588.           p.Velocity = (dir * (math.random(58, 80) / 10) + Vector3.new(0, math.random(20, 25), 0)) * math.random(1, 3)
  1589.           local r = Instance.new("BodyAngularVelocity")
  1590.           r.Parent = p
  1591.           r.angularvelocity = Vector3.new(0, 3, 0)
  1592.           p.Friction = 0.5
  1593.           local f = Instance.new("BodyForce", p)
  1594.           f.force = Vector3.new(0, p:GetMass() * 90, 0)
  1595.           Instance.new("BodyGyro", p)
  1596.           m = Instance.new("SpecialMesh", p)
  1597.           m.MeshType = "FileMesh"
  1598.           m.MeshId = "http://www.roblox.com/asset/?id=9419831"
  1599.           m.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1600.           m.Scale = p.Size
  1601.           local rr = math.random(1, 3)
  1602.           if rr == 3 then
  1603.             m.VertexColor = Vector3.new(0.85, 0.85, 0.85)
  1604.           else
  1605.             if rr == 2 then
  1606.               m.VertexColor = Vector3.new(1, 0.8, 0.8)
  1607.             else
  1608.               if rr == 1 then
  1609.                 m.VertexColor = Vector3.new(0.8, 1, 0.8)
  1610.               end
  1611.             end
  1612.           end
  1613.           game:GetService("RunService").Heartbeat:wait()
  1614.           coroutine.resume(coroutine.create(function(e)
  1615.     wait(1)
  1616.     e.CanCollide = true
  1617.     game:GetService("Debris"):AddItem(e, 17.5)
  1618.     e.Touched:connect(function(hit)
  1619.       if hit.Parent and hit.Parent:FindFirstChild("Humanoid") and e:FindFirstChild("BONUSDUCK") == nil then
  1620.         hit.Parent.Humanoid:TakeDamage(-2.5)
  1621.         if hit.Parent:FindFirstChild("Decrease") then
  1622.           s = Instance.new("IntValue", hit.Parent.Decrease)
  1623.           s.Name = "DecreaseAtk"
  1624.           s.Value = -0.02
  1625.           game:GetService("Debris"):AddItem(s, 30)
  1626.         end
  1627.         pp = Instance.new("BoolValue", e)
  1628.         pp.Name = "BONUSDUCK"
  1629.         e.Transparency = 1
  1630.         e.Anchored = true
  1631.         e.CanCollide = false
  1632.         local ss = Instance.new("Sparkles", e)
  1633.         local so = {"261637666", "261637644", "261637620", "261637599", "261637593"}
  1634.         local sp = Instance.new("Sound", e)
  1635.         sp.Volume = -0.15 + e.Size.x
  1636.         sp.SoundId = "http://www.roblox.com/asset/?id=" .. so[math.random(1, 5)]
  1637.         sp:Play()
  1638.         wait(0.33)
  1639.         ss.Enabled = false
  1640.         wait(1)
  1641.         e:Remove()
  1642.       end
  1643.     end)
  1644.     wait(10 + math.random(0, 20) / 20)
  1645.     if e.Parent and e:FindFirstChild("BONUSDUCK") == nil then
  1646.       for i = 1, 4 do
  1647.         e.Transparency = 1
  1648.         wait(0.2)
  1649.         e.Transparency = 0
  1650.         wait(0.2)
  1651.       end
  1652.       e.Parent = nil
  1653.     end
  1654.   end), p)
  1655.         end
  1656.         -- DECOMPILER ERROR at PC1398: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1657.  
  1658.         -- DECOMPILER ERROR at PC1398: LeaveBlock: unexpected jumping out IF_STMT
  1659.  
  1660.       end
  1661.     end
  1662.   end
  1663.   attack = false
  1664. end
  1665. do3 = function()
  1666.   speech = {316403490, 316403787, 316403844, 316403916}
  1667.   if attack == true then
  1668.     return
  1669.   end
  1670.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1671.     return
  1672.   end
  1673.   if cooldownmax <= cooldowns[3] and mana.Value >= 25 then
  1674.     attack = true
  1675.     removeControl()
  1676.     local dec = Instance.new("NumberValue", Decrease)
  1677.     dec.Name = "DecreaseMvmt"
  1678.     dec.Value = 10
  1679.     mana.Value = mana.Value - 25
  1680.     num = 0
  1681.     local dec2 = Instance.new("NumberValue", Decrease)
  1682.     dec2.Name = "DecreaseDef"
  1683.     dec2.Value = -1.25
  1684.     local pod = part(3, workspace, 0, 0, BrickColor.new("Reddish brown"), "Podium", vt(2, 2.5, 2), "WoodPlanks", true)
  1685.     pod.CFrame = Torso.CFrame * CFrame.new(0, -1.8, -2)
  1686.     for i = 1, 4 do
  1687.       MagicCloud(BrickColor.new("White"), cf(pod.Position) * cf(math.random(-80, 80) / 100, math.random(-100, 150) / 100, math.random(-80, 80) / 100) * euler(math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180))), 3, 5, 5, 0.1, 0.1, 0.1, 0.05)
  1688.     end
  1689.     pod.Rotation = Torso.Rotation
  1690.     pod.CanCollide = true
  1691.     local pod2 = part(3, workspace, 0, 0, BrickColor.new("Reddish brown"), "Podium", vt(2, 1, 2), "WoodPlanks", true)
  1692.     local msh = mesh("SpecialMesh", pod2, "Wedge", "nil", vt(0, 0, 0), vt(1, 1, 1))
  1693.     pod2.CFrame = pod.CFrame * CFrame.new(0, 1.75, 0)
  1694.     pod2.Rotation = pod.Rotation + Vector3.new(0, 180, 0)
  1695.     pod2.CanCollide = true
  1696.     speeching = true
  1697.     local snd = Instance.new("Sound", Head)
  1698.     snd.Volume = 1
  1699.     snd.SoundId = "http://www.roblox.com/asset/?id=" .. speech[math.random(1, #speech)]
  1700.     game:GetService("Debris"):AddItem(snd, snd.TimeLength + 5)
  1701.     for i = 0, 1, 0.1 do
  1702.       swait()
  1703.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1704.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1705.       RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1706.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1707.       LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1708.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1709.       RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1710.       LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1711.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1712.         do
  1713.           if StaggerHit.Value == true then
  1714.             break
  1715.           end
  1716.           -- DECOMPILER ERROR at PC441: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1717.  
  1718.           -- DECOMPILER ERROR at PC441: LeaveBlock: unexpected jumping out IF_STMT
  1719.  
  1720.         end
  1721.       end
  1722.     end
  1723.     snd:Play()
  1724.     numofanim = 0
  1725.     deb = false
  1726.     while speeching do
  1727.       swait()
  1728.       num = num + 1
  1729.       local rng = math.random(0, 100)
  1730.       if 90 + numofanim < rng and deb == false then
  1731.         coroutine.resume(coroutine.create(function()
  1732.     deb = true
  1733.     local anim = math.random(0, 100)
  1734.     if anim <= 25 then
  1735.       numofanim = numofanim + 2
  1736.       for i = 0, 1, 0.1 do
  1737.         swait()
  1738.         Neck.C0 = clerp(Neck.C0, necko * euler(-0.15, 0, -0.2) * euler(0, 0, 0), 0.3)
  1739.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1740.         RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(2.3, 0, 0.2) * euler(0, 0, 0), 0.3)
  1741.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1742.         LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1743.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1744.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1745.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1746.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1747.           do
  1748.             if StaggerHit.Value == true then
  1749.               break
  1750.             end
  1751.             -- DECOMPILER ERROR at PC211: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1752.  
  1753.             -- DECOMPILER ERROR at PC211: LeaveBlock: unexpected jumping out IF_STMT
  1754.  
  1755.           end
  1756.         end
  1757.       end
  1758.       for i = 0, 1, 0.025 do
  1759.         swait()
  1760.       end
  1761.       for i = 0, 1, 0.1 do
  1762.         swait()
  1763.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1764.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1765.         RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1766.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1767.         LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1768.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1769.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1770.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1771.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1772.           do
  1773.             if StaggerHit.Value == true then
  1774.               break
  1775.             end
  1776.             -- DECOMPILER ERROR at PC418: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1777.  
  1778.             -- DECOMPILER ERROR at PC418: LeaveBlock: unexpected jumping out IF_STMT
  1779.  
  1780.           end
  1781.         end
  1782.       end
  1783.     else
  1784.       if anim > 25 and anim <= 50 then
  1785.         numofanim = numofanim + 2
  1786.         local reps = math.random(2, 4)
  1787.         local repsdone = 0
  1788.         repeat
  1789.           for i = 0, 1, 0.15 do
  1790.             swait()
  1791.             Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0.1, 0) * euler(0, 0, 0), 0.15)
  1792.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.15)
  1793.             RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(2, 0, -0.15) * euler(0, 0, 0), 0.15)
  1794.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1795.             LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.15)
  1796.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1797.             RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.15)
  1798.             LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.15)
  1799.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1800.               do
  1801.                 if StaggerHit.Value == true then
  1802.                   break
  1803.                 end
  1804.                 -- DECOMPILER ERROR at PC632: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1805.  
  1806.                 -- DECOMPILER ERROR at PC632: LeaveBlock: unexpected jumping out IF_STMT
  1807.  
  1808.               end
  1809.             end
  1810.           end
  1811.           for i = 0, 1, 0.1 do
  1812.             swait()
  1813.             Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1814.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1815.             RW.C0 = clerp(RW.C0, cf(1.35, 0.3, -0.5) * euler(1.4, 0, -0.15) * euler(0, 0, 0), 0.7)
  1816.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1817.             LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.5)
  1818.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1819.             RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1820.             LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.5)
  1821.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1822.               do
  1823.                 if StaggerHit.Value == true then
  1824.                   break
  1825.                 end
  1826.                 -- DECOMPILER ERROR at PC832: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1827.  
  1828.                 -- DECOMPILER ERROR at PC832: LeaveBlock: unexpected jumping out IF_STMT
  1829.  
  1830.               end
  1831.             end
  1832.           end
  1833.           repsdone = repsdone + 1
  1834.         until repsdone == reps
  1835.       else
  1836.         do
  1837.           if anim > 50 and anim <= 75 then
  1838.             numofanim = numofanim + 2
  1839.             for i = 0, 1, 0.1 do
  1840.               swait()
  1841.               Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0), 0.3)
  1842.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1843.               RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.3)
  1844.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1845.               LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.3)
  1846.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1847.               RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  1848.               LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.3)
  1849.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1850.                 do
  1851.                   if StaggerHit.Value == true then
  1852.                     break
  1853.                   end
  1854.                   -- DECOMPILER ERROR at PC1043: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1855.  
  1856.                   -- DECOMPILER ERROR at PC1043: LeaveBlock: unexpected jumping out IF_STMT
  1857.  
  1858.                 end
  1859.               end
  1860.             end
  1861.             for i = 0, 1, 0.25 do
  1862.               swait()
  1863.             end
  1864.             for i = 0, 1, 0.1 do
  1865.               swait()
  1866.               Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.5)
  1867.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1868.               RW.C0 = clerp(RW.C0, cf(1.35, 0.5, -0.5) * euler(1.1, 0, -0.15) * euler(0, 0, 0), 0.5)
  1869.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1870.               LW.C0 = clerp(LW.C0, cf(-1.35, 0.5, -0.5) * euler(1.1, 0, 0.15) * euler(0, 0, 0), 0.5)
  1871.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1872.               RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1873.               LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0), 0.5)
  1874.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1875.                 do
  1876.                   if StaggerHit.Value == true then
  1877.                     break
  1878.                   end
  1879.                   -- DECOMPILER ERROR at PC1250: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1880.  
  1881.                   -- DECOMPILER ERROR at PC1250: LeaveBlock: unexpected jumping out IF_STMT
  1882.  
  1883.                 end
  1884.               end
  1885.             end
  1886.           end
  1887.           deb = false
  1888.         end
  1889.       end
  1890.     end
  1891.   end))
  1892.       end
  1893.       if snd.TimeLength * 30 <= num then
  1894.         speeching = false
  1895.       end
  1896.     end
  1897.     do
  1898.       do
  1899.         local col = {"Bright red", "Bright yellow", "Bright orange"}
  1900.         MagicCircle(BrickColor.new(col[math.random(1, #col)]), "SmoothPlastic", cf(pod.Position), 5, 5, 5, 10.5, 10.5, 10.5, 0.1, 1)
  1901.         for i = 1, 4 do
  1902.           MagicBlock(BrickColor.new(col[math.random(1, #col)]), cf(pod.Position) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 5, 5, 5, 6, 6, 6, 0.1)
  1903.         end
  1904.         so("216782105", pod, 0.5, 1.5)
  1905.         MagniDamage(pod, 15, 15, 20, math.random(35, 55), "Normal", pod, 0.15, 2, math.random(55, 97), true, true, false)
  1906.         MagniBuff(RootPart, 45, "Defense", -0.65, 800)
  1907.         MagniBuff(RootPart, 45, "Movement", -0.25, 800)
  1908.         MagniBuff(RootPart, 45, "Damage", -0.8, 800)
  1909.         showDamage(Character, 10, "Damage")
  1910.         Character.Humanoid:TakeDamage(10)
  1911.         Stagger.Value = true
  1912.         cooldowns[3] = 0
  1913.         pod.Parent = nil
  1914.         pod2.Parent = nil
  1915.         dec.Parent = nil
  1916.         dec2.Parent = nil
  1917.         attack = false
  1918.         resumeControl()
  1919.       end
  1920.     end
  1921.   end
  1922. end
  1923. do4 = function()
  1924.   if attack == true then
  1925.     return
  1926.   end
  1927. if Player.Name == Player.Name then
  1928.     if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1929.       return
  1930.     end
  1931.     local hitfloord, posfloord = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1932.     if cooldownmax <= cooldowns[4] and mana.Value >= 50 then
  1933.       attack = true
  1934.       stop = true
  1935.       mana.Value = mana.Value - 50
  1936.       local s = game.Players.LocalPlayer.Character.Torso
  1937.       do
  1938.         local p = Instance.new("Sound", s)
  1939.         p.SoundId = "http://www.roblox.com/asset/?id=" .. xl[math.random(1, #xl)]
  1940.         p.Volume = 1
  1941.         game:GetService("Debris"):AddItem(p, 4)
  1942.         p:Play()
  1943.         local sl = Instance.new("IntValue", s.Parent.Stats.Decrease)
  1944.         sl.Name = "DecreaseMvmt"
  1945.         sl.Value = 100
  1946.         local xdir = RootPart.CFrame.lookVector
  1947.         local xpos = posfloord - Vector3.new(0, 66, 0) + xdir * 25
  1948.         local building = Instance.new("Model", workspace)
  1949.         local p = Instance.new("Part", building)
  1950.         p.TopSurface = 0
  1951.         p.BottomSurface = 0
  1952.         p.Anchored = true
  1953.         p.CanCollide = true
  1954.         p.formFactor = "Symmetric"
  1955.         p.Material = "Concrete"
  1956.         p.Size = Vector3.new(30, 90, 30)
  1957.         p.CFrame = CFrame.new(xpos, xpos + RootPart.CFrame.lookVector * 5)
  1958.         building.PrimaryPart = p
  1959.         local ps = Instance.new("Part", workspace)
  1960.         ps.Anchored = true
  1961.         ps.CanCollide = false
  1962.         ps.CFrame = CFrame.new(posfloord + RootPart.CFrame.lookVector * 25)
  1963.         ps.Size = Vector3.new(33, 1, 33)
  1964.         ps.Transparency = 1
  1965.         local pem = Instance.new("ParticleEmitter", ps)
  1966.         pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1967.         pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 10)})
  1968.         pem.Lifetime = NumberRange.new(2.5, 3.5)
  1969.         pem.RotSpeed = NumberRange.new(-100, 100)
  1970.         pem.Rotation = NumberRange.new(-350, 350)
  1971.         pem.Texture = "http://www.roblox.com/asset/?id=133619974"
  1972.         pem.Speed = NumberRange.new(0, 0)
  1973.         pem.Acceleration = Vector3.new(0, 0, 0)
  1974.         pem.VelocitySpread = 180
  1975.         pem.Rate = 250
  1976.         pem.Enabled = false
  1977.         for y = -1, 3 do
  1978.           for r = -1, 1 do
  1979.             local p = Instance.new("Part", building)
  1980.             p.TopSurface = 0
  1981.             p.BottomSurface = 0
  1982.             p.Anchored = true
  1983.             p.CanCollide = false
  1984.             p.formFactor = "Custom"
  1985.             p.Size = Vector3.new(30.1, 8, 8)
  1986.             p.CFrame = building.PrimaryPart.CFrame * CFrame.new(0, 14 * y - 8, 10 * r)
  1987.             p.BrickColor = BrickColor.new("Pastel light blue")
  1988.             p.Reflectance = 0.33
  1989.             p.Material = "SmoothPlastic"
  1990.           end
  1991.         end
  1992.         local cam = workspace.CurrentCamera
  1993.         cam.CameraType = "Scriptable"
  1994.         cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 120, 0) - xdir * 100, building.PrimaryPart.CFrame * CFrame.new(0, 100, 0), 4)
  1995.         for i = 1, 15 do
  1996.           swait()
  1997.           handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  1998.           Neck.C0 = clerp(Neck.C0, necko * euler(0.7, 0, 0), 0.3)
  1999.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.2)
  2000.           RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-0.6, 0, 0) * euler(0, 0, 0.4), 0.2)
  2001.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2002.           LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.4), 0.2)
  2003.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2004.           RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.2)
  2005.           LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.2)
  2006.           building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 0, math.random(-100, 100) / 100)))
  2007.         end
  2008.         pem.Enabled = true
  2009.         for i = 1, 25 do
  2010.           swait()
  2011.           handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.05)
  2012.           Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.05)
  2013.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.05)
  2014.           RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(0, 0, 0) * euler(0, 0, 0.4), 0.05)
  2015.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.05)
  2016.           LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.05)
  2017.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.05)
  2018.           RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.05)
  2019.           LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.05)
  2020.           building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 15, math.random(-100, 100) / 100)))
  2021.         end
  2022.         for i = 1, 40 do
  2023.           swait()
  2024.           handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.05)
  2025.           Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1)
  2026.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1)
  2027.           RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1)
  2028.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  2029.           LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1)
  2030.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  2031.           RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1)
  2032.           LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1)
  2033.           building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 40, math.random(-100, 100) / 100)))
  2034.         end
  2035.         do
  2036.           for i = 1, 25 do
  2037.             swait()
  2038.             building:SetPrimaryPartCFrame(CFrame.new(xpos + Vector3.new(0, i, 0) + Vector3.new(math.random(-100, 100) / 100, 80, math.random(-100, 100) / 100)))
  2039.           end
  2040.         end
  2041.         pem.Enabled = false
  2042.         game:GetService("Debris"):AddItem(ps, 5)
  2043.         for i = 1, 15 do
  2044.           swait()
  2045.           handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.25)
  2046.           Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3)
  2047.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35)
  2048.           RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35)
  2049.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2050.           LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35)
  2051.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2052.           RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35)
  2053.           LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35)
  2054.         end
  2055.         for _,v in pairs(workspace:children()) do
  2056.           if v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") then
  2057.             local h, t = v.Humanoid, v.Torso
  2058.             if h.Health > 0 and game.Players:GetPlayerFromCharacter(v) ~= nil then
  2059.           end
  2060. end
  2061. end
  2062.         local eff = Instance.new("Part", workspace)
  2063.         eff.formFactor = "Custom"
  2064.         eff.Size = Vector3.new(1, 1, 1)
  2065.         eff.CFrame = CFrame.new(posfloord)
  2066.         eff.BrickColor = BrickColor.new("Bright yellow")
  2067.         local m = Instance.new("SpecialMesh", eff)
  2068.         m.MeshType = "FileMesh"
  2069.         m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2070.         m.Scale = Vector3.new(10, 10, 10)
  2071.         eff.Parent = workspace
  2072.         eff.Name = "Bewm"
  2073.         eff.Anchored = true
  2074.         eff.CanCollide = false
  2075.         game:GetService("Debris"):AddItem(eff, 5)
  2076.         coroutine.resume(coroutine.create(function(p, V, x)
  2077.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2078.     for i = 1, 30 do
  2079.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(55, 0, 55) / 20
  2080.       p.Transparency = i / 30
  2081.       p.CFrame = p.CFrame * V
  2082.       swait()
  2083.     end
  2084.     p:Remove()
  2085.   end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2086.         local sbs = Instance.new("BodyPosition", RootPart)
  2087.         sbs.P = 3000
  2088.         sbs.D = 1000
  2089.         sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  2090.         sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0)
  2091.         local gl = Instance.new("BodyGyro", RootPart)
  2092.         gl.P = 8000
  2093.         gl.D = 400
  2094.         gl.maxTorque = Vector3.new(50000000, 0, 50000000)
  2095.         gl.cframe = RootPart.CFrame
  2096.         local sk = Instance.new("Part", workspace)
  2097.         sk.Name = "D"
  2098.         sk.CanCollide = false
  2099.         sk.Anchored = true
  2100.         sk.Transparency = 1
  2101.         sk.Size = Vector3.new(1, 1, 1)
  2102.         sk.CFrame = RootPart.CFrame
  2103.         local p = Instance.new("Sound", sk)
  2104.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "134012322"
  2105.         p.Volume = 1
  2106.         p.Pitch = 0.8
  2107.         game:GetService("Debris"):AddItem(sk, 4)
  2108.         for i = 1, 5 do
  2109.           swait()
  2110.           handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.4)
  2111.           Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.4)
  2112.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  2113.           RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-0.2, 0, 0) * euler(0, 0, 0.1), 0.4)
  2114.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2115.           LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(math.pi * 0.95, 0, 0) * euler(0, 0, -0.2), 0.4)
  2116.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2117.           RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.3) * euler(0, math.pi / 2, 0), 0.4)
  2118.           LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.3) * euler(0, -math.pi / 2, 0), 0.4)
  2119.         end
  2120.         wait(0.5)
  2121.         cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 100, 0) - xdir * 65, building.PrimaryPart.CFrame * CFrame.new(0, 60, 0), 2)
  2122.         wait(0.5)
  2123.         local pz = Instance.new("Sound", building.PrimaryPart)
  2124.         pz.SoundId = "http://www.roblox.com/asset/?id=" .. "167273611"
  2125.         pz.Pitch = 1
  2126.         pz.Volume = 1
  2127.         pz:Play()
  2128.         wait(1)
  2129.         handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 1)
  2130.         Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 1)
  2131.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 1)
  2132.         RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0) * euler(-math.pi, 0, 0) * euler(0, 0, 0.5), 1)
  2133.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 1)
  2134.         LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(math.pi, 0, 0) * euler(0, 0, -0.5), 1)
  2135.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 1)
  2136.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 1)
  2137.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 1)
  2138.         sbs:Destroy()
  2139.         RootPart.Anchored = true
  2140.         gl:Destroy()
  2141.         local start = building.PrimaryPart.CFrame * CFrame.new(0, 810, 0)
  2142.         local xpart = Instance.new("Part", s.Parent)
  2143.         xpart.Name = "ROAD ROLLER DA!"
  2144.         xpart.TopSurface = 0
  2145.         xpart.BottomSurface = 0
  2146.         xpart.Anchored = true
  2147.         xpart.CanCollide = false
  2148.         xpart.Size = Vector3.new(1, 1, 1)
  2149.         local xm = Instance.new("SpecialMesh", xpart)
  2150.         xm.MeshType = "FileMesh"
  2151.         xm.Scale = Vector3.new(7.5, 7.5, 7.5)
  2152.         xm.TextureId = "http://www.roblox.com/asset?id=113216977"
  2153.         xm.MeshId = "http://www.roblox.com/asset?id=113216991"
  2154.         for i = 1, 47 do
  2155.           swait()
  2156.           pz.Volume = 0.05 + i * 0.2
  2157.           cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 140, 0) - xdir * 90, s.CFrame, 5.1 - i * 0.1)
  2158.           RootPart.CFrame = start * CFrame.new(0, -i * 3.5 - i ^ 1.65 + 5, 0) * CFrame.Angles(-math.pi, 0, 0)
  2159.           xpart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 2) * CFrame.Angles(math.pi, 0, 0)
  2160.         end
  2161.         game:GetService("Debris"):AddItem(pz, 3)
  2162.         local p = Instance.new("Sound", s)
  2163.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "165970126"
  2164.         p.Volume = 1
  2165.         p.Pitch = 0.85
  2166.         game:GetService("Debris"):AddItem(p, 4)
  2167.         p:Play()
  2168.         local p = Instance.new("Sound", workspace)
  2169.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "165970126"
  2170.         p.Volume = 0.05
  2171.         p.Pitch = 0.85
  2172.         game:GetService("Debris"):AddItem(p, 4)
  2173.         p:Play()
  2174.         MagniDamage(RootPart, 55, 20, 30, math.random(50, 100), "Normal", building.PrimaryPart, 0.05, 2, 9999, false, false, false, "Defense", 0, 0)
  2175.         MagniDamage(building.PrimaryPart, 55, 20, 30, math.random(100, 150), "Normal", building.PrimaryPart, 0.05, 2, 9999, false, false, false, "Defense", 0, 0)
  2176.         local p = Instance.new("Sound", RootPart)
  2177.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "216782105"
  2178.         p.Pitch = 0.8
  2179.         p.Volume = 1
  2180.         p:Play()
  2181.         game:GetService("Debris"):AddItem(p, 4)
  2182.         local p = Instance.new("Sound", s)
  2183.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2184.         p.Volume = 1
  2185.         p.Pitch = 0.8
  2186.         game:GetService("Debris"):AddItem(p, 4)
  2187.         p:Play()
  2188.         local p = Instance.new("Sound", workspace)
  2189.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2190.         p.Volume = 0.05
  2191.         p.Pitch = 0.8
  2192.         game:GetService("Debris"):AddItem(p, 4)
  2193.         p:Play()
  2194.         local pem = Instance.new("ParticleEmitter", building.PrimaryPart)
  2195.         pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2196.         pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 8), NumberSequenceKeypoint.new(1, 10)})
  2197.         pem.Lifetime = NumberRange.new(2.5, 3.5)
  2198.         pem.RotSpeed = NumberRange.new(-69, 69)
  2199.         pem.Rotation = NumberRange.new(-350, 350)
  2200.         pem.Texture = "http://www.roblox.com/asset/?id=133619974"
  2201.         pem.Speed = NumberRange.new(2, 12)
  2202.         pem.Acceleration = Vector3.new(0, -10, 0)
  2203.         pem.VelocitySpread = 180
  2204.         pem.Rate = 5
  2205.         pem.Enabled = true
  2206.         spawn(function()
  2207.     wait()
  2208.     pem:Emit(200)
  2209.   end)
  2210.         local kek = {"http://www.roblox.com/asset/?id=48803786", "http://www.roblox.com/asset/?id=116579230", "http://www.roblox.com/asset/?id=187884226", "http://www.roblox.com/asset/?id=2426617"}
  2211.         for _,v in pairs(building:children()) do
  2212.           if v.BrickColor == BrickColor.new("Pastel light blue") then
  2213.             do
  2214.               if _ % 3 == 0 then
  2215.                 local p = Instance.new("Sound", v)
  2216.                 p.SoundId = "http://www.roblox.com/asset/?id=" .. "144884907"
  2217.                 p.Pitch = math.random(65, 80) / 100
  2218.                 p.Volume = 1
  2219.                 p:Play()
  2220.                 game:GetService("Debris"):AddItem(p, 4)
  2221.               end
  2222.               local sks = Instance.new("Part", building)
  2223.               sks.Name = "DIIC"
  2224.               sks.Anchored = true
  2225.               sks.CanCollide = false
  2226.               sks.formFactor = "Custom"
  2227.               sks.Size = Vector3.new(0.2, 8, 8)
  2228.               sks.BrickColor = BrickColor:Red()
  2229.               sks.CFrame = v.CFrame * CFrame.new(15, 0, 0)
  2230.               sks.Transparency = 1
  2231.               local pem = Instance.new("ParticleEmitter", sks)
  2232.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2233.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.15), NumberSequenceKeypoint.new(1, 0.15)})
  2234.               pem.Lifetime = NumberRange.new(3.5, 4)
  2235.               pem.RotSpeed = NumberRange.new(-110, 110)
  2236.               pem.Rotation = NumberRange.new(-350, 350)
  2237.               pem.Texture = "http://www.roblox.com/asset/?id=316915922"
  2238.               pem.Speed = NumberRange.new(5, 50)
  2239.               pem.Acceleration = Vector3.new(0, -20, 0)
  2240.               pem.VelocitySpread = 80
  2241.               pem.Rate = 0
  2242.               pem.LightEmission = -0.2
  2243.               pem.Enabled = true
  2244.               pem.EmissionDirection = "Right"
  2245.               spawn(function()
  2246.     wait()
  2247.     pem:Emit(50)
  2248.   end)
  2249.               local pem = Instance.new("ParticleEmitter", sks)
  2250.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2251.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  2252.               pem.Lifetime = NumberRange.new(3.5, 4)
  2253.               pem.RotSpeed = NumberRange.new(-110, 110)
  2254.               pem.Rotation = NumberRange.new(-350, 350)
  2255.               pem.Texture = "http://www.roblox.com/asset/?id=316915935"
  2256.               pem.Speed = NumberRange.new(5, 50)
  2257.               pem.Acceleration = Vector3.new(0, -22, 0)
  2258.               pem.VelocitySpread = 70
  2259.               pem.Rate = 0
  2260.               pem.LightEmission = -0.2
  2261.               pem.Enabled = true
  2262.               pem.EmissionDirection = "Right"
  2263.               spawn(function()
  2264.     wait()
  2265.     pem:Emit(50)
  2266.   end)
  2267.               local pem = Instance.new("ParticleEmitter", sks)
  2268.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2269.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  2270.               pem.Lifetime = NumberRange.new(3.5, 4)
  2271.               pem.RotSpeed = NumberRange.new(-110, 110)
  2272.               pem.Rotation = NumberRange.new(-350, 350)
  2273.               pem.Texture = "http://www.roblox.com/asset/?id=316915947"
  2274.               pem.Speed = NumberRange.new(5, 55)
  2275.               pem.Acceleration = Vector3.new(0, -20, 0)
  2276.               pem.VelocitySpread = 60
  2277.               pem.Rate = 0
  2278.               pem.LightEmission = -0.2
  2279.               pem.Enabled = true
  2280.               pem.EmissionDirection = "Right"
  2281.               spawn(function()
  2282.     wait()
  2283.     pem:Emit(50)
  2284.   end)
  2285.               local sks = Instance.new("Part", building)
  2286.               sks.Name = "DIIC"
  2287.               sks.Anchored = true
  2288.               sks.CanCollide = false
  2289.               sks.formFactor = "Custom"
  2290.               sks.Size = Vector3.new(0.2, 8, 8)
  2291.               sks.BrickColor = BrickColor:Red()
  2292.               sks.CFrame = v.CFrame * CFrame.new(-15, 0, 0)
  2293.               sks.Transparency = 1
  2294.               local pem = Instance.new("ParticleEmitter", sks)
  2295.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2296.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.15), NumberSequenceKeypoint.new(1, 0.15)})
  2297.               pem.Lifetime = NumberRange.new(3.5, 4)
  2298.               pem.RotSpeed = NumberRange.new(-110, 110)
  2299.               pem.Rotation = NumberRange.new(-350, 350)
  2300.               pem.Texture = "http://www.roblox.com/asset/?id=316915922"
  2301.               pem.Speed = NumberRange.new(5, 50)
  2302.               pem.Acceleration = Vector3.new(0, -20, 0)
  2303.               pem.VelocitySpread = 80
  2304.               pem.Rate = 0
  2305.               pem.LightEmission = -0.2
  2306.               pem.Enabled = true
  2307.               pem.EmissionDirection = "Left"
  2308.               spawn(function()
  2309.     wait()
  2310.     pem:Emit(50)
  2311.   end)
  2312.               local pem = Instance.new("ParticleEmitter", sks)
  2313.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2314.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  2315.               pem.Lifetime = NumberRange.new(3.5, 4)
  2316.               pem.RotSpeed = NumberRange.new(-110, 110)
  2317.               pem.Rotation = NumberRange.new(-350, 350)
  2318.               pem.Texture = "http://www.roblox.com/asset/?id=316915935"
  2319.               pem.Speed = NumberRange.new(5, 50)
  2320.               pem.Acceleration = Vector3.new(0, -22, 0)
  2321.               pem.VelocitySpread = 70
  2322.               pem.Rate = 0
  2323.               pem.LightEmission = -0.2
  2324.               pem.Enabled = true
  2325.               pem.EmissionDirection = "Left"
  2326.               spawn(function()
  2327.     wait()
  2328.     pem:Emit(50)
  2329.   end)
  2330.               local pem = Instance.new("ParticleEmitter", sks)
  2331.               pem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2332.               pem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  2333.               pem.Lifetime = NumberRange.new(3.5, 4)
  2334.               pem.RotSpeed = NumberRange.new(-110, 110)
  2335.               pem.Rotation = NumberRange.new(-350, 350)
  2336.               pem.Texture = "http://www.roblox.com/asset/?id=316915947"
  2337.               pem.Speed = NumberRange.new(5, 55)
  2338.               pem.Acceleration = Vector3.new(0, -20, 0)
  2339.               pem.VelocitySpread = 60
  2340.               pem.Rate = 0
  2341.               pem.LightEmission = -0.2
  2342.               pem.Enabled = true
  2343.               pem.EmissionDirection = "Left"
  2344.               spawn(function()
  2345.     wait()
  2346.     pem:Emit(50)
  2347.   end)
  2348.               local thed = Instance.new("Decal", v)
  2349.               thed.Face = "Left"
  2350.               thed.Texture = kek[math.random(1, #kek)]
  2351.               do
  2352.                 local thed = Instance.new("Decal", v)
  2353.                 thed.Face = "Right"
  2354.                 thed.Texture = kek[math.random(1, #kek)]
  2355.                 -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out DO_STMT
  2356.  
  2357.                 -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2358.  
  2359.                 -- DECOMPILER ERROR at PC2831: LeaveBlock: unexpected jumping out IF_STMT
  2360.  
  2361.               end
  2362.             end
  2363.           end
  2364.         end
  2365.         local eff = Instance.new("Part", workspace)
  2366.         eff.formFactor = "Custom"
  2367.         eff.Size = Vector3.new(1, 1, 1)
  2368.         eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 35, 0))
  2369.         eff.BrickColor = BrickColor.new("Institutional white")
  2370.         local m = Instance.new("SpecialMesh", eff)
  2371.         m.MeshType = "FileMesh"
  2372.         m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2373.         m.Scale = Vector3.new(10, 10, 10)
  2374.         eff.Parent = workspace
  2375.         eff.Name = "Bewm"
  2376.         eff.Anchored = true
  2377.         eff.CanCollide = false
  2378.         game:GetService("Debris"):AddItem(eff, 5)
  2379.         coroutine.resume(coroutine.create(function(p, V, x)
  2380.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2381.     for i = 1, 20 do
  2382.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(65, 0, 65) / 20
  2383.       p.Transparency = i / 20
  2384.       p.CFrame = p.CFrame * V
  2385.       swait()
  2386.     end
  2387.     p:Remove()
  2388.   end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2389.         local eff = Instance.new("Part", workspace)
  2390.         eff.formFactor = "Custom"
  2391.         eff.Size = Vector3.new(1, 1, 1)
  2392.         eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 35, 0))
  2393.         eff.BrickColor = BrickColor.new("Institutional white")
  2394.         local m = Instance.new("SpecialMesh", eff)
  2395.         m.MeshType = "FileMesh"
  2396.         m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2397.         m.Scale = Vector3.new(10, 10, 10)
  2398.         eff.Parent = workspace
  2399.         eff.Name = "Bewm"
  2400.         eff.Anchored = true
  2401.         eff.CanCollide = false
  2402.         game:GetService("Debris"):AddItem(eff, 5)
  2403.         coroutine.resume(coroutine.create(function(p, V, x)
  2404.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2405.     for i = 1, 10 do
  2406.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(145, 0, 145) / 10
  2407.       p.Transparency = 0.5 + i / 20
  2408.       p.CFrame = p.CFrame * V
  2409.       swait()
  2410.     end
  2411.     p:Remove()
  2412.   end), eff, CFrame.Angles(0, math.rad(math.random(-10, 9) * 3 + 5), 0))
  2413.         local eff = Instance.new("Part", workspace)
  2414.         eff.formFactor = "Custom"
  2415.         eff.Size = Vector3.new(1, 1, 1)
  2416.         eff.CFrame = CFrame.new(building.PrimaryPart.CFrame.p + Vector3.new(0, 40, 0))
  2417.         eff.BrickColor = BrickColor.new("Institutional white")
  2418.         local m = Instance.new("SpecialMesh", eff)
  2419.         m.MeshType = "FileMesh"
  2420.         m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2421.         m.Scale = Vector3.new(10, 10, 10)
  2422.         eff.Parent = workspace
  2423.         eff.Name = "Bewm"
  2424.         eff.Anchored = true
  2425.         eff.CanCollide = false
  2426.         game:GetService("Debris"):AddItem(eff, 5)
  2427.         coroutine.resume(coroutine.create(function(p, V, x)
  2428.     local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  2429.     for i = 1, 10 do
  2430.       p.Mesh.Scale = p.Mesh.Scale + Vector3.new(125, 0, 125) / 10
  2431.       p.Transparency = 0.5 + i / 20
  2432.       p.CFrame = p.CFrame * V
  2433.       swait()
  2434.     end
  2435.     p:Remove()
  2436.   end), eff, CFrame.Angles(0, -math.rad(math.random(-10, 9) * 3 + 5), 0))
  2437.         for _,v in pairs(workspace:children()) do
  2438.           if v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") then
  2439.             local h, t = v.Humanoid, v.Torso
  2440.           end
  2441.         end
  2442.         handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 1)
  2443.         Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3)
  2444.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 1)
  2445.         RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 1)
  2446.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2447.         LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 1)
  2448.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2449.         RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 1)
  2450.         LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 1)
  2451.         for i = 1, 3 do
  2452.           building:SetPrimaryPartCFrame(CFrame.new(building.PrimaryPart.CFrame.p - Vector3.new(0, 2.5, 0)))
  2453.           -- DECOMPILER ERROR at PC3348: Overwrote pending register: R44 in 'AssignReg'
  2454.  
  2455.           RootPart.CFrame = start * CFrame.new(0, -758.86938347034 - i * 2.5, 0) * CFrame.Angles(0, 0, 0)
  2456.           xpart.CFrame = RootPart.CFrame * CFrame.new(0, -2, 2) * CFrame.Angles(0, 0, 0)
  2457.           -- DECOMPILER ERROR at PC3375: Overwrote pending register: R44 in 'AssignReg'
  2458.  
  2459.           cam:Interpolate(building.PrimaryPart.CFrame * CFrame.new(0, 0, 0) - xdir * 90, CFrame.new(s.Position), 0.5)
  2460.           swait()
  2461.         end
  2462.         wait(0.5)
  2463.         local p = Instance.new("Sound", RootPart)
  2464.         p.SoundId = "http://www.roblox.com/asset/?id=" .. "169628396"
  2465.         p.Volume = 1
  2466.         p.Pitch = 1
  2467.         game:GetService("Debris"):AddItem(p, 30)
  2468.         p:Play()
  2469.         cam:Interpolate(xpart.CFrame * CFrame.new(10, 10, -10), xpart.CFrame + Vector3.new(0, 2, 0), 1)
  2470.         wait(4)
  2471.         xpart:Remove()
  2472.         RootPart.Anchored = false
  2473.         cam.CameraType = "Custom"
  2474.         sl.Parent = nil
  2475.         attack = false
  2476.         stop = false
  2477.         cooldowns[4] = 0
  2478.         wait(10)
  2479.         building:Destroy()
  2480.       end
  2481.     end
  2482.   end
  2483. end
  2484. taunt = function()
  2485.   if attack == true then
  2486.     return
  2487.   end
  2488.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2489.     return
  2490.   end
  2491.   if cooldownmax <= cooldowns[5] and mana.Value >= 20 then
  2492.     stop = false
  2493.     attack = true
  2494.     cooldowns[5] = 40
  2495.     s = Character.Torso
  2496.     local p = Instance.new("Sound", s)
  2497.     p.SoundId = "http://www.roblox.com/asset/?id=" .. "318111747"
  2498.     p.Volume = 1
  2499.     game:GetService("Debris"):AddItem(p, 4)
  2500.     p:Play()
  2501.     for i = 1, 15 do
  2502.       swait()
  2503.       handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  2504.       Neck.C0 = clerp(Neck.C0, necko * euler(-0.7, 0, 0), 0.2)
  2505.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.2)
  2506.       RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 0.99, 0, 0) * euler(0, 0, 0.2), 0.2)
  2507.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2508.       LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 0.99, 0, 0) * euler(0, 0, -0.2), 0.2)
  2509.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2510.       RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.2)
  2511.       LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.2)
  2512.     end
  2513.     local b = Instance.new("Part", workspace)
  2514.     b.Name = "HEILx2"
  2515.     b.TopSurface = 0
  2516.     b.BottomSurface = 0
  2517.     b.formFactor = "Symmetric"
  2518.     b.CanCollide = false
  2519.     b.Size = Vector3.new(3, 2, 2)
  2520.     local m = Instance.new("SpecialMesh", b)
  2521.     m.MeshType = "FileMesh"
  2522.     m.MeshId = "http://www.roblox.com/asset/?id=192488915"
  2523.     m.TextureId = "http://www.roblox.com/asset/?id=192488947"
  2524.     local wa = Instance.new("Weld", b)
  2525.     wa.Part0 = s.Parent["Right Arm"]
  2526.     wa.Part1 = b
  2527.     wa.C0 = CFrame.new(-1.65, -1.2, 0) * CFrame.Angles(math.pi * 1.025, 0, 0.2)
  2528.     b.Transparency = 0
  2529.     local p = Instance.new("Sound", s)
  2530.     p.SoundId = "http://www.roblox.com/asset/?id=" .. "111124523"
  2531.     p.Volume = 1
  2532.     p.Pitch = math.random(80, 90) / 100
  2533.     game:GetService("Debris"):AddItem(p, 4)
  2534.     p:Play()
  2535.     wait(0.5)
  2536.     local p = Instance.new("Sound", s)
  2537.     p.SoundId = "http://www.roblox.com/asset/?id=" .. "190126363"
  2538.     p.Volume = 1
  2539.     p.Pitch = math.random(80, 90) / 100
  2540.     game:GetService("Debris"):AddItem(p, 4)
  2541.     wait(0.2)
  2542.     local trx = math.random(0, 100)
  2543.     if trx <= 10 then
  2544.       local bb = Instance.new("Part", b)
  2545.       bb.Name = "HEIL"
  2546.       bb.TopSurface = 0
  2547.       bb.BottomSurface = 0
  2548.       bb.formFactor = "Symmetric"
  2549.       bb.CanCollide = false
  2550.       bb.Size = Vector3.new(1, 1, 1)
  2551.       local m = Instance.new("SpecialMesh", bb)
  2552.       m.MeshType = "FileMesh"
  2553.       m.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2554.       m.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2555.       m.Scale = Vector3.new(0.7, 0.7, 0.7)
  2556.       local w = Instance.new("Weld", b)
  2557.       w.Part0 = b
  2558.       w.Part1 = bb
  2559.       w.C0 = CFrame.new(0, 0.74, -0.25) * CFrame.Angles(0, 0, 0)
  2560.       bb.Transparency = 0
  2561.       local p = Instance.new("Sound", s)
  2562.       p.SoundId = "http://www.roblox.com/asset/?id=" .. "111124523"
  2563.       p.Volume = 1
  2564.       p.Pitch = math.random(100, 110) / 100
  2565.       game:GetService("Debris"):AddItem(p, 4)
  2566.       p:Play()
  2567.       wait(0.4)
  2568.       local p = Instance.new("Sound", s)
  2569.       p.SoundId = "http://www.roblox.com/asset/?id=" .. xe[math.random(1, #xe)]
  2570.       p.Volume = 1
  2571.       p.Pitch = 1.4
  2572.       game:GetService("Debris"):AddItem(p, 4)
  2573.       p:Play()
  2574.       wait(1.5)
  2575.     end
  2576.     do
  2577.       local topkek = {317667032, 317667048, 317667070, 317670161}
  2578.       local dix = {13.8, 12, 12.35, 15}
  2579.       local rando = math.random(1, 4)
  2580.       if trx <= 10 then
  2581.         local poop = {}
  2582.         for i = 1, 33 do
  2583.           local p = Instance.new("Sound", b)
  2584.           p.SoundId = "http://www.roblox.com/asset/?id=" .. topkek[rando]
  2585.           p.Volume = 1
  2586.           p.Pitch = 1
  2587.           if rando == 4 then
  2588.             p.Pitch = 6.66
  2589.           end
  2590.           table.insert(poop, p)
  2591.         end
  2592.         wait(0.25)
  2593.         for _,v in pairs(poop) do
  2594.           v:Play()
  2595.         end
  2596.         wait(dix[rando] * 0.9 - 2.5)
  2597.         wait(0.1)
  2598.       else
  2599.         do
  2600.           do
  2601.             local p = Instance.new("Sound", b)
  2602.             p.SoundId = "http://www.roblox.com/asset/?id=" .. topkek[rando]
  2603.             p.Volume = 1
  2604.             p.Pitch = 1
  2605.             if rando == 4 then
  2606.               p.Pitch = 6.66
  2607.             end
  2608.             p:Play()
  2609.             print(rando)
  2610.             wait(dix[rando] * 0.9 - 2.5)
  2611.             wait(0.1)
  2612.             local thed = {142539074, 142539082, 142539090}
  2613.             local p = Instance.new("Sound", s)
  2614.             p.SoundId = "http://www.roblox.com/asset/?id=" .. thed[math.random(1, #thed)]
  2615.             p.Volume = 1
  2616.             p.Pitch = 1
  2617.             game:GetService("Debris"):AddItem(p, 4)
  2618.             p:Play()
  2619.             local borb = Instance.new("NumberValue", s.Parent.Stats.Decrease)
  2620.             borb.Name = "DecreaseMvmt"
  2621.             borb.Value = 100
  2622.             for i = 1, 15 do
  2623.               swait()
  2624.               handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.5, 0), 0.1)
  2625.               Neck.C0 = clerp(Neck.C0, necko * euler(-1, 0, 0), 0.15)
  2626.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.8) * euler(-1.4, 0, 0), 0.15)
  2627.               RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 1.15, 0, 0) * euler(0, 0, 0.1), 0.15)
  2628.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2629.               LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 1.15, 0, 0) * euler(0, 0, -0.1), 0.15)
  2630.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2631.               RH.C0 = clerp(RH.C0, cf(1, -0.9, 0.5) * euler(-1.4, 0, 0.1) * euler(0, math.pi / 2, 0), 0.15)
  2632.               LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0.5) * euler(-1.4, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.15)
  2633.             end
  2634.             wait(0.1)
  2635.             for i = 1, 10 do
  2636.               swait()
  2637.               handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1.4, 0), 0.1)
  2638.               Neck.C0 = clerp(Neck.C0, necko * euler(-1, 0, 0), 0.3)
  2639.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.8) * euler(1.4, 0, 0), 0.3)
  2640.               RW.C0 = clerp(RW.C0, cf(1.3, 1.15, 0) * euler(math.pi * 0.8, 0, 0) * euler(0, 0, 0.1), 0.3)
  2641.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2642.               LW.C0 = clerp(LW.C0, cf(-1.3, 1.15, 0) * euler(math.pi * 0.8, 0, 0) * euler(0, 0, -0.1), 0.3)
  2643.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2644.               RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * euler(1.4, 0, 0.1) * euler(0, math.pi / 2, 0), 0.3)
  2645.               LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(1.4, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.3)
  2646.               if i == 6 then
  2647.                 wa:Destroy()
  2648.                 local vb = Instance.new("BodyVelocity", b)
  2649.                 vb.P = 4000
  2650.                 vb.maxForce = Vector3.new(545000, 545000, 545000)
  2651.                 vb.velocity = RootPart.CFrame.lookVector * 220 + Vector3.new(0, 5, 0)
  2652.                 game:GetService("Debris"):AddItem(vb, 0.25)
  2653.                 local vb = Instance.new("BodyAngularVelocity", b)
  2654.                 vb.maxTorque = Vector3.new(500000, 500000, 500000)
  2655.                 vb.angularvelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2656.                 game:GetService("Debris"):AddItem(vb, 0.25)
  2657.                 b.CanCollide = true
  2658.                 local sz = script.THEJUKES:clone()
  2659.                 sz.Disabled = false
  2660.                 sz.Parent = b
  2661.                 local tt = Instance.new("ObjectValue", sz)
  2662.                 tt.Name = "creator"
  2663.                 tt.Value = s.Parent
  2664.               end
  2665.             end
  2666.             wait(0.2)
  2667.             borb.Parent = nil
  2668.             game:GetService("Debris"):AddItem(b, 5)
  2669.             attack = false
  2670.           end
  2671.         end
  2672.       end
  2673.     end
  2674.   end
  2675. end
  2676. DecreaseStat = function(Model, Stat, Amount, Duration)
  2677.   if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2678.     Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2679.     d = Instance.new("NumberValue", Model.Stats.Decrease)
  2680.     dur = Instance.new("NumberValue", d)
  2681.     dur.Name = "Duration"
  2682.     dur.Value = Duration
  2683.     game:GetService("Debris"):AddItem(d, 20)
  2684.     if Stat == "Damage" then
  2685.       d.Name = "DecreaseAtk"
  2686.     else
  2687.       if Stat == "Defense" then
  2688.         d.Name = "DecreaseDef"
  2689.       else
  2690.         if Stat == "Movement" then
  2691.           d.Name = "DecreaseMvmt"
  2692.         end
  2693.       end
  2694.     end
  2695.     if Model:findFirstChild("Torso") ~= nil then
  2696.       display = ""
  2697.       if Stat == "Damage" then
  2698.         if Amount > 0 then
  2699.           display = "-Damage"
  2700.         else
  2701.           display = "+Damage"
  2702.         end
  2703.       else
  2704.         if Stat == "Defense" then
  2705.           if Amount > 0 then
  2706.             display = "-Defense"
  2707.           else
  2708.             display = "+Defense"
  2709.           end
  2710.         else
  2711.           if Stat == "Movement" then
  2712.             if Amount > 0 then
  2713.               display = "-Movement"
  2714.             else
  2715.               display = "+Movement"
  2716.             end
  2717.           end
  2718.         end
  2719.       end
  2720.       showDamage(Model, display, "Debuff")
  2721.     end
  2722.     d.Value = Amount
  2723.   end
  2724. end
  2725. GetDist = function(Part1, Part2, magni)
  2726.   local targ = Part1.Position - Part2.Position
  2727.   local mag = targ.magnitude
  2728.   if mag <= magni then
  2729.     return true
  2730.   else
  2731.     return false
  2732.   end
  2733. end
  2734. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2735.   for _,c in pairs(workspace:children()) do
  2736.     local hum = c:findFirstChild("Humanoid")
  2737.     if hum ~= nil then
  2738.       local head = nil
  2739.       for _,d in pairs(c:children()) do
  2740.         if d.className == "Model" and ranged ~= true then
  2741.           head = d:findFirstChild("Hitbox")
  2742.           if d.Parent == Character then
  2743.             break
  2744.           end
  2745.           if head ~= nil then
  2746.             local targ = head.Position - Part.Position
  2747.             local mag = targ.magnitude
  2748.             if mag <= magni and c.Name ~= Player.Name then
  2749.               ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2750.               ref.Anchored = true
  2751.               ref.CFrame = cf(head.Position)
  2752.               game:GetService("Debris"):AddItem(ref, 1)
  2753.               hitnum = math.random(1, 5)
  2754.               if hitnum == 1 then
  2755.                 so("199148971", ref, 1, 1)
  2756.               else
  2757.                 if hitnum == 2 then
  2758.                   so("199149025", ref, 1, 1)
  2759.                 else
  2760.                   if hitnum == 3 then
  2761.                     so("199149072", ref, 1, 1)
  2762.                   else
  2763.                     if hitnum == 4 then
  2764.                       so("199149109", ref, 1, 1)
  2765.                     else
  2766.                       if hitnum == 5 then
  2767.                         so("199149119", ref, 1, 1)
  2768.                       end
  2769.                     end
  2770.                   end
  2771.                 end
  2772.               end
  2773.               StaggerHit.Value = true
  2774.             end
  2775.           end
  2776.         end
  2777.         do
  2778.           if d.className == "Part" then
  2779.             head = d
  2780.             if head ~= nil then
  2781.               local targ = head.Position - Part.Position
  2782.               local mag = targ.magnitude
  2783.               if mag <= magni and c.Name ~= Player.Name then
  2784.                 if stun == nil then
  2785.                   stun = math.random(5, 10)
  2786.                 end
  2787.                 local Rang = nil
  2788.                 if Ranged == false then
  2789.                   Rang = true
  2790.                 end
  2791.                 local stag = nil
  2792.                 if shbash == true then
  2793.                   stag = true
  2794.                 end
  2795.                 Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2796.               end
  2797.             end
  2798.           end
  2799.           do
  2800.             -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
  2801.  
  2802.           end
  2803.         end
  2804.       end
  2805.     end
  2806.   end
  2807. end
  2808. MagniBuff = function(Part, magni, Dec, DecAm, Dur, others)
  2809.   if Player.Neutral == true then
  2810.     DecreaseStat(Character, Dec, DecAm / 2, Dur)
  2811.   end
  2812.   for _,c in pairs(workspace:children()) do
  2813.     local hum = c:findFirstChild("Humanoid")
  2814.     if hum ~= nil then
  2815.       local head = c:findFirstChild("Torso")
  2816.       if head ~= nil then
  2817.         local targ = head.Position - Part.Position
  2818.         local mag = targ.magnitude
  2819.         -- DECOMPILER ERROR at PC67: Unhandled construct in 'MakeBoolean' P1
  2820.  
  2821.         if others == nil and mag <= magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2822.           DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2823.         end
  2824.       end
  2825.     end
  2826.     if Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and mag <= magni and head.Parent ~= Character and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2827.       DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2828.     end
  2829.   end
  2830. end
  2831. rayCast = function(Pos, Dir, Max, Ignore)
  2832.   return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2833. end
  2834. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2835. LastPoint = Point
  2836. effect = function(Color, Ref, LP, P1, returnn)
  2837.   if LP == nil or P1 == nil then
  2838.     return
  2839.   end
  2840.   local effectsmsh = Instance.new("CylinderMesh")
  2841.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2842.   effectsmsh.Name = "Mesh"
  2843.   local effectsg = Instance.new("Part")
  2844.   NoOutline(effectsg)
  2845.   effectsg.formFactor = 3
  2846.   effectsg.CanCollide = false
  2847.   effectsg.Name = "Eff"
  2848.   effectsg.Locked = true
  2849.   effectsg.Anchored = true
  2850.   effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2851.   effectsg.Parent = workspace
  2852.   effectsmsh.Parent = effectsg
  2853.   effectsg.BrickColor = BrickColor.new(Color)
  2854.   effectsg.Reflectance = Ref
  2855.   local point1 = P1
  2856.   local mg = point1.p.magnitude
  2857.   effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2858.   effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2859.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2860.   game:GetService("Debris"):AddItem(effectsg, 2)
  2861.   if returnn then
  2862.     return effectsg
  2863.   end
  2864.   if not returnn then
  2865.     table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  2866.   end
  2867. end
  2868. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2869.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2870.   prt.Anchored = true
  2871.   prt.CFrame = cframe
  2872.   local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2873.   game:GetService("Debris"):AddItem(prt, 10)
  2874.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2875. end
  2876. MagicSpike = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2877.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2878.   prt.Anchored = true
  2879.   prt.CFrame = cframe
  2880.   local msh = mesh("SpecialMesh", prt, "FileMesh", "1033714", vt(0, 0, 0), vt(x1, y1, z1))
  2881.   game:GetService("Debris"):AddItem(prt, 10)
  2882.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2883. end
  2884. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2885.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2886.   prt.Anchored = true
  2887.   prt.CFrame = cframe
  2888.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2889.   game:GetService("Debris"):AddItem(prt, 10)
  2890.   if Type == 1 or Type == nil then
  2891.     table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2892.   else
  2893.     if Type == 2 then
  2894.       table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2895.     end
  2896.   end
  2897. end
  2898. MagicCloud = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2899.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2900.   prt.Anchored = true
  2901.   prt.CFrame = cframe
  2902.   local msh = mesh("SpecialMesh", prt, "FileMesh", "1095708", vt(0, 0, 0), vt(x1, y1, z1))
  2903.   game:GetService("Debris"):AddItem(prt, 10)
  2904.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2905. end
  2906. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  2907.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2908.   prt.Anchored = true
  2909.   prt.Material = material
  2910.   prt.CFrame = cframe
  2911.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2912.   game:GetService("Debris"):AddItem(prt, 10)
  2913.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2914. end
  2915. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2916.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2917.   prt.Anchored = true
  2918.   prt.CFrame = cframe
  2919.   local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2920.   game:GetService("Debris"):AddItem(prt, 10)
  2921.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2922. end
  2923. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2924.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2925.   prt.Anchored = true
  2926.   prt.CFrame = cframe
  2927.   local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2928.   game:GetService("Debris"):AddItem(prt, 10)
  2929.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2930. end
  2931. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  2932.   local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  2933.   prt.Anchored = true
  2934.   prt.CFrame = cframe
  2935.   local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2936.   game:GetService("Debris"):AddItem(prt, 10)
  2937.   table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2938. end
  2939. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2940.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2941.   prt.Anchored = true
  2942.   prt.CFrame = cframe
  2943.   local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2944.   game:GetService("Debris"):AddItem(prt, 10)
  2945.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2946. end
  2947.   Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2948.   if hit.Parent == nil then
  2949.     return
  2950.   end
  2951.   if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  2952.     ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2953.     ref.Anchored = true
  2954.     ref.CFrame = cf(hit.Position)
  2955.     game:GetService("Debris"):AddItem(ref, 1)
  2956.     hitnum = math.random(1, 5)
  2957.     if hitnum == 1 then
  2958.       so("199148971", ref, 1, 1)
  2959.     else
  2960.       if hitnum == 2 then
  2961.         so("199149025", ref, 1, 1)
  2962.       else
  2963.         if hitnum == 3 then
  2964.           so("199149072", ref, 1, 1)
  2965.         else
  2966.           if hitnum == 4 then
  2967.             so("199149109", ref, 1, 1)
  2968.           else
  2969.             if hitnum == 5 then
  2970.               so("199149119", ref, 1, 1)
  2971.             end
  2972.           end
  2973.         end
  2974.       end
  2975.     end
  2976.     StaggerHit.Value = true
  2977.   end
  2978.   h = hit.Parent:FindFirstChild("Humanoid")
  2979.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2980.     if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2981.       return
  2982.     end
  2983.     c = Instance.new("ObjectValue")
  2984.     c.Name = "creator"
  2985.     c.Value = game:service("Players").LocalPlayer
  2986.     c.Parent = h
  2987.     RecentEnemy.Value = hit.Parent
  2988.     game:GetService("Debris"):AddItem(c, 0.5)
  2989.     minim = minim * Atk.Value
  2990.     maxim = maxim * Atk.Value
  2991.     Damage = 0
  2992.     if minim == maxim then
  2993.       Damage = maxim
  2994.     else
  2995.       Damage = math.random(minim, maxim)
  2996.     end
  2997.     blocked = false
  2998.     enblock = nil
  2999.     local EStats = hit.Parent:findFirstChild("Stats")
  3000.     if EStats ~= nil then
  3001.       invis = EStats:findFirstChild("Invisibility")
  3002.       isinvis = EStats:findFirstChild("IsInvisible")
  3003.       if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  3004.         invis.Value = 0
  3005.       end
  3006.       enblock = EStats:findFirstChild("Block")
  3007.       if enblock ~= nil and enblock.Value == true then
  3008.         blocked = true
  3009.       end
  3010.       if EStats:findFirstChild("Defense") ~= nil then
  3011.         Damage = Damage / EStats.Defense.Value
  3012.         if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  3013.           hitnum = math.random(1, 5)
  3014.           if hitnum == 1 then
  3015.             so("199149321", hit, 1, 1)
  3016.           else
  3017.             if hitnum == 2 then
  3018.               so("199149338", hit, 1, 1)
  3019.             else
  3020.               if hitnum == 3 then
  3021.                 so("199149367", hit, 1, 1)
  3022.               else
  3023.                 if hitnum == 4 then
  3024.                   so("199149409", hit, 1, 1)
  3025.                 else
  3026.                   if hitnum == 5 then
  3027.                     so("199149452", hit, 1, 1)
  3028.                   end
  3029.                 end
  3030.               end
  3031.             end
  3032.           end
  3033.         else
  3034.           if ranged == false or ranged == nil and blocked ~= true then
  3035.             hitnum = math.random(1, 6)
  3036.             if hitnum == 1 then
  3037.               so("199149137", hit, 1, 1)
  3038.             else
  3039.               if hitnum == 2 then
  3040.                 so("199149186", hit, 1, 1)
  3041.               else
  3042.                 if hitnum == 3 then
  3043.                   so("199149221", hit, 1, 1)
  3044.                 else
  3045.                   if hitnum == 4 then
  3046.                     so("199149235", hit, 1, 1)
  3047.                   else
  3048.                     if hitnum == 5 then
  3049.                       so("199149269", hit, 1, 1)
  3050.                     else
  3051.                       if hitnum == 6 then
  3052.                         so("199149297", hit, 1, 1)
  3053.                       end
  3054.                     end
  3055.                   end
  3056.                 end
  3057.               end
  3058.             end
  3059.           end
  3060.         end
  3061.         if Damage <= 3 and staghit == true and ranged ~= true then
  3062.           StaggerHit.Value = true
  3063.         end
  3064.       end
  3065.       if EStats:findFirstChild("Stun") ~= nil then
  3066.         if blocked == true then
  3067.           incstun = incstun / 2
  3068.         end
  3069.         if EStats.Stun.Value < EStats.StunThreshold.Value then
  3070.           EStats.Stun.Value = EStats.Stun.Value + incstun
  3071.         end
  3072.       end
  3073.       if EStats:findFirstChild("Stagger") ~= nil and stagger == true then
  3074.         EStats.Stagger.Value = true
  3075.       end
  3076.     end
  3077.     if blocked == true then
  3078.       showDamage(hit.Parent, "Block", "Damage")
  3079.       if ranged ~= true then
  3080.         enblock.Value = false
  3081.         Stagger.Value = true
  3082.         hitnum = math.random(1, 2)
  3083.         if hitnum == 1 then
  3084.           so("199148933", hit, 1, 1)
  3085.         else
  3086.           if hitnum == 2 then
  3087.             so("199148947", hit, 1, 1)
  3088.           end
  3089.         end
  3090.       end
  3091.     else
  3092.       Damage = math.floor(Damage)
  3093.       coroutine.resume(coroutine.create(function(Hum, Dam)
  3094.     hit.Parent.Humanoid:TakeDamage(Damage)
  3095.   end
  3096. ), h, Damage)
  3097.       showDamage(hit.Parent, Damage, "Damage")
  3098.       if DecreaseState ~= nil then
  3099.         if DecreaseState == "Temporal" then
  3100.           DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3101.           DecreaseStat(hit.Parent, "Defense", DecreaseAmount, Duration)
  3102.         else
  3103.           if DecreaseState == "Temporal2" then
  3104.             DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3105.             DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  3106.           else
  3107.             DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  3108.           end
  3109.         end
  3110.       end
  3111.       if Type == "NormalDecreaseMvmt1" then
  3112.         DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  3113.       end
  3114.       if Type == "Knockdown" then
  3115.         hum = hit.Parent.Humanoid
  3116.         hum.PlatformStand = true
  3117.         coroutine.resume(coroutine.create(function(HHumanoid)
  3118.     swait(1)
  3119.     HHumanoid.PlatformStand = false
  3120.   end
  3121. ), hum)
  3122.         local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3123.         local bodvol = Instance.new("BodyVelocity")
  3124.         bodvol.velocity = angle * knockback
  3125.         bodvol.P = 5000
  3126.         bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3127.         bodvol.Parent = hit
  3128.         rl = Instance.new("BodyAngularVelocity")
  3129.         rl.P = 3000
  3130.         rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  3131.         rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  3132.         rl.Parent = hit
  3133.         game:GetService("Debris"):AddItem(bodvol, 0.5)
  3134.         game:GetService("Debris"):AddItem(rl, 0.5)
  3135.       else
  3136.         do
  3137.           if Type == "Knockdown2" then
  3138.             hum = hit.Parent.Humanoid
  3139.             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3140.             local bodvol = Instance.new("BodyVelocity")
  3141.             bodvol.velocity = angle * knockback
  3142.             bodvol.P = 5000
  3143.             bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3144.             bodvol.Parent = hit
  3145.             game:GetService("Debris"):AddItem(bodvol, 0.5)
  3146.           else
  3147.             do
  3148.               if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  3149.                 vp = Instance.new("BodyVelocity")
  3150.                 vp.P = 500
  3151.                 vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  3152.                 if KnockbackType == 1 then
  3153.                   vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3154.                 else
  3155.                   if KnockbackType == 2 then
  3156.                     vp.velocity = Property.CFrame.lookVector * knockback
  3157.                   end
  3158.                 end
  3159.                 game:GetService("Debris"):AddItem(vp, 0.5)
  3160.                 if knockback > 0 then
  3161.                   vp.Parent = hit.Parent.Torso
  3162.                 end
  3163.               end
  3164.               debounce = Instance.new("BoolValue")
  3165.               debounce.Name = "DebounceHit"
  3166.               debounce.Parent = hit.Parent
  3167.               debounce.Value = true
  3168.               game:GetService("Debris"):AddItem(debounce, Delay)
  3169.               c = Instance.new("ObjectValue")
  3170.               c.Name = "creator"
  3171.               c.Value = Player
  3172.               c.Parent = h
  3173.               game:GetService("Debris"):AddItem(c, 0.5)
  3174.               CRIT = false
  3175.             end
  3176.           end
  3177.         end
  3178.       end
  3179.     end
  3180.   end
  3181. end
  3182. showDamage = function(Char, Dealt, Type)
  3183.   m = Instance.new("Model")
  3184.   m.Name = "Effect"
  3185.   c = Instance.new("Part")
  3186.   c.Transparency = 1
  3187.   c.Name = "Head"
  3188.   c.TopSurface = 0
  3189.   c.BottomSurface = 0
  3190.   c.formFactor = "Plate"
  3191.   c.Size = Vector3.new(1, 0.4, 1)
  3192.   b = Instance.new("BillboardGui", c)
  3193.   b.Size = UDim2.new(5, 0, 5, 0)
  3194.   b.AlwaysOnTop = true
  3195.   damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  3196.   if Type == "Damage" then
  3197.     damgui.Font = "SourceSans"
  3198.     if Dealt == "Block" then
  3199.       damgui.TextColor3 = BrickColor.new("Bright blue").Color
  3200.     else
  3201.       if Dealt < 3 then
  3202.         damgui.TextColor3 = BrickColor.new("White").Color
  3203.       else
  3204.         if Dealt >= 3 and Dealt < 20 then
  3205.           damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  3206.         else
  3207.           damgui.TextColor3 = BrickColor.new("Really red").Color
  3208.           damgui.Font = "SourceSansBold"
  3209.         end
  3210.       end
  3211.     end
  3212.   else
  3213.     if Type == "Debuff" then
  3214.       damgui.TextColor3 = BrickColor.new("White").Color
  3215.     else
  3216.       if Type == "Interrupt" then
  3217.         damgui.TextColor3 = BrickColor.new("New Yeller").Color
  3218.       end
  3219.     end
  3220.   end
  3221.   damgui.TextScaled = true
  3222.   ms = Instance.new("CylinderMesh")
  3223.   ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3224.   ms.Parent = c
  3225.   c.Reflectance = 0
  3226.   Instance.new("BodyGyro").Parent = c
  3227.   c.Parent = m
  3228.   if Char:findFirstChild("Head") ~= nil then
  3229.     c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3230.   else
  3231.     if Char.Parent:findFirstChild("Head") ~= nil then
  3232.       c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3233.     end
  3234.   end
  3235.   f = Instance.new("BodyPosition")
  3236.   f.P = 2000
  3237.   f.D = 100
  3238.   f.maxForce = Vector3.new(545000, 545000, 545000)
  3239.   if Type == "Damage" then
  3240.     f.position = c.Position + Vector3.new(0, 3, 0)
  3241.   else
  3242.     if Type == "Debuff" or Type == "Interrupt" then
  3243.       f.position = c.Position + Vector3.new(0, 5, 0)
  3244.     end
  3245.   end
  3246.   f.Parent = c
  3247.   game:GetService("Debris"):AddItem(m, 5)
  3248.   table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  3249.   c.CanCollide = false
  3250.   m.Parent = workspace
  3251.   c.CanCollide = false
  3252. end
  3253. combo = 0
  3254. ob1d = function(mouse)
  3255.   if GuardStance == true and MMouse.Target ~= nil then
  3256.     if MMouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent.Parent:findFirstChild("Torso") ~= nil then
  3257.       Target = MMouse.Target.Parent.Parent
  3258.       GuardStance = false
  3259.     end
  3260.     if MMouse.Target.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent:findFirstChild("Torso") ~= nil then
  3261.       Target = MMouse.Target.Parent
  3262.       GuardStance = false
  3263.     end
  3264.   end
  3265.   if attack == true or equipped == false then
  3266.     return
  3267.   end
  3268.   hold = true
  3269.   if Mode == "Defensive" then
  3270.     if combo == 0 then
  3271.       combo = 1
  3272.       dattackone()
  3273.     else
  3274.       if combo == 1 then
  3275.         combo = 2
  3276.         dattacktwo()
  3277.       else
  3278.         if combo == 2 then
  3279.           combo = 3
  3280.           dattackthree()
  3281.         else
  3282.           if combo == 3 then
  3283.             combo = 0
  3284.             dattackfour()
  3285.           end
  3286.         end
  3287.       end
  3288.     end
  3289.   end
  3290.   coroutine.resume(coroutine.create(function()
  3291.     for i = 1, 50 do
  3292.       if attack == false then
  3293.         swait()
  3294.       end
  3295.     end
  3296.     if attack == false then
  3297.       combo = 0
  3298.     end
  3299.   end))
  3300. end
  3301. ob1u = function(mouse)
  3302.   hold = false
  3303. end
  3304. buttonhold = false
  3305. fenbarmove1.MouseButton1Click:connect(do1)
  3306. fenbarmove2.MouseButton1Click:connect(do2)
  3307. fenbarmove3.MouseButton1Click:connect(do3)
  3308. fenbarmove4.MouseButton1Click:connect(do4)
  3309. eul = 0
  3310. equipped = false
  3311. key = function(key)
  3312.   if key == "x" and Fly == true then
  3313.     Fly = false
  3314.     Target = nil
  3315.   end
  3316.   if key == string.char(8) and Fly == true then
  3317.     Fly = false
  3318.     Target = nil
  3319.   end
  3320.   if key == "x" and GuardStance == true then
  3321.     manualguardend = true
  3322.     GuardStance = false
  3323.   end
  3324.   if attack == true then
  3325.     return
  3326.   end
  3327.   if key == "f" then
  3328.     pressedf = true
  3329.     fnumb = 0
  3330.     attack = true
  3331.     if equipped == false then
  3332.       equipped = true
  3333.       RSH = ch.Torso["Right Shoulder"]
  3334.       LSH = ch.Torso["Left Shoulder"]
  3335.       RSH.Parent = nil
  3336.       LSH.Parent = nil
  3337.       RW.Name = "Right Shoulder"
  3338.       RW.Part0 = ch.Torso
  3339.       RW.C0 = cf(1.5, 0.5, 0)
  3340.       RW.C1 = cf(0, 0.5, 0)
  3341.       RW.Part1 = ch["Right Arm"]
  3342.       RW.Parent = ch.Torso
  3343.       LW.Name = "Left Shoulder"
  3344.       LW.Part0 = ch.Torso
  3345.       LW.C0 = cf(-1.5, 0.5, 0)
  3346.       LW.C1 = cf(0, 0.5, 0)
  3347.       LW.Part1 = ch["Left Arm"]
  3348.       LW.Parent = ch.Torso
  3349.       Animate.Parent = nil
  3350.       equipanim()
  3351.     else
  3352.       equipped = false
  3353.       hideanim()
  3354.       LH.C1 = LHC1
  3355.       RH.C1 = RHC1
  3356.       Animate.Parent = Humanoid
  3357.       swait(0)
  3358.       RW.Parent = nil
  3359.       LW.Parent = nil
  3360.       RSH.Parent = player.Character.Torso
  3361.       LSH.Parent = player.Character.Torso
  3362.     end
  3363.     attack = false
  3364.   end
  3365.   if equipped == false then
  3366.     return
  3367.   end
  3368.   if key == "z" then
  3369.     do1()
  3370.   end
  3371.   if key == "x" then
  3372.     do2()
  3373.   end
  3374.   if key == "c" then
  3375.     do3()
  3376.   end
  3377.   if key == "v" then
  3378.     do4()
  3379.   end
  3380.   if key == "h" and (Player.Name == "speedydude900" or Player.Name == "Player" or Player.Name == "Player1") then
  3381.     mana.Value = 100
  3382.     cooldowns[1] = 100
  3383.     cooldowns[2] = 100
  3384.     cooldowns[3] = 100
  3385.     cooldowns[4] = 100
  3386.     cooldowns[5] = 100
  3387.   end
  3388.   if key == "g" then
  3389.     taunt()
  3390.   end
  3391.   if attack == false then
  3392.     RecentEnemy.Value = nil
  3393.   end
  3394. end
  3395. key2 = function(key)
  3396. end
  3397. s = function(mouse)
  3398.   mouse.Button1Down:connect(function()
  3399.     ob1d(mouse)
  3400.   end)
  3401.   mouse.Button1Up:connect(function()
  3402.     ob1u(mouse)
  3403.   end)
  3404.   mouse.KeyDown:connect(key)
  3405.   mouse.KeyUp:connect(key2)
  3406.   player = Player
  3407.   ch = Character
  3408.   MMouse = mouse
  3409. end
  3410. ds = function(mouse)
  3411. end
  3412. Bin.Selected:connect(s)
  3413. Bin.Deselected:connect(ds)
  3414. print("Major loaded.")
  3415. local mananum = 0
  3416. local donum = 0
  3417. local stunnum = 0
  3418. local staggeranim = false
  3419. local stunanim = false
  3420. local passivenum = 0
  3421. local walk = 0
  3422. local walkforw = true
  3423. while 1 do
  3424.   swait()
  3425.   if Humanoid.Health <= 0 then
  3426.     attack = true
  3427.     resumeControl()
  3428.     modelzorz.Parent = workspace
  3429.     game:GetService("Debris"):AddItem(modelzorz, 30)
  3430.     for i = 1, #Weapon do
  3431.       Weapon[i].Parent = modelzorz
  3432.       Weapon[i].CanCollide = true
  3433.     end
  3434.     for i = 1, #Welds do
  3435.       if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  3436.         Welds[i].Parent = nil
  3437.       else
  3438.         Welds[i].Parent = prt1
  3439.       end
  3440.     end
  3441.   end
  3442.   do
  3443.     if fnumb < 21 then
  3444.       fnumb = fnumb + 1
  3445.       if pressedf == false then
  3446.         fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  3447.         tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  3448.         tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  3449.       else
  3450.         if fnumb == 20 then
  3451.           fenframe5.Parent = nil
  3452.           print("daigui")
  3453.         end
  3454.         fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  3455.         tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  3456.         tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  3457.       end
  3458.     end
  3459.     if hbwld.Parent == nil then
  3460.       hitbox2.Name = "Hitbox"
  3461.     else
  3462.       hitbox2.Name = "Hitbox2"
  3463.     end
  3464.     hitbox2.Parent = hitbox.Parent
  3465.     hitbox2.Size = hitbox.Size
  3466.     hitbox2.CFrame = hitboxCF
  3467.     hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  3468.     passivenum = passivenum + 1
  3469.     if 80 <= passivenum then
  3470.       passivenum = 0
  3471.     end
  3472.     if Stagger.Value == true and staggeranim == false then
  3473.       coroutine.resume(coroutine.create(function()
  3474.   staggeranim = true
  3475.   while attack == true do
  3476.     swait()
  3477.   end
  3478.   StaggerAnim()
  3479.   StaggerHit.Value = false
  3480.   Stagger.Value = false
  3481.   staggeranim = false
  3482. end))
  3483.     end
  3484.     if StaggerHit.Value == true and staggeranim == false then
  3485.       coroutine.resume(coroutine.create(function()
  3486.   staggeranim = true
  3487.   while attack == true do
  3488.     swait()
  3489.   end
  3490.   StaggerHitt()
  3491.   StaggerHit.Value = false
  3492.   Stagger.Value = false
  3493.   staggeranim = false
  3494. end))
  3495.     end
  3496.     if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  3497.       Humanoid.WalkSpeed = 0
  3498.     else
  3499.       Humanoid.WalkSpeed = 16 * Mvmt.Value
  3500.     end
  3501.     if StunT.Value <= Stun.Value and stunanim == false then
  3502.       coroutine.resume(coroutine.create(function()
  3503.   stunanim = true
  3504.   while attack == true do
  3505.     swait()
  3506.   end
  3507.   StunAnim()
  3508.   Stun.Value = 0
  3509.   stunanim = false
  3510. end))
  3511.     end
  3512.     local stunnum2 = 20
  3513.     if Mode == "Defensive" then
  3514.       stunnum2 = 20
  3515.     else
  3516.       stunnum2 = 60
  3517.     end
  3518.     if stunnum2 <= stunnum then
  3519.       if 0 < Stun.Value then
  3520.         Stun.Value = Stun.Value - 1
  3521.       end
  3522.       stunnum = 0
  3523.     end
  3524.     stunnum = stunnum + 1
  3525.     if 0.5 <= donum then
  3526.       handidle = true
  3527.     else
  3528.       if donum <= 0 then
  3529.         handidle = false
  3530.       end
  3531.     end
  3532.     if handidle == false then
  3533.       donum = donum + 0.006
  3534.     else
  3535.       donum = donum - 0.006
  3536.     end
  3537.     local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3538.     local velderp = RootPart.Velocity.y
  3539.     hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3540.     if equipped == true then
  3541.       if attack == false then
  3542.         idle = idle + 1
  3543.       else
  3544.         idle = 0
  3545.       end
  3546.       if (500 <= idle and attack ~= false) or Anim == "Walk" then
  3547.         if walkforw == true then
  3548.           RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3549.           LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3550.           if attack == false then
  3551.             RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
  3552.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(1, 0, 0), Mvmt.Value * 10 / 50)
  3553.           else
  3554.             RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3555.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3556.           end
  3557.         else
  3558.           RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3559.           LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3560.           if attack == false then
  3561.             RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(1, 0, 0), Mvmt.Value * 10 / 50)
  3562.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
  3563.           else
  3564.             RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3565.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3566.           end
  3567.         end
  3568.       else
  3569.         RH.C1 = clerp(RH.C1, RHC1, 0.2)
  3570.         LH.C1 = clerp(LH.C1, LHC1, 0.2)
  3571.         RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3572.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3573.       end
  3574.       if 1 < RootPart.Velocity.y and hitfloor == nil then
  3575.         Anim = "Jump"
  3576.         if attack == false then
  3577.           handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  3578.           Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  3579.           Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3580.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3581.           RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.2), 0.2)
  3582.           RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3583.           LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.2)
  3584.           LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3585.           RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3586.           LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3587.         end
  3588.       else
  3589.         if RootPart.Velocity.y < -1 and hitfloor == nil then
  3590.           Anim = "Fall"
  3591.           if attack == false then
  3592.             handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 0) * cf(0, 1, 0), 0.2)
  3593.             Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3594.             Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3595.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3596.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8), 0.2)
  3597.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3598.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  3599.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3600.             RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3601.             LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3602.           end
  3603.         else
  3604.           if torvel < 1 and hitfloor ~= nil then
  3605.             Anim = "Idle"
  3606.             if attack == false then
  3607.               Neck.C0 = clerp(Neck.C0, necko * euler(0.35, 0, 0), 0.15)
  3608.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.15)
  3609.               RW.C0 = clerp(RW.C0, cf(1.45, 0.4 + (donum) / 3, -0.2) * euler(0, 0.3, 0.2), 0.15)
  3610.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  3611.               LW.C0 = clerp(LW.C0, cf(-1.45, 0.4 + (donum) / 3, -0.2) * euler(0, -0.3, -0.2), 0.15)
  3612.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  3613.               RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.1, -0.15, 0), 0.2)
  3614.               LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.15, 0), 0.2)
  3615.             end
  3616.           else
  3617.             if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3618.               Anim = "Walk"
  3619.               walk = walk + 1
  3620.               if 15 - 5 * Mvmt.Value <= walk then
  3621.                 walk = 0
  3622.                 if walkforw == true then
  3623.                   walkforw = false
  3624.                 else
  3625.                   if walkforw == false then
  3626.                     walkforw = true
  3627.                   end
  3628.                 end
  3629.               end
  3630.               if attack == false then
  3631.                 Neck.C0 = clerp(Neck.C0, necko * euler(0.25, 0, 0), 0.2)
  3632.                 RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3633.                 RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 0.1), 0.2)
  3634.                 LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.1), 0.2)
  3635.                 RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.2)
  3636.                 LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.2)
  3637.               end
  3638.             else
  3639.               if 30 <= torvel and hitfloor ~= nil then
  3640.                 Anim = "Run"
  3641.                 if attack == false then
  3642.                   Neck.C0 = clerp(Neck.C0, necko * euler(0.25, 0, 0), 0.2)
  3643.                   RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3644.                   RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 0.1), 0.2)
  3645.                   LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.1), 0.2)
  3646.                   RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.2)
  3647.                   LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.2)
  3648.                 end
  3649.               end
  3650.             end
  3651.           end
  3652.         end
  3653.       end
  3654.     end
  3655.     if 0 < #Effects then
  3656.       for e = 1, #Effects do
  3657.         if Effects[e] ~= nil then
  3658.           local Thing = Effects[e]
  3659.           if Thing ~= nil then
  3660.             local Part = Thing[1]
  3661.             local Mode = Thing[2]
  3662.             local Delay = Thing[3]
  3663.             local IncX = Thing[4]
  3664.             local IncY = Thing[5]
  3665.             local IncZ = Thing[6]
  3666.             if Thing[2] == "CylinderClang" then
  3667.               if Thing[3] <= 1 then
  3668.                 Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3669.                 Thing[7] = Thing[1].CFrame
  3670.                 effect("New Yeller", 0, Thing[8], Thing[7])
  3671.                 Thing[8] = Thing[7]
  3672.                 Thing[3] = Thing[3] + Thing[4]
  3673.               else
  3674.                 Part.Parent = nil
  3675.                 table.remove(Effects, e)
  3676.               end
  3677.             end
  3678.             if Thing[2] == "showDamage" then
  3679.               if Thing[6] < Thing[5] then
  3680.                 Thing[6] = Thing[6] + 1
  3681.               else
  3682.                 if Thing[6] < Thing[7] then
  3683.                   Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  3684.                   Thing[6] = Thing[6] + 1
  3685.                 else
  3686.                   if Thing[6] < Thing[8] then
  3687.                     Thing[6] = Thing[6] + 1
  3688.                   else
  3689.                     if Thing[6] < Thing[9] then
  3690.                       Thing[6] = Thing[6] + 1
  3691.                       Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  3692.                       Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  3693.                       Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  3694.                     else
  3695.                       Thing[1].Parent = nil
  3696.                       table.remove(Effects, e)
  3697.                     end
  3698.                   end
  3699.                 end
  3700.               end
  3701.             end
  3702.             if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" then
  3703.               if Thing[1].Transparency <= 1 then
  3704.                 if Thing[2] == "Block1" then
  3705.                   Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3706.                   Mesh = Thing[7]
  3707.                   Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3708.                   Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3709.                 else
  3710.                   if Thing[2] == "Block2" then
  3711.                     Thing[1].CFrame = Thing[1].CFrame
  3712.                     Mesh = Thing[7]
  3713.                     Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3714.                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3715.                   else
  3716.                     if Thing[2] == "Cylinder" then
  3717.                       Mesh = Thing[7]
  3718.                       Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3719.                       Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3720.                     else
  3721.                       if Thing[2] == "Blood" then
  3722.                         Mesh = Thing[7]
  3723.                         Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  3724.                         Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3725.                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3726.                       else
  3727.                         if Thing[2] == "Elec" then
  3728.                           Mesh = Thing[7]
  3729.                           Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  3730.                           Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3731.                         else
  3732.                           if Thing[2] == "Disappear" then
  3733.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3734.                           end
  3735.                         end
  3736.                       end
  3737.                     end
  3738.                   end
  3739.                 end
  3740.               else
  3741.                 Part.Parent = nil
  3742.                 table.remove(Effects, e)
  3743.               end
  3744.             end
  3745.           end
  3746.         end
  3747.       end
  3748.     end
  3749.     do
  3750.       fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3751.       fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3752.       fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3753.       fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3754.       fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3755.       fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3756.       fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3757.       fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3758.       fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3759.       for _,c in pairs(Decrease:children()) do
  3760.         if (c:findFirstChild("Duration")) ~= nil then
  3761.           c.Duration.Value = c.Duration.Value - 1
  3762.           if c.Duration.Value <= 0 then
  3763.             c.Parent = nil
  3764.           end
  3765.         end
  3766.         if c.Name == "DecreaseAtk" then
  3767.           decreaseatk = decreaseatk + c.Value
  3768.         else
  3769.           if c.Name == "DecreaseDef" then
  3770.             decreasedef = decreasedef + c.Value
  3771.           else
  3772.             if c.Name == "DecreaseMvmt" then
  3773.               decreasemvmt = decreasemvmt + c.Value
  3774.             end
  3775.           end
  3776.         end
  3777.       end
  3778.       Atk.Value = 1 - (decreaseatk)
  3779.       if Atk.Value <= 0 then
  3780.         Atk.Value = 0
  3781.       end
  3782.       Def.Value = 1 - (decreasedef)
  3783.       if Def.Value <= 0 then
  3784.         Def.Value = 0.01
  3785.       end
  3786.       Mvmt.Value = 1 - (decreasemvmt)
  3787.       if Mvmt.Value <= 0 then
  3788.         Mvmt.Value = 0
  3789.       end
  3790.       decreaseatk = 0
  3791.       decreasedef = 0
  3792.       decreasemvmt = 0
  3793.       AtkVal = Atk.Value * 100
  3794.       AtkVal = math.floor(AtkVal)
  3795.       AtkVal = AtkVal / 100
  3796.       fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3797.       DefVal = Def.Value * 100
  3798.       DefVal = math.floor(DefVal)
  3799.       DefVal = DefVal / 100
  3800.       fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3801.       MvmtVal = Mvmt.Value * 100
  3802.       MvmtVal = math.floor(MvmtVal)
  3803.       MvmtVal = MvmtVal / 100
  3804.       if Rooted.Value == true then
  3805.         MvmtVal = 0
  3806.       end
  3807.       fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3808.       if StunT.Value <= Stun.Value then
  3809.         fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3810.       else
  3811.         fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3812.       end
  3813.       fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3814.       if 100 <= mana.Value then
  3815.         mana.Value = 100
  3816.       else
  3817.         if mananum <= 9 then
  3818.           mananum = mananum + 5
  3819.         else
  3820.           mananum = 0
  3821.           mana.Value = mana.Value + 3222
  3822.         end
  3823.       end
  3824.       for i = 1, #cooldowns do
  3825.         if cooldownmax <= cooldowns[i] then
  3826.           cooldowns[i] = cooldownmax
  3827.         else
  3828.           cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3829.         end
  3830.       end
  3831.       -- DECOMPILER ERROR at PC4541: LeaveBlock: unexpected jumping out DO_STMT
  3832.  
  3833.       -- DECOMPILER ERROR at PC4541: LeaveBlock: unexpected jumping out DO_STMT
  3834.  
  3835.     end
  3836.   end
  3837. end
Add Comment
Please, Sign In to add comment