Dark_EccentricYT

Untitled

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