Advertisement
xx_g

Ichor

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