Advertisement
astronaut32

ichor

Dec 28th, 2016
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.51 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. MMouse = nil
  34. combo = 0
  35. local idle = 0
  36. local Anim = "Idle"
  37. local Effects = {}
  38. local Weapon = {}
  39. local Welds = {}
  40. local blood = 0
  41. local BloodAllies = {}
  42. local BoundTarget = nil
  43. local hitted = false
  44. local HitTarget = nil
  45. local isjugg = false
  46. local decreaseatk = 0
  47. local decreasedef = 0
  48. local decreasemvmt = 0
  49. local doing2 = false
  50. local doing4 = false
  51. local move1 = "(Z)\nFury Hit"
  52. local move2 = "(X)\nBlood Bind"
  53. local move3 = "(C)\nImpact Fist"
  54. local move4 = "(V)\nPunishing Blow"
  55. local cooldowns = {}
  56. local cooldown1 = 0
  57. table.insert(cooldowns, cooldown1)
  58. local cooldown2 = 0
  59. table.insert(cooldowns, cooldown2)
  60. local cooldown3 = 0
  61. table.insert(cooldowns, cooldown3)
  62. local cooldown4 = 0
  63. table.insert(cooldowns, cooldown4)
  64. local cooldownsadd = {}
  65. local cooldownadd1 = 0.3
  66. table.insert(cooldownsadd, cooldownadd1)
  67. local cooldownadd2 = 0.2
  68. table.insert(cooldownsadd, cooldownadd2)
  69. local cooldownadd3 = 0.15
  70. table.insert(cooldownsadd, cooldownadd3)
  71. local cooldownadd4 = 0.1
  72. table.insert(cooldownsadd, cooldownadd4)
  73. local cooldownmax = 100
  74. local manualguardend = false
  75. player = nil
  76. RSH = nil
  77. RW = Instance.new("Motor")
  78. LW = Instance.new("Motor")
  79. RW.Name = "Right Shoulder"
  80. LW.Name = "Left Shoulder"
  81. LH = Torso["Left Hip"]
  82. RH = Torso["Right Hip"]
  83. TorsoColor = Torso.BrickColor
  84. TorsoRed = TorsoColor.Color.r
  85. TorsoGreen = TorsoColor.Color.g
  86. TorsoBlue = TorsoColor.Color.b
  87. NewCol = BrickColor.new("Bright red").Color
  88. print(BrickColor.new(NewCol))
  89. local mdec = Instance.new("NumberValue", Decrease)
  90. mdec.Name = "DecreaseDef"
  91. mdec.Value = 0.4
  92. local mdec2 = Instance.new("NumberValue", Decrease)
  93. mdec2.Name = "DecreaseMvmt"
  94. mdec2.Value = 0.1
  95. local Animate = Humanoid.Animator
  96. local canjump = true
  97. removeControl = function()
  98. canjump = false
  99. end
  100. resumeControl = function()
  101. canjump = true
  102. end
  103. Player.Character.Humanoid.Changed:connect(function()
  104. if canjump == false then
  105. Player.Character.Humanoid.Jump = false
  106. end
  107. end)
  108. ArtificialHB = Instance.new("BindableEvent", script)
  109. ArtificialHB.Name = "Heartbeat"
  110.  
  111. script:WaitForChild("Heartbeat")
  112.  
  113. frame = 1 / 40
  114. tf = 0
  115. allowframeloss = false
  116. tossremainder = false
  117. lastframe = tick()
  118. script.Heartbeat:Fire()
  119.  
  120. game:GetService("RunService").Heartbeat:connect(function(s, p)
  121. tf = tf + s
  122. if tf >= frame then
  123. if allowframeloss then
  124. script.Heartbeat:Fire()
  125. lastframe = tick()
  126. else
  127. for i = 1, math.floor(tf / frame) do
  128. script.Heartbeat:Fire()
  129. end
  130. lastframe = tick()
  131. end
  132. if tossremainder then
  133. tf = 0
  134. else
  135. tf = tf - frame * math.floor(tf / frame)
  136. end
  137. end
  138. end)
  139.  
  140. function swait(num)
  141. if num == 0 or num == nil then
  142. ArtificialHB.Event:wait()
  143. else
  144. for i = 0, num do
  145. ArtificialHB.Event:wait()
  146. end
  147. end
  148. end
  149. if Character:findFirstChild("Ichor Gauntlets", true) ~= nil then
  150. Character:findFirstChild("Ichor Gauntlets", true).Parent = nil
  151. end
  152. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  153. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  154. end
  155. if Character:findFirstChild("Stats", true) ~= nil then
  156. Character:findFirstChild("Stats", true).Parent = nil
  157. end
  158. local Stats = Instance.new("BoolValue")
  159. Stats.Name = "Stats"
  160. Stats.Parent = Character
  161. local Atk = Instance.new("NumberValue")
  162. Atk.Name = "Damage"
  163. Atk.Parent = Stats
  164. Atk.Value = 1
  165. local Def = Instance.new("NumberValue")
  166. Def.Name = "Defense"
  167. Def.Parent = Stats
  168. Def.Value = 1
  169. local Mvmt = Instance.new("NumberValue")
  170. Mvmt.Name = "Movement"
  171. Mvmt.Parent = Stats
  172. Mvmt.Value = 1
  173. local Block = Instance.new("BoolValue")
  174. Block.Name = "Block"
  175. Block.Parent = Stats
  176. Block.Value = false
  177. local Stun = Instance.new("NumberValue")
  178. Stun.Name = "Stun"
  179. Stun.Parent = Stats
  180. Stun.Value = 0
  181. local StunT = Instance.new("NumberValue")
  182. StunT.Name = "StunThreshold"
  183. StunT.Parent = Stats
  184. StunT.Value = 100
  185. local Rooted = Instance.new("BoolValue")
  186. Rooted.Name = "Rooted"
  187. Rooted.Parent = Stats
  188. Rooted.Value = false
  189. local Decrease = Instance.new("BoolValue")
  190. Decrease.Name = "Decrease"
  191. Decrease.Parent = Stats
  192. Decrease.Value = false
  193. local Stunned = Instance.new("BoolValue")
  194. Stunned.Name = "Stunned"
  195. Stunned.Parent = Stats
  196. Stunned.Value = false
  197. local Stagger = Instance.new("BoolValue")
  198. Stagger.Name = "Stagger"
  199. Stagger.Parent = Stats
  200. Stagger.Value = false
  201. local StaggerHit = Instance.new("BoolValue")
  202. StaggerHit.Name = "StaggerHit"
  203. StaggerHit.Parent = Stats
  204. StaggerHit.Value = false
  205. local RecentEnemy = Instance.new("ObjectValue")
  206. RecentEnemy.Name = "RecentEnemy"
  207. RecentEnemy.Parent = Stats
  208. RecentEnemy.Value = nil
  209. local mana = Instance.new("NumberValue")
  210. mana.Name = "Mana"
  211. mana.Parent = Stats
  212. mana.Value = 0
  213. local passive1 = Instance.new("NumberValue", Decrease)
  214. passive1.Name = "DecreaseAtk"
  215. passive1.Value = 0
  216. local passive2 = Instance.new("NumberValue", Decrease)
  217. passive2.Name = "DecreaseDef"
  218. passive2.Value = 0
  219. local passive3 = Instance.new("NumberValue", Decrease)
  220. passive3.Name = "DecreaseMvmt"
  221. passive3.Value = 0
  222. local passive4 = Instance.new("NumberValue", Decrease)
  223. passive4.Name = "DecreaseAtk"
  224. passive4.Value = 0.1
  225. NoOutline = function(Part)
  226. Part.TopSurface = 10
  227. end
  228. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  229. local fp = it("Part")
  230. fp.formFactor = formfactor
  231. fp.Parent = parent
  232. fp.Reflectance = reflectance
  233. fp.Transparency = transparency
  234. fp.CanCollide = false
  235. fp.Locked = true
  236. fp.BrickColor = brickcolor
  237. fp.Name = name
  238. fp.Size = size
  239. fp.Position = Torso.Position
  240. NoOutline(fp)
  241. fp.Material = "SmoothPlastic"
  242. fp:BreakJoints()
  243. return fp
  244. end
  245. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  246. local mesh = it(Mesh)
  247. mesh.Parent = part
  248. if Mesh == "SpecialMesh" then
  249. mesh.MeshType = meshtype
  250. if meshid ~= "nil" then
  251. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  252. end
  253. end
  254. mesh.Offset = offset
  255. mesh.Scale = scale
  256. return mesh
  257. end
  258. weld = function(parent, part0, part1, c0)
  259. local weld = it("Motor")
  260. weld.Parent = parent
  261. weld.Part0 = part0
  262. weld.Part1 = part1
  263. weld.C0 = c0
  264. return weld
  265. end
  266. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  267. local gui = it(GuiType)
  268. gui.Parent = parent
  269. gui.Text = text
  270. gui.BackgroundTransparency = backtrans
  271. gui.BackgroundColor3 = backcol
  272. gui.SizeConstraint = "RelativeXY"
  273. gui.TextXAlignment = "Center"
  274. gui.TextYAlignment = "Center"
  275. gui.Position = pos
  276. gui.Size = size
  277. gui.Font = "SourceSans"
  278. gui.FontSize = "Size14"
  279. gui.TextWrapped = false
  280. gui.TextStrokeTransparency = 0
  281. gui.TextColor = BrickColor.new("White")
  282. return gui
  283. end
  284. local Color1 = Torso.BrickColor
  285. local fengui = it("GuiMain")
  286. fengui.Parent = Player.PlayerGui
  287. fengui.Name = "WeaponGUI"
  288. local fenframe = it("Frame")
  289. fenframe.Parent = fengui
  290. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  291. fenframe.BackgroundTransparency = 1
  292. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  293. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  294. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  295. local fenframe2 = it("Frame")
  296. fenframe2.Parent = fengui
  297. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  298. fenframe2.BackgroundTransparency = 1
  299. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  300. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  301. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  302. local fenframe3 = it("Frame")
  303. fenframe3.Parent = fengui
  304. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  305. fenframe3.BackgroundTransparency = 1
  306. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  307. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  308. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  309. fenframe3.Name = "MoveFrame"
  310. local fenframe4 = it("Frame")
  311. fenframe4.Parent = fengui
  312. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  313. fenframe4.BackgroundTransparency = 1
  314. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  315. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  316. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  317. local pressedf = false
  318. local fenframe5 = it("Frame")
  319. fenframe5.Parent = fengui
  320. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  321. fenframe5.BackgroundTransparency = 1
  322. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  323. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  324. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  325. fenframe5.ZIndex = 2
  326. local tellbar = gui("TextLabel", fenframe5, "Press \'F\' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  327. tellbar.Font = "Arial"
  328. tellbar.TextScaled = true
  329. tellbar.TextTransparency = 1
  330. tellbar.TextStrokeTransparency = 1
  331. tellbar.ZIndex = 2
  332. local fnumb = 0
  333. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  334. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  335. 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))
  336. local fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  337. local fenbarblock2 = gui("TextLabel", fenframe, "", 0, BrickColor.new("Really red").Color, UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  338. local fenbarblock3 = gui("TextLabel", fenframe, "Blood(" .. blood .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  339. 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))
  340. 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))
  341. 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))
  342. 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))
  343. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  344. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  345. 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))
  346. 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))
  347. 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))
  348. 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))
  349. fenbarmove1.ZIndex = 2
  350. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  351. 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))
  352. fenbarmove2.ZIndex = 2
  353. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  354. 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))
  355. fenbarmove3.ZIndex = 2
  356. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  357. 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))
  358. fenbarmove4.ZIndex = 2
  359. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  360. local modelzorz = Instance.new("Model")
  361. modelzorz.Parent = Character
  362. modelzorz.Name = "Ichor Gauntlets"
  363. local rprt1 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part01", vt())
  364. local rprt2 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part02", vt())
  365. local rprt4 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part04", vt())
  366. local rprt5 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Right Part05", vt())
  367. local lprt1 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part01", vt())
  368. local lprt2 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part02", vt())
  369. local lprt4 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part04", vt())
  370. local lprt5 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Left Part05", vt())
  371. rmsh1 = mesh("BlockMesh", rprt1, "", "", vt(0, 0, 0), vt(5.1, 3, 5.1))
  372. rmsh2 = mesh("SpecialMesh", rprt2, "Wedge", "nil", vt(0, 0, 0), vt(5.5, 6, 5.5))
  373. rmsh4 = mesh("SpecialMesh", rprt4, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
  374. rmsh5 = mesh("BlockMesh", rprt5, "", "", vt(0, 0, 0), vt(5.6, 1, 1))
  375. lmsh1 = mesh("BlockMesh", lprt1, "", "", vt(0, 0, 0), vt(5.1, 3, 5.1))
  376. lmsh2 = mesh("SpecialMesh", lprt2, "Wedge", "nil", vt(0, 0, 0), vt(5.5, 6, 5.5))
  377. lmsh4 = mesh("SpecialMesh", lprt4, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
  378. lmsh5 = mesh("BlockMesh", lprt5, "", "", vt(0, 0, 0), vt(5.6, 1, 1))
  379. local rwld1 = weld(rprt1, rprt1, RightArm, euler(0, 0, 0) * cf(0, 0.7, 0))
  380. local rwld2 = weld(rprt1, rprt2, rprt1, euler(0, -1.57, 0) * cf(0, -0.29, 0))
  381. local rwld4 = weld(rprt1, rprt4, rprt1, euler(1.57, 0, 0) * cf(0, -1.2, 0))
  382. local rwld5 = weld(rprt1, rprt5, rprt2, euler(0, 0, 0) * cf(0, 0.55, -0.1))
  383. local lwld1 = weld(rprt1, lprt1, LeftArm, euler(0, 3.14, 0) * cf(0, 0.7, 0))
  384. local lwld2 = weld(rprt1, lprt2, lprt1, euler(0, -1.57, 0) * cf(0, -0.29, 0))
  385. local lwld4 = weld(rprt1, lprt4, lprt1, euler(1.57, 0, 0) * cf(0, -1.2, 0))
  386. local lwld5 = weld(rprt1, lprt5, lprt2, euler(0, 0, 0) * cf(0, 0.55, -0.1))
  387. for i = 0.3, -0.4, -0.6 do
  388. local rprt3 = part(3, modelzorz, 0, 0, TorsoColor, "Right Part03", vt())
  389. rmsh3 = mesh("SpecialMesh", rprt3, "Wedge", "nil", vt(0, 0, 0), vt(1, 4, 2))
  390. local rwld3 = weld(rprt1, rprt3, rprt2, euler(0.1, 0, 0) * cf(i, -0.8, -0.35))
  391. local lprt3 = part(3, modelzorz, 0, 0, TorsoColor, "Left Part03", vt())
  392. lmsh3 = mesh("SpecialMesh", lprt3, "Wedge", "nil", vt(0, 0, 0), vt(1, 4, 2))
  393. local lwld3 = weld(rprt1, lprt3, lprt2, euler(0.1, 0, 0) * cf(i, -0.8, -0.35))
  394. end
  395. for i = 0.35, -0.35, -0.35 do
  396. local rprt6 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Right Part03", vt())
  397. rmsh6 = mesh("SpecialMesh", rprt6, "Wedge", "nil", vt(0, 0, 0), vt(1, 3, 2))
  398. local rwld6 = weld(rprt1, rprt6, rprt2, euler(0.1, 0, 0) * cf(i, 0.35, -0.4))
  399. local lprt6 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Right Part03", vt())
  400. lmsh6 = mesh("SpecialMesh", lprt6, "Wedge", "nil", vt(0, 0, 0), vt(1, 3, 2))
  401. local lwld6 = weld(rprt1, lprt6, lprt2, euler(0.1, 0, 0) * cf(i, 0.35, -0.4))
  402. end
  403. for _,c in pairs(modelzorz:children()) do
  404. table.insert(Weapon, c)
  405. end
  406. for _,c in pairs(rprt1:children()) do
  407. if c.className == "Motor" then
  408. table.insert(Welds, c)
  409. end
  410. end
  411. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  412. hitbox.Anchored = false
  413. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  414. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  415. hitbox2.Anchored = true
  416. local hitboxCF = cf(0, 0, 0)
  417. hboxpos = Instance.new("BodyPosition", nil)
  418. hboxpos.P = 2000
  419. hboxpos.D = 100
  420. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  421. hitboxweld = function()
  422. hbwld.Parent = modelzorz
  423. hbwld.Part0 = hitbox
  424. hbwld.Part1 = RightArm
  425. end
  426. if script.Parent.className ~= "HopperBin" then
  427. Tool = Instance.new("HopperBin")
  428. Tool.Parent = Backpack
  429. Tool.Name = "Ichor Gauntlets"
  430. script.Parent = Tool
  431. end
  432. Bin = script.Parent
  433. if Bin.Name == "Ichor" then
  434. Bin.Name = "Ichor Gauntlets"
  435. end
  436. local bodvel = Instance.new("BodyVelocity")
  437. local bg = Instance.new("BodyGyro")
  438. so = function(id, par, vol, pit)
  439. local sou = Instance.new("Sound", par or workspace)
  440. sou.Volume = vol
  441. sou.Pitch = pit or 1
  442. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  443. coroutine.resume(coroutine.create(function(Sound)
  444. swait()
  445. Sound:play()
  446. end), sou)
  447. game:GetService("Debris"):AddItem(sou, 6)
  448. end
  449. function clerp(a,b,t)
  450. local qa = {QuaternionFromCFrame(a)}
  451. local qb = {QuaternionFromCFrame(b)}
  452. local ax, ay, az = a.x, a.y, a.z
  453. local bx, by, bz = b.x, b.y, b.z
  454. local _t = 1-t
  455. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  456. end
  457.  
  458. function QuaternionFromCFrame(cf)
  459. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  460. local trace = m00 + m11 + m22
  461. if trace > 0 then
  462. local s = math.sqrt(1 + trace)
  463. local recip = 0.5/s
  464. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  465. else
  466. local i = 0
  467. if m11 > m00 then
  468. i = 1
  469. end
  470. if m22 > (i == 0 and m00 or m11) then
  471. i = 2
  472. end
  473. if i == 0 then
  474. local s = math.sqrt(m00-m11-m22+1)
  475. local recip = 0.5/s
  476. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  477. elseif i == 1 then
  478. local s = math.sqrt(m11-m22-m00+1)
  479. local recip = 0.5/s
  480. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  481. elseif i == 2 then
  482. local s = math.sqrt(m22-m00-m11+1)
  483. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  484. end
  485. end
  486. end
  487.  
  488. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  489. local xs, ys, zs = x + x, y + y, z + z
  490. local wx, wy, wz = w*xs, w*ys, w*zs
  491. local xx = x*xs
  492. local xy = x*ys
  493. local xz = x*zs
  494. local yy = y*ys
  495. local yz = y*zs
  496. local zz = z*zs
  497. 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))
  498. end
  499.  
  500. function QuaternionSlerp(a, b, t)
  501. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  502. local startInterp, finishInterp;
  503. if cosTheta >= 0.0001 then
  504. if (1 - cosTheta) > 0.0001 then
  505. local theta = math.acos(cosTheta)
  506. local invSinTheta = 1/math.sin(theta)
  507. startInterp = math.sin((1-t)*theta)*invSinTheta
  508. finishInterp = math.sin(t*theta)*invSinTheta
  509. else
  510. startInterp = 1-t
  511. finishInterp = t
  512. end
  513. else
  514. if (1+cosTheta) > 0.0001 then
  515. local theta = math.acos(-cosTheta)
  516. local invSinTheta = 1/math.sin(theta)
  517. startInterp = math.sin((t-1)*theta)*invSinTheta
  518. finishInterp = math.sin(t*theta)*invSinTheta
  519. else
  520. startInterp = t-1
  521. finishInterp = t
  522. end
  523. end
  524. 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
  525. end
  526. hideanim = function()
  527. equipped = false
  528. for i = 0, 1, 0.1 do
  529. swait()
  530. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  531. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  532. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  533. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  534. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  535. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  536. RH.C0 = clerp(RH.C0, RHC0, 0.4)
  537. RH.C1 = clerp(RH.C1, RHC1, 0.4)
  538. LH.C0 = clerp(LH.C0, LHC0, 0.4)
  539. LH.C1 = clerp(LH.C1, LHC1, 0.4)
  540. end
  541. mdec2.Parent = nil
  542. mdec.Parent = Decrease
  543. end
  544. mdec.Parent = Decrease
  545. equipanim = function()
  546. equipped = true
  547. mdec.Parent = nil
  548. mdec2.Parent = Decrease
  549. local dec = Instance.new("NumberValue", Decrease)
  550. dec.Name = "DecreaseMvmt"
  551. dec.Value = 10
  552. for i = 0, 1, 0.3 do
  553. swait()
  554. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.4)
  555. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  556. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2.5, 0, -0.8), 0.4)
  557. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  558. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2.7, 0, 1), 0.4)
  559. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  560. end
  561. for i = 0, 1, 0.1 do
  562. swait()
  563. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.3)
  564. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.3)
  565. RW.C0 = clerp(RW.C0, cf(0.8, 0.5, -0.6) * euler(2.8, 0, -0.8), 0.3)
  566. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  567. LW.C0 = clerp(LW.C0, cf(-0.8, 0.5, -0.6) * euler(3, 0, 0.6), 0.3)
  568. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  569. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, -0.2), 0.3)
  570. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.2), 0.3)
  571. end
  572. dec.Parent = nil
  573. end
  574. StaggerAnim = function()
  575. attack = true
  576. removeControl()
  577. for i = 1, math.random(2, 4) do
  578. 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)
  579. end
  580. for i = 0, 1, 0.35 do
  581. swait()
  582. if Rooted.Value == false then
  583. Torso.Velocity = RootPart.CFrame.lookVector * -40
  584. end
  585. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  586. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  587. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  588. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  589. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  590. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  591. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  592. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  593. end
  594. for i = 0, 1, 0.2 do
  595. swait()
  596. if Rooted.Value == false then
  597. Torso.Velocity = RootPart.CFrame.lookVector * -40
  598. end
  599. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  600. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  601. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  602. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  603. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  604. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  605. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  606. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  607. end
  608. for i = 0, 1, 0.1 do
  609. swait()
  610. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  611. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  612. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.2) * euler(0, -0.4, 0), 0.3)
  613. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  614. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  615. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  616. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  617. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  618. end
  619. for i = 1, 40 do
  620. swait()
  621. if StunT.Value <= Stun.Value then
  622. break
  623. end
  624. end
  625. do
  626. resumeControl()
  627. combo = 0
  628. attack = false
  629. end
  630. end
  631. StaggerHitt = function()
  632. attack = true
  633. for i = 1, math.random(2, 4) do
  634. 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)
  635. end
  636. for i = 0, 1, 0.1 do
  637. swait()
  638. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  639. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.3)
  640. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9), 0.3)
  641. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  642. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.6), 0.3)
  643. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  644. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  645. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  646. end
  647. attack = false
  648. end
  649. StunAnim = function()
  650. attack = true
  651. removeControl()
  652. Stunned.Value = true
  653. showDamage(Character, "Stunned", "Interrupt")
  654. local dec = Instance.new("NumberValue", Decrease)
  655. dec.Name = "DecreaseMvmt"
  656. dec.Value = 10
  657. for i = 0, 1, 0.3 do
  658. swait()
  659. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  660. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  661. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  662. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  663. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  664. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  665. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  666. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  667. end
  668. for i = 0, 1, 0.3 do
  669. swait()
  670. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  671. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  672. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  673. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  674. 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)
  675. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  676. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  677. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  678. end
  679. for i = 0, 1, 0.3 do
  680. swait()
  681. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  682. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  683. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  684. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  685. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  686. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  687. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  688. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  689. end
  690. local gairost = Instance.new("BodyGyro")
  691. gairost.Parent = RootPart
  692. gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  693. gairost.P = 20000
  694. gairost.cframe = cf(0, 0, 0)
  695. for i = 0, 1, 0.1 do
  696. swait()
  697. if hitfloor ~= nil then
  698. Torso.Velocity = vt(0, 0, 0)
  699. end
  700. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  701. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  702. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  703. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  704. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  705. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  706. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  707. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  708. end
  709. for i = 1, 70 do
  710. swait()
  711. gairost.cframe = RootPart.CFrame
  712. if hitfloor ~= nil then
  713. Torso.Velocity = vt(0, 0, 0)
  714. end
  715. end
  716. for i = 0, 1, 0.2 do
  717. swait()
  718. Stun.Value = 0
  719. gairost.cframe = RootPart.CFrame
  720. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  721. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  722. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  723. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  724. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  725. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  726. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  727. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  728. end
  729. resumeControl()
  730. gairost.Parent = nil
  731. dec.Parent = nil
  732. Stun.Value = 0
  733. combo = 0
  734. Stunned.Value = false
  735. attack = false
  736. for i = 1, 10 do
  737. swait()
  738. Stun.Value = 0
  739. end
  740. end
  741. attackone = function()
  742. attack = true
  743. if Rooted.Value == false then
  744. Torso.Velocity = RootPart.CFrame.lookVector * 30
  745. end
  746. so("200632136", RightArm, 1, 1)
  747. hbwld.Parent = nil
  748. hboxpos.Parent = hitbox
  749. hitbox.Parent = modelzorz
  750. hitbox.Size = vt(1.5, 2.5, 1.5)
  751. hitboxCF = RightArm.CFrame
  752. hitbox.CFrame = hitboxCF
  753. for i = 0, 1, 0.4 do
  754. swait()
  755. hitboxCF = RightArm.CFrame
  756. hitbox.CFrame = hitboxCF
  757. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(8, 10)), nil, true)
  758. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, -1.2), 0.5)
  759. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 1.2), 0.5)
  760. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.7, 0, 1) * euler(0, 1.57, 0), 0.5)
  761. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  762. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1) * euler(0, -1.57, 0), 0.5)
  763. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  764. RH.C0 = clerp(RH.C0, cf(0.8, -0.8, 0.4) * euler(0, 1.57, 0) * euler(0.1, 0, 0) * euler(0, -1.2, 0), 0.5)
  765. LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.4) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(0, -1, 0), 0.5)
  766. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  767. do
  768. if StaggerHit.Value == true then
  769. break
  770. end
  771. -- DECOMPILER ERROR at PC278: LeaveBlock: unexpected jumping out IF_THEN_STMT
  772.  
  773. -- DECOMPILER ERROR at PC278: LeaveBlock: unexpected jumping out IF_STMT
  774.  
  775. end
  776. end
  777. end
  778. for i = 0, 1, 0.1 do
  779. swait()
  780. hitboxCF = RightArm.CFrame
  781. hitbox.CFrame = hitboxCF
  782. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(8, 10)), nil, true)
  783. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, -1.4), 0.3)
  784. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 1.4), 0.3)
  785. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.7, 0, 1.4) * euler(0, 1.57, 0), 0.3)
  786. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  787. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.5, 0, -0.5) * euler(0, -1.57, 0), 0.3)
  788. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  789. RH.C0 = clerp(RH.C0, cf(0.8, -0.8, 0.4) * euler(0, 1.57, 0) * euler(0.1, 0, 0) * euler(0, -1.4, 0), 0.3)
  790. LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.4) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(0, -1.2, 0), 0.3)
  791. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  792. do
  793. if StaggerHit.Value == true then
  794. break
  795. end
  796. -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_THEN_STMT
  797.  
  798. -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_STMT
  799.  
  800. end
  801. end
  802. end
  803. hitbox.Parent = modelzorz
  804. hitbox.Size = vt()
  805. hitboxweld()
  806. hboxpos.Parent = nil
  807. attack = false
  808. end
  809. attacktwo = function()
  810. attack = true
  811. for i = 0, 1, 0.2 do
  812. swait()
  813. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0.2), 0.3)
  814. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.2, 0, 0) * euler(0, 0, 0.4), 0.3)
  815. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.5, 0, -1) * euler(0, 1.57, 0), 0.3)
  816. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  817. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.3) * euler(0, -1.57, 0), 0.3)
  818. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  819. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.4) * euler(0, 0, 0), 0.2)
  820. LH.C0 = clerp(LH.C0, cf(-1, 0, -0.6) * euler(0, -1.57, 0) * euler(0, 0, 0.4) * euler(-0.1, 0, 0), 0.2)
  821. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  822. do
  823. if StaggerHit.Value == true then
  824. break
  825. end
  826. -- DECOMPILER ERROR at PC213: LeaveBlock: unexpected jumping out IF_THEN_STMT
  827.  
  828. -- DECOMPILER ERROR at PC213: LeaveBlock: unexpected jumping out IF_STMT
  829.  
  830. end
  831. end
  832. end
  833. if Rooted.Value == false then
  834. Torso.Velocity = RootPart.CFrame.lookVector * 40
  835. end
  836. local dec = Instance.new("NumberValue", Decrease)
  837. dec.Name = "DecreaseMvmt"
  838. dec.Value = 10
  839. so("200632211", LeftLeg, 1, 1)
  840. hbwld.Parent = nil
  841. hboxpos.Parent = hitbox
  842. hitbox.Parent = modelzorz
  843. hitbox.Size = vt(1.5, 2.5, 1.5)
  844. hitboxCF = LeftLeg.CFrame
  845. hitbox.CFrame = hitboxCF
  846. for i = 0, 1, 0.1 do
  847. swait()
  848. hitboxCF = LeftLeg.CFrame
  849. hitbox.CFrame = hitboxCF
  850. MagniDamage(hitbox, 3, 6, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(8, 10)), nil, true, false, "Movement", 0.1, 100)
  851. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0) * euler(0, 0, 0.4), 0.5)
  852. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.8, -0.2) * euler(0.2, 0, 0) * euler(0, 0, -0.4), 0.5)
  853. RW.C0 = clerp(RW.C0, cf(1.2, 0.5, -0.3) * euler(1, 0, -0.8) * euler(0, 1.57, 0), 0.5)
  854. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  855. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -0.5) * euler(0, 0, 0), 0.5)
  856. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  857. RH.C0 = clerp(RH.C0, cf(1.1, -0.6, -0.6) * euler(0, 1.57, 0) * euler(0, 0, -0.1) * euler(-0.1, 0, 0), 0.5)
  858. LH.C0 = clerp(LH.C0, cf(-1, -0.5, -0.5) * euler(0, -1.57, 0) * euler(0, 0, -2.2) * euler(-0.1, 0, 0), 0.5)
  859. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  860. do
  861. if StaggerHit.Value == true then
  862. break
  863. end
  864. -- DECOMPILER ERROR at PC501: LeaveBlock: unexpected jumping out IF_THEN_STMT
  865.  
  866. -- DECOMPILER ERROR at PC501: LeaveBlock: unexpected jumping out IF_STMT
  867.  
  868. end
  869. end
  870. end
  871. hitbox.Parent = modelzorz
  872. hitbox.Size = vt()
  873. hitboxweld()
  874. hboxpos.Parent = nil
  875. dec.Parent = nil
  876. attack = false
  877. end
  878. attackthree = function()
  879. attack = true
  880. if Rooted.Value == false then
  881. Torso.Velocity = RootPart.CFrame.lookVector * 30
  882. end
  883. so("200632136", LeftArm, 1, 1.1)
  884. hbwld.Parent = nil
  885. hboxpos.Parent = hitbox
  886. hitbox.Parent = modelzorz
  887. hitbox.Size = vt(1.5, 2.5, 1.5)
  888. hitboxCF = LeftArm.CFrame
  889. hitbox.CFrame = hitboxCF
  890. for i = 0, 1, 0.5 do
  891. swait()
  892. hitboxCF = LeftArm.CFrame
  893. hitbox.CFrame = hitboxCF
  894. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(8, 10)), nil, true)
  895. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 1.2) * euler(0.2, 0, 0), 0.5)
  896. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.5)
  897. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, -0.2) * euler(0, 1.5, 0), 0.5)
  898. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  899. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.2) * euler(0, -1, 0), 0.5)
  900. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  901. RH.C0 = clerp(RH.C0, cf(0.6, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.3)
  902. LH.C0 = clerp(LH.C0, cf(-0.6, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.3)
  903. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  904. do
  905. if StaggerHit.Value == true then
  906. break
  907. end
  908. -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_THEN_STMT
  909.  
  910. -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_STMT
  911.  
  912. end
  913. end
  914. end
  915. for i = 0, 1, 0.1 do
  916. swait()
  917. hitboxCF = LeftArm.CFrame
  918. hitbox.CFrame = hitboxCF
  919. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(8, 10)), nil, true)
  920. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 1.2) * euler(0.2, 0, 0), 0.3)
  921. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.3)
  922. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.6) * euler(0, 1.5, 0), 0.3)
  923. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  924. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, 0.3) * euler(0, -1.5, 0), 0.2)
  925. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  926. RH.C0 = clerp(RH.C0, cf(0.6, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.4)
  927. LH.C0 = clerp(LH.C0, cf(-0.6, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.4)
  928. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  929. do
  930. if StaggerHit.Value == true then
  931. break
  932. end
  933. -- DECOMPILER ERROR at PC482: LeaveBlock: unexpected jumping out IF_THEN_STMT
  934.  
  935. -- DECOMPILER ERROR at PC482: LeaveBlock: unexpected jumping out IF_STMT
  936.  
  937. end
  938. end
  939. end
  940. hitbox.Parent = modelzorz
  941. hitbox.Size = vt()
  942. hitboxweld()
  943. hboxpos.Parent = nil
  944. attack = false
  945. end
  946. attackfour = function()
  947. attack = true
  948. for i = 0, 1, 0.2 do
  949. swait()
  950. Neck.C0 = clerp(Neck.C0, necko * euler(-0.1, 0, 0) * euler(0, 0, 0), 0.3)
  951. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.2, 0, 0) * euler(0, 0, 0), 0.3)
  952. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0.3) * euler(1.7, 0, -0.2) * euler(0, 1.57, 0), 0.3)
  953. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  954. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0.3) * euler(1.7, 0, 0.2) * euler(0, -1.57, 0), 0.3)
  955. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  956. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.2) * euler(0, 0, 0), 0.2)
  957. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.1), 0.2)
  958. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  959. do
  960. if StaggerHit.Value == true then
  961. break
  962. end
  963. -- DECOMPILER ERROR at PC207: LeaveBlock: unexpected jumping out IF_THEN_STMT
  964.  
  965. -- DECOMPILER ERROR at PC207: LeaveBlock: unexpected jumping out IF_STMT
  966.  
  967. end
  968. end
  969. end
  970. if Rooted.Value == false then
  971. Torso.Velocity = RootPart.CFrame.lookVector * 50
  972. end
  973. so("200632370", Torso, 1, 1)
  974. hbwld.Parent = nil
  975. hboxpos.Parent = hitbox
  976. hitbox.Parent = modelzorz
  977. hitbox.Size = vt(1.5, 2.5, 1.5)
  978. hitboxCF = LeftArm.CFrame
  979. hitbox.CFrame = hitboxCF
  980. hitboxCF = RightArm.CFrame
  981. hitbox.CFrame = hitboxCF
  982. for i = 0, 1, 0.1 do
  983. swait()
  984. hitboxCF = LeftArm.CFrame
  985. hitbox.CFrame = hitboxCF
  986. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(10, 13)), nil, true)
  987. hitboxCF = RightArm.CFrame
  988. hitbox.CFrame = hitboxCF
  989. MagniDamage(hitbox, 3, 6, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(10, 13)), nil, true)
  990. Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0) * euler(0, 0, 0), 0.5)
  991. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.2, 0, 0) * euler(0, 0, 0), 0.5)
  992. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.7, 0, -0.2) * euler(0, 1.57, 0), 0.5)
  993. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  994. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.7, 0, 0.2) * euler(0, -1.57, 0), 0.5)
  995. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  996. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.2) * euler(0, 0, 0), 0.5)
  997. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.1), 0.5)
  998. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  999. do
  1000. if StaggerHit.Value == true then
  1001. break
  1002. end
  1003. -- DECOMPILER ERROR at PC512: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1004.  
  1005. -- DECOMPILER ERROR at PC512: LeaveBlock: unexpected jumping out IF_STMT
  1006.  
  1007. end
  1008. end
  1009. end
  1010. hitbox.Parent = modelzorz
  1011. hitbox.Size = vt()
  1012. hitboxweld()
  1013. hboxpos.Parent = nil
  1014. attack = false
  1015. end
  1016. Transposition = function()
  1017. attack = true
  1018. targ = nil
  1019. hum = nil
  1020. local gud2go = false
  1021. if Player:FindFirstChild("Training") and Player.Training.Value and MMouse.Target and MMouse.Target.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent:findFirstChild("Torso") ~= nil then
  1022. if MMouse.Target.Parent.Name == "Kactus Man" then
  1023. gud2go = true
  1024. else
  1025. if game.Players:GetPlayerFromCharacter(MMouse.Target.Parent) and game.Players:GetPlayerFromCharacter(MMouse.Target.Parent):FindFirstChild("Training") and game.Players:GetPlayerFromCharacter(MMouse.Target.Parent).Training.Value then
  1026. gud2go = true
  1027. end
  1028. end
  1029. end
  1030. gud2go = true
  1031. gud2go = true
  1032. if MMouse.Target ~= nil and gud2go and MMouse.Target.Parent:findFirstChild("Humanoid") ~= nil and MMouse.Target.Parent:findFirstChild("Torso") ~= nil then
  1033. print(MMouse.Target.Parent)
  1034. targ = MMouse.Target.Parent.Torso
  1035. hum = MMouse.Target.Parent.Humanoid
  1036. for i = 1, #BloodAllies do
  1037. if BloodAllies[i][1] == targ.Parent then
  1038. targ = nil
  1039. hum = nil
  1040. break
  1041. end
  1042. end
  1043. end
  1044. do
  1045. do
  1046. if targ ~= nil then
  1047. local BodGy = Instance.new("BodyGyro", RootPart)
  1048. BodGy.maxTorque = Vector3.new(0, math.huge, 0)
  1049. BodGy.P = 2000
  1050. BodGy.D = 100
  1051. BodGy.cframe = cf(Torso.Position, targ.Position)
  1052. for i = 0, 1, 0.1 do
  1053. swait()
  1054. BodGy.cframe = cf(Torso.Position, targ.Position)
  1055. Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0) * euler(0, 0, 0), 0.5)
  1056. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.2, 0, 0) * euler(0, 0, 0), 0.5)
  1057. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.7, 0, -0.2) * euler(0, 1.57, 0), 0.5)
  1058. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1059. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.7, 0, 0.2) * euler(0, -1.57, 0), 0.5)
  1060. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1061. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.2) * euler(0, 0, 0), 0.5)
  1062. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.1), 0.5)
  1063. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1064. do
  1065. if StaggerHit.Value == true then
  1066. break
  1067. end
  1068. -- DECOMPILER ERROR at PC375: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1069.  
  1070. -- DECOMPILER ERROR at PC375: LeaveBlock: unexpected jumping out IF_STMT
  1071.  
  1072. end
  1073. end
  1074. end
  1075. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1076. ref.Anchored = true
  1077. ref.CFrame = cf(RootPart.Position)
  1078. game:GetService("Debris"):AddItem(ref, 10)
  1079. healthdam = math.floor(Humanoid.Health * 0.2)
  1080. if isjugg == false then
  1081. Humanoid:TakeDamage(healthdam)
  1082. showDamage(Character, healthdam, "Damage")
  1083. end
  1084. so("206082357", RootPart, 1, 1)
  1085. so("206082357", targ, 1, 1)
  1086. if MMouse.Target ~= nil and game.Players:GetPlayerFromCharacter(MMouse.Target.Parent) ~= nil and Player.Neutral == false then
  1087. if game.Players:GetPlayerFromCharacter(MMouse.Target.Parent).TeamColor == Player.TeamColor then
  1088. hum.Health = hum.Health + healthdam
  1089. showDamage(targ.Parent, healthdam, "Heal")
  1090. DecreaseStat(targ.Parent, "Defense", -0.2, 1000)
  1091. else
  1092. hum.Health = hum.Health - healthdam
  1093. showDamage(targ.Parent, healthdam, "Damage")
  1094. end
  1095. end
  1096. table.insert(BloodAllies, {targ.Parent, hum.Health})
  1097. for i = 0, 50 do
  1098. swait()
  1099. local mag = RootPart.Position - targ.Position.magnitude
  1100. ref.CFrame = cf(RootPart.Position, targ.Position)
  1101. BodGy.cframe = cf(Torso.Position, targ.Position)
  1102. MagicBlock(BrickColor.new(NewCol), cf(targ.Position) * cf(math.random(-500, 500) / 100, math.random(-500, 500) / 100, math.random(-500, 500) / 100), 1, 1, 1, 0.5, 0.5, 0.5, 0.05, 1)
  1103. MagicCircle2(BrickColor.new(NewCol), ref.CFrame * euler(1.57, 0, 0) * cf(math.random(-400, 400) / 100, 0, math.random(-400, 400) / 100), 2, 10, 2, -0.1, mag / 20, -0.1, 0.05, -mag / 20)
  1104. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1105. do
  1106. if StaggerHit.Value == true then
  1107. break
  1108. end
  1109. -- DECOMPILER ERROR at PC628: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1110.  
  1111. -- DECOMPILER ERROR at PC628: LeaveBlock: unexpected jumping out IF_STMT
  1112.  
  1113. end
  1114. end
  1115. end
  1116. ref.Parent = nil
  1117. BodGy.Parent = nil
  1118. end
  1119. attack = false
  1120. end
  1121. end
  1122. end
  1123. do1 = function()
  1124. if attack == true then
  1125. return
  1126. end
  1127. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1128. return
  1129. end
  1130. if cooldownmax <= cooldowns[1] and mana.Value >= 20 then
  1131. attack = true
  1132. cooldowns[1] = 0
  1133. mana.Value = mana.Value - 20
  1134. bloodtrue = false
  1135. if blood >= 40 then
  1136. bloodtrue = true
  1137. blood = blood - 40
  1138. end
  1139. for di = 1, 2 do
  1140. for i = 0, 1, 0.2 do
  1141. swait()
  1142. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.2) * euler(0.2, 0, 0), 0.3)
  1143. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.2), 0.45)
  1144. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 1) * euler(0, 0, 0), 0.3)
  1145. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1146. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -1.5) * euler(0, 0, 0), 0.3)
  1147. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1148. RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1.2, -0.1), 0.4)
  1149. LH.C0 = clerp(LH.C0, cf(-0.9, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1.2, 0.1), 0.4)
  1150. end
  1151. so("200632370", LeftArm, 0.6, 1)
  1152. if Rooted.Value == false then
  1153. Torso.Velocity = RootPart.CFrame.lookVector * 40
  1154. end
  1155. hbwld.Parent = nil
  1156. hboxpos.Parent = hitbox
  1157. hitbox.Parent = modelzorz
  1158. hitbox.Size = vt(3, 5, 3)
  1159. hitboxCF = LeftArm.CFrame
  1160. hitbox.CFrame = hitboxCF
  1161. for i = 0, 1, 0.15 do
  1162. swait()
  1163. MagicBlock(BrickColor.new(NewCol), LeftArm.CFrame * cf(0, -1, 0), 1, 1, 1, 1, 1, 1, 0.1, 2)
  1164. hitboxCF = LeftArm.CFrame
  1165. hitbox.CFrame = hitboxCF
  1166. MagniDamage(hitbox, 4, 6, 7, math.random(5, 10), "Normal", RootPart, 0.4, 2, (math.random(8, 10)), nil, true, false, "Defense", 0.05, 200)
  1167. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0.2, 0, 0), 0.3)
  1168. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -1), 0.45)
  1169. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1) * euler(0, 0, 0), 0.3)
  1170. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1171. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -0.3) * euler(0, -1.57, 0), 0.3)
  1172. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1173. RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.1), 0.4)
  1174. LH.C0 = clerp(LH.C0, cf(-0.9, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
  1175. -- DECOMPILER ERROR at PC503: Unhandled construct in 'MakeBoolean' P1
  1176.  
  1177. if di == 2 and Stagger.Value ~= true and StunT.Value > Stun.Value then
  1178. do
  1179. if StaggerHit.Value == true then
  1180. break
  1181. end
  1182. -- DECOMPILER ERROR at PC504: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1183.  
  1184. -- DECOMPILER ERROR at PC504: LeaveBlock: unexpected jumping out IF_STMT
  1185.  
  1186. end
  1187. end
  1188. end
  1189. if bloodtrue == true then
  1190. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1191. ref.Anchored = true
  1192. ref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  1193. so("206082273", ref, 1, 1)
  1194. game:GetService("Debris"):AddItem(ref, 1)
  1195. MagniDamage(ref, 10, 6, 7, math.random(10, 15), "Knockdown2", ref, 0, 1, (math.random(10, 15)), nil, nil, true, "Defense", 0.05, 200)
  1196. MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 5, 5, 5, 3, 3, 3, 0.05, 1)
  1197. MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 5, 5, 5, 10, 10, 10, 0.1, 1)
  1198. for i = 1, 5 do
  1199. BreakEffect(BrickColor.new(NewCol), cf(ref.Position), 0.5, math.random(500, 1000) / 100, 0.5)
  1200. end
  1201. end
  1202. do
  1203. hitbox.Parent = modelzorz
  1204. hitbox.Size = vt()
  1205. hitboxweld()
  1206. hboxpos.Parent = nil
  1207. for i = 0, 1, 0.2 do
  1208. swait()
  1209. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.2) * euler(0.2, 0, 0), 0.3)
  1210. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -1.2), 0.45)
  1211. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 1.5) * euler(0, 0, 0), 0.3)
  1212. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1213. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -1) * euler(0, 0, 0), 0.3)
  1214. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1215. RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.4)
  1216. LH.C0 = clerp(LH.C0, cf(-0.9, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.4)
  1217. end
  1218. so("200632370", RightArm, 0.6, 1)
  1219. if Rooted.Value == false then
  1220. Torso.Velocity = RootPart.CFrame.lookVector * 40
  1221. end
  1222. hbwld.Parent = nil
  1223. hboxpos.Parent = hitbox
  1224. hitbox.Parent = modelzorz
  1225. hitbox.Size = vt(3, 5, 3)
  1226. hitboxCF = RightArm.CFrame
  1227. hitbox.CFrame = hitboxCF
  1228. for i = 0, 1, 0.15 do
  1229. swait()
  1230. MagicBlock(BrickColor.new(NewCol), RightArm.CFrame * cf(0, -1, 0), 1, 1, 1, 1, 1, 1, 0.1, 2)
  1231. hitboxCF = RightArm.CFrame
  1232. hitbox.CFrame = hitboxCF
  1233. MagniDamage(hitbox, 4, 6, 7, math.random(5, 10), "Normal", RootPart, 0.4, 2, (math.random(8, 10)), nil, true, false, "Defense", 0.05, 200)
  1234. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.2, 0, 0), 0.3)
  1235. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1), 0.45)
  1236. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 0.3) * euler(0, 1.57, 0), 0.3)
  1237. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1238. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -1) * euler(0, 0, 0), 0.3)
  1239. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1240. RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1, -0.1), 0.4)
  1241. LH.C0 = clerp(LH.C0, cf(-0.9, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1, 0.1), 0.4)
  1242. -- DECOMPILER ERROR at PC1095: Unhandled construct in 'MakeBoolean' P1
  1243.  
  1244. if di == 2 and Stagger.Value ~= true and StunT.Value > Stun.Value then
  1245. do
  1246. if StaggerHit.Value == true then
  1247. break
  1248. end
  1249. -- DECOMPILER ERROR at PC1096: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1250.  
  1251. -- DECOMPILER ERROR at PC1096: LeaveBlock: unexpected jumping out IF_STMT
  1252.  
  1253. end
  1254. end
  1255. end
  1256. if bloodtrue == true then
  1257. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1258. ref.Anchored = true
  1259. ref.CFrame = RightArm.CFrame * cf(0, -1, 0)
  1260. so("206082273", ref, 1, 1)
  1261. game:GetService("Debris"):AddItem(ref, 1)
  1262. MagniDamage(ref, 10, 6, 7, math.random(10, 15), "Knockdown2", ref, 0, 1, (math.random(10, 15)), nil, nil, true, "Defense", 0.05, 200)
  1263. MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 5, 5, 5, 3, 3, 3, 0.05, 1)
  1264. MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 5, 5, 5, 10, 10, 10, 0.1, 1)
  1265. for i = 1, 5 do
  1266. BreakEffect(BrickColor.new(NewCol), cf(ref.Position), 0.5, math.random(500, 1000) / 100, 0.5)
  1267. end
  1268. end
  1269. do
  1270. do
  1271. hitbox.Parent = modelzorz
  1272. hitbox.Size = vt()
  1273. hitboxweld()
  1274. hboxpos.Parent = nil
  1275. -- DECOMPILER ERROR at PC1235: LeaveBlock: unexpected jumping out DO_STMT
  1276.  
  1277. -- DECOMPILER ERROR at PC1235: LeaveBlock: unexpected jumping out DO_STMT
  1278.  
  1279. end
  1280. end
  1281. end
  1282. end
  1283. attack = false
  1284. end
  1285. end
  1286. do2 = function()
  1287. if attack == true then
  1288. return
  1289. end
  1290. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1291. return
  1292. end
  1293. condition = false
  1294. if cooldownmax <= cooldowns[2] and mana.Value >= 25 then
  1295. condition = true
  1296. end
  1297. doing2 = true
  1298. if move2 == "(X)\nAssault" then
  1299. condition = true
  1300. end
  1301. if condition == true then
  1302. attack = true
  1303. if BoundTarget == nil then
  1304. mana.Value = mana.Value - 20
  1305. for i = 0, 1, 0.1 do
  1306. swait()
  1307. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.3)
  1308. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0.6), 0.3)
  1309. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.4, 0, 0.4) * euler(0, 0.4, 0), 0.3)
  1310. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1311. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -1.5) * euler(0, 2.5, 0), 0.3)
  1312. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1313. RH.C0 = clerp(RH.C0, cf(1, -0.7, 0) * euler(0, 1.57, 0) * euler(-0.2, -0.2, 0.2), 0.3)
  1314. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  1315. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1316. do
  1317. if StaggerHit.Value == true then
  1318. break
  1319. end
  1320. -- DECOMPILER ERROR at PC239: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1321.  
  1322. -- DECOMPILER ERROR at PC239: LeaveBlock: unexpected jumping out IF_STMT
  1323.  
  1324. end
  1325. end
  1326. end
  1327. cooldowns[2] = 0
  1328. local hit = nil
  1329. hbwld.Parent = nil
  1330. hboxpos.Parent = hitbox
  1331. hitbox.Parent = modelzorz
  1332. hitbox.Size = vt(1.5, 2.5, 1.5)
  1333. hitboxCF = LeftArm.CFrame
  1334. hitbox.CFrame = hitboxCF
  1335. for i = 0, 1, 0.2 do
  1336. swait()
  1337. hitboxCF = LeftArm.CFrame
  1338. hitbox.CFrame = hitboxCF
  1339. MagniDamage(hitbox, 4, 6, 8, math.random(20, 40), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, "Movement", 0.2, 200)
  1340. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(-0.1, 0, 0), 0.4)
  1341. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -1), 0.4)
  1342. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4), 0.4)
  1343. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1344. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1), 0.4)
  1345. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1346. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.2, 0.2, -0.4), 0.4)
  1347. LH.C0 = clerp(LH.C0, cf(-0.8, -0.8, 0.4) * euler(0, -1.57, 0) * euler(-0.2, 1, -0.1), 0.4)
  1348. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1349. do
  1350. if StaggerHit.Value == true then
  1351. break
  1352. end
  1353. -- DECOMPILER ERROR at PC471: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1354.  
  1355. -- DECOMPILER ERROR at PC471: LeaveBlock: unexpected jumping out IF_STMT
  1356.  
  1357. end
  1358. end
  1359. end
  1360. for i = 0, 1, 0.05 do
  1361. swait()
  1362. hitboxCF = LeftArm.CFrame
  1363. hitbox.CFrame = hitboxCF
  1364. MagniDamage(hitbox, 4, 6, 8, math.random(20, 40), "Normal", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, "Movement", 0.2, 200)
  1365. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(-0.1, 0, 0), 0.15)
  1366. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -1.2), 0.15)
  1367. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4), 0.15)
  1368. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1369. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -0.5), 0.15)
  1370. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  1371. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.2, 0.2, -0.4), 0.15)
  1372. LH.C0 = clerp(LH.C0, cf(-0.8, -0.8, 0.5) * euler(0, -1.57, 0) * euler(-0.2, 1.2, -0.1), 0.15)
  1373. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1374. do
  1375. if StaggerHit.Value == true then
  1376. break
  1377. end
  1378. -- DECOMPILER ERROR at PC679: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1379.  
  1380. -- DECOMPILER ERROR at PC679: LeaveBlock: unexpected jumping out IF_STMT
  1381.  
  1382. end
  1383. end
  1384. end
  1385. hitbox.Parent = modelzorz
  1386. hitbox.Size = vt()
  1387. hitboxweld()
  1388. hboxpos.Parent = nil
  1389. print(hit)
  1390. else
  1391. do
  1392. move2 = "(X)\nBlood Bind"
  1393. for i = 0, 1, 0.2 do
  1394. swait()
  1395. Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
  1396. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
  1397. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
  1398. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1399. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1400. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1401. RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
  1402. LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
  1403. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1404. do
  1405. if StaggerHit.Value == true then
  1406. break
  1407. end
  1408. -- DECOMPILER ERROR at PC864: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1409. -- DECOMPILER ERROR at PC864: LeaveBlock: unexpected jumping out IF_STMT
  1410.  
  1411. end
  1412. end
  1413. end
  1414. cooldownsadd[2] = 0.2
  1415. cooldowns[2] = cooldownmax
  1416. if BoundTarget ~= nil then
  1417. if blood >= 30 then
  1418. blood = blood - 30
  1419. DecreaseStat(BoundTarget, "Damage", 0.2, 400)
  1420. for i = 1, 10 do
  1421. BreakEffect(BrickColor.new(NewCol), cf(BoundTarget.Torso.Position), 0.5, math.random(500, 1000) / 100, 0.5)
  1422. end
  1423. end
  1424. do
  1425. Damagefunc(BoundTarget.Torso, 8, 8, math.random(-30, -20), "Knockdown2", RootPart, 0.5, 1, (math.random(5, 10)), nil, true, false, "Movement", 0.2, 200)
  1426. if BoundTarget:findFirstChild("Torso") ~= nil then
  1427. so("199145477", RootPart, 1, 1.5)
  1428. MagicSpecial(BrickColor.new(NewCol), cf(Torso.Position), 3, 3, 3, 1, 1, 1, 0.05)
  1429. RootPart.CFrame = cf(BoundTarget.Torso.Position) * cf(math.random(-500, 500) / 100, math.random(50, 100) / 100, math.random(-500, 500) / 100)
  1430. RootPart.Velocity = vt(0, 0, 0)
  1431. MagicSpecial(BrickColor.new(NewCol), cf(Torso.Position), 3, 3, 3, 1, 1, 1, 0.05)
  1432. end
  1433. BoundTarget = nil
  1434. swait(10)
  1435. cooldowns[2] = 0
  1436. attack = false
  1437. doing2 = false
  1438. end
  1439. end
  1440. end
  1441. end
  1442. end
  1443. attack = false
  1444. doing2 = false
  1445. end
  1446. do3 = function()
  1447. if attack == true then
  1448. return
  1449. end
  1450. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1451. return
  1452. end
  1453. if cooldownmax <= cooldowns[3] and mana.Value >= 40 then
  1454. attack = true
  1455. cooldowns[3] = 0
  1456. mana.Value = mana.Value - 40
  1457. for i = 0, 1, 0.1 do
  1458. swait()
  1459. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.3)
  1460. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.3)
  1461. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1.2), 0.3)
  1462. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1463. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
  1464. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1465. RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1, -0.1), 0.4)
  1466. LH.C0 = clerp(LH.C0, cf(-0.8, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
  1467. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1468. do
  1469. if StaggerHit.Value == true then
  1470. break
  1471. end
  1472. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1473.  
  1474. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_STMT
  1475.  
  1476. end
  1477. end
  1478. end
  1479. so("199145497", RootPart, 1, 1)
  1480. hitted = false
  1481. hbwld.Parent = nil
  1482. hboxpos.Parent = hitbox
  1483. hitbox.Parent = modelzorz
  1484. hitbox.Size = vt(1.5, 2.5, 1.5)
  1485. hitboxCF = RightArm.CFrame
  1486. hitbox.CFrame = hitboxCF
  1487. for i = 0, 40 do
  1488. swait()
  1489. if i % 10 == 0 then
  1490. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1491. ref.Anchored = true
  1492. ref.CFrame = cf(RootPart.Position)
  1493. hitfloor2,posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 50, Character)
  1494. if hitfloor2 ~= nil then
  1495. so("199145477", ref, 1, 1.2)
  1496. ref.CFrame = cf(posfloor2)
  1497. MagniDamage(ref, 10, 6, 8, math.random(10, 20), "Knockdown2", ref, 0, 1, (math.random(10, 15)), nil, nil, true, "Damage", 0.1, 200)
  1498. col = hitfloor2.BrickColor
  1499. MagicWave(col, cf(posfloor2), 1, 3, 1, 2, 0.5, 2, 0.1)
  1500. for i = 1, 5 do
  1501. local groundpart = part(3, workspace, 0, 0, col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  1502. groundpart.Anchored = true
  1503. groundpart.Material = hitfloor2.Material
  1504. groundpart.CanCollide = true
  1505. groundpart.CFrame = cf(ref.Position) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1506. game:GetService("Debris"):AddItem(groundpart, 5)
  1507. end
  1508. end
  1509. do
  1510. game:GetService("Debris"):AddItem(ref, 1)
  1511. hitboxCF = RightArm.CFrame
  1512. hitbox.CFrame = hitboxCF
  1513. MagniDamage(hitbox, 3, 10, 10, math.random(20, 40), "Knockdown2", RootPart, 0.5, 2, math.random(20, 20), true, true)
  1514. if Rooted.Value == false then
  1515. Torso.Velocity = RootPart.CFrame.lookVector * 60
  1516. end
  1517. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57) * euler(0, 0, 0), 0.3)
  1518. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.57), 0.3)
  1519. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(0, 1.57, 0), 0.3)
  1520. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1521. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.5, 0, -1), 0.3)
  1522. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1523. RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.4) * euler(0, 1.57, 0) * euler(0.2, -1.57, 0), 0.2)
  1524. LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.4) * euler(0, -1.57, 0) * euler(-0.4, -1.57, 0), 0.2)
  1525. if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value ~= true then
  1526. do
  1527. if hitted == true then
  1528. break
  1529. end
  1530. -- DECOMPILER ERROR at PC672: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1531.  
  1532. -- DECOMPILER ERROR at PC672: LeaveBlock: unexpected jumping out IF_STMT
  1533.  
  1534. -- DECOMPILER ERROR at PC672: LeaveBlock: unexpected jumping out DO_STMT
  1535.  
  1536. -- DECOMPILER ERROR at PC672: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1537.  
  1538. -- DECOMPILER ERROR at PC672: LeaveBlock: unexpected jumping out IF_STMT
  1539.  
  1540. end
  1541. end
  1542. end
  1543. end
  1544. end
  1545. hitbox.Parent = modelzorz
  1546. hitbox.Size = vt()
  1547. hitboxweld()
  1548. hboxpos.Parent = nil
  1549. attack = false
  1550. end
  1551. end
  1552. do4 = function()
  1553. if attack == true then
  1554. return
  1555. end
  1556. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1557. return
  1558. end
  1559. if cooldownmax <= cooldowns[4] and mana.Value >= 40 and blood >= 25 then
  1560. doing4 = true
  1561. attack = true
  1562. for i = 0, 1, 0.1 do
  1563. swait()
  1564. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.2) * euler(0.2, 0, 0), 0.3)
  1565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.2), 0.45)
  1566. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 1) * euler(0, 0, 0), 0.3)
  1567. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1568. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -1.5) * euler(0, 0, 0), 0.3)
  1569. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1570. RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1.2, -0.1), 0.4)
  1571. LH.C0 = clerp(LH.C0, cf(-0.9, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1.2, 0.1), 0.4)
  1572. end
  1573. local dec = Instance.new("NumberValue", Decrease)
  1574. dec.Name = "DecreaseMvmt"
  1575. dec.Value = 0
  1576. local dec2 = Instance.new("NumberValue")
  1577. hbwld.Parent = nil
  1578. hboxpos.Parent = hitbox
  1579. hitbox.Parent = modelzorz
  1580. hitbox.Size = vt(3, 5, 3)
  1581. hitboxCF = LeftArm.CFrame
  1582. hitbox.CFrame = hitboxCF
  1583. for i = 0, 1, 0.05 do
  1584. swait()
  1585. hitboxCF = LeftArm.CFrame
  1586. hitbox.CFrame = hitboxCF
  1587. MagniDamage(hitbox, 5, 5, 10, 1, "Normal", RootPart, 0, 2, (math.random(5, 10)), nil, true, false, nil, nil, nil)
  1588. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 1.2) * euler(0.2, 0, 0), 0.4)
  1589. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.4)
  1590. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.2) * euler(0, 0, 0), 0.4)
  1591. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1592. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.2) * euler(0, -1, 0), 0.4)
  1593. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1594. RH.C0 = clerp(RH.C0, cf(0.6, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.3)
  1595. LH.C0 = clerp(LH.C0, cf(-0.6, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.3)
  1596. if HitTarget ~= nil then
  1597. break
  1598. end
  1599. end
  1600. do
  1601. hitbox.Parent = modelzorz
  1602. hitbox.Size = vt()
  1603. hitboxweld()
  1604. hboxpos.Parent = nil
  1605. print(HitTarget)
  1606. if HitTarget ~= nil then
  1607. dec.Value = 10
  1608. if HitTarget:findFirstChild("Stats") ~= nil then
  1609. dec2.Parent = HitTarget.Stats.Decrease
  1610. dec2.Name = "DecreaseMvmt"
  1611. dec2.Value = 10
  1612. end
  1613. for i = 0, 1, 0.1 do
  1614. swait()
  1615. if HitTarget ~= nil then
  1616. RootPart.CFrame = cf(RootPart.Position, HitTarget.HumanoidRootPart.Position)
  1617. end
  1618. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0), 0.4)
  1619. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.1, 0, 0), 0.4)
  1620. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1) * euler(0, 0, 0), 0.4)
  1621. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1622. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1) * euler(0, 0, 0), 0.4)
  1623. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1624. RH.C0 = clerp(RH.C0, cf(1, -0.6, -0.4) * euler(0, 1.57, 0) * euler(0, 0, 0.2), 0.3)
  1625. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.5), 0.3)
  1626. end
  1627. for i = 0, 1, 0.3 do
  1628. swait()
  1629. if HitTarget ~= nil then
  1630. RootPart.CFrame = cf(RootPart.Position, HitTarget.HumanoidRootPart.Position)
  1631. end
  1632. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0) * euler(0, 0, 0), 0.5)
  1633. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -2, 0) * euler(-1.57, 0, 0), 0.5)
  1634. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.57) * euler(0, 0, 0), 0.5)
  1635. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1636. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1.57) * euler(0, 0, 0), 0.5)
  1637. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1638. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.5)
  1639. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 1), 0.5)
  1640. end
  1641. cooldowns[4] = 0
  1642. mana.Value = mana.Value - 40
  1643. dam = (Humanoid.MaxHealth - Humanoid.Health) / 5 + blood / 3
  1644. dam2 = dam / 1.5
  1645. print(dam2)
  1646. print(dam)
  1647. Damagefunc(HitTarget.Torso, dam2, dam, 50, "Knockdown2", RootPart, 1, 2, 50, nil, true, false)
  1648. so("206082327", HitTarget.Torso, 1, 1)
  1649. so("199145534", HitTarget.Torso, 1, 0.8)
  1650. blood = 0
  1651. for i = 1, 2 do
  1652. MagicBlock(BrickColor.new("Really red"), cf(HitTarget.Torso.Position), 1, 1, 1, 5, 5, 5, 0.05, 1)
  1653. MagicRing(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.01)
  1654. end
  1655. MagicCircle(BrickColor.new("Really red"), cf(HitTarget.Torso.Position), 1, 1, 1, 2, 2, 2, 0.02)
  1656. local num = 0
  1657. local eul = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1658. for i = 1, 6 do
  1659. MagicCircle2(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * eul * euler(num, 0, 0), 3, 20, 3, -0.02, 3, -0.02, 0.02, 1)
  1660. MagicCircle2(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * eul * euler(0, 1.57, 0) * euler(num, 0, 0), 3, 20, 3, -0.02, 3, -0.02, 0.02, 1)
  1661. num = num + 1.046
  1662. end
  1663. if Rooted.Value == false then
  1664. Torso.Velocity = RootPart.CFrame.lookVector * -50 + vt(0, 1, 0) * 100
  1665. end
  1666. for i = 0, 1, 0.2 do
  1667. swait()
  1668. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0) * euler(0, 0, 0), 0.4)
  1669. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(-4, 0, 0), 0.4)
  1670. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.57) * euler(0, 0, 0), 0.4)
  1671. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1672. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1.57) * euler(0, 0, 0), 0.4)
  1673. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1674. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  1675. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 1), 0.3)
  1676. end
  1677. Stagger.Value = false
  1678. StaggerHit.Value = false
  1679. dec2.Parent = nil
  1680. dec.Parent = nil
  1681. HitTarget = nil
  1682. doing4 = false
  1683. attack = false
  1684. else
  1685. do
  1686. cooldowns[4] = 80
  1687. dec2.Parent = nil
  1688. dec.Parent = nil
  1689. HitTarget = nil
  1690. doing4 = false
  1691. attack = false
  1692. end
  1693. end
  1694. end
  1695. end
  1696. end
  1697. DecreaseStat = function(Model, Stat, Amount, Duration)
  1698. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  1699. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  1700. d = Instance.new("NumberValue", Model.Stats.Decrease)
  1701. dur = Instance.new("NumberValue", d)
  1702. dur.Name = "Duration"
  1703. dur.Value = Duration
  1704. game:GetService("Debris"):AddItem(d, 20)
  1705. if Stat == "Damage" then
  1706. d.Name = "DecreaseAtk"
  1707. else
  1708. if Stat == "Defense" then
  1709. d.Name = "DecreaseDef"
  1710. else
  1711. if Stat == "Movement" then
  1712. d.Name = "DecreaseMvmt"
  1713. end
  1714. end
  1715. end
  1716. if Model:findFirstChild("Torso") ~= nil then
  1717. display = ""
  1718. if Stat == "Damage" then
  1719. if Amount > 0 then
  1720. display = "-Damage"
  1721. else
  1722. display = "+Damage"
  1723. end
  1724. else
  1725. if Stat == "Defense" then
  1726. if Amount > 0 then
  1727. display = "-Defense"
  1728. else
  1729. display = "+Defense"
  1730. end
  1731. else
  1732. if Stat == "Movement" then
  1733. if Amount > 0 then
  1734. display = "-Movement"
  1735. else
  1736. display = "+Movement"
  1737. end
  1738. end
  1739. end
  1740. end
  1741. showDamage(Model, display, "Debuff")
  1742. end
  1743. d.Value = Amount
  1744. end
  1745. end
  1746. GetDist = function(Part1, Part2, magni)
  1747. local targ = Part1.Position - Part2.Position
  1748. local mag = targ.magnitude
  1749. if mag <= magni then
  1750. return true
  1751. else
  1752. return false
  1753. end
  1754. end
  1755. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration, Sound)
  1756. for _,c in pairs(workspace:children()) do
  1757. local hum = c:findFirstChild("Humanoid")
  1758. if hum ~= nil then
  1759. local head = nil
  1760. for _,d in pairs(c:children()) do
  1761. if d.className == "Model" and ranged ~= true then
  1762. head = d:findFirstChild("Hitbox")
  1763. if d.Parent == Character then
  1764. break
  1765. end
  1766. if head ~= nil then
  1767. local targ = head.Position - Part.Position
  1768. local mag = targ.magnitude
  1769. if mag <= magni and c.Name ~= Player.Name then
  1770. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1771. ref.Anchored = true
  1772. ref.CFrame = cf(head.Position)
  1773. game:GetService("Debris"):AddItem(ref, 1)
  1774. hitnum = math.random(1, 5)
  1775. if hitnum == 1 then
  1776. so("199148971", ref, 1, 1)
  1777. else
  1778. if hitnum == 2 then
  1779. so("199149025", ref, 1, 1)
  1780. else
  1781. if hitnum == 3 then
  1782. so("199149072", ref, 1, 1)
  1783. else
  1784. if hitnum == 4 then
  1785. so("199149109", ref, 1, 1)
  1786. else
  1787. if hitnum == 5 then
  1788. so("199149119", ref, 1, 1)
  1789. end
  1790. end
  1791. end
  1792. end
  1793. end
  1794. StaggerHit.Value = true
  1795. end
  1796. end
  1797. end
  1798. do
  1799. if d.className == "Part" then
  1800. head = d
  1801. if head ~= nil then
  1802. local targ = head.Position - Part.Position
  1803. local mag = targ.magnitude
  1804. if mag <= magni and c.Name ~= Player.Name then
  1805. if stun == nil then
  1806. stun = math.random(5, 10)
  1807. end
  1808. local Rang = nil
  1809. if Ranged == false then
  1810. Rang = true
  1811. end
  1812. local stag = nil
  1813. if shbash == true then
  1814. stag = true
  1815. end
  1816. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration, Sound)
  1817. end
  1818. end
  1819. end
  1820. do
  1821. -- DECOMPILER ERROR at PC184: LeaveBlock: unexpected jumping out DO_STMT
  1822.  
  1823. end
  1824. end
  1825. end
  1826. end
  1827. end
  1828. end
  1829. rayCast = function(Pos, Dir, Max, Ignore)
  1830. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1831. end
  1832. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  1833. LastPoint = Point
  1834. effect = function(Color, Ref, LP, P1, returnn)
  1835. if LP == nil or P1 == nil then
  1836. return
  1837. end
  1838. local effectsmsh = Instance.new("CylinderMesh")
  1839. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  1840. effectsmsh.Name = "Mesh"
  1841. local effectsg = Instance.new("Part")
  1842. NoOutline(effectsg)
  1843. effectsg.formFactor = 3
  1844. effectsg.CanCollide = false
  1845. effectsg.Name = "Eff"
  1846. effectsg.Locked = true
  1847. effectsg.Anchored = true
  1848. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  1849. effectsg.Parent = workspace
  1850. effectsmsh.Parent = effectsg
  1851. effectsg.BrickColor = BrickColor.new(Color)
  1852. effectsg.Reflectance = Ref
  1853. local point1 = P1
  1854. local mg = LP.p - point1.p.magnitude
  1855. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  1856. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  1857. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  1858. game:GetService("Debris"):AddItem(effectsg, 2)
  1859. if returnn then
  1860. return effectsg
  1861. end
  1862. if not returnn then
  1863. table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  1864. end
  1865. end
  1866. local CFrameFromTopBack = function(at, top, back)
  1867. local right = top:Cross(back)
  1868. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1869. end
  1870. Triangle = function(a, b, c)
  1871. local edg1 = c - a:Dot(b - a.unit)
  1872. local edg2 = a - b:Dot(c - b.unit)
  1873. local edg3 = b - c:Dot(a - c.unit)
  1874. if edg1 <= b - a.magnitude and edg1 >= 0 then
  1875. a = a
  1876. else
  1877. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1878.  
  1879. if edg2 <= c - b.magnitude and edg2 >= 0 then
  1880. a = b
  1881. else
  1882. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1883.  
  1884. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1885.  
  1886. if edg3 <= a - c.magnitude and edg3 >= 0 then
  1887. a = c
  1888. else
  1889. assert(false, "unreachable")
  1890. end
  1891. end
  1892. end
  1893. local len1 = c - a:Dot(b - a.unit)
  1894. local len2 = b - a.magnitude - len1
  1895. local width = a + b - a.unit * len1 - c.magnitude
  1896. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1897. local list = {}
  1898. if len1 > 0.01 then
  1899. local w1 = Instance.new("WedgePart", m)
  1900. game:GetService("Debris"):AddItem(w1, 5)
  1901. w1.Material = "SmoothPlastic"
  1902. w1.FormFactor = "Custom"
  1903. w1.BrickColor = BrickColor.new("Medium blue")
  1904. w1.Transparency = 0
  1905. w1.Reflectance = 0
  1906. w1.Material = "SmoothPlastic"
  1907. w1.CanCollide = false
  1908. NoOutline(w1)
  1909. local sz = Vector3.new(0.2, width, len1)
  1910. w1.Size = sz
  1911. local sp = Instance.new("SpecialMesh", w1)
  1912. sp.MeshType = "Wedge"
  1913. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1914. w1:BreakJoints()
  1915. w1.Anchored = true
  1916. w1.Parent = workspace
  1917. w1.Transparency = 0.7
  1918. table.insert(Effects, {w1, "Disappear", 0.05})
  1919. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1920. table.insert(list, w1)
  1921. end
  1922. do
  1923. if len2 > 0.01 then
  1924. local w2 = Instance.new("WedgePart", m)
  1925. game:GetService("Debris"):AddItem(w2, 5)
  1926. w2.Material = "SmoothPlastic"
  1927. w2.FormFactor = "Custom"
  1928. w2.BrickColor = BrickColor.new("Medium blue")
  1929. w2.Transparency = 0
  1930. w2.Reflectance = 0
  1931. w2.Material = "SmoothPlastic"
  1932. w2.CanCollide = false
  1933. NoOutline(w2)
  1934. local sz = Vector3.new(0.2, width, len2)
  1935. w2.Size = sz
  1936. local sp = Instance.new("SpecialMesh", w2)
  1937. sp.MeshType = "Wedge"
  1938. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1939. w2:BreakJoints()
  1940. w2.Anchored = true
  1941. w2.Parent = workspace
  1942. w2.Transparency = 0.7
  1943. table.insert(Effects, {w2, "Disappear", 0.05})
  1944. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1945. table.insert(list, w2)
  1946. end
  1947. do
  1948. return unpack(list)
  1949. end
  1950. end
  1951. end
  1952. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1953. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1954. prt.Anchored = true
  1955. prt.CFrame = cframe
  1956. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1957. game:GetService("Debris"):AddItem(prt, 10)
  1958. if Type == 1 or Type == nil then
  1959. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1960. else
  1961. if Type == 2 then
  1962. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1963. end
  1964. end
  1965. end
  1966. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1967. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1968. prt.Anchored = true
  1969. prt.CFrame = cframe
  1970. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1971. game:GetService("Debris"):AddItem(prt, 10)
  1972. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1973. end
  1974. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  1975. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1976. prt.Anchored = true
  1977. prt.CFrame = cframe
  1978. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1979. game:GetService("Debris"):AddItem(prt, 10)
  1980. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  1981. end
  1982. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1983. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1984. prt.Anchored = true
  1985. prt.CFrame = cframe * cf(x2, y2, z2)
  1986. local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1987. game:GetService("Debris"):AddItem(prt, 10)
  1988. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1989. end
  1990. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1991. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1992. prt.Anchored = true
  1993. prt.CFrame = cframe
  1994. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1995. game:GetService("Debris"):AddItem(prt, 10)
  1996. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1997. end
  1998. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  1999. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  2000. prt.Anchored = true
  2001. prt.CFrame = cframe
  2002. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2003. game:GetService("Debris"):AddItem(prt, 10)
  2004. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2005. end
  2006. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2007. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2008. prt.Anchored = true
  2009. prt.CFrame = cframe
  2010. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2011. game:GetService("Debris"):AddItem(prt, 10)
  2012. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2013. end
  2014. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2015. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  2016. prt.Anchored = true
  2017. prt.CFrame = cframe
  2018. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  2019. game:GetService("Debris"):AddItem(prt, 10)
  2020. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2021. end
  2022. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2023. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2024. prt.Anchored = true
  2025. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2026. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2027. local num = math.random(10, 50) / 1000
  2028. game:GetService("Debris"):AddItem(prt, 10)
  2029. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2030. end
  2031. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration, Sound)
  2032. if hit.Parent == nil then
  2033. return
  2034. end
  2035. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  2036. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2037. ref.Anchored = true
  2038. ref.CFrame = cf(hit.Position)
  2039. game:GetService("Debris"):AddItem(ref, 1)
  2040. hitnum = math.random(1, 5)
  2041. if hitnum == 1 then
  2042. so("199148971", ref, 1, 1)
  2043. else
  2044. if hitnum == 2 then
  2045. so("199149025", ref, 1, 1)
  2046. else
  2047. if hitnum == 3 then
  2048. so("199149072", ref, 1, 1)
  2049. else
  2050. if hitnum == 4 then
  2051. so("199149109", ref, 1, 1)
  2052. else
  2053. if hitnum == 5 then
  2054. so("199149119", ref, 1, 1)
  2055. end
  2056. end
  2057. end
  2058. end
  2059. end
  2060. StaggerHit.Value = true
  2061. end
  2062. h = hit.Parent:FindFirstChild("Humanoid")
  2063. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2064. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2065. return
  2066. end
  2067. if Player.Neutral == false then
  2068. if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
  2069. return
  2070. end
  2071. if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  2072. return
  2073. end
  2074. end
  2075. if doing2 == true and BoundTarget == nil then
  2076. so("200632875", hit, 1, 1)
  2077. cooldownsadd[2] = 0.1
  2078. BoundTarget = hit.Parent
  2079. table.insert(Effects, {BoundTarget, "BloodBind", 0, BoundTarget.Torso, cf(0, 0, 0)})
  2080. local num = 0
  2081. local eul = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2082. for i = 1, 6 do
  2083. MagicCircle2(BrickColor.new(NewCol), cf(hit.Position) * eul * euler(num, 0, 0), 1, 10, 1, -0.02, 0.3, -0.02, 0.05, 0.6)
  2084. MagicCircle2(BrickColor.new(NewCol), cf(hit.Position) * eul * euler(0, 1.57, 0) * euler(num, 0, 0), 1, 10, 1, -0.02, 0.3, -0.02, 0.05, 0.6)
  2085. num = num + 1.046
  2086. end
  2087. move2 = "(X)\nAssault"
  2088. end
  2089. do
  2090. if doing4 == true and HitTarget == nil then
  2091. HitTarget = hit.Parent
  2092. MagicBlock(BrickColor.new(NewCol), cf(HitTarget.Torso.Position), 1, 1, 1, 3, 3, 3, 0.1, 1)
  2093. end
  2094. if Sound == "Impact" then
  2095. so("200632875", hit, 1, 1)
  2096. end
  2097. hitted = true
  2098. if Sound == "Shatter" then
  2099. so("199146069", hit, 1, 1)
  2100. end
  2101. c = Instance.new("ObjectValue")
  2102. c.Name = "creator"
  2103. c.Value = game:service("Players").LocalPlayer
  2104. c.Parent = h
  2105. RecentEnemy.Value = hit.Parent
  2106. game:GetService("Debris"):AddItem(c, 0.5)
  2107. minim = minim * Atk.Value
  2108. maxim = maxim * Atk.Value
  2109. Damage = 0
  2110. if minim == maxim then
  2111. Damage = maxim
  2112. else
  2113. Damage = math.random(minim, maxim)
  2114. end
  2115. blocked = false
  2116. enblock = nil
  2117. Stats = hit.Parent:findFirstChild("Stats")
  2118. if Stats ~= nil then
  2119. invis = Stats:findFirstChild("Invisibility")
  2120. isinvis = Stats:findFirstChild("IsInvisible")
  2121. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  2122. invis.Value = 0
  2123. end
  2124. enblock = Stats:findFirstChild("Block")
  2125. if enblock ~= nil and enblock.Value == true then
  2126. blocked = true
  2127. end
  2128. if Stats:findFirstChild("Defense") ~= nil then
  2129. Damage = Damage / Stats.Defense.Value
  2130. if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  2131. hitnum = math.random(1, 5)
  2132. if hitnum == 1 then
  2133. so("199149321", hit, 1, 1)
  2134. else
  2135. if hitnum == 2 then
  2136. so("199149338", hit, 1, 1)
  2137. else
  2138. if hitnum == 3 then
  2139. so("199149367", hit, 1, 1)
  2140. else
  2141. if hitnum == 4 then
  2142. so("199149409", hit, 1, 1)
  2143. else
  2144. if hitnum == 5 then
  2145. so("199149452", hit, 1, 1)
  2146. end
  2147. end
  2148. end
  2149. end
  2150. end
  2151. else
  2152. if ranged == false or ranged == nil and blocked ~= true then
  2153. hitnum = math.random(1, 6)
  2154. if hitnum == 1 then
  2155. so("199149137", hit, 1, 1)
  2156. else
  2157. if hitnum == 2 then
  2158. so("199149186", hit, 1, 1)
  2159. else
  2160. if hitnum == 3 then
  2161. so("199149221", hit, 1, 1)
  2162. else
  2163. if hitnum == 4 then
  2164. so("199149235", hit, 1, 1)
  2165. else
  2166. if hitnum == 5 then
  2167. so("199149269", hit, 1, 1)
  2168. else
  2169. if hitnum == 6 then
  2170. so("199149297", hit, 1, 1)
  2171. end
  2172. end
  2173. end
  2174. end
  2175. end
  2176. end
  2177. end
  2178. end
  2179. if Damage <= 3 and staghit == true then
  2180. StaggerHit.Value = true
  2181. end
  2182. end
  2183. blood = blood + Damage * 0.3
  2184. if Stats:findFirstChild("Stun") ~= nil then
  2185. if blocked == true then
  2186. incstun = incstun / 2
  2187. end
  2188. if Stats.Stun.Value < Stats.StunThreshold.Value then
  2189. Stats.Stun.Value = Stats.Stun.Value + incstun
  2190. end
  2191. end
  2192. if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
  2193. Stats.Stagger.Value = true
  2194. end
  2195. end
  2196. if blocked == true then
  2197. showDamage(hit.Parent, "Block", "Damage")
  2198. if ranged ~= true then
  2199. enblock.Value = false
  2200. Stagger.Value = true
  2201. hitnum = math.random(1, 2)
  2202. if hitnum == 1 then
  2203. so("199148933", hit, 1, 1)
  2204. else
  2205. if hitnum == 2 then
  2206. so("199148947", hit, 1, 1)
  2207. end
  2208. end
  2209. end
  2210. else
  2211. Damage = math.floor(Damage)
  2212. coroutine.resume(coroutine.create(function(Hum, Dam)
  2213. CurrentHealth = Hum.Health
  2214. h:TakeDamage(Damage)
  2215. end), h, Damage)
  2216. showDamage(hit.Parent, Damage, "Damage")
  2217. if DecreaseState ~= nil then
  2218. if DecreaseState == "Shatter" then
  2219. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  2220. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  2221. else
  2222. DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  2223. end
  2224. end
  2225. if Type == "Knockdown" then
  2226. hum = hit.Parent.Humanoid
  2227. hum.PlatformStand = true
  2228. coroutine.resume(coroutine.create(function(HHumanoid)
  2229. swait(1)
  2230. HHumanoid.PlatformStand = false
  2231. end), hum)
  2232. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2233. local bodvol = Instance.new("BodyVelocity")
  2234. bodvol.velocity = angle * knockback
  2235. bodvol.P = 5000
  2236. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  2237. bodvol.Parent = hit
  2238. rl = Instance.new("BodyAngularVelocity")
  2239. rl.P = 3000
  2240. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  2241. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2242. rl.Parent = hit
  2243. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2244. game:GetService("Debris"):AddItem(rl, 0.5)
  2245. else
  2246. do
  2247. if Type == "Shatter" then
  2248. for i = 1, 10 do
  2249. BreakEffect(BrickColor.new("Cyan"), hit.CFrame, math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  2250. end
  2251. else
  2252. do
  2253. if Type == "Knockdown2" then
  2254. hum = hit.Parent.Humanoid
  2255. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2256. local bodvol = Instance.new("BodyVelocity")
  2257. bodvol.velocity = angle * knockback
  2258. bodvol.P = 5000
  2259. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  2260. bodvol.Parent = hit
  2261. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2262. else
  2263. do
  2264. if Type == "Normal" then
  2265. vp = Instance.new("BodyVelocity")
  2266. vp.P = 500
  2267. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2268. if KnockbackType == 1 then
  2269. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2270. else
  2271. if KnockbackType == 2 then
  2272. vp.velocity = Property.CFrame.lookVector * knockback
  2273. end
  2274. end
  2275. game:GetService("Debris"):AddItem(vp, 0.5)
  2276. if knockback > 0 then
  2277. vp.Parent = hit.Parent.Torso
  2278. end
  2279. end
  2280. debounce = Instance.new("BoolValue")
  2281. debounce.Name = "DebounceHit"
  2282. debounce.Parent = hit.Parent
  2283. debounce.Value = true
  2284. game:GetService("Debris"):AddItem(debounce, Delay)
  2285. c = Instance.new("ObjectValue")
  2286. c.Name = "creator"
  2287. c.Value = Player
  2288. c.Parent = h
  2289. game:GetService("Debris"):AddItem(c, 0.5)
  2290. CRIT = false
  2291. end
  2292. end
  2293. end
  2294. end
  2295. end
  2296. end
  2297. end
  2298. end
  2299. end
  2300. end
  2301. showDamage = function(Char, Dealt, Type)
  2302. m = Instance.new("Model")
  2303. m.Name = "Effect"
  2304. c = Instance.new("Part")
  2305. c.Transparency = 1
  2306. c.Name = "Head"
  2307. c.TopSurface = 0
  2308. c.BottomSurface = 0
  2309. c.formFactor = "Plate"
  2310. c.Size = Vector3.new(1, 0.4, 1)
  2311. b = Instance.new("BillboardGui", c)
  2312. b.Size = UDim2.new(5, 0, 5, 0)
  2313. b.AlwaysOnTop = true
  2314. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  2315. if Type == "Damage" then
  2316. damgui.Font = "SourceSans"
  2317. if Dealt == "Block" then
  2318. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  2319. else
  2320. if Dealt < 3 then
  2321. damgui.TextColor3 = BrickColor.new("White").Color
  2322. else
  2323. if Dealt >= 3 and Dealt < 20 then
  2324. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  2325. else
  2326. damgui.TextColor3 = BrickColor.new("Really red").Color
  2327. damgui.Font = "SourceSansBold"
  2328. end
  2329. end
  2330. end
  2331. else
  2332. if Type == "Debuff" then
  2333. damgui.TextColor3 = BrickColor.new("White").Color
  2334. else
  2335. if Type == "Interrupt" then
  2336. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  2337. else
  2338. if Type == "Heal" then
  2339. damgui.TextColor3 = BrickColor.new("Bright green").Color
  2340. end
  2341. end
  2342. end
  2343. end
  2344. damgui.TextScaled = true
  2345. ms = Instance.new("CylinderMesh")
  2346. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  2347. ms.Parent = c
  2348. c.Reflectance = 0
  2349. Instance.new("BodyGyro").Parent = c
  2350. c.Parent = m
  2351. if Char:findFirstChild("Head") ~= nil then
  2352. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2353. else
  2354. if Char.Parent:findFirstChild("Head") ~= nil then
  2355. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2356. end
  2357. end
  2358. f = Instance.new("BodyPosition")
  2359. f.P = 2000
  2360. f.D = 100
  2361. f.maxForce = Vector3.new(545000, 545000, 545000)
  2362. if Type == "Damage" or Type == "Heal" then
  2363. f.position = c.Position + Vector3.new(0, 3, 0)
  2364. else
  2365. if Type == "Debuff" or Type == "Interrupt" then
  2366. f.position = c.Position + Vector3.new(0, 5, 0)
  2367. end
  2368. end
  2369. f.Parent = c
  2370. game:GetService("Debris"):AddItem(m, 5)
  2371. table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  2372. c.CanCollide = false
  2373. m.Parent = workspace
  2374. c.CanCollide = false
  2375. end
  2376. combo = 0
  2377. ob1d = function(mouse)
  2378. if attack == true or equipped == false then
  2379. return
  2380. end
  2381. hold = true
  2382. if combo == 0 then
  2383. combo = 1
  2384. attackone()
  2385. else
  2386. if combo == 1 then
  2387. combo = 2
  2388. attacktwo()
  2389. else
  2390. if combo == 2 then
  2391. combo = 3
  2392. attackthree()
  2393. else
  2394. if combo == 3 then
  2395. combo = 0
  2396. attackfour()
  2397. end
  2398. end
  2399. end
  2400. end
  2401. coroutine.resume(coroutine.create(function()
  2402. for i = 1, 50 do
  2403. if attack == false then
  2404. swait()
  2405. end
  2406. end
  2407. if attack == false then
  2408. combo = 0
  2409. end
  2410. end))
  2411. end
  2412. ob1u = function(mouse)
  2413. hold = false
  2414. end
  2415. buttonhold = false
  2416. fenbarmove1.MouseButton1Click:connect(do1)
  2417. fenbarmove2.MouseButton1Click:connect(do2)
  2418. fenbarmove3.MouseButton1Click:connect(do3)
  2419. fenbarmove4.MouseButton1Click:connect(do4)
  2420. eul = 0
  2421. equipped = false
  2422. key = function(key)
  2423. if attack == true then
  2424. return
  2425. end
  2426. if key == "f" then
  2427. pressedf = true
  2428. fnumb = 0
  2429. attack = true
  2430. if equipped == false then
  2431. equipped = true
  2432. RSH = ch.Torso["Right Shoulder"]
  2433. LSH = ch.Torso["Left Shoulder"]
  2434. RSH.Parent = nil
  2435. LSH.Parent = nil
  2436. RW.Name = "Right Shoulder"
  2437. RW.Part0 = ch.Torso
  2438. RW.C0 = cf(1.5, 0.5, 0)
  2439. RW.C1 = cf(0, 0.5, 0)
  2440. RW.Part1 = ch["Right Arm"]
  2441. RW.Parent = ch.Torso
  2442. LW.Name = "Left Shoulder"
  2443. LW.Part0 = ch.Torso
  2444. LW.C0 = cf(-1.5, 0.5, 0)
  2445. LW.C1 = cf(0, 0.5, 0)
  2446. LW.Part1 = ch["Left Arm"]
  2447. LW.Parent = ch.Torso
  2448. Animate.Parent = nil
  2449. equipanim()
  2450. else
  2451. equipped = false
  2452. hideanim()
  2453. LH.C1 = LHC1
  2454. RH.C1 = RHC1
  2455. Animate.Parent = Humanoid
  2456. swait(0)
  2457. RW.Parent = nil
  2458. LW.Parent = nil
  2459. RSH.Parent = player.Character.Torso
  2460. LSH.Parent = player.Character.Torso
  2461. end
  2462. attack = false
  2463. end
  2464. if equipped == false then
  2465. return
  2466. end
  2467. if key == "e" then
  2468. Transposition()
  2469. end
  2470. if key == "z" then
  2471. do1()
  2472. end
  2473. if key == "x" then
  2474. do2()
  2475. end
  2476. if key == "c" then
  2477. do3()
  2478. end
  2479. if key == "v" then
  2480. do4()
  2481. end
  2482. end
  2483. key2 = function(key)
  2484. end
  2485. s = function(mouse)
  2486. mouse.Button1Down:connect(function()
  2487. ob1d(mouse)
  2488. end)
  2489. mouse.Button1Up:connect(function()
  2490. ob1u(mouse)
  2491. end)
  2492. mouse.KeyDown:connect(key)
  2493. mouse.KeyUp:connect(key2)
  2494. player = Player
  2495. ch = Character
  2496. MMouse = mouse
  2497. end
  2498. ds = function(mouse)
  2499. end
  2500. Bin.Selected:connect(s)
  2501. Bin.Deselected:connect(ds)
  2502. print("Ichor loaded.")
  2503. local mananum = 0
  2504. local blocknum2 = 0
  2505. local donum = 0
  2506. local stunnum = 0
  2507. local staggeranim = false
  2508. local stunanim = false
  2509. local Point, LastPoint = nil, nil
  2510. local oldhealth = Humanoid.Health
  2511. local walk = 0
  2512. local walkforw = true
  2513. while 1 do
  2514. swait()
  2515. if Humanoid.Health <= 0 then
  2516. attack = true
  2517. resumeControl()
  2518. modelzorz.Parent = workspace
  2519. game:GetService("Debris"):AddItem(modelzorz, 30)
  2520. for i = 1, #Weapon do
  2521. Weapon[i].Parent = modelzorz
  2522. Weapon[i].CanCollide = true
  2523. end
  2524. for i = 1, #Welds do
  2525. if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  2526. Welds[i].Parent = nil
  2527. else
  2528. Welds[i].Parent = rprt1
  2529. end
  2530. end
  2531. end
  2532. do
  2533. col = Player.TeamColor
  2534. for _,c in pairs(game.Teams:children()) do
  2535. if c.TeamColor == col and c.Name == "Juggernaut" then
  2536. isjugg = true
  2537. end
  2538. end
  2539. if fnumb < 21 then
  2540. fnumb = fnumb + 1
  2541. if pressedf == false then
  2542. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  2543. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  2544. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  2545. else
  2546. if fnumb == 20 then
  2547. fenframe5.Parent = nil
  2548. print("daigui")
  2549. end
  2550. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  2551. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  2552. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  2553. end
  2554. end
  2555. if hbwld.Parent == nil then
  2556. hitbox2.Name = "Hitbox"
  2557. else
  2558. hitbox2.Name = "Hitbox2"
  2559. end
  2560. hitbox2.Parent = hitbox.Parent
  2561. hitbox2.Size = hitbox.Size
  2562. hitbox2.CFrame = hitboxCF
  2563. hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  2564. if Humanoid.Health < oldhealth then
  2565. damage = oldhealth - Humanoid.Health
  2566. blood = blood + damage * 0.8
  2567. end
  2568. if 100 <= blood then
  2569. blood = 100
  2570. end
  2571. oldhealth = Humanoid.Health
  2572. passive1.Value = -0.1 * math.sin(math.pi * blood / 100 / 2)
  2573. passive2.Value = -0.6 * math.sin(math.pi * blood / 100 / 2)
  2574. passive3.Value = 0.3 * math.sin(math.pi * blood / 100 / 2)
  2575. if 0 < #BloodAllies then
  2576. for e = 1, #BloodAllies do
  2577. local Thing2 = BloodAllies[e]
  2578. if Thing2 == nil then
  2579. table.remove(BloodAllies, e)
  2580. else
  2581. local Tors = (Thing2[1]:findFirstChild("Torso"))
  2582. if Tors == nil then
  2583. table.remove(BloodAllies, e)
  2584. end
  2585. if Thing2[1].Humanoid.Health < Thing2[2] then
  2586. print("TAKEN DAMAGE")
  2587. refd = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2588. refd.Anchored = true
  2589. refd.CFrame = cf(RootPart.Position)
  2590. game:GetService("Debris"):AddItem(refd, 10)
  2591. refd.CFrame = cf(RootPart.Position, Thing2[1].Torso.Position)
  2592. table.insert(Effects, {Thing2[1], "Transposition", 50, refd})
  2593. table.remove(BloodAllies, e)
  2594. else
  2595. Thing2[2] = Thing2[1].Humanoid.Health
  2596. end
  2597. end
  2598. end
  2599. end
  2600. do
  2601. if Stagger.Value == true and staggeranim == false then
  2602. coroutine.resume(coroutine.create(function()
  2603. staggeranim = true
  2604. while attack == true do
  2605. swait()
  2606. end
  2607. StaggerAnim()
  2608. StaggerHit.Value = false
  2609. Stagger.Value = false
  2610. staggeranim = false
  2611. end))
  2612. end
  2613. if StaggerHit.Value == true and staggeranim == false then
  2614. coroutine.resume(coroutine.create(function()
  2615. staggeranim = true
  2616. while attack == true do
  2617. swait()
  2618. end
  2619. StaggerHitt()
  2620. StaggerHit.Value = false
  2621. Stagger.Value = false
  2622. staggeranim = false
  2623. end))
  2624. end
  2625. if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  2626. Humanoid.WalkSpeed = 0
  2627. else
  2628. Humanoid.WalkSpeed = 16 * Mvmt.Value
  2629. end
  2630. if StunT.Value <= Stun.Value and stunanim == false then
  2631. coroutine.resume(coroutine.create(function()
  2632. stunanim = true
  2633. while attack == true do
  2634. swait()
  2635. end
  2636. StunAnim()
  2637. Stun.Value = 0
  2638. stunanim = false
  2639. end))
  2640. end
  2641. local stunnum2 = 20
  2642. if stunnum2 <= stunnum then
  2643. if 0 < Stun.Value then
  2644. Stun.Value = Stun.Value - 1
  2645. end
  2646. stunnum = 0
  2647. end
  2648. stunnum = stunnum + 1
  2649. if 0.5 <= donum then
  2650. handidle = true
  2651. else
  2652. if donum <= 0 then
  2653. handidle = false
  2654. end
  2655. end
  2656. if handidle == false then
  2657. donum = donum + 0.006
  2658. else
  2659. donum = donum - 0.006
  2660. end
  2661. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2662. local velderp = RootPart.Velocity.y
  2663. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2664. if equipped == true then
  2665. if attack == false then
  2666. idle = idle + 1
  2667. else
  2668. idle = 0
  2669. end
  2670. if (500 <= idle and attack ~= false) or Anim == "Walk" then
  2671. if walkforw == true then
  2672. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2673. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2674. else
  2675. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2676. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2677. end
  2678. else
  2679. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  2680. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  2681. end
  2682. if 1 < RootPart.Velocity.y and hitfloor == nil then
  2683. Anim = "Jump"
  2684. if attack == false then
  2685. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  2686. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2687. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.3)
  2688. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.2), 0.2)
  2689. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2690. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.2), 0.2)
  2691. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2692. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2693. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2694. end
  2695. else
  2696. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2697. Anim = "Fall"
  2698. if attack == false then
  2699. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  2700. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2701. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, 0), 0.3)
  2702. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 1), 0.2)
  2703. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2704. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -1), 0.2)
  2705. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2706. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2707. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2708. end
  2709. else
  2710. if torvel < 1 and hitfloor ~= nil then
  2711. Anim = "Idle"
  2712. if attack == false then
  2713. Neck.C0 = clerp(Neck.C0, necko * euler(-0.1, 0, 0) * euler(0, 0, -0.2), 0.3)
  2714. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.2, 0, 0) * euler(0, 0, 0.2), 0.3)
  2715. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.7 - (donum) / 5, 0, 0.2 + (donum) / 5) * euler(0, 1.57, 0), 0.3)
  2716. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2717. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5 - (donum) / 5, 0, 0.1 - (donum) / 5) * euler(0, -1.57, 0), 0.3)
  2718. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2719. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.2) * euler(0, 0, 0), 0.2)
  2720. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.1), 0.2)
  2721. end
  2722. else
  2723. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  2724. Anim = "Walk"
  2725. walk = walk + 1
  2726. if 15 - 5 * Mvmt.Value <= walk then
  2727. walk = 0
  2728. if walkforw == true then
  2729. walkforw = false
  2730. else
  2731. if walkforw == false then
  2732. walkforw = true
  2733. end
  2734. end
  2735. end
  2736. if attack == false then
  2737. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.3)
  2738. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, 0), 0.3)
  2739. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.2), 0.3)
  2740. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2741. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.3), 0.3)
  2742. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2743. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.2)
  2744. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.2)
  2745. end
  2746. else
  2747. if 30 <= torvel and hitfloor ~= nil then
  2748. Anim = "Run"
  2749. if attack == false then
  2750. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.2), 0.4)
  2751. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.2), 0.4)
  2752. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.2), 0.4)
  2753. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2754. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  2755. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2756. RH.C0 = clerp(RH.C0, RHC0 * cf(1, 1, 0.2) * euler(0, -0.2, -0.5), 0.4)
  2757. LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.2, 0, -0.5), 0.4)
  2758. end
  2759. end
  2760. end
  2761. end
  2762. end
  2763. end
  2764. end
  2765. if 0 < #Effects then
  2766. for e = 1, #Effects do
  2767. if Effects[e] ~= nil then
  2768. local Thing = Effects[e]
  2769. if Thing ~= nil then
  2770. local Part = Thing[1]
  2771. local Mode = Thing[2]
  2772. local Delay = Thing[3]
  2773. local IncX = Thing[4]
  2774. local IncY = Thing[5]
  2775. local IncZ = Thing[6]
  2776. if Thing[2] == "CylinderClang" then
  2777. if Thing[3] <= 1 then
  2778. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2779. Thing[7] = Thing[1].CFrame
  2780. effect("New Yeller", 0, Thing[8], Thing[7])
  2781. Thing[8] = Thing[7]
  2782. Thing[3] = Thing[3] + Thing[4]
  2783. else
  2784. Part.Parent = nil
  2785. table.remove(Effects, e)
  2786. end
  2787. end
  2788. if Thing[2] == "showDamage" then
  2789. if Thing[6] < Thing[5] then
  2790. Thing[6] = Thing[6] + 1
  2791. else
  2792. if Thing[6] < Thing[7] then
  2793. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  2794. Thing[6] = Thing[6] + 1
  2795. else
  2796. if Thing[6] < Thing[8] then
  2797. Thing[6] = Thing[6] + 1
  2798. else
  2799. if Thing[6] < Thing[9] then
  2800. Thing[6] = Thing[6] + 1
  2801. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  2802. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2803. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2804. else
  2805. Thing[1].Parent = nil
  2806. table.remove(Effects, e)
  2807. end
  2808. end
  2809. end
  2810. end
  2811. end
  2812. if Thing[2] == "Transposition" then
  2813. if 0 < Thing[3] or hitfloor == nil then
  2814. Thing[3] = Thing[3] - 1
  2815. Thing[4].CFrame = cf(Thing[1].Torso.Position, RootPart.Position)
  2816. local mag = RootPart.Position - Thing[1].Torso.Position.magnitude
  2817. MagicCircle2(BrickColor.new(NewCol), Thing[4].CFrame * euler(1.57, 0, 0) * cf(math.random(-400, 400) / 100, 0, math.random(-400, 400) / 100), 2, 10, 2, -0.1, mag / 20, -0.1, 0.05, -mag / 15)
  2818. else
  2819. do
  2820. CF1 = cf(Thing[1].Torso.Position) * cf(0, 3, 0)
  2821. CF2 = cf(RootPart.Position) * cf(0, 3, 0)
  2822. cantele = true
  2823. if Rooted.Value == true then
  2824. cantele = false
  2825. end
  2826. if (Thing[1]:findFirstChild("Stats")) ~= nil and (Thing[1].Stats:findFirstChild("Rooted")) ~= nil and Thing[1].Stats.Rooted.Value == true then
  2827. cantele = false
  2828. end
  2829. if cantele == true then
  2830. RootPart.CFrame = CF1
  2831. Thing[1].Torso.CFrame = CF2
  2832. RootPart.Velocity = vt(0, 0, 0)
  2833. Thing[1].Torso.Velocity = vt(0, 0, 0)
  2834. so("206082368", RootPart, 1, 1)
  2835. so("206082368", Thing[1].Torso, 1, 1)
  2836. MagicSpecial(BrickColor.new(NewCol), CF1, 3, 3, 3, 1, 1, 1, 0.05)
  2837. MagicSpecial(BrickColor.new(NewCol), CF2, 3, 3, 3, 1, 1, 1, 0.05)
  2838. local num = 0
  2839. local eul = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2840. for i = 1, 6 do
  2841. MagicCircle2(BrickColor.new(NewCol), CF1 * eul * euler(num, 0, 0), 3, 20, 3, -0.02, 0.5, -0.02, 0.02, 0.6)
  2842. MagicCircle2(BrickColor.new(NewCol), CF1 * eul * euler(0, 1.57, 0) * euler(num, 0, 0), 3, 20, 3, -0.02, 0.5, -0.02, 0.02, 0.6)
  2843. num = num + 1.046
  2844. end
  2845. end
  2846. do
  2847. table.remove(Effects, e)
  2848. if Thing[2] == "BloodBind" then
  2849. if Thing[4].Parent == nil or Thing[4] == nil or Thing[4].Parent.Parent == nil then
  2850. table.remove(Effects, e)
  2851. BoundTarget = nil
  2852. move2 = "(X)\nBlood Bind"
  2853. else
  2854. Thing[5] = Thing[5] * euler(0, 0.2, 0)
  2855. if 5 <= Thing[3] then
  2856. Thing[3] = 0
  2857. for i = 1.57, 6.28 do
  2858. MagicBlock(BrickColor.new(NewCol), cf(Thing[4].Position) * Thing[5] * euler(0, i, 0) * cf(0, 0, 5), 1, 1, 1, 1, 1, 1, 0.1, 1)
  2859. end
  2860. end
  2861. do
  2862. do
  2863. Thing[3] = Thing[3] + 1
  2864. if cooldownmax / 2 < cooldowns[2] then
  2865. table.remove(Effects, e)
  2866. cooldownsadd[2] = 0.2
  2867. BoundTarget = nil
  2868. move2 = "(X)\nBlood Bind"
  2869. end
  2870. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Transposition" and Thing[2] ~= "BloodBind" then
  2871. if Thing[1].Transparency <= 1 then
  2872. if Thing[2] == "Block1" then
  2873. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2874. Mesh = Thing[7]
  2875. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2876. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2877. else
  2878. if Thing[2] == "Ice" then
  2879. if Thing[6] <= Thing[5] then
  2880. Thing[6] = Thing[6] + 0.3
  2881. Thing[1].CFrame = Thing[1].CFrame * cf(0, 1, 0)
  2882. else
  2883. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2884. end
  2885. else
  2886. if Thing[2] == "Shatter" then
  2887. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2888. Thing[4] = Thing[4] * cf(0, Thing[7], 0)
  2889. Thing[1].CFrame = Thing[4] * euler(Thing[6], 0, 0)
  2890. Thing[6] = Thing[6] + Thing[5]
  2891. else
  2892. if Thing[2] == "Block2" then
  2893. Thing[1].CFrame = Thing[1].CFrame
  2894. Mesh = Thing[7]
  2895. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2896. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2897. else
  2898. if Thing[2] == "Cylinder" then
  2899. Mesh = Thing[7]
  2900. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2901. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2902. else
  2903. if Thing[2] == "Blood" then
  2904. Mesh = Thing[7]
  2905. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  2906. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2907. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2908. else
  2909. if Thing[2] == "Elec" then
  2910. Mesh = Thing[7]
  2911. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2912. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2913. else
  2914. if Thing[2] == "Disappear" then
  2915. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2916. end
  2917. end
  2918. end
  2919. end
  2920. end
  2921. end
  2922. end
  2923. end
  2924. else
  2925. Part.Parent = nil
  2926. table.remove(Effects, e)
  2927. end
  2928. end
  2929. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out DO_STMT
  2930.  
  2931. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2932.  
  2933. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2934.  
  2935. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2936.  
  2937. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2938.  
  2939. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out DO_STMT
  2940.  
  2941. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out DO_STMT
  2942.  
  2943. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2944.  
  2945. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2946.  
  2947. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2948.  
  2949. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2950.  
  2951. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2952.  
  2953. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2954.  
  2955. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2956.  
  2957. -- DECOMPILER ERROR at PC4943: LeaveBlock: unexpected jumping out IF_STMT
  2958.  
  2959. end
  2960. end
  2961. end
  2962. end
  2963. end
  2964. end
  2965. end
  2966. end
  2967. end
  2968. end
  2969. end
  2970. end
  2971. fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  2972. fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  2973. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  2974. fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  2975. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  2976. fenbarblock2:TweenSize((UDim2.new(0.4, 0, -4 * blood / 100, 0)), nil, 1, 0.4, true)
  2977. fenbarblock3.Text = "Blood(" .. math.floor(blood) .. ")"
  2978. fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2979. fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2980. fenbarmove2.Text = move2
  2981. fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2982. fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2983. for _,c in pairs(Decrease:children()) do
  2984. if (c:findFirstChild("Duration")) ~= nil then
  2985. c.Duration.Value = c.Duration.Value - 1
  2986. if c.Duration.Value <= 0 then
  2987. c.Parent = nil
  2988. end
  2989. end
  2990. if c.Name == "DecreaseAtk" then
  2991. decreaseatk = decreaseatk + c.Value
  2992. else
  2993. if c.Name == "DecreaseDef" then
  2994. decreasedef = decreasedef + c.Value
  2995. else
  2996. if c.Name == "DecreaseMvmt" then
  2997. decreasemvmt = decreasemvmt + c.Value
  2998. end
  2999. end
  3000. end
  3001. end
  3002. Atk.Value = 1 - (decreaseatk)
  3003. if Atk.Value <= 0 then
  3004. Atk.Value = 0
  3005. end
  3006. Def.Value = 1 - (decreasedef)
  3007. if Def.Value <= 0 then
  3008. Def.Value = 0.01
  3009. end
  3010. Mvmt.Value = 1 - (decreasemvmt)
  3011. if Mvmt.Value <= 0 then
  3012. Mvmt.Value = 0
  3013. end
  3014. decreaseatk = 0
  3015. decreasedef = 0
  3016. decreasemvmt = 0
  3017. AtkVal = Atk.Value * 100
  3018. AtkVal = math.floor(AtkVal)
  3019. AtkVal = AtkVal / 100
  3020. fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3021. DefVal = Def.Value * 100
  3022. DefVal = math.floor(DefVal)
  3023. DefVal = DefVal / 100
  3024. fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3025. MvmtVal = Mvmt.Value * 100
  3026. MvmtVal = math.floor(MvmtVal)
  3027. MvmtVal = MvmtVal / 100
  3028. if Rooted.Value == true then
  3029. MvmtVal = 0
  3030. end
  3031. fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3032. if StunT.Value <= Stun.Value then
  3033. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3034. else
  3035. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3036. end
  3037. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3038. if 100 <= mana.Value then
  3039. mana.Value = 100
  3040. else
  3041. if mananum <= 9 then
  3042. mananum = mananum + 1
  3043. else
  3044. if 8 <= mananum then
  3045. mananum = 0
  3046. mana.Value = mana.Value + 1
  3047. end
  3048. end
  3049. end
  3050. for i = 1, #cooldowns do
  3051. if cooldownmax <= cooldowns[i] then
  3052. cooldowns[i] = cooldownmax
  3053. else
  3054. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3055. end
  3056. end
  3057. -- DECOMPILER ERROR at PC5334: LeaveBlock: unexpected jumping out DO_STMT
  3058.  
  3059. -- DECOMPILER ERROR at PC5334: LeaveBlock: unexpected jumping out DO_STMT
  3060.  
  3061. end
  3062. end
  3063. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement