replic8

Untitled

Jul 12th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.95 KB | None | 0 0
  1. --Converted to local by Scenius
  2. --[[
  3. Made by Fenrier.
  4. ]]
  5. script.Name = "nigga srsly"
  6. ArtificialHB = Instance.new("BindableEvent", script)
  7. ArtificialHB.Name = "Heartbeat"
  8. script:WaitForChild("Heartbeat")
  9. Player = game:GetService("Players").LocalPlayer
  10. Character = Player.Character
  11. PlayerGui = Player.PlayerGui
  12. script.Parent = 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. ch = Character
  22. RootPart = Character.HumanoidRootPart
  23. RootJoint = RootPart.RootJoint
  24. it=Instance.new
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. mr=math.rad
  30. local decreaseatk=0
  31. local decreasedef=0
  32. local decreasemvmt=0
  33. local Anim="Idle"
  34. local Effects={}
  35. local armorparts={}
  36. local armorwelds={}
  37. local weaponparts={}
  38. local weaponwelds={}
  39. local Hands={}
  40. local necko=euler(0,0,0)*cf(0,1.3,0)
  41. local attack=false
  42. local jump=false
  43. local start=false
  44. local move=10
  45. local hitfloor,posfloor=nil,nil
  46. local run=Instance.new("NumberValue")
  47. run.Name="DecreaseMvmt"
  48. run.Value=-.5
  49. local bName="Manotech"
  50. local MainColor=BrickColor.new("Black")
  51.  
  52. if workspace:findFirstChild(bName,true) ~= nil then
  53. workspace:findFirstChild(bName,true).Parent = nil
  54. end
  55.  
  56. function NoOutline(Part)
  57. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  58. end
  59.  
  60. function swait(num)
  61. if num==0 or num==nil then
  62. --if Stagger.Value==false or Stun.Value<=100 then
  63. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  64. script.Heartbeat.Event:wait()
  65. --end
  66. else
  67. for i=0,num do
  68. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  69. script.Heartbeat.Event:wait()
  70. --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
  71. break
  72. end]]
  73. end
  74. end
  75. end
  76. script:WaitForChild("Heartbeat")
  77.  
  78. frame = 1/30
  79. tf = 0
  80. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater.
  81. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  82. lastframe = tick()
  83. script.Heartbeat:Fire() --ayy lmao
  84.  
  85. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  86. tf = tf + s
  87. if tf >= frame then
  88. if allowframeloss then
  89. script.Heartbeat:Fire()
  90. lastframe=tick()
  91. else
  92. ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
  93. for i=1, math.floor(tf/frame) do
  94. script.Heartbeat:Fire()
  95. end
  96. lastframe=tick()
  97. end
  98. if tossremainder then
  99. tf = 0
  100. else
  101. tf = tf - frame * math.floor(tf/frame)
  102. end
  103. end
  104. end)
  105.  
  106. function clerp(a,b,t)
  107. local qa = {QuaternionFromCFrame(a)}
  108. local qb = {QuaternionFromCFrame(b)}
  109. local ax, ay, az = a.x, a.y, a.z
  110. local bx, by, bz = b.x, b.y, b.z
  111. local _t = 1-t
  112. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  113. end
  114.  
  115. function QuaternionFromCFrame(cf)
  116. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  117. local trace = m00 + m11 + m22
  118. if trace > 0 then
  119. local s = math.sqrt(1 + trace)
  120. local recip = 0.5/s
  121. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  122. else
  123. local i = 0
  124. if m11 > m00 then
  125. i = 1
  126. end
  127. if m22 > (i == 0 and m00 or m11) then
  128. i = 2
  129. end
  130. if i == 0 then
  131. local s = math.sqrt(m00-m11-m22+1)
  132. local recip = 0.5/s
  133. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  134. elseif i == 1 then
  135. local s = math.sqrt(m11-m22-m00+1)
  136. local recip = 0.5/s
  137. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  138. elseif i == 2 then
  139. local s = math.sqrt(m22-m00-m11+1)
  140. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  141. end
  142. end
  143. end
  144.  
  145. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  146. local xs, ys, zs = x + x, y + y, z + z
  147. local wx, wy, wz = w*xs, w*ys, w*zs
  148. local xx = x*xs
  149. local xy = x*ys
  150. local xz = x*zs
  151. local yy = y*ys
  152. local yz = y*zs
  153. local zz = z*zs
  154. 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))
  155. end
  156.  
  157. function QuaternionSlerp(a, b, t)
  158. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  159. local startInterp, finishInterp;
  160. if cosTheta >= 0.0001 then
  161. if (1 - cosTheta) > 0.0001 then
  162. local theta = math.acos(cosTheta)
  163. local invSinTheta = 1/math.sin(theta)
  164. startInterp = math.sin((1-t)*theta)*invSinTheta
  165. finishInterp = math.sin(t*theta)*invSinTheta
  166. else
  167. startInterp = 1-t
  168. finishInterp = t
  169. end
  170. else
  171. if (1+cosTheta) > 0.0001 then
  172. local theta = math.acos(-cosTheta)
  173. local invSinTheta = 1/math.sin(theta)
  174. startInterp = math.sin((t-1)*theta)*invSinTheta
  175. finishInterp = math.sin(t*theta)*invSinTheta
  176. else
  177. startInterp = t-1
  178. finishInterp = t
  179. end
  180. end
  181. 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
  182. end
  183.  
  184. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  185. local fp=it("Part")
  186. fp.formFactor=formfactor
  187. fp.Parent=parent
  188. fp.Reflectance=reflectance
  189. fp.Transparency=transparency
  190. fp.CanCollide=false
  191. fp.Locked=true
  192. fp.BrickColor=brickcolor
  193. fp.Name=name
  194. fp.Size=size
  195. NoOutline(fp)
  196. fp.Material="SmoothPlastic"
  197. fp:BreakJoints()
  198. return fp
  199. end
  200.  
  201. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  202. local mesh=it(Mesh)
  203. mesh.Parent=part
  204. if Mesh=="SpecialMesh" then
  205. mesh.MeshType=meshtype
  206. if meshid~="nil" then
  207. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  208. end
  209. end
  210. mesh.Offset=offset
  211. mesh.Scale=scale
  212. return mesh
  213. end
  214.  
  215. function weld(parent,part0,part1,c0)
  216. local weld=it("Motor6D")
  217. weld.Parent=parent
  218. weld.Part0=part0
  219. weld.Part1=part1
  220. weld.C0=c0
  221. return weld
  222. end
  223.  
  224. function gui(GuiType,parent,text,backtrans,backcol,pos,size,image)
  225. local gui=it(GuiType)
  226. gui.Parent=parent
  227. gui.BackgroundTransparency=backtrans
  228. gui.BackgroundColor3=backcol
  229. gui.SizeConstraint="RelativeXY"
  230. gui.Position=pos
  231. gui.Size=size
  232. if GuiType=="TextLabel" then
  233. gui.Text=text
  234. gui.TextXAlignment="Center"
  235. gui.TextYAlignment="Center"
  236. gui.Font="SourceSans"
  237. gui.FontSize="Size14"
  238. gui.TextWrapped=false
  239. gui.TextStrokeTransparency=0
  240. gui.TextColor=BrickColor.new("White")
  241. elseif GuiType=="ImageLabel" then
  242. gui.Image="rbxassetid://"..image
  243. gui.ImageColor3=backcol
  244. end
  245. return gui
  246. end
  247.  
  248. local handle
  249. function AesthPart(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef)
  250. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt()) prt.Material=neon
  251. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  252. wld=weld(handle,prt,wldpar,ceef)
  253. v=it("NumberValue",prt)
  254. v.Value=trans
  255. v.Name="MainTransparency"
  256. return prt,msh,wld
  257. end
  258.  
  259. function AesthPartHand(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef,wldpare)
  260. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt()) prt.Material=neon
  261. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  262. wld=weld(wldpare,prt,wldpar,ceef)
  263. v=it("NumberValue",prt)
  264. v.Value=trans
  265. v.Name="MainTransparency"
  266. return prt,msh,wld
  267. end
  268.  
  269. local modelzorz=Instance.new("Model")
  270. modelzorz.Parent=Character
  271. modelzorz.Name="Armor"
  272. local effects=Instance.new("Model")
  273. effects.Parent=Character
  274. effects.Name="Effects"
  275.  
  276. for i,v in pairs(Torso:GetChildren()) do
  277. if v:IsA("Motor6D") then
  278. v:Destroy()
  279. end
  280. end
  281.  
  282. local Neck=weld(Torso,Torso,Head,euler(0,0,0)*cf(0,1.3,0))
  283. Neck.C1=cf(0,-.5,0)
  284. local RW=weld(Torso,Torso,RightArm,cf(1.8,.6,0))
  285. RW.C1=cf(0,.6,0)
  286. local LW=weld(Torso,Torso,LeftArm,cf(-1.8,.6,0))
  287. LW.C1=cf(0,.6,0)
  288. local RH=weld(Torso,Torso,RightLeg,cf(.625,-1.4,0))
  289. RH.C1=cf(0,1,0)
  290. local LH=weld(Torso,Torso,LeftLeg,cf(-.625,-1.4,0))
  291. LH.C1=cf(0,1,0)
  292. local RootJoint=weld(Torso,Torso,RootPart,cf(0,0,0))
  293.  
  294. coroutine.wrap(function()
  295.  
  296. Player = game:GetService("Players").LocalPlayer
  297. Character = Player.Character
  298. it=Instance.new
  299. vt=Vector3.new
  300. cf=CFrame.new
  301. euler=CFrame.fromEulerAnglesXYZ
  302. angles=CFrame.Angles
  303. mr=math.rad
  304. local decreaseatk=0
  305. local decreasedef=0
  306. local decreasemvmt=0
  307. local Anim="Idle"
  308. local Effects={}
  309. local armorparts={}
  310. local armorwelds={}
  311. local weaponparts={}
  312. local weaponwelds={}
  313. local Hands={}
  314. local necko=euler(0,0,0)*cf(0,1.3,0)
  315. local attack=false
  316. local jump=false
  317. local start=false
  318. local move=10
  319. local hitfloor,posfloor=nil,nil
  320. local run=Instance.new("NumberValue")
  321. run.Name="DecreaseMvmt"
  322. run.Value=-.5
  323. local bName="Manotech"
  324. local MainColor=BrickColor.new("Black")
  325.  
  326. function NoOutline(Part)
  327. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  328. end
  329.  
  330. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  331. local fp=it("Part")
  332. fp.formFactor=formfactor
  333. fp.Parent=parent
  334. fp.Reflectance=reflectance
  335. fp.Transparency=transparency
  336. fp.CanCollide=false
  337. fp.Locked=true
  338. fp.BrickColor=brickcolor
  339. fp.Name=name
  340. fp.Size=size
  341. NoOutline(fp)
  342. fp.Material="SmoothPlastic"
  343. fp:BreakJoints()
  344. return fp
  345. end
  346.  
  347. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  348. local mesh=it(Mesh)
  349. mesh.Parent=part
  350. if Mesh=="SpecialMesh" then
  351. mesh.MeshType=meshtype
  352. if meshid~="nil" then
  353. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  354. end
  355. end
  356. mesh.Offset=offset
  357. mesh.Scale=scale
  358. return mesh
  359. end
  360.  
  361. function weld(parent,part0,part1,c0)
  362. local weld=it("Motor6D")
  363. weld.Parent=parent
  364. weld.Part0=part0
  365. weld.Part1=part1
  366. weld.C0=c0
  367. return weld
  368. end
  369.  
  370. function gui(GuiType,parent,text,backtrans,backcol,pos,size,image)
  371. local gui=it(GuiType)
  372. gui.Parent=parent
  373. gui.BackgroundTransparency=backtrans
  374. gui.BackgroundColor3=backcol
  375. gui.SizeConstraint="RelativeXY"
  376. gui.Position=pos
  377. gui.Size=size
  378. if GuiType=="TextLabel" then
  379. gui.Text=text
  380. gui.TextXAlignment="Center"
  381. gui.TextYAlignment="Center"
  382. gui.Font="SourceSans"
  383. gui.FontSize="Size14"
  384. gui.TextWrapped=false
  385. gui.TextStrokeTransparency=0
  386. gui.TextColor=BrickColor.new("White")
  387. elseif GuiType=="ImageLabel" then
  388. gui.Image="rbxassetid://"..image
  389. gui.ImageColor3=backcol
  390. end
  391. return gui
  392. end
  393.  
  394. local handle
  395. function AesthPart(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef)
  396. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt()) prt.Material=neon
  397. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  398. wld=weld(handle,prt,wldpar,ceef)
  399. v=it("NumberValue",prt)
  400. v.Value=trans
  401. v.Name="MainTransparency"
  402. return prt,msh,wld
  403. end
  404.  
  405. function AesthPartHand(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef,wldpare)
  406. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt()) prt.Material=neon
  407. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  408. wld=weld(wldpare,prt,wldpar,ceef)
  409. v=it("NumberValue",prt)
  410. v.Value=trans
  411. v.Name="MainTransparency"
  412. return prt,msh,wld
  413. end
  414.  
  415. Humanoid.Animator:Destroy()
  416. Character.Animate:Destroy()
  417.  
  418. local modelzorz=Instance.new("Model")
  419. modelzorz.Parent=Character
  420. modelzorz.Name="ManotechBody"
  421.  
  422. local Torso=Character.Torso
  423. local LeftArm=Character["Left Arm"]
  424. local RightArm=Character["Right Arm"]
  425. local LeftLeg=Character["Left Leg"]
  426. local RightLeg=Character["Right Leg"]
  427.  
  428. local Head=Character.Head
  429. local RootPart=Character.HumanoidRootPart
  430.  
  431. handle=part(3,modelzorz,0,1,BrickColor.new("Black"),"Handle",vt())
  432.  
  433. local handlewld=weld(handle,handle,Torso,euler(0,0,-.8)*cf(0,0,-.7))
  434.  
  435. Tprt01,Tmsh01,Twld01=AesthPart(modelzorz,Torso,0,0,"Fossil","Torso Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,12.1,euler(0,mr(-90),0)*cf(0,0,0))
  436. Tprt02,Tmsh02,Twld02=AesthPart(modelzorz,Tprt01,0,0,"Pastel light blue","Torso Part02","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,4,euler(mr(90),0,0)*cf(0,-.84,0))
  437. Tprt03,Tmsh03,Twld03=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part03","SmoothPlastic","BlockMesh","nil","nil",6.14,12.14,4,euler(mr(90),0,0)*cf(0,-.01,0))
  438. Tprt04,Tmsh04,Twld04=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part04","SmoothPlastic","BlockMesh","nil","nil",6.15,12.15,2,euler(mr(90),0,0)*cf(0,-.01,0))
  439. Tprt05,Tmsh05,Twld05=AesthPart(modelzorz,Tprt01,0,0,"Pastel light blue","Torso Part05","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,4,euler(mr(90),0,0)*cf(0,.83,0))
  440. Tprt06,Tmsh06,Twld06=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part06","SmoothPlastic","BlockMesh","nil","nil",6.5,12.5,2,euler(mr(90),0,0)*cf(0,1.03,0))
  441. Tprt07,Tmsh07,Twld07=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part07","SmoothPlastic","BlockMesh","nil","nil",6.6,12.6,1,euler(mr(90),0,0)*cf(0,1.14,0))
  442. Tprt08,Tmsh08,Twld08=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part08","SmoothPlastic","SpecialMesh","Cylinder","nil",1,5,5,euler(mr(90),0,0)*cf(-.562,.82,0))
  443. Tprt09,Tmsh09,Twld09=AesthPart(modelzorz,Tprt01,0,0,"Institutional white","Torso Part09","Neon","SpecialMesh","Cylinder","nil",1,4,4,euler(mr(90),0,0)*cf(-.572,.82,0))
  444. Tprt10,Tmsh10,Twld10=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part10","SmoothPlastic","SpecialMesh","FileMesh","9756362",.2,1,.4,euler(mr(90),0,0)*cf(-.662,.82,0))
  445. Tprt11,Tmsh11,Twld11=AesthPart(modelzorz,Tprt01,0,0,"Institutional white","Torso Part11","Neon","SpecialMesh","Sphere","nil",1,.4,2,euler(mr(90),0,0)*cf(-.722,.82,0))
  446. Tprt12,Tmsh12,Twld12=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part12","SmoothPlastic","SpecialMesh","FileMesh","26340522",1,1,1.4,euler(0,mr(90),0)*cf(0,-.34,0))
  447. Tprt13,Tmsh13,Twld13=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part13","SmoothPlastic","SpecialMesh","FileMesh","189759018",3,4,3.5,euler(0,mr(90),0)*cf(0,-.55,-.06))
  448.  
  449. LAprt01,LAmsh01,LAwld01=AesthPart(modelzorz,LeftArm,0,0,"Fossil","Left Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,6.1,euler(0,mr(-90),0)*cf(0,0,0))
  450. LAprt01a,LAmsh01a,LAwld01a=AesthPart(modelzorz,LAprt01,0,0,"Fossil","Left Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  451. RAprt01,RAmsh01,RAwld01=AesthPart(modelzorz,RightArm,0,0,"Fossil","Right Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,6.1,euler(0,mr(90),0)*cf(0,0,0))
  452. RAprt01a,RAmsh01a,RAwld01a=AesthPart(modelzorz,RAprt01,0,0,"Fossil","Right Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  453. LLprt01,LLmsh01,LLwld01=AesthPart(modelzorz,LeftLeg,0,0,"Fossil","Left Leg Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,6.1,12.1,euler(mr(90),0,0)*cf(0,0,0))
  454. LLprt01a,LLmsh01a,LLwld01a=AesthPart(modelzorz,LLprt01,0,0,"Fossil","Left Leg Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,mr(90))*cf(0,0,0))
  455. RLprt01,RLmsh01,RLwld01=AesthPart(modelzorz,RightLeg,0,0,"Fossil","Right Leg Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,6.1,12.1,euler(mr(90),0,0)*cf(0,0,0))
  456. RLprt01a,RLmsh01a,RLwld01a=AesthPart(modelzorz,RLprt01,0,0,"Fossil","Right Leg Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,mr(-90))*cf(0,0,0))
  457.  
  458. local thPart=LAprt01a
  459. local thPart2=LLprt01a
  460. for i=-1,1,2 do
  461. if i==1 then
  462. thPart=RAprt01a
  463. thPart2=RLprt01a
  464. end
  465. Aprt02,Amsh02,Awld02=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part02","SmoothPlastic","BlockMesh","nil","nil",6.5,4,3,euler(mr(90),mr(90),0)*cf(-.23,-.93,0))
  466. Aprt03,Amsh03,Awld03=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part03","SmoothPlastic","BlockMesh","nil","nil",6.5,3,7,euler(mr(90),mr(90),0)*cf(.43,-.82,0))
  467. Aprt04,Amsh04,Awld04=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(59.815))*cf(.23,.01,0))
  468. Aprt05,Amsh05,Awld05=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part05","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(90))*cf(.43,.18,0))
  469. Aprt06,Amsh06,Awld06=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part06","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(32.321))*cf(.05,-.2,0))
  470. Aprt07,Amsh07,Awld07=AesthPart(modelzorz,thPart,0,0,"Black","Arm Part07","SmoothPlastic","BlockMesh","nil","nil",6.2,4,6.2,euler(0,mr(90),0)*cf(0,.82,0))
  471. Aprt08,Amsh08,Awld08=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part08","SmoothPlastic","BlockMesh","nil","nil",6.3,3,6.3,euler(0,mr(90),0)*cf(0,.82,0))
  472. Aprt09,Amsh09,Awld09=AesthPart(modelzorz,thPart,0,0,"Medium blue","Arm Part09","SmoothPlastic","SpecialMesh","Wedge","nil",7,5,5,euler(0,mr(90),mr(103.229))*cf(-.1,-.87,0))
  473. Aprt10,Amsh10,Awld10=AesthPart(modelzorz,thPart,0,0,"Medium blue","Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",7,5,5,euler(0,mr(90),mr(90))*cf(.26,-.85,0))
  474. Aprt11,Amsh11,Awld11=AesthPart(modelzorz,thPart,0,0,"Black","Arm Part11","SmoothPlastic","CylinderMesh","nil","nil",3.5,7.5,3.5,euler(mr(90),0,0)*cf(.47,-1.3,0))
  475.  
  476. Lprt02,Lmsh02,Lwld02=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part02","SmoothPlastic","BlockMesh","nil","nil",6.3,6.3,3,euler(0,0,0)*cf(0,0,-.92))
  477. Lprt03,Lmsh03,Lwld03=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part03","SmoothPlastic","BlockMesh","nil","nil",6.25,6.25,3,euler(0,0,0)*cf(0,0,-.67))
  478. Lprt04,Lmsh04,Lwld04=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part04","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,mr(180))*cf(.53*i,.33,-.42))
  479. Lprt05,Lmsh05,Lwld05=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part05","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,0)*cf(.53*i,-.33,-.42))
  480. Lprt06,Lmsh06,Lwld06=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part06","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,mr(180))*cf(-.53*i,.33,-.42))
  481. Lprt07,Lmsh07,Lwld07=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part07","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,0)*cf(-.53*i,-.33,-.42))
  482. Lprt08,Lmsh08,Lwld08=AesthPart(modelzorz,thPart2,0,0,"Storm blue","Leg Part08","SmoothPlastic","BlockMesh","nil","nil",6.6,6.6,3,euler(0,0,0)*cf(0,0,.37))
  483. Lprt09,Lmsh09,Lwld09=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part09","SmoothPlastic","BlockMesh","nil","nil",6.5,6.5,3,euler(0,0,0)*cf(0,0,.91))
  484. Lprt10,Lmsh10,Lwld10=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part10","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,0,mr(90))*cf(-.52*i,0,-.22))
  485. Lprt11,Lmsh11,Lwld11=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part11","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,mr(-30),mr(90))*cf(-.52*i,.2,-.22))
  486. Lprt12,Lmsh12,Lwld12=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part12","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,mr(30),mr(90))*cf(-.52*i,-.2,-.22))
  487. Lprt13,Lmsh13,Lwld13=AesthPart(modelzorz,thPart2,0,0,"Storm blue","Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",2,1,2,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  488. Lprt14,Lmsh14,Lwld14=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part14","SmoothPlastic","CylinderMesh","nil","nil",1.7,1.1,1.7,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  489. Lprt15,Lmsh15,Lwld15=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part15","Neon","CylinderMesh","nil","nil",1,1.2,1,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  490. Lprt16,Lmsh16,Lwld16=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part16","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(0,0,mr(180))*cf(-.6*i,.14,.35))
  491. Lprt17,Lmsh17,Lwld17=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part17","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(0,0,0)*cf(-.6*i,-.16,.35))
  492. Lprt18,Lmsh18,Lwld18=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(mr(90-75),0,mr(180))*cf(-.6*i,.35,.35))
  493. Lprt19,Lmsh19,Lwld19=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part19","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(mr(90-75),0,0)*cf(-.6*i,-.37,.35))
  494.  
  495. end
  496.  
  497. LAprt12,LAmsh12,LAwld12=AesthPart(modelzorz,LAprt01a,0,0,"Medium blue","Left Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,7,2,euler(mr(180),mr(-90),mr(103.229))*cf(1.05,-1.48,.71))
  498. LAprt13,LAmsh13,LAwld13=AesthPart(modelzorz,LAprt01a,0,0,"Medium blue","Left Arm Part13","SmoothPlastic","SpecialMesh","Wedge","nil",1,7,2,euler(mr(180),mr(-90),mr(103.229))*cf(1.05,-1.48,-.71))
  499. RAprt12,RAmsh12,RAwld12=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,6,euler(mr(180),mr(90),mr(9.214))*cf(1.217,-1.384,0))
  500. RAprt13,RAmsh13,RAwld13=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part13","SmoothPlastic","SpecialMesh","Wedge","nil",6,3,6,euler(mr(180),mr(90),mr(-10.361))*cf(1.108,-1.116,0))
  501. RAprt14,RAmsh14,RAwld14=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part14","SmoothPlastic","SpecialMesh","Wedge","nil",5.5,3,6,euler(mr(180),mr(90),mr(-42.832))*cf(1.002,-.856,0))
  502. RAprt15,RAmsh15,RAwld15=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part15","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),0)*cf(0,.82,0))
  503. RAprt16,RAmsh16,RAwld16=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part16","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),mr(6.849))*cf(0,.97,0))
  504. RAprt17,RAmsh17,RAwld17=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part17","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),mr(-6.849))*cf(0,.66,0))
  505. RAprt18,RAmsh18,RAwld18=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part18","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),0)*cf(0,.82,0))
  506. RAprt19,RAmsh19,RAwld19=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part19","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),mr(6.849))*cf(0,.97,0))
  507. RAprt20,RAmsh20,RAwld20=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part20","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),mr(-6.849))*cf(0,.66,0))
  508. RAprt21,RAmsh21,RAwld21=AesthPart(modelzorz,RAprt01a,0,0,"Storm blue","Right Arm Part21","SmoothPlastic","CylinderMesh","nil","nil",3.5,1,3.5,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  509. RAprt22,RAmsh22,RAwld22=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part22","SmoothPlastic","CylinderMesh","nil","nil",3,1.1,3,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  510. RAprt23,RAmsh23,RAwld23=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part23","Neon","CylinderMesh","nil","nil",1,1.2,1,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  511. for i=0,135,45 do
  512. RAprt24,RAmsh24,RAwld24=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part24","Neon","BlockMesh","nil","nil",1.5,1,.2,euler(mr(90),mr(90),0)*euler(mr(i),0,0)*cf(.57,.82,0))
  513. end
  514.  
  515. Hprt01,Hmsh01,Hwld01=AesthPart(modelzorz,Head,0,0,"Fossil","Head Part01","SmoothPlastic","SpecialMesh","Sphere","nil",8.5,9,9,euler(0,0,0)*cf(0,-.21,0))
  516. Hprt02,Hmsh02,Hwld02=AesthPart(modelzorz,Hprt01,0,0,"Fossil","Head Part02","SmoothPlastic","CylinderMesh","nil","nil",7.5,.6,7.5,euler(0,0,0)*cf(0,.47,0))
  517. Hprt03,Hmsh03,Hwld03=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part03","SmoothPlastic","CylinderMesh","nil","nil",9,1,9,euler(mr(90-80.679),0,0)*cf(0,-.15,.03))
  518. Hprt04,Hmsh04,Hwld04=AesthPart(modelzorz,Hprt01,0,0,"Pastel blue","Head Part04","Neon","CylinderMesh","nil","nil",9.1,.2,9.1,euler(mr(90-80.679),0,0)*cf(0,-.15,.03))
  519. Hprt05,Hmsh05,Hwld05=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part05","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(mr(90),0,0)*cf(.82,-.07,.06))
  520. Hprt06,Hmsh06,Hwld06=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part06","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,mr(180),mr(-90))*cf(1.02,-.07,-.14))
  521. Hprt07,Hmsh07,Hwld07=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part07","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,0,mr(-90))*cf(1.02,-.07,.26))
  522. Hprt08,Hmsh08,Hwld08=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part08","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(mr(90),0,0)*cf(-.81,-.07,.06))
  523. Hprt09,Hmsh09,Hwld09=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part09","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,mr(180),mr(90))*cf(-1.01,-.07,-.14))
  524. Hprt10,Hmsh10,Hwld10=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part10","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,0,mr(90))*cf(-1.01,-.07,.26))
  525. Hprt11,Hmsh11,Hwld11=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part11","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(mr(90),0,0)*cf(0,.02,.86))
  526. Hprt12,Hmsh12,Hwld12=AesthPart(modelzorz,Hprt01,0,0,"Institutional white","Head Part12","Neon","CylinderMesh","nil","nil",2,1.1,2,euler(mr(90),0,0)*cf(0,.02,.86))
  527. Hprt13,Hmsh13,Hwld13=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part13","SmoothPlastic","SpecialMesh","Wedge","nil",.5,1,4,euler(mr(90),mr(-90),0)*cf(.1,.59,.91))
  528. Hprt14,Hmsh14,Hwld14=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part14","SmoothPlastic","SpecialMesh","Wedge","nil",.5,1,4,euler(mr(90),mr(90),0)*cf(-.1,.59,.91))
  529.  
  530. end)()
  531.  
  532. handle=part(3,modelzorz,0,1,BrickColor.new("Black"),"Handle",vt())
  533.  
  534. local handlewld=weld(handle,handle,Torso,euler(0,0,-.8)*cf(0,0,-.7))
  535.  
  536. Tprt01,Tmsh01,Twld01=AesthPart(modelzorz,Torso,0,0,"Fossil","Torso Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,12.1,euler(0,mr(-90),0)*cf(0,0,0))
  537. Tprt02,Tmsh02,Twld02=AesthPart(modelzorz,Tprt01,0,0,"Pastel light blue","Torso Part02","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,4,euler(mr(90),0,0)*cf(0,-.84,0))
  538. Tprt03,Tmsh03,Twld03=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part03","SmoothPlastic","BlockMesh","nil","nil",6.14,12.14,4,euler(mr(90),0,0)*cf(0,-.01,0))
  539. Tprt04,Tmsh04,Twld04=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part04","SmoothPlastic","BlockMesh","nil","nil",6.15,12.15,2,euler(mr(90),0,0)*cf(0,-.01,0))
  540. Tprt05,Tmsh05,Twld05=AesthPart(modelzorz,Tprt01,0,0,"Pastel light blue","Torso Part05","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,4,euler(mr(90),0,0)*cf(0,.83,0))
  541. Tprt06,Tmsh06,Twld06=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part06","SmoothPlastic","BlockMesh","nil","nil",6.5,12.5,2,euler(mr(90),0,0)*cf(0,1.03,0))
  542. Tprt07,Tmsh07,Twld07=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part07","SmoothPlastic","BlockMesh","nil","nil",6.6,12.6,1,euler(mr(90),0,0)*cf(0,1.14,0))
  543. Tprt08,Tmsh08,Twld08=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part08","SmoothPlastic","SpecialMesh","Cylinder","nil",1,5,5,euler(mr(90),0,0)*cf(-.562,.82,0))
  544. Tprt09,Tmsh09,Twld09=AesthPart(modelzorz,Tprt01,0,0,"Institutional white","Torso Part09","Neon","SpecialMesh","Cylinder","nil",1,4,4,euler(mr(90),0,0)*cf(-.572,.82,0))
  545. Tprt10,Tmsh10,Twld10=AesthPart(modelzorz,Tprt01,0,0,"Medium blue","Torso Part10","SmoothPlastic","SpecialMesh","FileMesh","9756362",.2,1,.4,euler(mr(90),0,0)*cf(-.662,.82,0))
  546. Tprt11,Tmsh11,Twld11=AesthPart(modelzorz,Tprt01,0,0,"Institutional white","Torso Part11","Neon","SpecialMesh","Sphere","nil",1,.4,2,euler(mr(90),0,0)*cf(-.722,.82,0))
  547. Tprt12,Tmsh12,Twld12=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part12","SmoothPlastic","SpecialMesh","FileMesh","26340522",1,1,1.4,euler(0,mr(90),0)*cf(0,-.34,0))
  548. Tprt13,Tmsh13,Twld13=AesthPart(modelzorz,Tprt01,0,0,"Storm blue","Torso Part13","SmoothPlastic","SpecialMesh","FileMesh","189759018",3,4,3.5,euler(0,mr(90),0)*cf(0,-.55,-.06))
  549.  
  550. LAprt01,LAmsh01,LAwld01=AesthPart(modelzorz,LeftArm,0,0,"Fossil","Left Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,6.1,euler(0,mr(-90),0)*cf(0,0,0))
  551. LAprt01a,LAmsh01a,LAwld01a=AesthPart(modelzorz,LAprt01,0,0,"Fossil","Left Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  552. RAprt01,RAmsh01,RAwld01=AesthPart(modelzorz,RightArm,0,0,"Fossil","Right Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,12.1,6.1,euler(0,mr(90),0)*cf(0,0,0))
  553. RAprt01a,RAmsh01a,RAwld01a=AesthPart(modelzorz,RAprt01,0,0,"Fossil","Right Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  554. LLprt01,LLmsh01,LLwld01=AesthPart(modelzorz,LeftLeg,0,0,"Fossil","Left Leg Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,6.1,12.1,euler(mr(90),0,0)*cf(0,0,0))
  555. LLprt01a,LLmsh01a,LLwld01a=AesthPart(modelzorz,LLprt01,0,0,"Fossil","Left Leg Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,mr(90))*cf(0,0,0))
  556. RLprt01,RLmsh01,RLwld01=AesthPart(modelzorz,RightLeg,0,0,"Fossil","Right Leg Part01","SmoothPlastic","BlockMesh","nil","nil",6.1,6.1,12.1,euler(mr(90),0,0)*cf(0,0,0))
  557. RLprt01a,RLmsh01a,RLwld01a=AesthPart(modelzorz,RLprt01,0,0,"Fossil","Right Leg Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,mr(-90))*cf(0,0,0))
  558.  
  559. local thPart=LAprt01a
  560. local thPart2=LLprt01a
  561. for i=-1,1,2 do
  562. if i==1 then
  563. thPart=RAprt01a
  564. thPart2=RLprt01a
  565. end
  566. Aprt02,Amsh02,Awld02=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part02","SmoothPlastic","BlockMesh","nil","nil",6.5,4,3,euler(mr(90),mr(90),0)*cf(-.23,-.93,0))
  567. Aprt03,Amsh03,Awld03=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part03","SmoothPlastic","BlockMesh","nil","nil",6.5,3,7,euler(mr(90),mr(90),0)*cf(.43,-.82,0))
  568. Aprt04,Amsh04,Awld04=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(59.815))*cf(.23,.01,0))
  569. Aprt05,Amsh05,Awld05=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part05","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(90))*cf(.43,.18,0))
  570. Aprt06,Amsh06,Awld06=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part06","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,3,euler(mr(-90),mr(-90),mr(32.321))*cf(.05,-.2,0))
  571. Aprt07,Amsh07,Awld07=AesthPart(modelzorz,thPart,0,0,"Black","Arm Part07","SmoothPlastic","BlockMesh","nil","nil",6.2,4,6.2,euler(0,mr(90),0)*cf(0,.82,0))
  572. Aprt08,Amsh08,Awld08=AesthPart(modelzorz,thPart,0,0,"Storm blue","Arm Part08","SmoothPlastic","BlockMesh","nil","nil",6.3,3,6.3,euler(0,mr(90),0)*cf(0,.82,0))
  573. Aprt09,Amsh09,Awld09=AesthPart(modelzorz,thPart,0,0,"Medium blue","Arm Part09","SmoothPlastic","SpecialMesh","Wedge","nil",7,5,5,euler(0,mr(90),mr(103.229))*cf(-.1,-.87,0))
  574. Aprt10,Amsh10,Awld10=AesthPart(modelzorz,thPart,0,0,"Medium blue","Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",7,5,5,euler(0,mr(90),mr(90))*cf(.26,-.85,0))
  575. Aprt11,Amsh11,Awld11=AesthPart(modelzorz,thPart,0,0,"Black","Arm Part11","SmoothPlastic","CylinderMesh","nil","nil",3.5,7.5,3.5,euler(mr(90),0,0)*cf(.47,-1.3,0))
  576.  
  577. Lprt02,Lmsh02,Lwld02=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part02","SmoothPlastic","BlockMesh","nil","nil",6.3,6.3,3,euler(0,0,0)*cf(0,0,-.92))
  578. Lprt03,Lmsh03,Lwld03=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part03","SmoothPlastic","BlockMesh","nil","nil",6.25,6.25,3,euler(0,0,0)*cf(0,0,-.67))
  579. Lprt04,Lmsh04,Lwld04=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part04","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,mr(180))*cf(.53*i,.33,-.42))
  580. Lprt05,Lmsh05,Lwld05=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part05","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,0)*cf(.53*i,-.33,-.42))
  581. Lprt06,Lmsh06,Lwld06=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part06","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,mr(180))*cf(-.53*i,.33,-.42))
  582. Lprt07,Lmsh07,Lwld07=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part07","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,2,euler(0,0,0)*cf(-.53*i,-.33,-.42))
  583. Lprt08,Lmsh08,Lwld08=AesthPart(modelzorz,thPart2,0,0,"Storm blue","Leg Part08","SmoothPlastic","BlockMesh","nil","nil",6.6,6.6,3,euler(0,0,0)*cf(0,0,.37))
  584. Lprt09,Lmsh09,Lwld09=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part09","SmoothPlastic","BlockMesh","nil","nil",6.5,6.5,3,euler(0,0,0)*cf(0,0,.91))
  585. Lprt10,Lmsh10,Lwld10=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part10","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,0,mr(90))*cf(-.52*i,0,-.22))
  586. Lprt11,Lmsh11,Lwld11=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part11","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,mr(-30),mr(90))*cf(-.52*i,.2,-.22))
  587. Lprt12,Lmsh12,Lwld12=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part12","Neon","BlockMesh","nil","nil",.5,1,3,euler(0,mr(30),mr(90))*cf(-.52*i,-.2,-.22))
  588. Lprt13,Lmsh13,Lwld13=AesthPart(modelzorz,thPart2,0,0,"Storm blue","Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",2,1,2,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  589. Lprt14,Lmsh14,Lwld14=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part14","SmoothPlastic","CylinderMesh","nil","nil",1.7,1.1,1.7,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  590. Lprt15,Lmsh15,Lwld15=AesthPart(modelzorz,thPart2,0,0,"Institutional white","Leg Part15","Neon","CylinderMesh","nil","nil",1,1.2,1,euler(0,0,mr(90))*cf(-.62*i,0,.03))
  591. Lprt16,Lmsh16,Lwld16=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part16","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(0,0,mr(180))*cf(-.6*i,.14,.35))
  592. Lprt17,Lmsh17,Lwld17=AesthPart(modelzorz,thPart2,0,0,"Medium blue","Leg Part17","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(0,0,0)*cf(-.6*i,-.16,.35))
  593. Lprt18,Lmsh18,Lwld18=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(mr(90-75),0,mr(180))*cf(-.6*i,.35,.35))
  594. Lprt19,Lmsh19,Lwld19=AesthPart(modelzorz,thPart2,0,0,"Black","Leg Part19","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,4,euler(mr(90-75),0,0)*cf(-.6*i,-.37,.35))
  595.  
  596. end
  597.  
  598. LAprt12,LAmsh12,LAwld12=AesthPart(modelzorz,LAprt01a,0,0,"Medium blue","Left Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,7,2,euler(mr(180),mr(-90),mr(103.229))*cf(1.05,-1.48,.71))
  599. LAprt13,LAmsh13,LAwld13=AesthPart(modelzorz,LAprt01a,0,0,"Medium blue","Left Arm Part13","SmoothPlastic","SpecialMesh","Wedge","nil",1,7,2,euler(mr(180),mr(-90),mr(103.229))*cf(1.05,-1.48,-.71))
  600. RAprt12,RAmsh12,RAwld12=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,6,euler(mr(180),mr(90),mr(9.214))*cf(1.217,-1.384,0))
  601. RAprt13,RAmsh13,RAwld13=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part13","SmoothPlastic","SpecialMesh","Wedge","nil",6,3,6,euler(mr(180),mr(90),mr(-10.361))*cf(1.108,-1.116,0))
  602. RAprt14,RAmsh14,RAwld14=AesthPart(modelzorz,RAprt01a,0,0,"Medium blue","Right Arm Part14","SmoothPlastic","SpecialMesh","Wedge","nil",5.5,3,6,euler(mr(180),mr(90),mr(-42.832))*cf(1.002,-.856,0))
  603. RAprt15,RAmsh15,RAwld15=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part15","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),0)*cf(0,.82,0))
  604. RAprt16,RAmsh16,RAwld16=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part16","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),mr(6.849))*cf(0,.97,0))
  605. RAprt17,RAmsh17,RAwld17=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part17","Neon","BlockMesh","nil","nil",6.5,.2,6.5,euler(0,mr(90),mr(-6.849))*cf(0,.66,0))
  606. RAprt18,RAmsh18,RAwld18=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part18","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),0)*cf(0,.82,0))
  607. RAprt19,RAmsh19,RAwld19=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part19","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),mr(6.849))*cf(0,.97,0))
  608. RAprt20,RAmsh20,RAwld20=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part20","SmoothPlastic","BlockMesh","nil","nil",6.4,.6,6.4,euler(0,mr(90),mr(-6.849))*cf(0,.66,0))
  609. RAprt21,RAmsh21,RAwld21=AesthPart(modelzorz,RAprt01a,0,0,"Storm blue","Right Arm Part21","SmoothPlastic","CylinderMesh","nil","nil",3.5,1,3.5,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  610. RAprt22,RAmsh22,RAwld22=AesthPart(modelzorz,RAprt01a,0,0,"Steel blue","Right Arm Part22","SmoothPlastic","CylinderMesh","nil","nil",3,1.1,3,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  611. RAprt23,RAmsh23,RAwld23=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part23","Neon","CylinderMesh","nil","nil",1,1.2,1,euler(mr(90),mr(90),0)*cf(.55,.82,0))
  612. for i=0,135,45 do
  613. RAprt24,RAmsh24,RAwld24=AesthPart(modelzorz,RAprt01a,0,0,"Institutional white","Right Arm Part24","Neon","BlockMesh","nil","nil",1.5,1,.2,euler(mr(90),mr(90),0)*euler(mr(i),0,0)*cf(.57,.82,0))
  614. end
  615.  
  616. Hprt01,Hmsh01,Hwld01=AesthPart(modelzorz,Head,0,0,"Fossil","Head Part01","SmoothPlastic","SpecialMesh","Sphere","nil",8.5,9,9,euler(0,0,0)*cf(0,-.21,0))
  617. Hprt02,Hmsh02,Hwld02=AesthPart(modelzorz,Hprt01,0,0,"Fossil","Head Part02","SmoothPlastic","CylinderMesh","nil","nil",7.5,.6,7.5,euler(0,0,0)*cf(0,.47,0))
  618. Hprt03,Hmsh03,Hwld03=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part03","SmoothPlastic","CylinderMesh","nil","nil",9,1,9,euler(mr(90-80.679),0,0)*cf(0,-.15,.03))
  619. Hprt04,Hmsh04,Hwld04=AesthPart(modelzorz,Hprt01,0,0,"Pastel blue","Head Part04","Neon","CylinderMesh","nil","nil",9.1,.2,9.1,euler(mr(90-80.679),0,0)*cf(0,-.15,.03))
  620. Hprt05,Hmsh05,Hwld05=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part05","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(mr(90),0,0)*cf(.82,-.07,.06))
  621. Hprt06,Hmsh06,Hwld06=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part06","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,mr(180),mr(-90))*cf(1.02,-.07,-.14))
  622. Hprt07,Hmsh07,Hwld07=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part07","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,0,mr(-90))*cf(1.02,-.07,.26))
  623. Hprt08,Hmsh08,Hwld08=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part08","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(mr(90),0,0)*cf(-.81,-.07,.06))
  624. Hprt09,Hmsh09,Hwld09=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part09","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,mr(180),mr(90))*cf(-1.01,-.07,-.14))
  625. Hprt10,Hmsh10,Hwld10=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part10","SmoothPlastic","SpecialMesh","Wedge","nil",3,1,2,euler(0,0,mr(90))*cf(-1.01,-.07,.26))
  626. Hprt11,Hmsh11,Hwld11=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part11","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(mr(90),0,0)*cf(0,.02,.86))
  627. Hprt12,Hmsh12,Hwld12=AesthPart(modelzorz,Hprt01,0,0,"Institutional white","Head Part12","Neon","CylinderMesh","nil","nil",2,1.1,2,euler(mr(90),0,0)*cf(0,.02,.86))
  628. Hprt13,Hmsh13,Hwld13=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part13","SmoothPlastic","SpecialMesh","Wedge","nil",.5,1,4,euler(mr(90),mr(-90),0)*cf(.1,.59,.91))
  629. Hprt14,Hmsh14,Hwld14=AesthPart(modelzorz,Hprt01,0,0,"Medium blue","Head Part14","SmoothPlastic","SpecialMesh","Wedge","nil",.5,1,4,euler(mr(90),mr(90),0)*cf(-.1,.59,.91))
  630.  
  631. --function Hand()
  632. tharm=1
  633. for d=1,4 do
  634. if d==2 or d==4 then
  635. tharm=2
  636. else
  637. tharm=1
  638. end
  639. local Hand=Instance.new("Model")
  640. Hand.Parent=Character
  641. Hand.Name="Hand"
  642. local HandWelds=Instance.new("Model")
  643. HandWelds.Parent=Hand
  644. HandWelds.Name="HandWelds"
  645.  
  646. Haprt01main,Hamsh01maind,Hawld01mainwld=AesthPartHand(Hand,RootPart,0,0,"Fossil","Hand Part01main","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,0)*cf(0,0,0),HandWelds)
  647. Haprt01a,Hamsh01a,Hawld01a=AesthPartHand(Hand,Haprt01main,0,0,"Fossil","Hand Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,5),HandWelds)
  648. Haprtmoarmain,Haprtmoarmainmsh,Haprtmoarmainwld=AesthPartHand(Hand,Haprt01a,0,0,"Fossil","Main","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,0,0)*cf(0,0,0),modelzorz)
  649. Haprt01,Hamsh01,Hawld01=AesthPartHand(Hand,Haprtmoarmain,0,0,"Fossil","Hand Part01","SmoothPlastic","BlockMesh","nil","nil",3,7,7,euler(0,0,0)*cf(0,0,0),HandWelds)
  650. Haprt02,Hamsh02,Hawld02=AesthPartHand(Hand,Haprtmoarmain,0,0,"Black","Hand Part02","SmoothPlastic","BlockMesh","nil","nil",2.2,6.9,.4,euler(mr(90),0,0)*cf(-.09,-.02,0),HandWelds)
  651. Haprt03,Hamsh03,Hawld03=AesthPartHand(Hand,Haprtmoarmain,0,0,"Medium blue","Hand Part03","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(0,0,mr(90))*cf(-.22,-.02,0),HandWelds)
  652. Haprt04,Hamsh04,Hawld04=AesthPartHand(Hand,Haprtmoarmain,0,0,"Institutional white","Hand Part04","Neon","CylinderMesh","nil","nil",2,1,2,euler(0,0,mr(90))*cf(-.23,-.02,0),HandWelds)
  653. Haprt05,Hamsh05,Hawld05=AesthPartHand(Hand,Haprtmoarmain,0,0,"Storm blue","Hand Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(0,0,mr(90))*cf(.22,-.02,0),HandWelds)
  654. Haprt06,Hamsh06,Hawld06=AesthPartHand(Hand,Haprtmoarmain,0,0,"Medium blue","Hand Part06","SmoothPlastic","SpecialMesh","Sphere","nil",2.7,.2,2.7,euler(0,0,mr(90))*cf(.32,-.02,0),HandWelds)
  655. Haprt07,Hamsh07,Hawld07=AesthPartHand(Hand,Haprtmoarmain,0,0,"Institutional white","Hand Part07","Neon","SpecialMesh","Sphere","nil",2.4,.2,1.8,euler(0,mr(90),mr(90))*cf(.34,-.02,0),HandWelds)
  656. Haprt08,Hamsh08,Hawld08=AesthPartHand(Hand,Haprtmoarmain,0,0,"Storm blue","Hand Part08","SmoothPlastic","SpecialMesh","Sphere","nil",.5,.1,1,euler(0,mr(90),mr(90))*cf(.36,-.02,0),HandWelds)
  657.  
  658. Haprt10,Hamsh10,Hawld10=AesthPartHand(Hand,Haprtmoarmain,0,0,"Black","Hand Part10","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(mr(90),0,0)*cf(0,-.7,.42),HandWelds)
  659. Haprt11,Hamsh11,Hawld11=AesthPartHand(Hand,Haprt10,0,0,"Fossil","Hand Part11","SmoothPlastic","BlockMesh","nil","nil",2,2.6,3.5,euler(0,0,0)*cf(0,0,-.35)*euler(0,0,0),HandWelds)
  660. Haprt12,Hamsh12,Hawld12=AesthPartHand(Hand,Haprt11,0,0,"Black","Hand Part12","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(0,0,0)*cf(0,0,-.38),HandWelds)
  661. Haprt13,Hamsh13,Hawld13=AesthPartHand(Hand,Haprt11,0,0,"Black","Hand Part13","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.36),HandWelds)
  662. Haprt14,Hamsh14,Hawld14=AesthPartHand(Hand,Haprt12,0,0,"Black","Hand Part14","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.02)*euler(0,0,0),HandWelds)
  663. Haprt15,Hamsh15,Hawld15=AesthPartHand(Hand,Haprt14,0,0,"Fossil","Hand Part15","SmoothPlastic","BlockMesh","nil","nil",2,2.6,4,euler(0,0,0)*cf(0,0,-.4),HandWelds)
  664. Haprt16,Hamsh16,Hawld16=AesthPartHand(Hand,Haprt14,0,0,"Medium blue","Hand Part16","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-97.27),0,mr(90))*cf(-.12,0,-.92),HandWelds)
  665. Haprt17,Hamsh17,Hawld17=AesthPartHand(Hand,Haprt14,0,0,"Medium blue","Hand Part17","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-90),0,mr(90))*cf(-.2,0,-.81),HandWelds)
  666. Haprt18,Hamsh18,Hawld18=AesthPartHand(Hand,Haprt14,0,0,"Storm blue","Hand Part18","SmoothPlastic","SpecialMesh","Wedge","nil",2,6,2.5,euler(mr(-90),0,mr(90))*cf(-.24,0,-.99),HandWelds)
  667.  
  668. Haprt19,Hamsh19,Hawld19=AesthPartHand(Hand,Haprtmoarmain,0,0,"Black","Hand Part19","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(mr(90),0,0)*cf(0,-.7,-.42),HandWelds)
  669. Haprt20,Hamsh20,Hawld20=AesthPartHand(Hand,Haprt19,0,0,"Fossil","Hand Part20","SmoothPlastic","BlockMesh","nil","nil",2,2.6,3.5,euler(0,0,0)*cf(0,0,-.35)*euler(0,0,0),HandWelds)
  670. Haprt21,Hamsh21,Hawld21=AesthPartHand(Hand,Haprt20,0,0,"Black","Hand Part21","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(0,0,0)*cf(0,0,-.38),HandWelds)
  671. Haprt22,Hamsh22,Hawld22=AesthPartHand(Hand,Haprt20,0,0,"Black","Hand Part22","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.36),HandWelds)
  672. Haprt23,Hamsh23,Hawld23=AesthPartHand(Hand,Haprt21,0,0,"Black","Hand Part23","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.02)*euler(0,0,0),HandWelds)
  673. Haprt24,Hamsh24,Hawld24=AesthPartHand(Hand,Haprt23,0,0,"Fossil","Hand Part24","SmoothPlastic","BlockMesh","nil","nil",2,2.6,4,euler(0,0,0)*cf(0,0,-.4),HandWelds)
  674. Haprt25,Hamsh25,Hawld25=AesthPartHand(Hand,Haprt23,0,0,"Medium blue","Hand Part25","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-97.27),0,mr(90))*cf(-.12,0,-.92),HandWelds)
  675. Haprt26,Hamsh26,Hawld26=AesthPartHand(Hand,Haprt23,0,0,"Medium blue","Hand Part26","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-90),0,mr(90))*cf(-.2,0,-.81),HandWelds)
  676. Haprt27,Hamsh27,Hawld27=AesthPartHand(Hand,Haprt23,0,0,"Storm blue","Hand Part27","SmoothPlastic","SpecialMesh","Wedge","nil",2,6,2.5,euler(mr(-90),0,mr(90))*cf(-.24,0,-.99),HandWelds)
  677.  
  678. Haprt28,Hamsh28,Hawld28=AesthPartHand(Hand,Haprtmoarmain,0,0,"Black","Hand Part28","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(mr(18.004),0,0)*cf(--[[0,-.3,-.865]]0,-.24,-.64),HandWelds)
  679. Haprt29,Hamsh29,Hawld29=AesthPartHand(Hand,Haprt28,0,0,"Fossil","Hand Part29","SmoothPlastic","BlockMesh","nil","nil",2,2.6,3.5,euler(0,0,0)*cf(0,0,-.3)*euler(0,0,0)*euler(0,0,0),HandWelds)
  680. Haprt30,Hamsh30,Hawld30=AesthPartHand(Hand,Haprt29,0,0,"Black","Hand Part30","SmoothPlastic","BlockMesh","nil","nil",1,1,1,euler(0,0,0)*cf(0,0,-.38),HandWelds)
  681. Haprt31,Hamsh31,Hawld31=AesthPartHand(Hand,Haprt29,0,0,"Black","Hand Part31","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.36),HandWelds)
  682. Haprt32,Hamsh32,Hawld32=AesthPartHand(Hand,Haprt30,0,0,"Black","Hand Part32","SmoothPlastic","BlockMesh","nil","nil",2.2,2.7,.2,euler(0,0,0)*cf(0,0,-.02)*euler(0,0,0),HandWelds)
  683. Haprt33,Hamsh33,Hawld33=AesthPartHand(Hand,Haprt32,0,0,"Fossil","Hand Part33","SmoothPlastic","BlockMesh","nil","nil",2,2.6,4,euler(0,0,0)*cf(0,0,-.4),HandWelds)
  684. Haprt34,Hamsh34,Hawld34=AesthPartHand(Hand,Haprt32,0,0,"Medium blue","Hand Part34","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-97.27),0,mr(90))*cf(-.12,0,-.92),HandWelds)
  685. Haprt35,Hamsh35,Hawld35=AesthPartHand(Hand,Haprt32,0,0,"Medium blue","Hand Part35","SmoothPlastic","SpecialMesh","Wedge","nil",3,6,2.5,euler(mr(-90),0,mr(90))*cf(-.2,0,-.81),HandWelds)
  686. Haprt36,Hamsh36,Hawld36=AesthPartHand(Hand,Haprt32,0,0,"Storm blue","Hand Part36","SmoothPlastic","SpecialMesh","Wedge","nil",2,6,2.5,euler(mr(-90),0,mr(90))*cf(-.24,0,-.99),HandWelds)
  687. if tharm==2 then
  688. Hawld10.C0=euler(mr(90),0,0)*cf(0,-.7,-.42)
  689. Hawld19.C0=euler(mr(90),0,0)*cf(0,-.7,.42)
  690. Hawld28.C0=euler(mr(18.004+180)*-1,0,0)*cf(--[[0,-.3,-.865]]0,-.24,-.64*-1)
  691. end
  692.  
  693. local DaHand={}
  694. for _,v in pairs(HandWelds:children()) do
  695. table.insert(DaHand,v)
  696. end
  697. Haprtmoarmainwld.Parent=HandWelds
  698. table.insert(DaHand,Haprtmoarmainwld)
  699.  
  700. for i=0,135,45 do
  701. Haprt09,Hamsh09,Hawld09=AesthPartHand(Hand,Haprtmoarmain,0,0,"Medium blue","Hand Part09","SmoothPlastic","BlockMesh","nil","nil",.6,1,5,euler(0,mr(i),mr(90))*cf(.21,-.02,0),HandWelds)
  702. end
  703.  
  704. table.insert(Hands,DaHand)
  705. end
  706.  
  707. --end
  708.  
  709. --Neck.C0=clerp(Neck.C0,necko*cf(0,0,-.2)*euler(-.4,0,0),1)
  710. --Hwld07.C0=euler(mr(90),0,mr(90))*euler(.4,0,0)*cf(0,.38,-.14+.2)
  711. local hitbox=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  712. --hitbox.Anchored=true
  713. local hitboxCF=cf(0,0,0)
  714.  
  715. TehHealth=2000+(#game.Players:GetChildren()*50)
  716. modelzorz.Parent=nil
  717. --TehHealth=2000
  718. Humanoid.MaxHealth=TehHealth
  719. Humanoid.Health=TehHealth
  720. Humanoid.HipHeight=.6
  721. coroutine.resume(coroutine.create(function()
  722. for i=1,20 do
  723. wait()
  724. Humanoid.Health=Humanoid.MaxHealth
  725. end
  726. Humanoid:TakeDamage(1)
  727. end))
  728. local Stats=Instance.new("BoolValue")
  729. Stats.Name="Stats"
  730. Stats.Parent=Character
  731. local Atk=Instance.new("NumberValue")
  732. Atk.Name="Damage"
  733. Atk.Parent=Stats
  734. Atk.Value=1
  735. local Def=Instance.new("NumberValue")
  736. Def.Name="Defense"
  737. Def.Parent=Stats
  738. Def.Value=1
  739. local Mvmt=Instance.new("NumberValue")
  740. Mvmt.Name="Movement"
  741. Mvmt.Parent=Stats
  742. Mvmt.Value=1
  743. local Block=Instance.new("BoolValue")
  744. Block.Name="Block"
  745. Block.Parent=Stats
  746. Block.Value=false
  747. local Stun=Instance.new("NumberValue")
  748. Stun.Name="Stun"
  749. Stun.Parent=Stats
  750. Stun.Value=0
  751. local StunT=Instance.new("NumberValue")
  752. StunT.Name="StunThreshold"
  753. StunT.Parent=Stats
  754. StunT.Value=250
  755. local Rooted=Instance.new("BoolValue")
  756. Rooted.Name="Rooted"
  757. Rooted.Parent=Stats
  758. Rooted.Value=false
  759. local Stunned=Instance.new("BoolValue")
  760. Stunned.Name="Stunned"
  761. Stunned.Parent=Stats
  762. Stunned.Value=false
  763. local Stagger=Instance.new("BoolValue")
  764. Stagger.Name="Stagger"
  765. Stagger.Parent=Stats
  766. Stagger.Value=false
  767. local StaggerHit=Instance.new("BoolValue")
  768. StaggerHit.Name="StaggerHit"
  769. StaggerHit.Parent=Stats
  770. StaggerHit.Value=false
  771. local RecentEnemy=Instance.new("ObjectValue")
  772. RecentEnemy.Name="RecentEnemy"
  773. RecentEnemy.Parent=Stats
  774. RecentEnemy.Value=nil
  775. local Decrease=Instance.new("BoolValue")
  776. Decrease.Name="Decrease"
  777. Decrease.Parent=Stats
  778. Decrease.Value=false
  779. local mana=Instance.new("NumberValue")
  780. mana.Name="Mana"
  781. mana.Parent=Stats
  782. mana.Value=0
  783. local boss=Instance.new("BoolValue")
  784. boss.Name="Boss"
  785. boss.Parent=Stats
  786. boss.Value=true
  787. local alive=Instance.new("BoolValue")
  788. alive.Name="Alive"
  789. alive.Parent=Character
  790. alive.Value=true
  791. local btarget=Instance.new("ObjectValue")
  792. btarget.Name="Target"
  793. btarget.Parent=Stats
  794. btarget.Value=nil
  795. local Alignment=Instance.new("Color3Value")
  796. Alignment.Name="Alignment"
  797. Alignment.Parent=Character
  798. Alignment.Value=BrickColor.new("Bright blue").Color
  799. local passive1=Instance.new("NumberValue",Decrease)
  800. passive1.Name="DecreaseAtk"
  801. passive1.Value=-.4
  802. local passive2=Instance.new("NumberValue",Decrease)
  803. passive2.Name="DecreaseDef"
  804. passive2.Value=-.8
  805. local passive3=Instance.new("NumberValue",Decrease)
  806. passive3.Name="DecreaseMvmt"
  807. passive3.Value=.2
  808.  
  809. local TehPos=Instance.new("Vector3Value")
  810. TehPos.Name="TehPos"
  811. TehPos.Parent=Character
  812. TehPos.Value=vt(0,0,0)
  813.  
  814. so = function(id,par,vol,pit)
  815. coroutine.resume(coroutine.create(function()
  816. local sou = Instance.new("Sound",par or workspace)
  817. sou.Volume=vol
  818. sou.Pitch=pit or 1
  819. sou.SoundId="http://www.roblox.com/asset/?id="..id
  820. --swait()
  821. sou:play()
  822. game:GetService("Debris"):AddItem(sou,sou.TimeLength+1)
  823. end))
  824. end
  825.  
  826. local function CFrameFromTopBack(at, top, back)
  827. local right = top:Cross(back)
  828. return CFrame.new(at.x, at.y, at.z,
  829. right.x, top.x, back.x,
  830. right.y, top.y, back.y,
  831. right.z, top.z, back.z)
  832. end
  833.  
  834. function Triangle(a, b, c)
  835. local edg1 = (c-a):Dot((b-a).unit)
  836. local edg2 = (a-b):Dot((c-b).unit)
  837. local edg3 = (b-c):Dot((a-c).unit)
  838. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  839. a, b, c = a, b, c
  840. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  841. a, b, c = b, c, a
  842. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  843. a, b, c = c, a, b
  844. else
  845. assert(false, "unreachable")
  846. end
  847.  
  848. local len1 = (c-a):Dot((b-a).unit)
  849. local len2 = (b-a).magnitude - len1
  850. local width = (a + (b-a).unit*len1 - c).magnitude
  851.  
  852. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  853.  
  854. local list = {}
  855.  
  856. if len1 > 0.01 then
  857. local w1 = Instance.new('WedgePart', m)
  858. w1.Name = "Triangle"
  859. game:GetService("Debris"):AddItem(w1,5)
  860. w1.Material = "SmoothPlastic"
  861. w1.FormFactor = 'Custom'
  862. w1.BrickColor = BrickColor.new("Teal")
  863. w1.Transparency = 0
  864. w1.Reflectance = 0
  865. w1.Material = "SmoothPlastic"
  866. w1.CanCollide = false
  867. NoOutline(w1)
  868. local sz = Vector3.new(0.2, width, len1)
  869. w1.Size = sz
  870. local sp = Instance.new("SpecialMesh",w1)
  871. sp.MeshType = "Wedge"
  872. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  873. w1:BreakJoints()
  874. w1.Anchored = true
  875. w1.Parent = workspace
  876. w1.Transparency = 0.7
  877. table.insert(Effects,{w1,"Disappear",.05})
  878. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  879. table.insert(list,w1)
  880. end
  881.  
  882. if len2 > 0.01 then
  883. local w2 = Instance.new('WedgePart', m)
  884. w2.Name = "Triangle"
  885. game:GetService("Debris"):AddItem(w2,5)
  886. w2.Material = "SmoothPlastic"
  887. w2.FormFactor = 'Custom'
  888. w2.BrickColor = BrickColor.new("Teal")
  889. w2.Transparency = 0
  890. w2.Reflectance = 0
  891. w2.Material = "SmoothPlastic"
  892. w2.CanCollide = false
  893. NoOutline(w2)
  894. local sz = Vector3.new(0.2, width, len2)
  895. w2.Size = sz
  896. local sp = Instance.new("SpecialMesh",w2)
  897. sp.MeshType = "Wedge"
  898. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  899. w2:BreakJoints()
  900. w2.Anchored = true
  901. w2.Parent = workspace
  902. w2.Transparency = 0.7
  903. table.insert(Effects,{w2,"Disappear",.05})
  904. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  905. table.insert(list,w2)
  906. end
  907. return unpack(list)
  908. end
  909.  
  910. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type)
  911. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  912. prt.Anchored=true
  913. prt.CFrame=cframe
  914. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  915. game:GetService("Debris"):AddItem(prt,3)
  916. if Type==1 or Type==nil then
  917. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3,msh})
  918. elseif Type==2 then
  919. table.insert(Effects,{prt,"Block2",delay,x3,y3,z3,msh})
  920. end
  921. end
  922.  
  923. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  924. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  925. prt.Anchored=true
  926. prt.CFrame=cframe
  927. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  928. game:GetService("Debris"):AddItem(prt,3)
  929. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  930. end
  931.  
  932. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  933. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  934. prt.Anchored=true
  935. prt.CFrame=cframe
  936. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  937. game:GetService("Debris"):AddItem(prt,3)
  938. table.insert(Effects,{prt,"Cylinder2",delay,x3,y3,z3,msh})
  939. end
  940.  
  941. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  942. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  943. prt.Anchored=true
  944. prt.CFrame=cframe*cf(x2,y2,z2)
  945. local msh=mesh("SpecialMesh",prt,"FileMesh","3270017",vt(0,0,0),vt(x1,y1,z1))
  946. game:GetService("Debris"):AddItem(prt,3)
  947. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  948. end
  949.  
  950. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  951. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  952. prt.Anchored=true
  953. prt.CFrame=cframe
  954. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  955. game:GetService("Debris"):AddItem(prt,3)
  956. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  957. end
  958.  
  959. function MagicCylinder3(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  960. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  961. prt.Anchored=true
  962. prt.CFrame=cframe
  963. local msh=mesh("SpecialMesh",prt,"Head","nil",vt(0,0,0),vt(x1,y1,z1))
  964. game:GetService("Debris"):AddItem(prt,3)
  965. table.insert(Effects,{prt,"Cylinder2",delay,x3,y3,z3,msh})
  966. end
  967.  
  968. function MagicHead(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  969. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  970. prt.Anchored=true
  971. prt.CFrame=cframe
  972. local msh=mesh("SpecialMesh",prt,"Head","nil",vt(0,0,0),vt(x1,y1,z1))
  973. game:GetService("Debris"):AddItem(prt,3)
  974. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  975. end
  976.  
  977. function ClangEffect(brickcolor,cframe,duration,decrease,size,power)
  978. local prt=part(3,effects,0,1,brickcolor,"Effect",vt())
  979. prt.Anchored=true
  980. prt.CFrame=cframe
  981. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(5,5,5))
  982. game:GetService("Debris"):AddItem(prt,3)
  983. table.insert(Effects,{prt,"CylinderClang",duration,decrease,size,power,prt.CFrame,nil})
  984. end
  985.  
  986. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  987. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  988. prt.Anchored=true
  989. prt.CFrame=cframe
  990. local msh=mesh("SpecialMesh",prt,"FileMesh","20329976",vt(0,0,0),vt(x1,y1,z1))
  991. game:GetService("Debris"):AddItem(prt,3)
  992. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  993. end
  994.  
  995. function MagicWave3(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  996. local prt=part(3,effects,0,0,brickcolor,"Effect",vt())
  997. prt.Anchored=true
  998. prt.CFrame=cframe
  999. local msh=mesh("SpecialMesh",prt,"FileMesh","1323306",vt(0,0,0),vt(x1,y1,z1))
  1000. game:GetService("Debris"):AddItem(prt,10)
  1001. table.insert(Effects,{prt,"Cylinder3",delay,x3,y3,z3,msh,0})
  1002. end
  1003.  
  1004. function StartAnim()
  1005. attack=true
  1006. attack=false
  1007. end
  1008.  
  1009. wait()
  1010. --print("Manotech spawned.")
  1011.  
  1012. function LeftHandClaw(Hand,mov)
  1013. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(10),0)*euler(mr(-10),0,0),mov)
  1014. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(10),0),mov)
  1015. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(10),0)*euler(mr(10),0,0),mov)
  1016. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1017. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(10),0,0)*euler(0,0,mr(0)),mov)
  1018. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1019. end
  1020.  
  1021. function RightHandClaw(Hand,mov)
  1022. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(10),0)*euler(mr(10),0,0),mov)
  1023. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1024. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(10),0)*euler(mr(-10),0,0),mov)
  1025. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(10),0),mov)
  1026. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(-10),0,0)*euler(0,0,mr(0)),mov)
  1027. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1028. end
  1029.  
  1030. function LeftHandFist(Hand,mov)
  1031. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(70),0)*euler(mr(0),0,0),mov)
  1032. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(120),0),mov)
  1033. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(70),0)*euler(mr(0),0,0),mov)
  1034. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(120),0),mov)
  1035. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,-.2,-.4)*euler(0,mr(70),0)*euler(mr(60),0,0)*euler(0,0,mr(0)),mov)
  1036. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(90),0),mov)
  1037. end
  1038.  
  1039. function RightHandFist(Hand,mov)
  1040. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(90),0)*euler(mr(0),0,0),mov)
  1041. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(120),0),mov)
  1042. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(90),0)*euler(mr(0),0,0),mov)
  1043. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(120),0),mov)
  1044. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,-.2,-.4)*euler(0,mr(70),0)*euler(mr(-60),0,0)*euler(0,0,mr(0)),mov)
  1045. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(90),0),mov)
  1046. end
  1047.  
  1048. function LeftHandOpen(Hand,mov)
  1049. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-10),0)*euler(mr(-20),0,0),mov)
  1050. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1051. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-10),0)*euler(mr(20),0,0),mov)
  1052. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1053. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-20),0)*euler(mr(10),0,0)*euler(0,0,mr(0)),mov)
  1054. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(40),0),mov)
  1055. end
  1056.  
  1057. function RightHandOpen(Hand,mov)
  1058. Hand[12].C0=clerp(Hand[12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-10),0)*euler(mr(20),0,0),mov)
  1059. Hand[15].C0=clerp(Hand[15].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1060. Hand[21].C0=clerp(Hand[21].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-10),0)*euler(mr(-20),0,0),mov)
  1061. Hand[24].C0=clerp(Hand[24].C0,cf(0,0,-.02)*euler(0,mr(30),0),mov)
  1062. Hand[30].C0=clerp(Hand[30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(-20),0)*euler(mr(-10),0,0)*euler(0,0,mr(0)),mov)
  1063. Hand[33].C0=clerp(Hand[33].C0,cf(0,0,-.02)*euler(0,mr(40),0),mov)
  1064. end
  1065.  
  1066. --workspace.CurrentCamera.CameraSubject=Head
  1067.  
  1068. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-.5,2.6),1)
  1069. Hands[1][12].C0=clerp(Hands[1][12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(30),0,0),1)
  1070. Hands[1][15].C0=clerp(Hands[1][15].C0,cf(0,0,-.02)*euler(0,mr(100),0),1)
  1071. Hands[1][21].C0=clerp(Hands[1][21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(10),0)*euler(mr(-10),0,0),1)
  1072. Hands[1][24].C0=clerp(Hands[1][24].C0,cf(0,0,-.02)*euler(0,mr(60),0),1)
  1073. Hands[1][30].C0=clerp(Hands[1][30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(-5),0,0)*euler(0,0,mr(10)),1)
  1074. Hands[1][33].C0=clerp(Hands[1][33].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1075.  
  1076. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(140),0)*euler(mr(10),0,0)*cf(4,-.7,3.2),1)
  1077. Hands[2][12].C0=clerp(Hands[2][12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(10),0)*euler(mr(-10),0,0),1)
  1078. Hands[2][15].C0=clerp(Hands[2][15].C0,cf(0,0,-.02)*euler(0,mr(10),0),1)
  1079. Hands[2][21].C0=clerp(Hands[2][21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(20),0)*euler(mr(10),0,0),1)
  1080. Hands[2][24].C0=clerp(Hands[2][24].C0,cf(0,0,-.02)*euler(0,mr(40),0),1)
  1081. Hands[2][30].C0=clerp(Hands[2][30].C0,euler(0,0,0)*cf(0,-.2,-.3)*euler(0,mr(40),0)*euler(mr(30),0,0)*euler(0,0,mr(-10)),1)
  1082. Hands[2][33].C0=clerp(Hands[2][33].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1083.  
  1084. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(60),0)*euler(mr(30),0,0)*cf(-4,-4,-2),1)
  1085. Hands[3][12].C0=clerp(Hands[3][12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(10),0)*euler(mr(10),0,0),1)
  1086. Hands[3][15].C0=clerp(Hands[3][15].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1087. Hands[3][21].C0=clerp(Hands[3][21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(10),0)*euler(mr(-10),0,0),1)
  1088. Hands[3][24].C0=clerp(Hands[3][24].C0,cf(0,0,-.02)*euler(0,mr(10),0),1)
  1089. Hands[3][30].C0=clerp(Hands[3][30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(-10),0,0)*euler(0,0,mr(0)),1)
  1090. Hands[3][33].C0=clerp(Hands[3][33].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1091.  
  1092. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(120),0)*euler(mr(30),0,0)*cf(4,-4,-2),1)
  1093. Hands[4][12].C0=clerp(Hands[4][12].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(10),0)*euler(mr(-10),0,0),1)
  1094. Hands[4][15].C0=clerp(Hands[4][15].C0,cf(0,0,-.02)*euler(0,mr(10),0),1)
  1095. Hands[4][21].C0=clerp(Hands[4][21].C0,euler(0,0,0)*cf(0,0,-.35)*euler(0,mr(10),0)*euler(mr(10),0,0),1)
  1096. Hands[4][24].C0=clerp(Hands[4][24].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1097. Hands[4][30].C0=clerp(Hands[4][30].C0,euler(0,0,0)*cf(0,0,-.3)*euler(0,mr(20),0)*euler(mr(10),0,0)*euler(0,0,mr(0)),1)
  1098. Hands[4][33].C0=clerp(Hands[4][33].C0,cf(0,0,-.02)*euler(0,mr(30),0),1)
  1099.  
  1100. RightHandClaw(Hands[1],1)
  1101. LeftHandClaw(Hands[2],1)
  1102. RightHandClaw(Hands[3],1)
  1103. LeftHandClaw(Hands[4],1)
  1104.  
  1105. function StunAnim()
  1106. attack=true
  1107. Stunned.Value=true
  1108. showDamage(Character,"Stunned","Interrupt")
  1109. local dec=Instance.new("NumberValue",Decrease)
  1110. dec.Name="DecreaseMvmt"
  1111. dec.Value=10
  1112. for i=0,1,0.3 do
  1113. swait()
  1114. Neck.C0=clerp(Neck.C0,necko*euler(-.2,.5,0),.2)
  1115. RootJoint.C0=clerp(RootJoint.C0,euler(-.2,3,0),.2)
  1116. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-.2,0,1.3),.2)
  1117. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1118. LW.C0=clerp(LW.C0,cf(-1.5,0.6,-.4)*euler(1,0,.4)*euler(0,-.1,0),.2)
  1119. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1120. RH.C0=clerp(RH.C0,cf(.625,-1,0)*euler(0,1.57,0)*euler(-.5,0,.3),.25)
  1121. LH.C0=clerp(LH.C0,cf(-.625,-1.2,0)*euler(0,-1.57,0)*euler(-.2,0,0),.25)
  1122. end
  1123. for i=0,1,0.3 do
  1124. swait()
  1125. Neck.C0=clerp(Neck.C0,necko*euler(-.3,.5,0),.2)
  1126. RootJoint.C0=clerp(RootJoint.C0,cf(0,0,-.5)*euler(-.8,3,0),.2)
  1127. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-.8,0,1.3),.2)
  1128. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1129. LW.C0=clerp(LW.C0,cf(-1.5,0.6,-.4)*euler(1.2,0,.8)*euler(0,-.1,0),.2)
  1130. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1131. RH.C0=clerp(RH.C0,cf(.625,-1,0)*euler(0,1.57,0)*euler(-.5,0,.6),.25)
  1132. LH.C0=clerp(LH.C0,cf(-.625,-1.2,0)*euler(0,-1.57,0)*euler(.1,0,.7),.25)
  1133. end
  1134. for i=0,1,0.3 do
  1135. swait()
  1136. Neck.C0=clerp(Neck.C0,necko*euler(-.3,-1,0),.2)
  1137. RootJoint.C0=clerp(RootJoint.C0,cf(0,0,-2)*euler(-1.57,3,0),.2)
  1138. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-.8,0,1.3),.2)
  1139. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1140. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.2,0,-.8)*euler(0,-.1,0),.2)
  1141. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.2)
  1142. RH.C0=clerp(RH.C0,cf(.625,-1,0)*euler(0,1.57,0)*euler(-.2,0,.6),.25)
  1143. LH.C0=clerp(LH.C0,cf(-.625,-1.2,0)*euler(0,-1.57,0)*euler(-.1,0,.3),.25)
  1144. end
  1145. local gairost=Instance.new("BodyGyro")
  1146. --gairost.Parent=RootPart
  1147. gairost.maxTorque=Vector3.new(4e+005,0,4e+005)*math.huge
  1148. gairost.P=20e+003
  1149. gairost.cframe=cf(0,0,0)
  1150. for i=0,1,0.1 do
  1151. swait()
  1152. Neck.C0=clerp(Neck.C0,necko*euler(0,-1.57,0),.3)
  1153. RootJoint.C0=clerp(RootJoint.C0,cf(0,0,-2.5)*euler(-1.57,3.14,0),.3)
  1154. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-1.57,0,1.5)*euler(.2,0,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.9,0.6,0)*euler(1.5,0,-1.57)*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(.625,-1.4,0)*euler(0,1.57,0)*euler(-.3,.5,0),.3)
  1159. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-1.57,0)*euler(-.1,.2,0),.3)
  1160. end
  1161. for i=1,150 do
  1162. swait()
  1163. gairost.cframe=RootPart.CFrame
  1164. end
  1165. for i=0,1,0.2 do
  1166. swait()
  1167. Stun.Value=0
  1168. gairost.cframe=RootPart.CFrame
  1169. Neck.C0=clerp(Neck.C0,necko*euler(0,.2,0),.3)
  1170. RootJoint.C0=clerp(RootJoint.C0,cf(0,0,-2)*euler(-1,4,0),.3)
  1171. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-1.57,0,1)*euler(.2,-1,0),.3)
  1172. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1173. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.2,0,.2)*euler(0,0,0),.3)
  1174. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1175. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,1.57,0)*euler(-.3,.5,.4),.3)
  1176. LH.C0=clerp(LH.C0,cf(-.625,-1.4,-1)*euler(0,-1.57,0)*euler(-.1,.2,1),.3)
  1177. end
  1178. gairost.Parent=nil
  1179. dec.Parent=nil
  1180. Stun.Value=0
  1181. Stunned.Value=false
  1182. attack=false
  1183. for i=1,10 do
  1184. swait()
  1185. Stun.Value=0
  1186. end
  1187. end
  1188.  
  1189. function PunchCombo()
  1190. attack=true
  1191. for i=0,1,0.15 do
  1192. swait()
  1193. --LeftHandFist(Hands[2],.35)
  1194. RightHandFist(Hands[1],.35)
  1195. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(20),0)*euler(mr(50),0,mr(0))*cf(-6,-1,-.5),.35)
  1196. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(160),0)*euler(mr(10),0,0)*cf(5,-1,-.5),.35)
  1197. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-3,-2.5),.35)
  1198. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-3,-2.5),.35)
  1199. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-1,0),.35)
  1200. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.35)
  1201. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1,0,1)*euler(0,0,0),.35)
  1202. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(0,0,-.4)*euler(0,0,0),.35)
  1203. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.35)
  1204. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.35)
  1205. end
  1206. hitbox.Parent=Character
  1207. hitbox.CFrame=Hands[1][2].Part0.CFrame
  1208. so("203691447",hitbox,1,1.2)
  1209. for i=0,1,0.2 do
  1210. swait()
  1211. hitbox.CFrame=Hands[1][2].Part0.CFrame
  1212. MagniDamage(Hands[1][2].Part0,3,12,16,math.random(5,7),"Normal",Torso,.2,1,math.random(7,9),nil,true)
  1213. --LeftHandFist(Hands[2],.4)
  1214. RightHandFist(Hands[1],.4)
  1215. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(100),0,mr(0))*cf(-5,0,-.5)*euler(0,mr(-110),0),.4)
  1216. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(160),0)*euler(mr(10),0,0)*cf(5,-1,-.5),.4)
  1217. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-3,-2.5),.4)
  1218. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-3,-2.5),.4)
  1219. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-.2,0),.4)
  1220. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.4)
  1221. RW.C0=clerp(RW.C0,cf(1.2,0.6,-.5)*euler(1.3,0,-1)*euler(0,0,0),.4)
  1222. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(0,0,-.4)*euler(0,0,0),.4)
  1223. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.4)
  1224. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.4)
  1225. end
  1226. hitbox.Parent=nil
  1227. for i=0,1,0.15 do
  1228. swait()
  1229. LeftHandFist(Hands[2],.35)
  1230. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(130),0,mr(0))*cf(-3,2,-.5)*euler(0,mr(-200),0),.3)
  1231. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(180-20),0)*euler(mr(50),0,0)*cf(6,-1,-.5),.35)
  1232. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-3,-2.5),.35)
  1233. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-3,-2.5),.35)
  1234. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,1.2,0),.35)
  1235. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.35)
  1236. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(0,0,.4)*euler(0,0,0),.35)
  1237. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1,0,-1)*euler(0,0,0),.35)
  1238. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.35)
  1239. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.35)
  1240. end
  1241. hitbox.Parent=Character
  1242. so("203691467",hitbox,1,1.2)
  1243. for i=0,1,0.2 do
  1244. swait()
  1245. hitbox.CFrame=Hands[2][2].Part0.CFrame
  1246. MagniDamage(Hands[2][2].Part0,3,12,16,math.random(5,7),"Normal",Torso,.2,1,math.random(7,9),nil,true)
  1247. LeftHandFist(Hands[2],.4)
  1248. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(130),0,mr(0))*cf(-3,2,-.5)*euler(0,mr(-200),0),.3)
  1249. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(180),0)*euler(mr(100),0,0)*cf(7,0,-.5)*euler(0,mr(110),0),.4)
  1250. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-3,-2.5),.4)
  1251. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-3,-2.5),.4)
  1252. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-.2,0),.4)
  1253. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.4)
  1254. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(0,0,.4)*euler(0,0,0),.4)
  1255. LW.C0=clerp(LW.C0,cf(-1.2,0.6,-.5)*euler(1.3,0,1)*euler(0,0,0),.4)
  1256. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.4)
  1257. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.4)
  1258. end
  1259. hitbox.Parent=nil
  1260. for i=0,1,0.15 do
  1261. swait()
  1262. LeftHandFist(Hands[4],.35)
  1263. RightHandFist(Hands[3],.35)
  1264. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(130),0,mr(0))*cf(-3,2,-.5)*euler(0,mr(-200),0),.3)
  1265. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(180),0)*euler(mr(130),0,0)*cf(3,2,-.5)*euler(0,mr(200),0),.3)
  1266. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(-1.5,-3,-2.5),.35)
  1267. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(1.5,-3,-2.5),.35)
  1268. Neck.C0=clerp(Neck.C0,necko*euler(0,-.2,0)*euler(.6,0,0),.35)
  1269. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.35)
  1270. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(2.5,0,.2)*euler(0,0,0),.35)
  1271. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(0,0,-.4)*euler(0,0,0),.35)
  1272. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.35)
  1273. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.35)
  1274. end
  1275. hitbox.Parent=Character
  1276. so("203691492",hitbox,1,1.2)
  1277. for i=0,1,0.2 do
  1278. swait()
  1279. hitbox.CFrame=Hands[3][2].Part0.CFrame
  1280. MagniDamage(Hands[3][2].Part0,3,16,20,math.random(20,30),"Normal",Torso,.2,1,math.random(7,9),nil,true)
  1281. hitbox.CFrame=Hands[4][2].Part0.CFrame
  1282. MagniDamage(Hands[4][2].Part0,3,16,20,math.random(20,30),"Normal",Torso,.2,1,math.random(7,9),nil,true)
  1283. LeftHandFist(Hands[4],.4)
  1284. RightHandFist(Hands[3],.4)
  1285. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(130),0,mr(0))*cf(-3,2,-.5)*euler(0,mr(-200),0),.2)
  1286. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(180),0)*euler(mr(130),0,0)*cf(3,2,-.5)*euler(0,mr(200),0),.2)
  1287. --Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(-1.5,-3,-2.5)*euler(mr(90),0,0)*cf(0,3,3),.4)
  1288. --Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(1.5,-3,-2.5)*euler(mr(90),0,0)*cf(0,3,3),.3)
  1289. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(-1.5,-3,-2.5)*euler(mr(120),0,0)*cf(0,3,3),.4)
  1290. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(30),0,0)*cf(1.5,-3,-2.5)*euler(mr(120),0,0)*cf(0,3,3),.4)
  1291. Neck.C0=clerp(Neck.C0,necko*euler(0,-.2,0)*euler(-.1,0,0),.4)
  1292. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.4)
  1293. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(.5,0,.2)*euler(0,0,0),.4)
  1294. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(0,0,-.4)*euler(0,0,0),.4)
  1295. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.4)
  1296. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.4)
  1297. end
  1298. hitbox.Parent=nil
  1299. attack=false
  1300. end
  1301.  
  1302. --[[ idle
  1303. Hands[1][2].C0=Hands[1][2].C0:lerp(euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-.5,2.3),.3)
  1304. Hands[2][2].C0=Hands[2][2].C0:lerp(euler(0,mr(140),0)*euler(mr(10),0,0)*cf(4,-.7,2.9),.3)
  1305. Hands[3][2].C0=Hands[3][2].C0:lerp(euler(0,mr(60),0)*euler(mr(30),0,0)*cf(-4,-4,-2),.3)
  1306. Hands[4][2].C0=Hands[4][2].C0:lerp(euler(0,mr(120),0)*euler(mr(30),0,0)*cf(4,-4,-2),.3)
  1307. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-.2,0),.3)
  1308. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.3)
  1309. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(.6,0,.2)*euler(0,0,0),.3)
  1310. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(.2,0,-.2)*euler(0,0,0),.3)
  1311. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.3)
  1312. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.3)
  1313. ]]
  1314.  
  1315. function PunchWave()
  1316. attack=true
  1317. for i=0,1,0.1 do
  1318. swait()
  1319. RightHandFist(Hands[1],.4)
  1320. LeftHandFist(Hands[2],.4)
  1321. RightHandFist(Hands[3],.4)
  1322. LeftHandFist(Hands[4],.4)
  1323. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(90),mr(20),0)*cf(-4.5,-.5,2.3),.3)
  1324. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(90),mr(5),0)*cf(-1.5,-.5,2.3),.3)
  1325. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(90),mr(-5),0)*cf(1.5,-.5,2.3),.3)
  1326. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(90),mr(-20),0)*cf(4.5,-.5,2.3),.3)
  1327. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,0,0),.3)
  1328. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1329. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1.57,0,1.57)*euler(0,0,0),.3)
  1330. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.57,0,-1.57)*euler(0,0,0),.3)
  1331. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1332. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1333. end
  1334. hitbox.Parent=Character
  1335. so("203691447",hitbox,1,1)
  1336. for i=0,1,0.1 do
  1337. swait()
  1338. hitbox.CFrame=Hands[1][2].Part0.CFrame
  1339. MagniDamage(Hands[1][2].Part0,3,10,12,math.random(20,30),"Normal",Torso,.5,2,math.random(5,6),nil,true)
  1340. hitbox.CFrame=Hands[2][2].Part0.CFrame
  1341. MagniDamage(Hands[2][2].Part0,3,10,12,math.random(20,30),"Normal",Torso,.5,2,math.random(5,6),nil,true)
  1342. hitbox.CFrame=Hands[3][2].Part0.CFrame
  1343. MagniDamage(Hands[3][2].Part0,3,10,12,math.random(20,30),"Normal",Torso,.5,2,math.random(5,6),nil,true)
  1344. hitbox.CFrame=Hands[4][2].Part0.CFrame
  1345. MagniDamage(Hands[4][2].Part0,3,10,12,math.random(20,30),"Normal",Torso,.5,2,math.random(5,6),nil,true)
  1346. RightHandFist(Hands[1],.4)
  1347. LeftHandFist(Hands[2],.4)
  1348. RightHandFist(Hands[3],.4)
  1349. LeftHandFist(Hands[4],.4)
  1350. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*cf(0,-18,0)*euler(mr(90),mr(20),0)*cf(-4.5,-.5,2.3),.3)
  1351. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*cf(0,-18,0)*euler(mr(90),mr(5),0)*cf(-1.5,-.5,2.3),.3)
  1352. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*cf(0,-18,0)*euler(mr(90),mr(-5),0)*cf(1.5,-.5,2.3),.3)
  1353. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*cf(0,-18,0)*euler(mr(90),mr(-20),0)*cf(4.5,-.5,2.3),.3)
  1354. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,0,0),.3)
  1355. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1356. RW.C0=clerp(RW.C0,cf(1.7,0.6,-.3)*euler(1.57,0,-.2)*euler(0,1,0),.3)
  1357. LW.C0=clerp(LW.C0,cf(-1.7,0.6,-.3)*euler(1.57,0,.2)*euler(0,-1,0),.3)
  1358. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1359. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1360. end
  1361. hitbox.Parent=nil
  1362. attack=false
  1363. end
  1364.  
  1365. function HeavyLeftPunch()
  1366. attack=true
  1367. for i=0,1,0.05 do
  1368. swait()
  1369. LeftHandFist(Hands[2],.4)
  1370. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-6,-2,-2),.3)
  1371. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(100),0)*euler(mr(80),0,0)*cf(4+math.random(-50,50)/100,-.7+math.random(-50,50)/100,-3+math.random(-50,50)/100),.3)
  1372. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(50),0)*euler(mr(30),0,0)*cf(-3,-4,-2.5),.3)
  1373. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(130),0)*euler(mr(30),0,0)*cf(3,-4,-2.5),.3)
  1374. Neck.C0=clerp(Neck.C0,necko*euler(0,-1,0)*euler(-.1,0,0),.3)
  1375. RootJoint.C0=clerp(RootJoint.C0,euler(0,-1,0)*cf(0,0,0),.3)
  1376. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1.3,0,.4)*euler(0,1,0),.3)
  1377. LW.C0=clerp(LW.C0,cf(-1.6,0.6,-.5)*euler(1.57,0,1)*euler(0,-1.4,0),.3)
  1378. RH.C0=clerp(RH.C0,cf(.7,-1.4,0)*euler(0,-1,0),.3)
  1379. LH.C0=clerp(LH.C0,cf(-.625,-1.5,0)*euler(0,-.5,0)*euler(-.3,0,0),.3)
  1380. end
  1381. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-.7,-3),.5)
  1382. hitbox.Parent=Character
  1383. so("203691492",hitbox,1,.9)
  1384. for i=0,1,0.05 do
  1385. swait()
  1386. if i<.3 then
  1387. hitbox.CFrame=Hands[2][2].Part0.CFrame
  1388. MagniDamage(Hands[2][2].Part0,6,10,13,math.random(30,40),"Normal",Head,.5,2,math.random(8,10),nil,true)
  1389. MagicWave(BrickColor.new("Medium stone grey"),Hands[2][2].Part0.CFrame*euler(mr(180),0,0),.6,.6,.6,.6,.6,.6,.1)
  1390. else
  1391. hitbox.Parent=nil
  1392. end
  1393. LeftHandFist(Hands[2],.4)
  1394. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-6,-2,-2),.3)
  1395. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-.7,40),.3)
  1396. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(50),0)*euler(mr(30),0,0)*cf(-3,-4,-2.5),.3)
  1397. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(130),0)*euler(mr(30),0,0)*cf(3,-4,-2.5),.3)
  1398. Neck.C0=clerp(Neck.C0,necko*euler(0,1,0)*euler(-.1,0,0),.4)
  1399. RootJoint.C0=clerp(RootJoint.C0,euler(0,1,0)*cf(0,0,0),.4)
  1400. RW.C0=clerp(RW.C0,cf(1.5,0.5,-.4)*euler(1.3,0,-.8)*euler(0,1,0),.4)
  1401. LW.C0=clerp(LW.C0,cf(-1.6,0.6,-.5)*euler(1.57,0,-1)*euler(0,-1.4,0),.4)
  1402. RH.C0=clerp(RH.C0,cf(.625,-1.5,0)*euler(0,.5,0)*euler(-.3,0,0),.4)
  1403. LH.C0=clerp(LH.C0,cf(-.7,-1.4,0)*euler(0,1,0)*euler(0,0,0),.4)
  1404. end
  1405. hitbox.Parent=nil
  1406. attack=false
  1407. end
  1408.  
  1409. function HeavyRightPunch()
  1410. attack=true
  1411. for i=0,1,0.05 do
  1412. swait()
  1413. RightHandFist(Hands[1],.4)
  1414. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(80),0)*euler(mr(80),0,0)*cf(-3+math.random(-50,50)/100,-.7+math.random(-50,50)/100,-3+math.random(-50,50)/100),.3)
  1415. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(120),0)*euler(mr(20),0,0)*cf(6,-2,-2),.3)
  1416. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(50),0)*euler(mr(30),0,0)*cf(-3,-4,-2.5),.3)
  1417. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(130),0)*euler(mr(30),0,0)*cf(3,-4,-2.5),.3)
  1418. Neck.C0=clerp(Neck.C0,necko*euler(0,1,0)*euler(-.1,0,0),.3)
  1419. RootJoint.C0=clerp(RootJoint.C0,euler(0,1,0)*cf(0,0,0),.3)
  1420. RW.C0=clerp(RW.C0,cf(1.6,0.6,-.5)*euler(1.57,0,-1)*euler(0,1,0),.3)
  1421. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.3,0,-.4)*euler(0,-1.4,0),.3)
  1422. RH.C0=clerp(RH.C0,cf(.625,-1.5,0)*euler(0,.5,0)*euler(-.3,0,0),.4)
  1423. LH.C0=clerp(LH.C0,cf(-.7,-1.4,0)*euler(0,1,0)*euler(0,0,0),.4)
  1424. end
  1425.  
  1426. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-.7,-3),.5)
  1427. hitbox.Parent=Character
  1428. so("203691492",hitbox,1,.9)
  1429. for i=0,1,0.05 do
  1430. swait()
  1431. if i<.3 then
  1432. hitbox.CFrame=Hands[1][2].Part0.CFrame
  1433. MagniDamage(Hands[1][2].Part0,6,10,13,math.random(30,40),"Normal",Head,.5,2,math.random(8,10),nil,true)
  1434. MagicWave(BrickColor.new("Medium stone grey"),Hands[1][2].Part0.CFrame*euler(mr(180),0,0),.6,.6,.6,.6,.6,.6,.1)
  1435. else
  1436. hitbox.Parent=nil
  1437. end
  1438. LeftHandFist(Hands[1],.4)
  1439. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-.7,40),.3)
  1440. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(120),0)*euler(mr(20),0,0)*cf(6,-2,-2),.3)
  1441. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(50),0)*euler(mr(30),0,0)*cf(-3,-4,-2.5),.3)
  1442. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(130),0)*euler(mr(30),0,0)*cf(3,-4,-2.5),.3)
  1443. Neck.C0=clerp(Neck.C0,necko*euler(0,-1,0)*euler(-.1,0,0),.4)
  1444. RootJoint.C0=clerp(RootJoint.C0,euler(0,-1,0)*cf(0,0,0),.4)
  1445. RW.C0=clerp(RW.C0,cf(1.6,0.6,-.5)*euler(1.57,0,1)*euler(0,1,0),.4)
  1446. LW.C0=clerp(LW.C0,cf(-1.5,0.5,-.4)*euler(1.3,0,.8)*euler(0,-1.4,0),.4)
  1447. RH.C0=clerp(RH.C0,cf(.7,-1.4,0)*euler(0,-1,0),.3)
  1448. LH.C0=clerp(LH.C0,cf(-.625,-1.5,0)*euler(0,-.5,0)*euler(-.3,0,0),.3)
  1449. end
  1450. hitbox.Parent=nil
  1451. attack=false
  1452. end
  1453.  
  1454. function ShockwaveBarrage()
  1455. attack=true
  1456. local oldth=0
  1457. for i=1,10 do
  1458. local th=math.random(1,4)
  1459. while th==oldth do
  1460. th=math.random(1,4)
  1461. end
  1462. local ran=math.random(-2000,2000)/100
  1463. for i=0,1,0.2 do
  1464. swait()
  1465. if th==1 or oldth==1 then RightHandFist(Hands[1],.4) else RightHandClaw(Hands[1],.4) end
  1466. if th==2 or oldth==2 then LeftHandFist(Hands[2],.4) else LeftHandClaw(Hands[2],.4) end
  1467. if th==3 or oldth==3 then RightHandFist(Hands[3],.4) else RightHandClaw(Hands[3],.4) end
  1468. if th==4 or oldth==4 then LeftHandFist(Hands[4],.4) else LeftHandClaw(Hands[4],.4) end
  1469. if th~=1 and oldth~=1 then Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-2,-.5),.3) end
  1470. if th~=2 and oldth~=2 then Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(140),0)*euler(mr(20),0,0)*cf(4.5,-2,-.5),.3) end
  1471. if th~=3 and oldth~=3 then Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-5,-2.5),.3) end
  1472. if th~=4 and oldth~=4 then Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-5,-2.5),.3) end
  1473. Hands[th][2].C0=clerp(Hands[th][2].C0,euler(0,mr(0),0)*euler(mr(90),0,0)*cf(ran,-7,3),.3)
  1474.  
  1475. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1476. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1477. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1478. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1479. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1480. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1481. end
  1482. for i=0,1,0.3 do
  1483. swait()
  1484. if th==1 or oldth==1 then RightHandFist(Hands[1],.4) else RightHandClaw(Hands[1],.4) end
  1485. if th==2 or oldth==2 then LeftHandFist(Hands[2],.4) else LeftHandClaw(Hands[2],.4) end
  1486. if th==3 or oldth==3 then RightHandFist(Hands[3],.4) else RightHandClaw(Hands[3],.4) end
  1487. if th==4 or oldth==4 then LeftHandFist(Hands[4],.4) else LeftHandClaw(Hands[4],.4) end
  1488. if th~=1 and oldth~=1 then Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-2,-.5),.1) end
  1489. if th~=2 and oldth~=2 then Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(140),0)*euler(mr(20),0,0)*cf(4.5,-2,-.5),.1) end
  1490. if th~=3 and oldth~=3 then Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-5,-2.5),.1) end
  1491. if th~=4 and oldth~=4 then Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-5,-2.5),.1) end
  1492. Hands[th][2].C0=clerp(Hands[th][2].C0,euler(0,mr(0),0)*euler(mr(90),0,0)*cf(ran,3.5,3),.5)
  1493.  
  1494. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1495. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1496. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1497. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1498. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1499. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1500. end
  1501. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1502. ref.Anchored=true
  1503. ref.CFrame=Hands[th][2].Part0.CFrame*euler(mr(90),0,0)
  1504. table.insert(Effects,{ref,"Shockwave",128,Hands[th][2].Part0.CFrame*cf(0,0,2)*euler(mr(90),0,0),0})
  1505. game:GetService("Debris"):AddItem(ref,5)
  1506. oldth=th
  1507. coroutine.resume(coroutine.create(function(Teh,Ran)
  1508. for i=0,1,0.2 do
  1509. if attack==true then
  1510. swait()
  1511. end
  1512. Hands[Teh][2].C0=clerp(Hands[Teh][2].C0,euler(0,mr(0),0)*euler(mr(90),0,0)*cf(Ran,3+math.random(-100,100)/100,3+math.random(-100,100)/100),.5)
  1513. end
  1514. oldth=0
  1515. end),oldth,ran)
  1516. end
  1517. attack=false
  1518. end
  1519.  
  1520. function DirectLaser()
  1521. attack=true
  1522. for i=0,1,0.1 do
  1523. swait()
  1524. RightHandOpen(Hands[1],.3)
  1525. LeftHandOpen(Hands[2],.3)
  1526. RightHandOpen(Hands[3],.3)
  1527. LeftHandOpen(Hands[4],.3)
  1528. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(0),0,0)*cf(0,-8,20)*euler(0,mr(0),0),.3)
  1529. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(0),0,0)*cf(0,-8,20)*euler(0,mr(90),0),.3)
  1530. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(0),0,0)*cf(0,-8,20)*euler(0,mr(180),0),.3)
  1531. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(0),0,0)*cf(0,-8,20)*euler(0,mr(270),0),.3)
  1532. Neck.C0=clerp(Neck.C0,necko*euler(.4,0,0)*euler(0,-.2,0),.3)
  1533. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.3)
  1534. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1,0,.6)*euler(0,-1,0),.3)
  1535. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1,0,-.6)*euler(0,1,0),.3)
  1536. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.3)
  1537. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.3)
  1538. end
  1539. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1540. ref.Anchored=true
  1541. --ref.CFrame=Hands[1][38].CFrame
  1542. d=1
  1543. for i=0,60 do
  1544. swait()
  1545. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1546. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1547. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1548. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1549. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1550. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1551. --for d=1,4 do
  1552. if i%4==0 then
  1553. d=d+1
  1554. if d>4 then d=1 end
  1555. ref.CFrame=Hands[d][38].Part0.CFrame
  1556. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(0,mr(90),0)).lookVector,500,Character)
  1557. local mag=(ref.Position-pos).magnitude
  1558. MagicHead(BrickColor.new("Cyan"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  1559. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1560. ref2.Anchored=true
  1561. ref2.CFrame=cf(pos)
  1562. so("300916038",ref,1,1.5)
  1563. so("300916057",ref2,.5,1)
  1564. game:GetService("Debris"):AddItem(ref2,1)
  1565. MagniDamage(ref2,5,8,10,0,"Normal",ref2,.2,1,math.random(4,6),nil,nil,true,nil,nil,nil)
  1566. MagicBlock(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1567. MagicRing(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,3,3,.1,.2)
  1568. end
  1569. for ad=1,4 do
  1570. end
  1571. --end
  1572. end
  1573. ref.Parent=nil
  1574. attack=false
  1575. for i=0,1,0.1 do
  1576. if attack==false then
  1577. swait()
  1578. end
  1579. for d=1,4 do
  1580. Hands[d][38].C1=clerp(Hands[d][38].C1,cf(0,0,0),.5)
  1581. end
  1582. end
  1583. end
  1584.  
  1585. function StraightLaser()
  1586. attack=true
  1587. for i=0,1,0.1 do
  1588. swait()
  1589. RightHandOpen(Hands[1],.3)
  1590. LeftHandOpen(Hands[2],.3)
  1591. RightHandOpen(Hands[3],.3)
  1592. LeftHandOpen(Hands[4],.3)
  1593. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(-12,-.5,2.3),.3)
  1594. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(-4,-.5,2.3),.3)
  1595. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(4,-.5,2.3),.3)
  1596. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(12,-.5,2.3),.3)
  1597. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,0,0),.3)
  1598. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1599. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1.57,0,1.57)*euler(-.5,0,0),.3)
  1600. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.57,0,-1.57)*euler(-.5,0,0),.3)
  1601. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1602. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1603. end
  1604. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(-12,-.5,2.3),1)
  1605. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(-4,-.5,2.3),1)
  1606. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(4,-.5,2.3),1)
  1607. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(0),mr(0),0)*cf(12,-.5,2.3),1)
  1608. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1609. ref.Anchored=true
  1610. for i=0,30 do
  1611. swait()
  1612. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1613. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1614. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1615. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1616. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1617. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1618. for d=1,4 do
  1619. if i%4==0 then
  1620. ref.CFrame=Hands[d][38].Part0.CFrame
  1621. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(0,mr(90),0)).lookVector,500,Character)
  1622. local mag=(ref.Position-pos).magnitude
  1623. MagicHead(BrickColor.new("Cyan"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  1624. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1625. ref2.Anchored=true
  1626. ref2.CFrame=cf(pos)
  1627. if i%2==0 then
  1628. so("300916038",ref,1,1.5)
  1629. so("300916057",ref2,.5,1)
  1630. end
  1631. game:GetService("Debris"):AddItem(ref2,1)
  1632. if hit~=nil then
  1633. if hit.Parent:findFirstChild("Humanoid")~=nil or hit.Parent.Parent:findFirstChild("Humanoid")~=nil then
  1634. MagniDamage(ref2,5,10,12,0,"Normal",ref2,.2,1,math.random(5,6),nil,nil,true,nil,nil,nil)
  1635. end
  1636. end
  1637. if i%2==0 then
  1638. MagicBlock(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1639. end
  1640. if i%3==0 then
  1641. MagicRing(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,3,3,.1,.2)
  1642. end
  1643. end
  1644. end
  1645. end
  1646. ref.Parent=nil
  1647. attack=false
  1648. for i=0,1,0.1 do
  1649. if attack==false then
  1650. swait()
  1651. end
  1652. for d=1,4 do
  1653. Hands[d][38].C1=clerp(Hands[d][38].C1,cf(0,0,0),.5)
  1654. end
  1655. end
  1656. end
  1657.  
  1658. function SpinLaser()
  1659. attack=true
  1660. for i=0,1,0.1 do
  1661. swait()
  1662. RightHandOpen(Hands[1],.3)
  1663. LeftHandOpen(Hands[2],.3)
  1664. RightHandOpen(Hands[3],.3)
  1665. LeftHandOpen(Hands[4],.3)
  1666. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(0),0),.3)
  1667. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(90),0),.3)
  1668. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(180),0),.3)
  1669. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(270),0),.3)
  1670. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,0,0),.3)
  1671. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1672. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1.57,0,1.57)*euler(-.5,0,0),.3)
  1673. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1.57,0,-1.57)*euler(-.5,0,0),.3)
  1674. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1675. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1676. end
  1677. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1678. ref.Anchored=true
  1679. local da=0
  1680. local inc=4
  1681. for i=0,40 do
  1682. swait()
  1683. da=da+inc
  1684. inc=inc-.02
  1685. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(0+da),0),.3)
  1686. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(90+da),0),.3)
  1687. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(180+da),0),.3)
  1688. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*cf(0,-.5,3)*euler(0,mr(270+da),0),.3)
  1689. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1690. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1691. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1692. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1693. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1694. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1695. for d=1,4 do
  1696. if i%3==0 then
  1697. ref.CFrame=Hands[d][38].Part0.CFrame
  1698. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(0,mr(90),0)).lookVector,500,Character)
  1699. local mag=(ref.Position-pos).magnitude
  1700. MagicHead(BrickColor.new("Cyan"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,3,0,3,0.3)
  1701. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1702. ref2.Anchored=true
  1703. ref2.CFrame=cf(pos)
  1704. if i%2==0 then
  1705. so("300916038",ref,1,1.5)
  1706. so("300916057",ref2,.5,1)
  1707. end
  1708. game:GetService("Debris"):AddItem(ref2,1)
  1709. if hit~=nil then
  1710. if hit.Parent:findFirstChild("Humanoid")~=nil or hit.Parent.Parent:findFirstChild("Humanoid")~=nil then
  1711. MagniDamage(ref2,5,12,14,0,"Normal",ref2,.2,1,math.random(5,8),nil,nil,true,nil,nil,nil)
  1712. end
  1713. end
  1714. if i%2==0 then
  1715. MagicBlock(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1716. end
  1717. if i%3==0 then
  1718. MagicRing(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,3,3,.1,.2)
  1719. end
  1720. end
  1721. end
  1722. end
  1723. ref.Parent=nil
  1724. attack=false
  1725. for i=0,1,0.1 do
  1726. if attack==false then
  1727. swait()
  1728. end
  1729. for d=1,4 do
  1730. Hands[d][38].C1=clerp(Hands[d][38].C1,cf(0,0,0),.5)
  1731. end
  1732. end
  1733. end
  1734.  
  1735. function FourShockwave()
  1736. attack=true
  1737. for i=0,1,0.1 do
  1738. swait()
  1739. RightHandFist(Hands[1],.4)
  1740. LeftHandFist(Hands[2],.4)
  1741. RightHandFist(Hands[3],.4)
  1742. LeftHandFist(Hands[4],.4)
  1743. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(15),0)*cf(-4.5,-7,2.3),.3)
  1744. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(5),0)*cf(-1.5,-7,2.3),.3)
  1745. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-5),0)*cf(1.5,-7,2.3),.3)
  1746. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-15),0)*cf(4.5,-7,2.3),.3)
  1747. Neck.C0=clerp(Neck.C0,necko*euler(.3,0,0)*euler(0,0,0),.3)
  1748. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1749. RW.C0=clerp(RW.C0,cf(1.6,1,0)*euler(2.5,0,.1)*euler(0,0,0),.3)
  1750. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1751. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1752. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1753. end
  1754. for i=0,1,0.3 do
  1755. swait()
  1756. RightHandFist(Hands[1],.4)
  1757. LeftHandFist(Hands[2],.4)
  1758. RightHandFist(Hands[3],.4)
  1759. LeftHandFist(Hands[4],.4)
  1760. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(15),0)*cf(-4.5,3.5,2.3),.5)
  1761. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(5),0)*cf(-1.5,3.5,2.3),.5)
  1762. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-5),0)*cf(1.5,3.5,2.3),.5)
  1763. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-15),0)*cf(4.5,3.5,2.3),.5)
  1764. Neck.C0=clerp(Neck.C0,necko*euler(-.3,0,0)*euler(0,0,0),.5)
  1765. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.5)
  1766. RW.C0=clerp(RW.C0,cf(1.6,.5,0)*euler(.5,0,.1)*euler(0,0,0),.5)
  1767. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.5)
  1768. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.5)
  1769. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.5)
  1770. end
  1771. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(15),0)*cf(-4.5,3.5,2.3),1)
  1772. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(5),0)*cf(-1.5,3.5,2.3),1)
  1773. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-5),0)*cf(1.5,3.5,2.3),1)
  1774. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(0),0)*euler(mr(90),mr(-15),0)*cf(4.5,3.5,2.3),1)
  1775. for th=1,4 do
  1776. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1777. ref.Anchored=true
  1778. ref.CFrame=Hands[th][2].Part0.CFrame*euler(mr(90),0,0)
  1779. table.insert(Effects,{ref,"Shockwave",128,Hands[th][2].Part0.CFrame*cf(0,0,2)*euler(mr(90),0,0),0})
  1780. game:GetService("Debris"):AddItem(ref,5)
  1781. end
  1782. attack=false
  1783. end
  1784.  
  1785. function Jet()
  1786. attack=true
  1787. for i=0,1,0.1 do
  1788. swait()
  1789. RightHandOpen(Hands[1],.3)
  1790. LeftHandOpen(Hands[2],.3)
  1791. RightHandOpen(Hands[3],.3)
  1792. LeftHandOpen(Hands[4],.3)
  1793. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(-2.5,-1,-2),.6)
  1794. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(-90),0)*euler(mr(10),0,0)*euler(0,0,mr(180))*cf(-2.5,1,-1.6),.6)
  1795. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(2.5,-1,-2),.6)
  1796. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(-90),0)*euler(mr(10),0,0)*euler(0,0,mr(180))*cf(2.5,1,-1.6),.6)
  1797. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,0)*euler(0,-.2,0),.3)
  1798. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.5,0,0)*cf(0,.5,0),.3)
  1799. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-1,0,.4)*euler(0,0,0),.3)
  1800. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(-1,0,-.4)*euler(0,0,0),.3)
  1801. RH.C0=clerp(RH.C0,cf(.625,-.5,-1)*euler(0,0,0)*euler(.3,0,0),.3)
  1802. LH.C0=clerp(LH.C0,cf(-.625,-1.2,-.2)*euler(0,0,0)*euler(-.3,0,-.2),.3)
  1803. end
  1804. Humanoid.Jump=true
  1805. if Rooted.Value==false then Torso.Velocity=(Torso.CFrame.lookVector*200)+vt(0,1,0)*60 end
  1806. for i=1,4 do
  1807. MagicWave3(BrickColor.new("Cyan"),Hands[i][2].Part0.CFrame*euler(0,0,mr(90)),.5,1,.5,.5,.8,.5,.1)
  1808. end
  1809. attack=false
  1810. end
  1811.  
  1812. function Jet2()
  1813. attack=true
  1814. for i=0,1,0.1 do
  1815. swait()
  1816. RightHandOpen(Hands[1],.3)
  1817. LeftHandOpen(Hands[2],.3)
  1818. RightHandOpen(Hands[3],.3)
  1819. LeftHandOpen(Hands[4],.3)
  1820. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(-2.5,-1,-2),.6)
  1821. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(-90),0)*euler(mr(10),0,0)*euler(0,0,mr(180))*cf(-2.5,1,-1.6),.6)
  1822. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(2.5,-1,-2),.6)
  1823. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(-90),0)*euler(mr(10),0,0)*euler(0,0,mr(180))*cf(2.5,1,-1.6),.6)
  1824. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,0)*euler(0,-.2,0),.3)
  1825. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.5,0,0)*cf(0,.5,0),.3)
  1826. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(-1,0,.4)*euler(0,0,0),.3)
  1827. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(-1,0,-.4)*euler(0,0,0),.3)
  1828. RH.C0=clerp(RH.C0,cf(.625,-.5,-1)*euler(0,0,0)*euler(.3,0,0),.3)
  1829. LH.C0=clerp(LH.C0,cf(-.625,-1.2,-.2)*euler(0,0,0)*euler(-.3,0,-.2),.3)
  1830. end
  1831. Humanoid.Jump=true
  1832. if Rooted.Value==false then Torso.Velocity=(Torso.CFrame.lookVector*150)+vt(0,1,0)*150 end
  1833. for i=1,4 do
  1834. MagicWave3(BrickColor.new("Cyan"),Hands[i][2].Part0.CFrame*euler(0,0,mr(90)),.5,1,.5,.5,.8,.5,.1)
  1835. end
  1836. attack=false
  1837. end
  1838.  
  1839. function SpinAboveLaser()
  1840. attack=true
  1841. for i=0,1,0.1 do
  1842. swait()
  1843. RightHandOpen(Hands[1],.3)
  1844. LeftHandOpen(Hands[2],.3)
  1845. RightHandOpen(Hands[3],.3)
  1846. LeftHandOpen(Hands[4],.3)
  1847. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5)*euler(0,mr(0),0),.3)
  1848. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5)*euler(0,mr(90),0),.3)
  1849. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5)*euler(0,mr(180),0),.3)
  1850. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5)*euler(0,mr(270),0),.3)
  1851. Neck.C0=clerp(Neck.C0,necko*euler(.4,0,0)*euler(0,-.2,0),.3)
  1852. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.3)
  1853. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1,0,.6)*euler(0,-1,0),.3)
  1854. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(1,0,-.6)*euler(0,1,0),.3)
  1855. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.3)
  1856. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.3)
  1857. end
  1858.  
  1859. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1860. ref.Anchored=true
  1861. --ref.CFrame=Hands[1][38].CFrame
  1862. local da=0
  1863. for i=0,60 do
  1864. swait()
  1865. da=da+.1
  1866. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5+5*da)*euler(0,mr(0+45*da),0),.3)
  1867. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5+5*da)*euler(0,mr(90+45*da),0),.3)
  1868. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5+5*da)*euler(0,mr(180+45*da),0),.3)
  1869. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(90),0)*euler(mr(90),0,0)*cf(0,-8,5+5*da)*euler(0,mr(270+45*da),0),.3)
  1870. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.3)
  1871. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,0,0),.3)
  1872. RW.C0=clerp(RW.C0,cf(1.6,0.5,.1)*euler(-.2,0,-.4)*euler(0,0,0),.3)
  1873. LW.C0=clerp(LW.C0,cf(-1.6,0.5,.1)*euler(-.2,0,.4)*euler(0,0,0),.3)
  1874. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0),.3)
  1875. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.1,0,0),.3)
  1876. for d=1,4 do
  1877. if i%4==0 then
  1878. ref.CFrame=Hands[d][38].Part0.CFrame
  1879. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(0,mr(90),0)).lookVector,500,Character)
  1880. local mag=(ref.Position-pos).magnitude
  1881. MagicHead(BrickColor.new("Cyan"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  1882. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1883. ref2.Anchored=true
  1884. ref2.CFrame=cf(pos)
  1885. if i%2==0 then
  1886. so("300916038",ref,1,1.5)
  1887. so("300916057",ref2,.5,1)
  1888. end
  1889. game:GetService("Debris"):AddItem(ref2,1)
  1890. MagniDamage(ref2,5,12,14,0,"Normal",ref2,.2,1,math.random(6,10),nil,nil,true,nil,nil,nil)
  1891. if i%2==0 then
  1892. MagicBlock(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1893. end
  1894. if i%3==0 then
  1895. MagicRing(BrickColor.new("Bright blue"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,3,3,.1,.2)
  1896. end
  1897. end
  1898. end
  1899. end
  1900. ref.Parent=nil
  1901. attack=false
  1902. end
  1903.  
  1904. function DecreaseStat(Model,Stat,Amount,Duration)
  1905. if Model:findFirstChild("Stats")~=nil then
  1906. if Model.Stats[Stat]~=nil then
  1907. Model.Stats[Stat].Value=Model.Stats[Stat].Value-Amount
  1908. d=Instance.new("NumberValue",Model.Stats.Decrease)
  1909. game:GetService("Debris"):AddItem(d,40)
  1910. if Stat=="Damage" then
  1911. d.Name="DecreaseAtk"
  1912. elseif Stat=="Defense" then
  1913. d.Name="DecreaseDef"
  1914. elseif Stat=="Movement" then
  1915. d.Name="DecreaseMvmt"
  1916. end
  1917. if Model:findFirstChild("Torso")~=nil then
  1918. display=""
  1919. if Stat=="Damage" then
  1920. if Amount>0 then
  1921. display="-Damage"
  1922. else
  1923. display="+Damage"
  1924. end
  1925. elseif Stat=="Defense" then
  1926. if Amount>0 then
  1927. display="-Defense"
  1928. else
  1929. display="+Defense"
  1930. end
  1931. elseif Stat=="Movement" then
  1932. if Amount>0 then
  1933. display="-Movement"
  1934. else
  1935. display="+Movement"
  1936. end
  1937. end
  1938. showDamage(Model,display,"Debuff")
  1939. end
  1940. d.Value=Amount
  1941. table.insert(Effects,{Model,"DecreaseStat",Stat,Amount,Duration,d})
  1942. end
  1943. end
  1944. end
  1945.  
  1946. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1947. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1948. end
  1949.  
  1950. function findNearestTorso(pos)
  1951. local list = game.Workspace:children()
  1952. local torso = nil
  1953. local dist = 1000
  1954. local temp = nil
  1955. local human = nil
  1956. local temp2 = nil
  1957. for x = 1, #list do
  1958. temp2 = list[x]
  1959. if (temp2.className == "Model") and (temp2.Name~=bName) then
  1960. temp = temp2:findFirstChild("Torso")
  1961. human = temp2:findFirstChild("Humanoid")
  1962. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1963. if btarget.Value==nil then
  1964. if (temp.Position - pos).magnitude < dist then
  1965. local dohit=true
  1966. --if temp2:findFirstChild("Stats")~=nil then if temp2.Stats:findFirstChild("Boss")~=nil then if temp2.Stats.Boss.Value==true then dohit=false end end end
  1967. if temp2:findFirstChild("Alignment")~=nil then if temp2:findFirstChild("Alignment").Value==Alignment.Value then dohit=false end end
  1968. if game.Players:GetPlayerFromCharacter(temp2)~=nil then
  1969. if game.Players:GetPlayerFromCharacter(temp2).TeamColor==BrickColor.new(Alignment.Value) then dohit=false end
  1970. end
  1971. if temp2:findFirstChild("Alive")==nil then dohit=false end
  1972. if dohit==true then
  1973. torso = temp
  1974. dist = (temp.Position - pos).magnitude
  1975. end
  1976. end
  1977. else
  1978. if btarget.Value.Parent~=nil then
  1979. if btarget.Value:findFirstChild("Torso")~=nil then
  1980. if btarget.Value:findFirstChild("Humanoid")~=nil then
  1981. if btarget.Value.Humanoid.Health<=0 then
  1982. btarget.Value=nil
  1983. end
  1984. end
  1985. if btarget.Value~=nil then
  1986. torso=btarget.Value.Torso
  1987. dist = (torso.Position - pos).magnitude
  1988. end
  1989. end
  1990. else
  1991. btarget.Value=nil
  1992. end
  1993. end
  1994. end
  1995. end
  1996. end
  1997. return torso,dist
  1998. end
  1999.  
  2000. function findRandomTorso(pos)
  2001. local list = game.Workspace:children()
  2002. local torso = nil
  2003. local dist = 1000
  2004. local temp = nil
  2005. local human = nil
  2006. local temp2 = nil
  2007. local list2 = {}
  2008. for x = 1, #list do
  2009. temp2 = list[x]
  2010. if (temp2.className == "Model") and (temp2.Name~="Vanta") then
  2011. temp = temp2:findFirstChild("Torso")
  2012. human = temp2:findFirstChild("Humanoid")
  2013. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2014. if pos.magnitude < dist then
  2015. torso = temp
  2016. table.insert(list2,temp)
  2017. end
  2018. end
  2019. end
  2020. end
  2021. if #list2>0 then
  2022. rand=math.random(1,#list2)
  2023. return list2[rand],dist
  2024. else
  2025. return nil,dist
  2026. end
  2027. end
  2028.  
  2029. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration,Sound)
  2030. if hit.Parent==nil then
  2031. return
  2032. end
  2033. h=hit.Parent:FindFirstChild("Humanoid")
  2034. for _,v in pairs(hit.Parent:children()) do
  2035. if v:IsA("Humanoid") then
  2036. h=v
  2037. end
  2038. end
  2039. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2040. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2041. end
  2042. if hit.Parent.className=="Hat" then
  2043. hit=hit.Parent.Parent:findFirstChild("Head")
  2044. end
  2045. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2046. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2047. if hit.Parent:findFirstChild("Alignment")~=nil then
  2048. if hit.Parent.Alignment.Value==Alignment.Value then return end
  2049. end
  2050. if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2051. if game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor==BrickColor.new(Alignment.Value) then return end
  2052. end
  2053. --if hit.Parent:findFirstChild("Stats")~=nil then if hit.Parent.Stats:findFirstChild("Boss")~=nil then if hit.Parent.Stats.Boss.Value==true then return end end end
  2054. RecentEnemy.Value=hit.Parent
  2055. game:GetService("Debris"):AddItem(c,.5)
  2056. minim=minim*Atk.Value
  2057. maxim=maxim*Atk.Value
  2058. Damage=0
  2059. if minim==maxim or minim>maxim then
  2060. Damage=maxim
  2061. else
  2062. Damage=math.random(minim,maxim)
  2063. end
  2064. blocked=false
  2065. enblock=nil
  2066. Stats=hit.Parent:findFirstChild("Stats")
  2067. if Stats~=nil then
  2068. enblock=Stats:findFirstChild("Block")
  2069. if enblock~=nil then
  2070. if enblock.Value==true then
  2071. blocked=true
  2072. end
  2073. end
  2074. if Stats:findFirstChild("Defense")~=nil then
  2075. Damage=Damage/(Stats.Defense.Value)
  2076. if Damage<=3 and (ranged==false or ranged==nil) and blocked~=true then
  2077. hitnum=math.random(1,5)
  2078. if hitnum==1 then so("199149321",hit,1,1)
  2079. elseif hitnum==2 then so("199149338",hit,1,1)
  2080. elseif hitnum==3 then so("199149367",hit,1,1)
  2081. elseif hitnum==4 then so("199149409",hit,1,1)
  2082. elseif hitnum==5 then so("199149452",hit,1,1)
  2083. end
  2084. elseif ranged==false or ranged==nil and blocked~=true then
  2085. hitnum=math.random(1,6)
  2086. if hitnum==1 then so("199149137",hit,1,1)
  2087. elseif hitnum==2 then so("199149186",hit,1,1)
  2088. elseif hitnum==3 then so("199149221",hit,1,1)
  2089. elseif hitnum==4 then so("199149235",hit,1,1)
  2090. elseif hitnum==5 then so("199149269",hit,1,1)
  2091. elseif hitnum==6 then so("199149297",hit,1,1)
  2092. end
  2093. end
  2094. end
  2095. if Stats:findFirstChild("Stun")~=nil then
  2096. if blocked==true then
  2097. incstun=math.floor(incstun/2)
  2098. end
  2099. Stats.Stun.Value=Stats.Stun.Value+incstun
  2100. end
  2101. if Stats:findFirstChild("Stagger")~=nil then
  2102. if stagger==true then
  2103. Stats.Stagger.Value=true
  2104. end
  2105. end
  2106. end
  2107. if blocked==true then
  2108. showDamage(hit.Parent,"Block","Damage")
  2109. hitnum=math.random(1,2)
  2110. if hitnum==1 then so("199148933",hit,1,1)
  2111. elseif hitnum==2 then so("199148947",hit,1,1)
  2112. end
  2113. enblock.Value=false
  2114. else
  2115. Damage=math.floor(Damage)
  2116. h.Health=h.Health-Damage
  2117. --[[coroutine.resume(coroutine.create(function(Hum,Dam)
  2118. damageFunc:InvokeServer(Hum,Dam)
  2119. end),h,Damage)]]
  2120. showDamage(hit.Parent,Damage,"Damage")
  2121. if DecreaseState~=nil then
  2122. if DecreaseState=="Shatter" then
  2123. DecreaseStat(hit.Parent,"Movement",DecreaseAmount,Duration)
  2124. DecreaseStat(hit.Parent,"Damage",DecreaseAmount,Duration)
  2125. else
  2126. DecreaseStat(hit.Parent,DecreaseState,DecreaseAmount,Duration)
  2127. end
  2128. end
  2129. if Type=="Knockdown" then
  2130. hum=hit.Parent.Humanoid
  2131. hum.PlatformStand=true
  2132. coroutine.resume(coroutine.create(function(HHumanoid)
  2133. swait(1)
  2134. HHumanoid.PlatformStand=false
  2135. end),hum)
  2136. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2137. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2138. local bodvol=Instance.new("BodyVelocity")
  2139. bodvol.velocity=angle*knockback
  2140. bodvol.P=5000
  2141. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2142. bodvol.Parent=hit
  2143. rl=Instance.new("BodyAngularVelocity")
  2144. rl.P=3000
  2145. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2146. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2147. rl.Parent=hit
  2148. game:GetService("Debris"):AddItem(bodvol,.5)
  2149. game:GetService("Debris"):AddItem(rl,.5)
  2150. elseif Type=="Shatter" then
  2151. for i=1,10 do
  2152. BreakEffect(BrickColor.new("Cyan"),hit.CFrame,math.random(20,80)/100,math.random(2,10),math.random(20,80)/100)
  2153. end
  2154. elseif Type=="Knockdown2" then
  2155. hum=hit.Parent.Humanoid
  2156. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2157. local bodvol=Instance.new("BodyVelocity")
  2158. bodvol.velocity=angle*knockback
  2159. bodvol.P=5000
  2160. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2161. bodvol.Parent=hit
  2162. game:GetService("Debris"):AddItem(bodvol,.5)
  2163. elseif Type=="Normal" then
  2164. vp=Instance.new("BodyVelocity")
  2165. vp.P=500
  2166. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2167. if KnockbackType==1 then
  2168. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2169. elseif KnockbackType==2 then
  2170. vp.velocity=Property.CFrame.lookVector*knockback
  2171. end
  2172. game:GetService("Debris"):AddItem(vp,.5)
  2173. if knockback>0 then
  2174. vp.Parent=hit.Parent.Torso
  2175. end
  2176. end
  2177. end
  2178. debounce=Instance.new("BoolValue")
  2179. debounce.Name="DebounceHit"
  2180. debounce.Parent=hit.Parent
  2181. debounce.Value=true
  2182. game:GetService("Debris"):AddItem(debounce,Delay)
  2183. CRIT=false
  2184. end
  2185. end
  2186.  
  2187. showDamage=function(Char,Dealt,Type)
  2188. m=Instance.new("Model")
  2189. m.Name="Effect"
  2190. c=Instance.new("Part")
  2191. c.Transparency=1
  2192. c.Name="Head"
  2193. c.TopSurface=0
  2194. c.BottomSurface=0
  2195. c.formFactor="Plate"
  2196. c.Size=Vector3.new(1,.4,1)
  2197. b=Instance.new("BillboardGui",c)
  2198. b.Size=UDim2.new(5,0,5,0)
  2199. b.AlwaysOnTop=true
  2200. damgui=gui("TextLabel",b,tostring(Dealt),1,Color3.new(0,0,0),UDim2.new(0,0,0,0),UDim2.new(1,0,1,0))
  2201. if Type=="Damage" then
  2202. damgui.Font="SourceSans"
  2203. if Dealt=="Block" then
  2204. damgui.TextColor3=BrickColor.new("Bright blue").Color
  2205. elseif Dealt<3 then
  2206. damgui.TextColor3=BrickColor.new("White").Color
  2207. elseif Dealt>=3 and Dealt<20 then
  2208. damgui.TextColor3=BrickColor.new("Bright yellow").Color
  2209. else
  2210. damgui.TextColor3=BrickColor.new("Really red").Color
  2211. damgui.Font="SourceSansBold"
  2212. end
  2213. elseif Type=="Debuff" then
  2214. damgui.TextColor3=BrickColor.new("White").Color
  2215. elseif Type=="Interrupt" then
  2216. damgui.TextColor3=BrickColor.new("New Yeller").Color
  2217. end
  2218. --damgui.FontSize="Size48"
  2219. damgui.TextScaled=true
  2220. ms=Instance.new("CylinderMesh")
  2221. ms.Scale=Vector3.new(.8,.8,.8)
  2222. ms.Parent=c
  2223. c.Reflectance=0
  2224. Instance.new("BodyGyro").Parent=c
  2225. c.Parent=m
  2226. if Char:findFirstChild("Head")~=nil then
  2227. c.CFrame=cf(Char["Head"].CFrame.p+Vector3.new(math.random(-100,100)/100,3,math.random(-100,100)/100))
  2228. elseif Char.Parent:findFirstChild("Head")~=nil then
  2229. c.CFrame=cf(Char.Parent["Head"].CFrame.p+Vector3.new(math.random(-100,100)/100,3,math.random(-100,100)/100))
  2230. end
  2231. f=Instance.new("BodyPosition")
  2232. f.P=2000
  2233. f.D=100
  2234. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2235. if Type=="Damage" then
  2236. f.position=c.Position+Vector3.new(0,3,0)
  2237. elseif Type=="Debuff" or Type=="Interrupt" then
  2238. f.position=c.Position+Vector3.new(0,5,0)
  2239. end
  2240. f.Parent=c
  2241. game:GetService("Debris"):AddItem(m,5)
  2242. table.insert(Effects,{m,"showDamage",damgui,f,10,1,15,50,100})
  2243. c.CanCollide=false
  2244. m.Parent=workspace
  2245. c.CanCollide=false
  2246. end
  2247.  
  2248. function MagniDamage(Part,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration)
  2249. --magref.CFrame=cf(Part.Position)
  2250. --mrmsh.Scale=vt(magni*10,magni*10,magni*10)
  2251. for _,c in pairs(workspace:children()) do
  2252. local hum=c:findFirstChild("Humanoid")
  2253. if hum~=nil then
  2254. local head=nil
  2255. for _,d in pairs(c:children()) do
  2256. --if d.Name=="Torso" or d.Name=="Head" or d.Name=="HumanoidRootPart" or d.Name=="HitPart" then
  2257. --[[if d.className=="Model" and ranged~=true then
  2258. head=d:findFirstChild("Hitbox")
  2259. if d.Parent==Character then break end
  2260. if head~=nil then
  2261. local targ=head.Position-Part.Position
  2262. local mag=targ.magnitude
  2263. if mag<=magni then
  2264. ref=part(3,workspace,0,1,BrickColor.new("Black"),"Reference",vt())
  2265. ref.Anchored=true
  2266. ref.CFrame=cf(head.Position)
  2267. game:GetService("Debris"):AddItem(ref,1)
  2268. hitnum=math.random(1,5)
  2269. if hitnum==1 then so("199148971",ref,1,1)
  2270. elseif hitnum==2 then so("199149025",ref,1,1)
  2271. elseif hitnum==3 then so("199149072",ref,1,1)
  2272. elseif hitnum==4 then so("199149109",ref,1,1)
  2273. elseif hitnum==5 then so("199149119",ref,1,1)
  2274. end
  2275. StaggerHit.Value=true
  2276. end
  2277. end
  2278. end]]
  2279. if d.className=="Part" then
  2280. head=d
  2281. if head~=nil then
  2282. local targ=head.Position-Part.Position
  2283. local mag=targ.magnitude
  2284. if mag<=magni and c.Name~=bName then
  2285. if stun==nil then
  2286. stun=math.random(5,10)
  2287. end
  2288. local Rang=nil
  2289. if Ranged==false then
  2290. Rang=true
  2291. end
  2292. local stag=nil
  2293. if shbash==true then
  2294. stag=true
  2295. end
  2296. Damagefunc(head,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration)
  2297. --Damagefunc(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,DecreaseState,DecreaseAmount,Duration)
  2298. end
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
  2304. end
  2305.  
  2306. for i,v in pairs(Character:GetChildren()) do
  2307. if v:IsA("Accoutrement") then
  2308. v:Destroy()
  2309. end
  2310. end
  2311.  
  2312. HandCombo = 1
  2313. Player:GetMouse().KeyDown:connect(function(kek)
  2314. if attack == true then
  2315. return
  2316. end
  2317. kek = kek:lower()
  2318. if kek == "z" then
  2319. PunchCombo()
  2320. end
  2321. if kek == "x" then
  2322. PunchWave()
  2323. end
  2324. if kek == "c" then
  2325. if HandCombo == 1 then
  2326. HandCombo = 2
  2327. HeavyLeftPunch()
  2328. else
  2329. HandCombo = 1
  2330. HeavyRightPunch()
  2331. end
  2332. end
  2333. if kek == "v" then
  2334. ShockwaveBarrage()
  2335. end
  2336. if kek == "g" then
  2337. FourShockwave()
  2338. end
  2339. if kek == "f" then
  2340. DirectLaser()
  2341. end
  2342. if kek == "r" then
  2343. StraightLaser()
  2344. end
  2345. if kek == "e" then
  2346. SpinLaser()
  2347. end
  2348. if kek == "q" then
  2349. SpinAboveLaser()
  2350. end
  2351. if kek == "g" then
  2352. Jet()
  2353. end
  2354. if kek == "h" then
  2355. Jet2()
  2356. end
  2357. end)
  2358.  
  2359. local stunnum=0
  2360. local animnum=0
  2361. local idle=1
  2362. local animlimit=10
  2363. local attacking=false
  2364. local stunanim=false
  2365. while Humanoid.Health>0 do
  2366. swait()
  2367. coroutine.resume(coroutine.create(function()
  2368. if start==false then
  2369. start=true
  2370. StartAnim()
  2371. end
  2372. end))
  2373. if Mvmt.Value<0 or Stun.Value>=StunT.Value or attack==true or Rooted.Value==true then
  2374. Humanoid.WalkSpeed=0
  2375. else
  2376. Humanoid.WalkSpeed=16*Mvmt.Value
  2377. end
  2378. if Stun.Value>=StunT.Value and stunanim==false then
  2379. coroutine.resume(coroutine.create(function()
  2380. stunanim=true
  2381. while attack==true do
  2382. swait()
  2383. end
  2384. StunAnim()
  2385. Stun.Value=0
  2386. stunanim=false
  2387. end))
  2388. end
  2389. local stunnum2=80
  2390. if stunnum>=stunnum2 then
  2391. if Stun.Value>0 then
  2392. Stun.Value=Stun.Value-1
  2393. end
  2394. stunnum=0
  2395. end
  2396. stunnum=stunnum+1
  2397. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2398. local velderp=RootPart.Velocity.y
  2399. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,6,Character)
  2400. for _,c in pairs(Decrease:children()) do
  2401. if c:findFirstChild("Duration")~=nil then
  2402. c.Duration.Value=c.Duration.Value-1
  2403. if c.Duration.Value<=0 then
  2404. c.Parent=nil
  2405. end
  2406. end
  2407. if c.Name=="DecreaseAtk" then
  2408. decreaseatk=decreaseatk+c.Value
  2409. elseif c.Name=="DecreaseDef" then
  2410. decreasedef=decreasedef+c.Value
  2411. elseif c.Name=="DecreaseMvmt" then
  2412. decreasemvmt=decreasemvmt+c.Value
  2413. end
  2414. end
  2415. Atk.Value=1-decreaseatk
  2416. if Atk.Value<=0 then
  2417. Atk.Value=0
  2418. end
  2419. Def.Value=1-decreasedef
  2420. if Def.Value<=0 then
  2421. Def.Value=0.01
  2422. end
  2423. Mvmt.Value=1-decreasemvmt
  2424. if Mvmt.Value<=0 then
  2425. Mvmt.Value=0
  2426. end
  2427. decreaseatk=0
  2428. decreasedef=0
  2429. decreasemvmt=0
  2430. AtkVal=Atk.Value*100
  2431. AtkVal=math.floor(AtkVal)
  2432. AtkVal=AtkVal/100
  2433. DefVal=Def.Value*100
  2434. DefVal=math.floor(DefVal)
  2435. DefVal=DefVal/100
  2436. MvmtVal=Mvmt.Value*100
  2437. MvmtVal=math.floor(MvmtVal)
  2438. MvmtVal=MvmtVal/100
  2439. if MvmtVal<=0 then
  2440. MvmtVal=0
  2441. end
  2442. animnum=animnum+1
  2443. if animnum>=animlimit*5 then
  2444. idle=1
  2445. animnum=0
  2446. elseif animnum>=animlimit*4 then
  2447. idle=1
  2448. animnum=0
  2449. elseif animnum>=animlimit*3 then
  2450. idle=4
  2451. elseif animnum>=animlimit*2 then
  2452. idle=3
  2453. elseif animnum>=animlimit*1 then
  2454. idle=2
  2455. end
  2456. if hitfloor==nil then
  2457. Anim="Air"
  2458. if attack==false then
  2459. RightHandClaw(Hands[1],.3)
  2460. LeftHandClaw(Hands[2],.3)
  2461. RightHandClaw(Hands[3],.3)
  2462. LeftHandClaw(Hands[4],.3)
  2463. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(0,-1,4.5)*euler(0,mr(0),0),.4)
  2464. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(0,-1,4.5)*euler(0,mr(180),0),.4)
  2465. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(0,-1,4.5)*euler(0,mr(90),0),.4)
  2466. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(-90),0)*euler(mr(-10),0,0)*cf(0,-1,4.5)*euler(0,mr(270),0),.4)
  2467. Neck.C0=clerp(Neck.C0,necko*euler(-.2,0,0)*euler(0,0,0),.2)
  2468. RootJoint.C0=clerp(RootJoint.C0,euler(.1,0,0)*cf(0,0,0),.2)
  2469. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(.2,0,1)*euler(0,0,0),.2)
  2470. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(.2,0,-1)*euler(0,0,0),.2)
  2471. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0)*euler(.4,0,0),.2)
  2472. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.3,0,0),.2)
  2473. end
  2474. elseif torvel<1 and hitfloor~=nil then
  2475. Anim="Idle"
  2476. if attack==false then
  2477. RightHandClaw(Hands[1],.3)
  2478. LeftHandClaw(Hands[2],.3)
  2479. RightHandClaw(Hands[3],.3)
  2480. LeftHandClaw(Hands[4],.3)
  2481. if idle==1 or idle==2 then
  2482. animlimit=60
  2483. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-.5,2.3),.1)
  2484. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(140),0)*euler(mr(10),0,0)*cf(4,-.7,2.9),.1)
  2485. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(60),0)*euler(mr(30),0,0)*cf(-4,-4,-2),.08)
  2486. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(120),0)*euler(mr(30),0,0)*cf(4,-4,-2),.08)
  2487. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-.2,0),.1)
  2488. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*cf(0,0,0),.1)
  2489. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(.6,0,.2)*euler(0,0,0),.1)
  2490. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(.2,0,-.2)*euler(0,0,0),.1)
  2491. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,-.2,0),.1)
  2492. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.1,0,0),.1)
  2493. else
  2494. animlimit=40
  2495. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(65),0)*euler(mr(10),0,mr(10))*cf(-4.8,-.1,2.4),.1)
  2496. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(135),0)*euler(mr(0),0,mr(-10))*cf(4.3,-.3,3),.1)
  2497. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(65),0)*euler(mr(20),0,mr(10))*cf(-4.3,-3.5,-1.8),.08)
  2498. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(125),0)*euler(mr(20),0,mr(-10))*cf(4.3,-3.5,-1.8),.08)
  2499. Neck.C0=clerp(Neck.C0,necko*euler(-.1,0,0)*euler(0,-.2,0),.1)
  2500. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*euler(.1,0,0)*cf(0,.2,.1),.1)
  2501. RW.C0=clerp(RW.C0,cf(1.9,0.6,0)*euler(1,0,.4)*euler(0,0,0),.1)
  2502. LW.C0=clerp(LW.C0,cf(-1.9,0.6,0)*euler(.1,0,-.4)*euler(0,0,0),.1)
  2503. RH.C0=clerp(RH.C0,cf(.625,-1.2,-.1)*euler(0,-.2,0)*euler(.1,0,0),.1)
  2504. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,-.2,0)*euler(-.2,0,0),.1)
  2505. end
  2506. end
  2507. elseif torvel>2 and hitfloor~=nil then
  2508. Anim="Walk"
  2509. animlimit=4
  2510. if attack==false then
  2511. RightHandClaw(Hands[1],.3)
  2512. LeftHandClaw(Hands[2],.3)
  2513. RightHandClaw(Hands[3],.3)
  2514. LeftHandClaw(Hands[4],.3)
  2515. Hands[1][2].C0=clerp(Hands[1][2].C0,euler(0,mr(60),0)*euler(mr(20),0,0)*cf(-4.5,-2,-.5),.1)
  2516. Hands[2][2].C0=clerp(Hands[2][2].C0,euler(0,mr(140),0)*euler(mr(20),0,0)*cf(4.5,-2,-.5),.1)
  2517. Hands[3][2].C0=clerp(Hands[3][2].C0,euler(0,mr(70),0)*euler(mr(30),0,0)*cf(-3,-5,-2.5),.1)
  2518. Hands[4][2].C0=clerp(Hands[4][2].C0,euler(0,mr(110),0)*euler(mr(30),0,0)*cf(3,-5,-2.5),.1)
  2519. if idle==1 or idle==2 then
  2520. LW.C0=clerp(LW.C0,cf(-1.8,0.5,0)*euler(-1.4,0,-.1)*euler(0,0,0),.1)
  2521. RH.C0=clerp(RH.C0,cf(.625,-1.4,0)*euler(0,0,0)*euler(-.5,0,0),.1)
  2522. if idle==1 then
  2523. Neck.C0=clerp(Neck.C0,necko*euler(.05,0,0)*euler(0,0,0),.1)
  2524. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,.1,0),.1)
  2525. RW.C0=clerp(RW.C0,cf(1.8,0.5,0)*euler(1,0,0)*euler(0,0,0),.1)
  2526. LH.C0=clerp(LH.C0,cf(-.625,-1.4,-.5)*euler(0,0,0)*euler(1.5,0,0),.1)
  2527. elseif idle==2 then
  2528. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*euler(0,0,0),.1)
  2529. RootJoint.C0=clerp(RootJoint.C0,euler(.2,0,0)*cf(0,.2,0),.1)
  2530. RW.C0=clerp(RW.C0,cf(1.5,0.5,-.5)*euler(1.2,0,-.5)*euler(0,0,0),.1)
  2531. LH.C0=clerp(LH.C0,cf(-.625,-1.3,-.3)*euler(0,0,0)*euler(-.2,0,0),.1)
  2532. end
  2533. else
  2534. RW.C0=clerp(RW.C0,cf(1.8,0.5,0)*euler(-1.4,0,.1)*euler(0,0,0),.1)
  2535. LH.C0=clerp(LH.C0,cf(-.625,-1.4,0)*euler(0,0,0)*euler(-.5,0,0),.1)
  2536. if idle==3 then
  2537. Neck.C0=clerp(Neck.C0,necko*euler(.05,0,0)*euler(0,0,0),.1)
  2538. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*cf(0,.1,0),.1)
  2539. LW.C0=clerp(LW.C0,cf(-1.8,0.5,0)*euler(1,0,0)*euler(0,0,0),.1)
  2540. RH.C0=clerp(RH.C0,cf(.625,-1.4,-.5)*euler(0,0,0)*euler(1.5,0,0),.1)
  2541. elseif idle==4 then
  2542. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*euler(0,0,0),.1)
  2543. RootJoint.C0=clerp(RootJoint.C0,euler(.2,0,0)*cf(0,.2,0),.1)
  2544. LW.C0=clerp(LW.C0,cf(-1.5,0.5,-.5)*euler(1.2,0,.5)*euler(0,0,0),.1)
  2545. RH.C0=clerp(RH.C0,cf(.625,-1.3,-.3)*euler(0,0,0)*euler(-.2,0,0),.1)
  2546. end
  2547. end
  2548. end
  2549. end
  2550. if #Effects>0 then
  2551. --table.insert(Effects,{prt,"Block1",delay})
  2552. for e=1,#Effects do
  2553. if Effects[e]~=nil then
  2554. --for j=1,#Effects[e] do
  2555. local Thing=Effects[e]
  2556. if Thing~=nil then
  2557. local Part=Thing[1]
  2558. local Mode=Thing[2]
  2559. local Delay=Thing[3]
  2560. local IncX=Thing[4]
  2561. local IncY=Thing[5]
  2562. local IncZ=Thing[6]
  2563. if Thing[2]=="DecreaseStat" then
  2564. --table.insert(Effects,{Model,"DecreaseStat",Stat,Amount,Duration,d})
  2565. Thing[5]=Thing[5]-1
  2566. if Thing[5]<=0 then
  2567. if Thing[1]:findFirstChild("Stats")~=nil then
  2568. if Thing[1].Stats:findFirstChild("Decrease")~=nil then
  2569. --Thing[1].Stats[Thing[3]].Value=Thing[1].Stats[Thing[3]].Value+Thing[4]
  2570. end
  2571. end
  2572. Thing[6].Parent=nil
  2573. table.remove(Effects,e)
  2574. end
  2575. end
  2576. if Thing[2]=="CylinderClang" then
  2577. if Thing[3]<=1 then
  2578. Thing[1].CFrame=Thing[1].CFrame*CFrame.new(0,2.5*Thing[5],0)*CFrame.fromEulerAnglesXYZ(Thing[6],0,0)
  2579. Thing[7]=Thing[1].CFrame
  2580. effect("New Yeller",0,Thing[8],Thing[7])
  2581. Thing[8]=Thing[7]
  2582. Thing[3]=Thing[3]+Thing[4]
  2583. else
  2584. Part.Parent=nil
  2585. table.remove(Effects,e)
  2586. end
  2587. end
  2588. if Thing[2]=="showDamage" then
  2589. if Thing[6]<Thing[5] then
  2590. Thing[6]=Thing[6]+1
  2591. elseif Thing[6]<Thing[7] then
  2592. Thing[4].position=Thing[4].position+vt(0,-.2,0)
  2593. Thing[6]=Thing[6]+1
  2594. elseif Thing[6]<Thing[8] then
  2595. Thing[6]=Thing[6]+1
  2596. elseif Thing[6]<Thing[9] then
  2597. Thing[6]=Thing[6]+1
  2598. Thing[4].position=Thing[4].position+vt(0,.2,0)
  2599. Thing[3].TextStrokeTransparency=Thing[3].TextStrokeTransparency+.1
  2600. Thing[3].TextTransparency=Thing[3].TextTransparency+.1
  2601. else
  2602. Thing[1].Parent=nil
  2603. table.remove(Effects,e)
  2604. end
  2605. end
  2606.  
  2607. if Thing[2]=="Shockwave" then
  2608. if Thing[3]>=0 then
  2609. --table.insert(Effects,{ref,"Shockwave",10,RootPart.CFrame*cf(0,0,-8),0})
  2610. Thing[3]=Thing[3]-2
  2611. if Thing[3]%14==0 then
  2612. Thing[5]=Thing[5]+8
  2613. hitfloor2,posfloor2=rayCast(Thing[1].Position,(CFrame.new(Thing[1].Position,Thing[1].Position - Vector3.new(0,1,0))).lookVector,20,Character)
  2614. if hitfloor2~=nil then
  2615. Thing[1].CFrame=cf(posfloor2)
  2616. MagicWave(BrickColor.new("Fossil"),cf(posfloor2),.5,1,.5,.8,.8,.8,.1)
  2617. --MagicWave2(BrickColor.new(NewCol2),cf(posfloor2),1,1,1,1.2,2,1.2,.05)
  2618. MagniDamage(Thing[1],4,8,10,math.random(15,20),"Knockdown2",Thing[1],.2,1,math.random(8,12),nil,nil,true)
  2619.  
  2620. ref2=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  2621. ref2.Anchored=true
  2622. ref2.CFrame=Thing[4]*cf(0,0,-Thing[5])
  2623. game:GetService("Debris"):AddItem(ref2,1)
  2624. Thing[1].CFrame=ref2.CFrame*cf(0,5,0)
  2625. --so("157878578",ref2,.8,1)
  2626.  
  2627. so("178452221",ref2,.05,.8)
  2628. --so("199145534",ref2,.7,1.3)
  2629. --so("200632136",ref2,1,.9)
  2630. end
  2631. end
  2632. else
  2633. Thing[1].Parent=nil
  2634. table.remove(Effects,e)
  2635. end
  2636. end
  2637.  
  2638. if Thing[2]~="DecreaseStat" and Thing[2]~="showDamage" and Thing[2]~="Shockwave" then
  2639. if Thing[1].Transparency<=1 then
  2640. if Thing[2]=="Block1" then
  2641. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2642. Mesh=Thing[7]
  2643. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2644. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2645. elseif Thing[2]=="Block2" then
  2646. Thing[1].CFrame=Thing[1].CFrame
  2647. Mesh=Thing[7]
  2648. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2649. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2650. elseif Thing[2]=="Cylinder" then
  2651. Mesh=Thing[7]
  2652. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2653. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2654. elseif Thing[2]=="Cylinder3" then
  2655. Mesh=Thing[7]
  2656. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2657. Thing[8]=Thing[8]+.2
  2658. Thing[1].CFrame=Thing[1].CFrame*cf(0,1,0)*euler(0,Thing[8],0)
  2659. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2660. elseif Thing[2]=="Blood" then
  2661. Mesh=Thing[7]
  2662. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2663. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2664. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2665. elseif Thing[2]=="Elec" then
  2666. Mesh=Thing[7]
  2667. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2668. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2669. elseif Thing[2]=="Disappear" then
  2670. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2671. end
  2672. else
  2673. table.remove(Effects,e)
  2674. Thing[1].Parent=nil
  2675. end
  2676. end
  2677. end
  2678. --end
  2679. end
  2680. end
  2681. end
  2682. end
  2683. --[[
  2684. Copyrighted (C) Fenrier 2016
  2685. ]]
Add Comment
Please, Sign In to add comment