UltimateGate

Anvas Script

Aug 20th, 2017
1,522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 178.66 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. script:WaitForChild("Heartbeat")
  25. it=Instance.new
  26. vt=Vector3.new
  27. cf=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. mr=math.rad
  31. local decreaseatk=0
  32. local decreasedef=0
  33. local decreasemvmt=0
  34. local Anim="Idle"
  35. local Effects={}
  36. local armorparts={}
  37. local armorwelds={}
  38. local weaponparts={}
  39. local weaponwelds={}
  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="Avnas"
  50. local MainColor=BrickColor.new("Black")
  51. local TheWelds=Instance.new("BoolValue")
  52.  
  53. for i,v in pairs(Character:GetChildren()) do
  54. if v:IsA("Accoutrement") then
  55. v:Destroy()
  56. end
  57. end
  58.  
  59. if workspace:findFirstChild(bName,true) ~= nil then
  60. workspace:findFirstChild(bName,true).Parent = nil
  61. end
  62.  
  63. function NoOutline(Part)
  64. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  65. end
  66.  
  67. function swait(num)
  68. if num==0 or num==nil then
  69. --if Stagger.Value==false or Stun.Value<=100 then
  70. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  71. script.Heartbeat.Event:wait()
  72. --end
  73. else
  74. for i=0,num do
  75. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  76. script.Heartbeat.Event:wait()
  77. --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
  78. break
  79. end]]
  80. end
  81. end
  82. end
  83. script:WaitForChild("Heartbeat")
  84.  
  85. frame = 1/30
  86. tf = 0
  87. 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.
  88. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  89. lastframe = tick()
  90. script.Heartbeat:Fire() --ayy lmao
  91.  
  92. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  93. tf = tf + s
  94. if tf >= frame then
  95. if allowframeloss then
  96. script.Heartbeat:Fire()
  97. lastframe=tick()
  98. else
  99. ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
  100. for i=1, math.floor(tf/frame) do
  101. script.Heartbeat:Fire()
  102. end
  103. lastframe=tick()
  104. end
  105. if tossremainder then
  106. tf = 0
  107. else
  108. tf = tf - frame * math.floor(tf/frame)
  109. end
  110. end
  111. end)
  112.  
  113. function clerp(a,b,t)
  114. local qa = {QuaternionFromCFrame(a)}
  115. local qb = {QuaternionFromCFrame(b)}
  116. local ax, ay, az = a.x, a.y, a.z
  117. local bx, by, bz = b.x, b.y, b.z
  118. local _t = 1-t
  119. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  120. end
  121.  
  122. function QuaternionFromCFrame(cf)
  123. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  124. local trace = m00 + m11 + m22
  125. if trace > 0 then
  126. local s = math.sqrt(1 + trace)
  127. local recip = 0.5/s
  128. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  129. else
  130. local i = 0
  131. if m11 > m00 then
  132. i = 1
  133. end
  134. if m22 > (i == 0 and m00 or m11) then
  135. i = 2
  136. end
  137. if i == 0 then
  138. local s = math.sqrt(m00-m11-m22+1)
  139. local recip = 0.5/s
  140. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  141. elseif i == 1 then
  142. local s = math.sqrt(m11-m22-m00+1)
  143. local recip = 0.5/s
  144. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  145. elseif i == 2 then
  146. local s = math.sqrt(m22-m00-m11+1)
  147. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  148. end
  149. end
  150. end
  151.  
  152. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  153. local xs, ys, zs = x + x, y + y, z + z
  154. local wx, wy, wz = w*xs, w*ys, w*zs
  155. local xx = x*xs
  156. local xy = x*ys
  157. local xz = x*zs
  158. local yy = y*ys
  159. local yz = y*zs
  160. local zz = z*zs
  161. 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))
  162. end
  163.  
  164. function QuaternionSlerp(a, b, t)
  165. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  166. local startInterp, finishInterp;
  167. if cosTheta >= 0.0001 then
  168. if (1 - cosTheta) > 0.0001 then
  169. local theta = math.acos(cosTheta)
  170. local invSinTheta = 1/math.sin(theta)
  171. startInterp = math.sin((1-t)*theta)*invSinTheta
  172. finishInterp = math.sin(t*theta)*invSinTheta
  173. else
  174. startInterp = 1-t
  175. finishInterp = t
  176. end
  177. else
  178. if (1+cosTheta) > 0.0001 then
  179. local theta = math.acos(-cosTheta)
  180. local invSinTheta = 1/math.sin(theta)
  181. startInterp = math.sin((t-1)*theta)*invSinTheta
  182. finishInterp = math.sin(t*theta)*invSinTheta
  183. else
  184. startInterp = t-1
  185. finishInterp = t
  186. end
  187. end
  188. 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
  189. end
  190.  
  191. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  192. local fp=it("Part")
  193. fp.formFactor=formfactor
  194. fp.Parent=parent
  195. fp.Reflectance=reflectance
  196. fp.Transparency=transparency
  197. fp.CanCollide=false
  198. fp.Locked=true
  199. fp.BrickColor=brickcolor
  200. fp.Name=name
  201. fp.Size=size
  202. NoOutline(fp)
  203. fp.Material="SmoothPlastic"
  204. fp:BreakJoints()
  205. return fp
  206. end
  207.  
  208. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  209. local mesh=it(Mesh)
  210. mesh.Parent=part
  211. if Mesh=="SpecialMesh" then
  212. mesh.MeshType=meshtype
  213. if meshid~="nil" then
  214. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  215. end
  216. end
  217. mesh.Offset=offset
  218. mesh.Scale=scale
  219. return mesh
  220. end
  221.  
  222. function weld(parent,part0,part1,c0)
  223. local weld=it("Weld")--("Motor6D")
  224. weld.Parent=parent
  225. weld.Part0=part0
  226. weld.Part1=part1
  227. weld.C0=c0
  228. return weld
  229. end
  230.  
  231. function gui(GuiType,parent,text,backtrans,backcol,pos,size,image)
  232. local gui=it(GuiType)
  233. gui.Parent=parent
  234. gui.BackgroundTransparency=backtrans
  235. gui.BackgroundColor3=backcol
  236. gui.SizeConstraint="RelativeXY"
  237. gui.Position=pos
  238. gui.Size=size
  239. if GuiType=="TextLabel" then
  240. gui.Text=text
  241. gui.TextXAlignment="Center"
  242. gui.TextYAlignment="Center"
  243. gui.Font="SourceSans"
  244. gui.FontSize="Size14"
  245. gui.TextWrapped=false
  246. gui.TextStrokeTransparency=0
  247. gui.TextColor=BrickColor.new("White")
  248. elseif GuiType=="ImageLabel" then
  249. gui.Image="rbxassetid://"..image
  250. gui.ImageColor3=backcol
  251. end
  252. return gui
  253. end
  254.  
  255. Humanoid.Animator:Destroy()
  256. Character.Animate:Destroy()
  257.  
  258. local handle
  259. function AesthPart(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef)
  260. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt(0.2,0.2,0.2)) prt.Material=neon
  261. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  262. wld=weld(handle,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="AvnasBody"
  272. local effects=Instance.new("Model")
  273. effects.Parent=Character
  274. effects.Name="Effects"
  275. TheWelds.Name="AvnasWelds"
  276. TheWelds.Parent=Character
  277.  
  278. --[[local Torso=part(0,Character,0,0,MainColor,"Torso",vt(2,2,1))
  279. local LeftArm=part(0,Character,0,0,MainColor,"Left Arm",vt(1,2,1))
  280. local RightArm=part(0,Character,0,0,MainColor,"Right Arm",vt(1,2,1))
  281. local LeftLeg=part(0,Character,0,1,MainColor,"Left Leg",vt(1,2,1))
  282. local RightLeg=part(0,Character,0,1,MainColor,"Right Leg",vt(1,2,1))
  283.  
  284. local Head=part(0,Character,0,0,BrickColor.new("Pastel brown"),"Head",vt(2,1,1))
  285. local RootPart=part(0,Character,0,1,MainColor,"HumanoidRootPart",vt(2,2,1))]]
  286. Head.CanCollide=true
  287. Torso.CanCollide=true
  288. LeftArm.CanCollide=true
  289. RightArm.CanCollide=true
  290. LeftLeg.CanCollide=true
  291. RightLeg.CanCollide=true
  292. RootPart.CanCollide=false
  293. face=Instance.new("Decal",Head)
  294. face.Face="Front"
  295. face.Texture="http://www.roblox.com/asset/?id=72141359"
  296.  
  297. local HMesh=mesh("SpecialMesh",Head,"Head","nil",vt(0,0,0),vt(0,0,0))
  298. local TMsh=mesh("SpecialMesh",Torso,"FileMesh","rbxasset://fonts/leftarm.mesh",vt(0,0,0),vt(2.4,1.2,1.2))
  299. local LAMsh=mesh("SpecialMesh",LeftArm,"FileMesh","rbxasset://fonts/leftarm.mesh",vt(0,0,0),vt(1.2,1.2,1.2))
  300. local RAMsh=mesh("SpecialMesh",RightArm,"FileMesh","rbxasset://fonts/leftarm.mesh",vt(0,0,0),vt(1.2,1.2,1.2))
  301. local LLMsh=mesh("SpecialMesh",LeftLeg,"FileMesh","rbxasset://fonts/leftarm.mesh",vt(0,0,0),vt(1.2,1.2,1.2))
  302. local RLMsh=mesh("SpecialMesh",RightLeg,"FileMesh","rbxasset://fonts/leftarm.mesh",vt(0,0,0),vt(1.2,1.2,1.2))
  303. TMsh.MeshId="rbxasset://fonts/leftarm.mesh"
  304. LAMsh.MeshId="rbxasset://fonts/leftarm.mesh"
  305. RAMsh.MeshId="rbxasset://fonts/leftarm.mesh"
  306. LLMsh.MeshId="rbxasset://fonts/leftarm.mesh"
  307. RLMsh.MeshId="rbxasset://fonts/leftarm.mesh"
  308.  
  309. --[[local Neck=weld(Torso,Torso,Head,cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  310. Neck.C1=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)]]
  311. local Neck=weld(Torso,Torso,Head,euler(0,0,0)*cf(0,1.3,0))
  312. Neck.C1=cf(0,-.5,0)
  313. local RW=weld(Torso,Torso,RightArm,cf(1.8,.5,0))
  314. RW.C1=cf(0,.5,0)
  315. local LW=weld(Torso,Torso,LeftArm,cf(-1.8,.5,0))
  316. LW.C1=cf(0,.5,0)
  317. local RH=weld(Torso,Torso,RightLeg,cf(.625,-1.4,0))
  318. RH.C1=cf(0,1,0)
  319. local LH=weld(Torso,Torso,LeftLeg,cf(-.625,-1.4,0))
  320. LH.C1=cf(0,1,0)
  321. --[[local RH=weld(Torso,Torso,RightLeg,cf(1,-1.4,0))
  322. RH.C1=cf(0,1,0)
  323. local LH=weld(Torso,Torso,LeftLeg,cf(-1,-1.4,0))
  324. LH.C1=cf(0,1,0)]]
  325. local RootJoint=weld(Torso,Torso,RootPart,cf(0,0,0))
  326. --Torso.CFrame=game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*cf(0,0,30)
  327. --Torso.CFrame=cf(0,5,0)*euler(0,0,0)
  328.  
  329. handle=part(3,modelzorz,0,1,BrickColor.new("Black"),"Handle",vt(0.2,0.2,0.2))
  330. local handle2=part(3,Character,0,1,BrickColor.new("Black"),"Handle2",vt(0.2,0.2,0.2))
  331.  
  332. local handlewld=weld(handle,handle,Torso,euler(0,0,0)*cf(0,0,0))
  333. local handlewld2=weld(handle2,handle2,Torso,euler(0,0,0)*cf(0,0,0))
  334.  
  335. Tprt1,Tmsh1,Twld1=AesthPart(modelzorz,Torso,0,0,"Smoky grey","Torso Part01","SmoothPlastic","BlockMesh","nil","nil",12.1,12.1,6.1,euler(0,0,0)*cf(0,0,0))
  336. Tprt2,Tmsh2,Twld2=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part02","SmoothPlastic","BlockMesh","nil","nil",4,4,1,euler(0,0,0)*cf(0,-.7,-.6))
  337. Tprt3,Tmsh3,Twld3=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part03","SmoothPlastic","BlockMesh","nil","nil",2,4,1,euler(0,0,mr(90))*cf(0,.3,-.58))
  338. Tprt4,Tmsh4,Twld4=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part04","Neon","BlockMesh","nil","nil",.5,3,.1,euler(0,0,mr(90))*cf(0,.3,-.68))
  339. Tprt5,Tmsh5,Twld5=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part05","SmoothPlastic","BlockMesh","nil","nil",5,4,1,euler(0,0,mr(90))*cf(0,-.44,.6))
  340. Tprt6,Tmsh6,Twld6=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part06","SmoothPlastic","BlockMesh","nil","nil",7,4,1,euler(0,0,0)*cf(0,-.44,.6))
  341. Tprt7,Tmsh7,Twld7=AesthPart(modelzorz,Tprt1,0,0,"Really red","Torso Part07","Neon","BlockMesh","nil","nil",4,.7,1.1,euler(0,0,mr(90))*cf(0,-.44,.6))
  342. Tprt8,Tmsh8,Twld8=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part08","SmoothPlastic","BlockMesh","nil","nil",4,.7,1.1,euler(0,0,0)*cf(0,-.93,.57))
  343. Tprt9,Tmsh9,Twld9=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part09","SmoothPlastic","BlockMesh","nil","nil",5,1,1.1,euler(0,0,0)*cf(0,-1.09,.6))
  344. Tprt10,Tmsh10,Twld10=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part10","SmoothPlastic","BlockMesh","nil","nil",6,1,7,euler(0,0,0)*cf(0,-1.15,0))
  345.  
  346. LAprt01,LAmsh01,LAwld01=AesthPart(modelzorz,LeftArm,0,0,"Smoky grey","Left Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,6.2,euler(0,mr(-90),0)*cf(0,0,0))
  347. LAprt01a,LAmsh01a,LAwld01a=AesthPart(modelzorz,LAprt01,0,0,"Smoky grey","Left Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  348. RAprt01,RAmsh01,RAwld01=AesthPart(modelzorz,RightArm,0,0,"Smoky grey","Right Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,6.2,euler(0,mr(90),0)*cf(0,0,0))
  349. RAprt01a,RAmsh01a,RAwld01a=AesthPart(modelzorz,RAprt01,0,0,"Smoky grey","Right Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  350.  
  351. local thPart=LAprt01a
  352. for i=-1,1,2 do
  353. Tprt11,Tmsh11,Twld11=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part11","SmoothPlastic","BlockMesh","nil","nil",6.5,2.5,1,euler(0,0,mr(90))*cf(.4*i,.56,.57))
  354. Tprt12,Tmsh12,Twld12=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,4,2,euler(0,mr(-90)*i,0)*cf(.85*i,.22,.57))
  355. Tprt13,Tmsh13,Twld13=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part13","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,.5,euler(mr(-90),mr(90)*i,0)*cf(.55*i,-.89,.6))
  356. Tprt14,Tmsh14,Twld14=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,.5,euler(mr(90),mr(-90)*i,0)*cf(.55*i,.01,.6))
  357. Tprt15,Tmsh15,Twld15=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,10,5.1,euler(mr(180),mr(-90)*i,0)*cf(.71*i,-.04,.54))
  358. Tprt16,Tmsh16,Twld16=AesthPart(modelzorz,Tprt1,0,0,"Medium blue","Torso Part16","SmoothPlastic","BlockMesh","nil","nil",6.3,2.95,6.5,euler(0,mr(90),mr(90))*cf(.92*i,.56,0))
  359. Tprt17,Tmsh17,Twld17=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part17","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,5.1,euler(0,mr(-90)*i,mr(180))*cf(.72*i,-.92,.01))
  360. Tprt18,Tmsh18,Twld18=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part18","SmoothPlastic","BlockMesh","nil","nil",6.4,.1,8,euler(0,mr(90),mr(90))*cf(1.21*i,.16,0))
  361. Tprt19,Tmsh19,Twld19=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part19","SmoothPlastic","BlockMesh","nil","nil",1,12,2,euler(0,mr(90),0)*cf(.43*i,.01,-.55))
  362. Tprt20,Tmsh20,Twld20=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part20","SmoothPlastic","BlockMesh","nil","nil",1,5,3,euler(0,mr(90),0)*cf(.9*i,-.49,-.54))
  363. Tprt21,Tmsh21,Twld21=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part21","SmoothPlastic","SpecialMesh","Wedge","nil",1,4,4.5,euler(mr(180),mr(-90)*i,0)*cf(.76*i,.4,-.54))
  364. Tprt22,Tmsh22,Twld22=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part22","SmoothPlastic","SpecialMesh","Wedge","nil",.95,4,2,euler(mr(180),mr(-90)*i,0)*cf(1.02*i,.67,-.54))
  365. Tprt23,Tmsh23,Twld23=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part23","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(0,mr(90),0)*cf(.7*i,.31,-.58))
  366.  
  367. if i==1 then
  368. thPart=RAprt01a
  369. end
  370. --Aprt01,Amsh01,Awld01=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,6.2,euler(0,mr(90)*i,0)*cf(0,0,0))
  371. --Aprt01a,Amsh01a,Awld01a=AesthPart(modelzorz,Aprt01,0,0,"Smoky grey","Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  372. Aprt02,Amsh02,Awld02=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part02","SmoothPlastic","BlockMesh","nil","nil",6.4,2,3,euler(0,mr(90),0)*cf(.08,-.94,0))
  373. Aprt03,Amsh03,Awld03=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part03","SmoothPlastic","BlockMesh","nil","nil",6.4,1,4,euler(0,mr(90),0)*cf(-.23,-1.15,0))
  374. Aprt04,Amsh04,Awld04=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,2,2,euler(mr(180),mr(-90),0)*cf(-.42,-.94,0))
  375. Aprt05,Amsh05,Awld05=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part05","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,6,4,euler(mr(90),mr(90),0)*cf(.04,-.85,0))
  376. Aprt06,Amsh06,Awld06=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part06","SmoothPlastic","BlockMesh","nil","nil",6.4,5,3,euler(0,mr(90),0)*cf(-.35,.03,0))
  377. Aprt07,Amsh07,Awld07=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part07","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,1,euler(0,mr(90),0)*cf(-.55,-.57,0))
  378. Aprt08,Amsh08,Awld08=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part08","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,2,euler(0,mr(-90),0)*cf(-.25,-.57,0))
  379. Aprt09,Amsh09,Awld09=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part09","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,1,euler(mr(180),mr(-90),0)*cf(-.55,.63,0))
  380. Aprt10,Amsh10,Awld10=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,2,euler(mr(180),mr(90),0)*cf(-.25,.63,0))
  381. Aprt11,Amsh11,Awld11=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part11","SmoothPlastic","BlockMesh","nil","nil",6.4,1.8,1,euler(mr(90),mr(90),0)*cf(-.46,1.13,0))
  382. Aprt12,Amsh12,Awld12=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.8,1.5,euler(mr(-90),mr(90),0)*cf(-.46,.88,0))
  383. Aprt13,Amsh13,Awld13=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part13","SmoothPlastic","BlockMesh","nil","nil",6.4,3,2,euler(mr(90),mr(90),0)*cf(.4,1.04,0))
  384. Aprt14,Amsh14,Awld14=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part14","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,3.4,3,euler(mr(-90),mr(-90),0)*cf(.36,.54,0))
  385. Aprt15,Amsh15,Awld15=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part15","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.2,1,euler(mr(90),mr(-90),0)*cf(.58,1.34,0))
  386. Aprt16,Amsh16,Awld16=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part16","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.8,1,euler(mr(90),mr(90),0)*cf(.28,1.34,0))
  387.  
  388. end
  389.  
  390. LAprt17,LAmsh17,LAwld17=AesthPart(modelzorz,LAprt01a,0,0,"Black","Left Arm Part17","SmoothPlastic","CylinderMesh","nil","nil",4,8,4,euler(mr(90),0,0)*cf(.55,-1.14,0))
  391. LAprt18,LAmsh18,LAwld18=AesthPart(modelzorz,LAprt01a,0,0,"Really black","Left Arm Part18","SmoothPlastic","BlockMesh","nil","nil",8.1,3.8,.4,euler(mr(-45),mr(90),0)*cf(.55,-1.14,0))
  392. LAprt19,LAmsh19,LAwld19=AesthPart(modelzorz,LAprt17,0,0,"Really black","Left Arm Part19","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(mr(-90),0,0)*cf(0,0,0))
  393. RAprt17,RAmsh17,RAwld17=AesthPart(modelzorz,RAprt01a,0,0,"Black","Right Arm Part17","SmoothPlastic","CylinderMesh","nil","nil",4,8,4,euler(mr(90),0,0)*cf(.55,-1.14,0))
  394. RAprt18,RAmsh18,RAwld18=AesthPart(modelzorz,RAprt01a,0,0,"Really black","Right Arm Part18","SmoothPlastic","BlockMesh","nil","nil",8.1,3.8,.4,euler(mr(-45),mr(90),0)*cf(.55,-1.14,0))
  395. RAprt19,RAmsh19,RAwld19=AesthPart(modelzorz,RAprt17,0,0,"Really black","Right Arm Part19","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(mr(-90),0,0)*cf(0,0,0))
  396.  
  397. local thPart=LAprt19
  398.  
  399. for i=-1,1,2 do
  400. if i==1 then
  401. thPart=RAprt19
  402. end
  403. GAprt01,GAprt01,GAprt01=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6,5,4,euler(0,mr(90),mr(24.655))*cf(.21,-.75,0))
  404. GAprt02,GAprt02,GAprt02=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part02","SmoothPlastic","BlockMesh","nil","nil",1,7,4,euler(0,mr(90),mr(45))*cf(.42,-.83,.5))
  405. GAprt03,GAprt03,GAprt03=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part03","SmoothPlastic","BlockMesh","nil","nil",1,7,4,euler(0,mr(90),mr(45))*cf(.42,-.83,-.5))
  406. GAprt04,GAprt04,GAprt04=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6,3,12,euler(mr(90),mr(90),0)*cf(.28,.75,0))
  407. GAprt05,GAprt05,GAprt05=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part05","SmoothPlastic","BlockMesh","nil","nil",1,13,3,euler(0,mr(90),0)*cf(.87,.689,.5))
  408. GAprt06,GAprt06,GAprt06=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part06","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,4,euler(mr(90),mr(90),0)*cf(.87,2.38,.5))
  409. GAprt07,GAprt07,GAprt07=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part07","SmoothPlastic","BlockMesh","nil","nil",1,13,3,euler(0,mr(90),0)*cf(.87,.689,-.5))
  410. GAprt08,GAprt08,GAprt08=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part08","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,4,euler(mr(90),mr(90),0)*cf(.87,2.38,-.5))
  411. GAprt09,GAprt09,GAprt09=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part09","SmoothPlastic","BlockMesh","nil","nil",3.5,10,4,euler(0,mr(90),0)*cf(1.22,.67,0))
  412. GAprt10,GAprt10,GAprt10=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",3.5,2,4,euler(mr(180),mr(90),0)*cf(1.22,1.87,0))
  413. GAprt11,GAprt11,GAprt11=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part11","SmoothPlastic","SpecialMesh","Wedge","nil",3.5,2,4,euler(0,mr(-90),0)*cf(1.22,-.53,0))
  414. rar=-.17
  415. for d=1,4 do
  416. if d==2 then rar=.42
  417. elseif d==3 then rar=1.02
  418. elseif d==4 then rar=1.53
  419. end
  420. GAprt12,GAprt12,GAprt12=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part12","SmoothPlastic","BlockMesh","nil","nil",3.55,.5,4.05,euler(0,mr(90),0)*cf(1.22,rar,0))
  421. end
  422. GAprt13,GAprt13,GAprt13=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part13","SmoothPlastic","CylinderMesh","nil","nil",2.7,4,2.7,euler(0,mr(90),0)*cf(.79,2.13,0))
  423. GAprt14,GAprt14,GAprt14=AesthPart(modelzorz,thPart,0,0,"Maroon","Gun Arm Part14","SmoothPlastic","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.47,0))
  424. GAprt14,GAprt14,GAprt14=AesthPart(modelzorz,thPart,0,0,"Maroon","Gun Arm Part14","SmoothPlastic","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.47,0))
  425. GAprt15,GAprt15,GAprt15=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part15","SmoothPlastic","CylinderMesh","nil","nil",2.9,.6,2.9,euler(0,mr(90),0)*cf(.79,2.41,0))
  426. GAprt16,GAprt16,GAprt16=AesthPart(modelzorz,thPart,0,0,"Fossil","Gun Arm Part16","SmoothPlastic","CylinderMesh","nil","nil",2.8,1,2.8,euler(0,mr(90),0)*cf(.79,2.46,0))
  427. GAprt17,GAprt17,GAprt17=AesthPart(modelzorz,thPart,0,0,"Really red","Gun Arm Part17","Neon","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.35,0))
  428. GAprt18,GAprt18,GAprt18=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part18","SmoothPlastic","CylinderMesh","nil","nil",2.5,1,2.5,euler(0,mr(90),0)*cf(.79,2.47,0))
  429. GAprt19,GAprt19,GAprt19=AesthPart(modelzorz,thPart,.5,0,"Medium blue","Gun Arm Part19","SmoothPlastic","BlockMesh","nil","nil",2,10,2,euler(0,mr(90),0)*cf(1.22,2.27,0))
  430. GAprt20,GAprt20,GAprt20=AesthPart(modelzorz,thPart,.5,0,"Medium blue","Gun Arm Part20","SmoothPlastic","SpecialMesh","Wedge","nil",2,2,2,euler(mr(180),mr(90),0)*cf(1.22,3.47,0))
  431. GAprt21,GAprt21,GAprt21=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part21","SmoothPlastic","CylinderMesh","nil","nil",2,1,2,euler(0,mr(90),0)*cf(.99,-.66,0))
  432. GAprt22,GAprt22,GAprt22=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part22","SmoothPlastic","SpecialMesh","FileMesh","1778999",.4,.3,.4,euler(mr(180),mr(90),0)*cf(.99,-.62,0))
  433. GAprt23,GAprt23,GAprt23=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part23","SmoothPlastic","CylinderMesh","nil","nil",2.7,.3,2.7,euler(0,mr(90),0)*cf(.99,-.96,0))
  434. GAprt24,GAprt24,GAprt24=AesthPart(modelzorz,thPart,0,0,"Really red","Gun Arm Part24","Neon","CylinderMesh","nil","nil",2.7,.3,2.7,euler(0,mr(90),0)*cf(.99,-.9,0))
  435. GAprt25,GAprt25,GAprt25=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part25","SmoothPlastic","CylinderMesh","nil","nil",2.5,.4,2.5,euler(0,mr(90),0)*cf(.99,-.96,0))
  436.  
  437. end
  438.  
  439. LLprt01,LLmsh01,LLwld01=AesthPart(modelzorz,Tprt1,0,0,"Black","Left Leg Part01","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(0,0,mr(90))*cf(.616,1.48,-.132))
  440. LLprt02,LLmsh02,LLwld02=AesthPart(modelzorz,LLprt01,0,0,"Black","Left Leg Part02","SmoothPlastic","BlockMesh","nil","nil",2.7,2.7,4,cf(0,.0,.453)*euler(0,mr(45),0))
  441. LLprt03,LLmsh03,LLwld03=AesthPart(modelzorz,LLprt02,0,0,"Smoky grey","Left Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",4,3.5,4,euler(0,mr(45),0)*cf(-.219,0,.658))
  442. LLprt04,LLmsh04,LLwld04=AesthPart(modelzorz,LLprt03,0,0,"Fossil","Left Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(0,0,0))
  443. LLprt05,LLmsh05,LLwld05=AesthPart(modelzorz,LLprt03,0,0,"Medium blue","Left Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",4.2,1.7,4.2,euler(0,0,0)*cf(0,0,0))
  444. LLprt06,LLmsh06,LLwld06=AesthPart(modelzorz,LLprt03,0,0,"Smoky grey","Left Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,3,1.5,euler(mr(90),0,0)*cf(.03,0,.57))
  445. LLprt07,LLmsh07,LLwld07=AesthPart(modelzorz,LLprt03,0,0,"Fossil","Left Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.7,.2,1.7,euler(mr(90),0,0)*cf(.03,0,.59))
  446. LLprt08,LLmsh08,LLwld08=AesthPart(modelzorz,LLprt06,0,0,"Black","Left Leg Part08","SmoothPlastic","BlockMesh","nil","nil",2.7,2.7,4,euler(mr(90),0,mr(-45))*cf(-.07,-.6,0))
  447. LLprt09,LLmsh09,LLwld09=AesthPart(modelzorz,LLprt08,0,0,"Smoky grey","Left Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",3,3.5,3,euler(mr(90),mr(-45),0)*cf(-.064,0,.502))
  448. LLprt10,LLmsh10,LLwld10=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part10","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(.141,0,.707))
  449. LLprt11,LLmsh11,LLwld11=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part11","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(-.269,0,.297))
  450. LLprt12,LLmsh12,LLwld12=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part12","SmoothPlastic","CylinderMesh","nil","nil",2.5,3.6,2.5,euler(0,0,0)*cf(-.028,0,-.523))
  451. LLprt13,LLmsh13,LLwld13=AesthPart(modelzorz,LLprt08,0,0,"Smoky grey","Left Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(-.028,0,-.523))
  452. LLprt14,LLmsh14,LLwld14=AesthPart(modelzorz,LLprt08,0,0,"Smoky grey","Left Leg Part14","SmoothPlastic","CylinderMesh","nil","nil",3.5,3.5,3.5,euler(0,0,0)*cf(-.233,0,-.912))
  453. LLprt15,LLmsh15,LLwld15=AesthPart(modelzorz,LLprt14,0,0,"Medium blue","Left Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1.5,1.8,5.5,euler(mr(65.332),0,mr(-90))*cf(-.39,0,.403))
  454. LLprt16,LLmsh16,LLwld16=AesthPart(modelzorz,LLprt02,0,0,"Maroon","Left Leg Part16","SmoothPlastic","BlockMesh","nil","nil",5.6,2.5,7.5,euler(0,0,mr(90))*cf(.332,0,.318))
  455. LLprt17,LLmsh17,LLwld17=AesthPart(modelzorz,LLprt08,0,0,"Cocoa","Left Leg Part17","SmoothPlastic","BlockMesh","nil","nil",5.6,1.5,9.5,euler(0,0,mr(90))*cf(.255,0,-.495))
  456. LLprt18,LLmsh18,LLwld18=AesthPart(modelzorz,LLprt17,0,0,"Cocoa","Left Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",5.6,2.5,9.5,euler(mr(180),0,0)*cf(0,.396,0))
  457.  
  458. RLprt01,RLmsh01,RLwld01=AesthPart(modelzorz,Tprt1,0,0,"Black","Right Leg Part01","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(0,0,mr(90))*cf(-.616,1.48,-.132))
  459. RLprt02,RLmsh02,RLwld02=AesthPart(modelzorz,RLprt01,0,0,"Black","Right Leg Part02","SmoothPlastic","BlockMesh","nil","nil",2.7,2.7,4,cf(0,0,.453)*euler(0,mr(45),0))
  460. RLprt03,RLmsh03,RLwld03=AesthPart(modelzorz,RLprt02,0,0,"Smoky grey","Right Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",4,3.5,4,euler(0,mr(45),0)*cf(-.219,0,.658))
  461. RLprt04,RLmsh04,RLwld04=AesthPart(modelzorz,RLprt03,0,0,"Fossil","Right Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(0,0,0))
  462. RLprt05,RLmsh05,RLwld05=AesthPart(modelzorz,RLprt03,0,0,"Medium blue","Right Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",4.2,1.7,4.2,euler(0,0,0)*cf(0,0,0))
  463. RLprt06,RLmsh06,RLwld06=AesthPart(modelzorz,RLprt03,0,0,"Smoky grey","Right Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,3,1.5,euler(mr(90),0,0)*cf(.03,0,.57))
  464. RLprt07,RLmsh07,RLwld07=AesthPart(modelzorz,RLprt03,0,0,"Fossil","Right Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.7,.2,1.7,euler(mr(90),0,0)*cf(.03,0,.59))
  465. RLprt08,RLmsh08,RLwld08=AesthPart(modelzorz,RLprt06,0,0,"Black","Right Leg Part08","SmoothPlastic","BlockMesh","nil","nil",2.7,2.7,4,euler(mr(90),0,mr(-45))*cf(-.07,-.6,0))
  466. RLprt09,RLmsh09,RLwld09=AesthPart(modelzorz,RLprt08,0,0,"Smoky grey","Right Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",3,3.5,3,euler(mr(90),mr(-45),0)*cf(-.064,0,.502))
  467. RLprt10,RLmsh10,RLwld10=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part10","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(.141,0,.707))
  468. RLprt11,RLmsh11,RLwld11=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part11","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(-.269,0,.297))
  469. RLprt12,RLmsh12,RLwld12=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part12","SmoothPlastic","CylinderMesh","nil","nil",2.5,3.6,2.5,euler(0,0,0)*cf(-.028,0,-.523))
  470. RLprt13,RLmsh13,RLwld13=AesthPart(modelzorz,RLprt08,0,0,"Smoky grey","Right Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(-.028,0,-.523))
  471. RLprt14,RLmsh14,RLwld14=AesthPart(modelzorz,RLprt08,0,0,"Smoky grey","Right Leg Part14","SmoothPlastic","CylinderMesh","nil","nil",3.5,3.5,3.5,euler(0,0,0)*cf(-.233,0,-.912))
  472. RLprt15,RLmsh15,RLwld15=AesthPart(modelzorz,RLprt14,0,0,"Medium blue","Right Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1.5,1.8,5.5,euler(mr(65.332),0,mr(-90))*cf(-.39,0,.403))
  473. RLprt16,RLmsh16,RLwld16=AesthPart(modelzorz,RLprt02,0,0,"Maroon","Right Leg Part16","SmoothPlastic","BlockMesh","nil","nil",5.6,2.5,7.5,euler(0,0,mr(90))*cf(.332,0,.318))
  474. RLprt17,RLmsh17,RLwld17=AesthPart(modelzorz,RLprt08,0,0,"Cocoa","Right Leg Part17","SmoothPlastic","BlockMesh","nil","nil",5.6,1.5,9.5,euler(0,0,mr(90))*cf(.255,0,-.495))
  475. RLprt18,RLmsh18,RLwld18=AesthPart(modelzorz,RLprt17,0,0,"Cocoa","Right Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",5.6,2.5,9.5,euler(mr(180),0,0)*cf(0,.396,0))
  476.  
  477. GLLprt01,GLLmsh01,GLLwld01=AesthPart(modelzorz,LLprt01,0,0,"Smoky grey","Gun Left Leg Part01","SmoothPlastic","CylinderMesh","nil","nil",1,2,1,euler(0,mr(-20),0)*cf(0,.5,0))
  478. GLLprt02,GLLmsh02,GLLwld02=AesthPart(modelzorz,GLLprt01,0,0,"Smoky grey","Gun Left Leg Part02","SmoothPlastic","CylinderMesh","nil","nil",1.5,.6,1.5,euler(0,0,0)*cf(0,.2,0))
  479. GLLprt03,GLLmsh03,GLLwld03=AesthPart(modelzorz,GLLprt01,0,0,"Medium blue","Gun Left Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",1.6,.2,1.6,euler(0,0,0)*cf(0,.25,0))
  480. GLLprt04,GLLmsh04,GLLwld04=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.8,2,1.8,euler(0,0,0)*cf(0,.47,0))
  481. GLLprt05,GLLmsh05,GLLwld05=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1.4,3,euler(0,0,0)*cf(0,.47,0))
  482. GLLprt06,GLLmsh06,GLLwld06=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,6,1.5,euler(0,0,mr(90))*cf(-.6,.46,0))
  483. GLLprt07,GLLmsh07,GLLwld07=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.2,1,1.2,euler(0,0,mr(90))*cf(-1.16,.46,0))
  484. GLLprt08,GLLmsh08,GLLwld08=AesthPart(modelzorz,GLLprt01,0,0,"Medium blue","Gun Left Leg Part08","SmoothPlastic","CylinderMesh","nil","nil",1,4,1,euler(0,0,mr(90))*cf(-1.62,.46,0))
  485. GLLprt09,GLLmsh09,GLLwld09=AesthPart(modelzorz,GLLprt01,0,0,"Really black","Gun Left Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",.8,1,.8,euler(0,0,mr(90))*cf(-1.93,.46,0))
  486. GLLprt10,GLLmsh10,GLLwld10=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part10","SmoothPlastic","BlockMesh","nil","nil",1,4.5,4,euler(0,0,mr(90))*cf(-.36,.62,-.01))
  487. GLLprt11,GLLmsh11,GLLwld11=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part11","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(-90))*cf(.29,.62,.19))
  488. GLLprt12,GLLmsh12,GLLwld12=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(mr(180),0,mr(90))*cf(.29,.62,-.21))
  489. GLLprt13,GLLmsh13,GLLwld13=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part13","SmoothPlastic","BlockMesh","nil","nil",1,6,2,euler(0,0,mr(90))*cf(-1.15,.62,-.21))
  490. GLLprt14,GLLmsh14,GLLwld14=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.93,.62,-.21))
  491. GLLprt15,GLLmsh15,GLLwld15=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.01,.62,.19))
  492.  
  493. GRLprt01,GRLmsh01,GRLwld01=AesthPart(modelzorz,RLprt01,0,0,"Smoky grey","Gun Right Leg Part01","SmoothPlastic","CylinderMesh","nil","nil",1,2,1,euler(0,mr(-20),0)*cf(0,-.5,0))
  494. GRLprt02,GRLmsh02,GRLwld02=AesthPart(modelzorz,GRLprt01,0,0,"Smoky grey","Gun Right Leg Part02","SmoothPlastic","CylinderMesh","nil","nil",1.5,.6,1.5,euler(0,0,0)*cf(0,-.2,0))
  495. GRLprt03,GRLmsh03,GRLwld03=AesthPart(modelzorz,GRLprt01,0,0,"Medium blue","Gun Right Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",1.6,.2,1.6,euler(0,0,0)*cf(0,-.25,0))
  496. GRLprt04,GRLmsh04,GRLwld04=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.8,2,1.8,euler(0,0,0)*cf(0,-.47,0))
  497. GRLprt05,GRLmsh05,GRLwld05=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1.4,3,euler(0,0,0)*cf(0,-.47,0))
  498. GRLprt06,GRLmsh06,GRLwld06=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,6,1.5,euler(0,0,mr(90))*cf(-.6,-.46,0))
  499. GRLprt07,GRLmsh07,GRLwld07=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.2,1,1.2,euler(0,0,mr(90))*cf(-1.16,-.46,0))
  500. GRLprt08,GRLmsh08,GRLwld08=AesthPart(modelzorz,GRLprt01,0,0,"Medium blue","Gun Right Leg Part08","SmoothPlastic","CylinderMesh","nil","nil",1,4,1,euler(0,0,mr(90))*cf(-1.62,-.46,0))
  501. GRLprt09,GRLmsh09,GRLwld09=AesthPart(modelzorz,GRLprt01,0,0,"Really black","Gun Right Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",.8,1,.8,euler(0,0,mr(90))*cf(-1.93,-.46,0))
  502. GRLprt10,GRLmsh10,GRLwld10=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part10","SmoothPlastic","BlockMesh","nil","nil",1,4.5,4,euler(0,0,mr(90))*cf(-.36,-.62,-.01))
  503. GRLprt11,GRLmsh11,GRLwld11=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part11","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(-90))*cf(.29,-.62,.19))
  504. GRLprt12,GRLmsh12,GRLwld12=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(mr(180),0,mr(90))*cf(.29,-.62,-.21))
  505. GRLprt13,GRLmsh13,GRLwld13=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part13","SmoothPlastic","BlockMesh","nil","nil",1,6,2,euler(0,0,mr(90))*cf(-1.15,-.62,-.21))
  506. GRLprt14,GRLmsh14,GRLwld14=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.93,-.62,-.21))
  507. GRLprt15,GRLmsh15,GRLwld15=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.01,-.62,.19))
  508.  
  509. Hprt01a,Hmsh01a,Hwld01a=AesthPart(modelzorz,Head,0,0,"Smoky grey","Head Part01a","SmoothPlastic","CylinderMesh","nil","nil",0,0,0,euler(0,mr(180),0)*cf(0,0,0))
  510. Hprt01,Hmsh01,Hwld01=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part01","SmoothPlastic","CylinderMesh","nil","nil",6,6,6,euler(mr(90),0,0)*cf(0,-.1,-.18))
  511. Hprt02,Hmsh02,Hwld02=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part02","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(mr(90),0,0)*cf(0,-.26,-.3))
  512. Hprt03,Hmsh03,Hwld03=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part03","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(mr(90),0,0)*cf(0,-.14,-.3))
  513. Hprt04,Hmsh04,Hwld04=AesthPart(modelzorz,Hprt01a,0,0,"Really red","Head Part04","Neon","CylinderMesh","nil","nil",3.5,1,3.5,euler(mr(90),0,0)*cf(0,-.17,-.72))
  514. Hprt05,Hmsh05,Hwld05=AesthPart(modelzorz,Hprt01a,0,0,"Black","Head Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(mr(90),0,0)*cf(0,-.15,-.84))
  515. Hprt06,Hmsh06,Hwld06=AesthPart(modelzorz,Hprt01a,0,0,"Really red","Head Part06","Neon","CylinderMesh","nil","nil",1,1.01,1,euler(mr(90),0,0)*cf(0,-.15,-.84))
  516. Hprt07,Hmsh07,Hwld07=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part07","SmoothPlastic","BlockMesh","nil","nil",2,6,5,euler(mr(90),0,mr(90))*cf(0,.38,-.14))
  517. Hprt08,Hmsh08,Hwld08=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part08","SmoothPlastic","BlockMesh","nil","nil",2,2,2,euler(0,0,0)*cf(0,.72,0))
  518. Hprt09,Hmsh09,Hwld09=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part09","SmoothPlastic","SpecialMesh","Wedge","nil",2,2.5,2,euler(mr(90),0,0)*cf(0,.722,.442))
  519. Hprt10,Hmsh10,Hwld10=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part10","SmoothPlastic","SpecialMesh","Wedge","nil",2,2.5,2,euler(mr(90),mr(180),0)*cf(0,.722,-.448))
  520. Hprt11,Hmsh11,Hwld11=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part11","SmoothPlastic","BlockMesh","nil","nil",.5,1,2,euler(0,0,0)*cf(-.14,-.68,0))
  521. Hprt12,Hmsh12,Hwld12=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part12","SmoothPlastic","SpecialMesh","Wedge","nil",2,2,1.2,euler(0,mr(90),mr(-90))*cf(.1,-.668,0))
  522.  
  523. for i=-1,1,2 do
  524. Hprt13,Hmsh13,Hwld13=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part13","SmoothPlastic","CylinderMesh","nil","nil",3.95,1,3.95,euler(0,0,mr(90))*cf(.72*i,-.1,-.18))
  525. Hprt14,Hmsh14,Hwld14=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part14","SmoothPlastic","CylinderMesh","nil","nil",4,1,4,euler(0,0,mr(90))*cf(.71*i,-.1,-.18))
  526. Hprt15,Hmsh15,Hwld15=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part15","SmoothPlastic","CylinderMesh","nil","nil",3.95,1,3.05,euler(0,0,mr(90))*cf(.72*i,-.1,-.18))
  527. Hprt16,Hmsh16,Hwld16=AesthPart(modelzorz,Hprt01a,0,0,"Black","Head Part16","SmoothPlastic","CylinderMesh","nil","nil",1,1,1,euler(0,0,mr(90))*cf(.76*i,-.11,-.18))
  528. Hprt17,Hmsh17,Hwld17=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part17","SmoothPlastic","BlockMesh","nil","nil",2,.6,2,euler(0,mr(-134.999),mr(90))*cf(.92*i,-.1,-.18))
  529. Hprt18,Hmsh18,Hwld18=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part18","SmoothPlastic","BlockMesh","nil","nil",1,.6,1,euler(0,mr(-134.999),mr(90))*cf(.92*i,-.1,.04))
  530. Hprt19,Hmsh19,Hwld19=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part19","SmoothPlastic","SpecialMesh","Wedge","nil",.5,2,.5,euler(mr(-90),0,0)*cf(.992*i,.1,-.24))
  531. Hprt20,Hmsh20,Hwld20=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part20","SmoothPlastic","BlockMesh","nil","nil",2,1.2,1,euler(0,0,mr(90))*cf(.71*i,-.18,.13))
  532. Hprt21,Hmsh21,Hwld21=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part21","SmoothPlastic","SpecialMesh","Wedge","nil",.5,6,.5,euler(mr(-64.409),mr(180),0)*cf(.922*i,-.35,.64))
  533. Hprt22,Hmsh22,Hwld22=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part22","SmoothPlastic","SpecialMesh","Wedge","nil",.5,6,.5,euler(mr(-52.171),mr(180),0)*cf(.322*i,-.93,-.2))
  534. end
  535.  
  536. Hprt23,Hmsh23,Hwld23=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part23","SmoothPlastic","BlockMesh","nil","nil",2,2,3,euler(0,mr(90),0)*cf(0,-.35,-.76))
  537. Hprt24,Hmsh24,Hwld24=AesthPart(modelzorz,Hprt23,0,0,"Black","Head Part24","SmoothPlastic","BlockMesh","nil","nil",.4,2.1,3.1,euler(0,0,mr(90))*cf(0,.17,0))
  538. Hprt25,Hmsh25,Hwld25=AesthPart(modelzorz,Hprt23,0,0,"Really red","Head Part25","Neon","BlockMesh","nil","nil",.2,2.2,3.2,euler(0,0,mr(90))*cf(0,.18,0))
  539. Hprt26,Hmsh26,Hwld26=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part26","SmoothPlastic","BlockMesh","nil","nil",2,2,3,euler(0,mr(90),0)*cf(0,.05,-.76))
  540. Hprt27,Hmsh27,Hwld27=AesthPart(modelzorz,Hprt26,0,0,"Black","Head Part27","SmoothPlastic","BlockMesh","nil","nil",.4,2.1,3.1,euler(0,0,mr(90))*cf(0,-.18,0))
  541. Hprt28,Hmsh28,Hwld28=AesthPart(modelzorz,Hprt26,0,0,"Really red","Head Part28","Neon","BlockMesh","nil","nil",.2,2.2,3.2,euler(0,0,mr(90))*cf(0,-.18,0))
  542.  
  543. Jprt01,Jmsh01,Jwld01=AesthPart(modelzorz,Tprt1,0,0,"Black","Jet Part01","SmoothPlastic","CylinderMesh","nil","nil",3,6,3,euler(0,0,mr(90))*cf(0,.441,-.756))
  544. Jprt02,Jmsh02,Jwld02=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Jet Part02","SmoothPlastic","CylinderMesh","nil","nil",3.4,1,3.4,euler(0,0,mr(90))*cf(0,.441,-.756))
  545. Jprt03,Jmsh03,Jwld03=AesthPart(modelzorz,Tprt1,0,0,"Really red","Jet Part03","Neon","CylinderMesh","nil","nil",3.5,.4,3.5,euler(0,0,mr(90))*cf(0,.441,-.756))
  546. Jprt04,Jmsh04,Jwld04=AesthPart(modelzorz,Jprt01,0,0,"Cocoa","Jet Part04","SmoothPlastic","CylinderMesh","nil","nil",3.4,2,3.4,euler(0,0,0)*cf(0,.4,0))
  547. Jprt05,Jmsh05,Jwld05=AesthPart(modelzorz,Jprt01,0,0,"Cocoa","Jet Part05","SmoothPlastic","CylinderMesh","nil","nil",3.4,2,3.4,euler(0,0,0)*cf(0,-.4,0))
  548.  
  549. tehprt=Jprt05
  550. for i=-1,1,2 do
  551. if i==1 then
  552. tehprt=Jprt04
  553. end
  554. Jprt06,Jmsh06,Jwld06=AesthPart(modelzorz,tehprt,0,0,"Black","Jet Part06","SmoothPlastic","CylinderMesh","nil","nil",4,2,4,euler(0,0,0)*cf(0,.4*i,0))
  555. Jprt07,Jmsh07,Jwld07=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part07","SmoothPlastic","CylinderMesh","nil","nil",3,1.9,3,euler(0,0,0)*cf(-.208,.4*i,-.243))
  556. Jprt08,Jmsh08,Jwld08=AesthPart(modelzorz,tehprt,0,0,"Smoky grey","Jet Part08","SmoothPlastic","BlockMesh","nil","nil",13,2.7,4.3,euler(0,mr(60),0)*cf(-1.096,.4*i,-1.382))
  557. Jprt09,Jmsh09,Jwld09=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part09","SmoothPlastic","BlockMesh","nil","nil",13.2,2.8,1,euler(0,mr(60),0)*cf(-1.39,.4*i,-1.212))
  558. Jprt10,Jmsh10,Jwld10=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part10","SmoothPlastic","BlockMesh","nil","nil",1,2.8,4,euler(0,mr(60),0)*cf(-1.645,.4*i,-2.473))
  559. Jprt11,Jmsh11,Jwld11=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part11","SmoothPlastic","SpecialMesh","Wedge","nil",2.8,3,4,euler(mr(90),0,mr(90))*euler(0,mr(-90),0)*euler(0,mr(60),0)*cf(-1.523,.4*i,-2.082))
  560. Jprt12,Jmsh12,Jwld12=AesthPart(modelzorz,tehprt,0,0,"Really black","Jet Part12","SmoothPlastic","BlockMesh","nil","nil",1,2.5,3.8,euler(0,mr(60),0)*cf(-1.655,.4*i,-2.49))
  561. Jprt13,Jmsh13,Jwld13=AesthPart(modelzorz,tehprt,0,0,"Maroon","Jet Part13","SmoothPlastic","SpecialMesh","Wedge","nil",2.9,2,6,euler(mr(90),0,mr(-90))*euler(0,mr(60),0)*cf(-2.358,.4*i,-2.408))
  562.  
  563. end
  564. Tprt1.Parent=Character
  565. LAprt17.Parent=Character
  566. LAprt19.Parent=Character
  567. LAprt01.Parent=Character
  568. LAprt01a.Parent=Character
  569. RAprt17.Parent=Character
  570. RAprt19.Parent=Character
  571. RAprt01.Parent=Character
  572. RAprt01a.Parent=Character
  573.  
  574. LLprt01.Parent=Character
  575. LLprt02.Parent=Character
  576. LLprt03.Parent=Character
  577. LLprt06.Parent=Character
  578. LLprt08.Parent=Character
  579. LLprt14.Parent=Character
  580. LLprt16.Parent=Character
  581. LLprt17.Parent=Character
  582. GLLprt01.Parent=Character
  583. GLLprt09.Parent=Character
  584. RLprt01.Parent=Character
  585. RLprt02.Parent=Character
  586. RLprt03.Parent=Character
  587. RLprt06.Parent=Character
  588. RLprt08.Parent=Character
  589. RLprt14.Parent=Character
  590. RLprt16.Parent=Character
  591. RLprt17.Parent=Character
  592. GRLprt01.Parent=Character
  593. GRLprt09.Parent=Character
  594.  
  595. Hprt01a.Parent=Character
  596. Hprt23.Parent=Character
  597. Hprt26.Parent=Character
  598.  
  599. Twld1.Parent=handle2
  600. LAwld17.Parent=handle2
  601. LAwld19.Parent=handle2
  602. LAwld01.Parent=handle2
  603. LAwld01a.Parent=handle2
  604. RAwld17.Parent=handle2
  605. RAwld19.Parent=handle2
  606. RAwld01.Parent=handle2
  607. RAwld01a.Parent=handle2
  608.  
  609. LLwld01.Parent=handle2
  610. LLwld02.Parent=handle2
  611. LLwld03.Parent=handle2
  612. LLwld06.Parent=handle2
  613. LLwld08.Parent=handle2
  614. LLwld14.Parent=handle2
  615. LLwld16.Parent=handle2
  616. LLwld17.Parent=handle2
  617. GLLwld01.Parent=handle2
  618. GLLwld09.Parent=handle2
  619. RLwld01.Parent=handle2
  620. RLwld02.Parent=handle2
  621. RLwld03.Parent=handle2
  622. RLwld06.Parent=handle2
  623. RLwld08.Parent=handle2
  624. RLwld14.Parent=handle2
  625. RLwld16.Parent=handle2
  626. RLwld17.Parent=handle2
  627. GRLwld01.Parent=handle2
  628. GRLwld09.Parent=handle2
  629.  
  630. Hwld01a.Parent=handle2
  631. Hwld23.Parent=handle2
  632. Hwld26.Parent=handle2
  633.  
  634. new1=it("CFrameValue")
  635. new1.Name="LAwld19"
  636. new1.Parent=TheWelds
  637. new2=it("CFrameValue")
  638. new2.Name="RAwld19"
  639. new2.Parent=TheWelds
  640. new3=it("CFrameValue")
  641. new3.Name="LLwld01"
  642. new3.Parent=TheWelds
  643. new4=it("CFrameValue")
  644. new4.Name="LLwld02"
  645. new4.Parent=TheWelds
  646. new5=it("CFrameValue")
  647. new5.Name="LLwld03"
  648. new5.Parent=TheWelds
  649. new6=it("CFrameValue")
  650. new6.Name="LLwld08"
  651. new6.Parent=TheWelds
  652. new7=it("CFrameValue")
  653. new7.Name="LLwld14"
  654. new7.Parent=TheWelds
  655. new8=it("CFrameValue")
  656. new8.Name="LLwld16"
  657. new8.Parent=TheWelds
  658. new9=it("CFrameValue")
  659. new9.Name="LLwld17"
  660. new9.Parent=TheWelds
  661. new10=it("CFrameValue")
  662. new10.Name="RLwld01"
  663. new10.Parent=TheWelds
  664. new11=it("CFrameValue")
  665. new11.Name="RLwld02"
  666. new11.Parent=TheWelds
  667. new12=it("CFrameValue")
  668. new12.Name="RLwld03"
  669. new12.Parent=TheWelds
  670. new13=it("CFrameValue")
  671. new13.Name="RLwld08"
  672. new13.Parent=TheWelds
  673. new14=it("CFrameValue")
  674. new14.Name="RLwld14"
  675. new14.Parent=TheWelds
  676. new15=it("CFrameValue")
  677. new15.Name="RLwld16"
  678. new15.Parent=TheWelds
  679. new16=it("CFrameValue")
  680. new16.Name="RLwld17"
  681. new16.Parent=TheWelds
  682.  
  683. --[[
  684. LLwld01: main cylinder
  685. LLwld02: connected to main cylinder
  686. LLwld03: second cylinder
  687. LLwld06: connected to second cylinder
  688. LLwld08: third joint
  689. LLwld14
  690. LLwld16
  691. LLwld17
  692. ]]
  693.  
  694. --Neck.C0=clerp(Neck.C0,necko*cf(0,0,-.2)*euler(-.4,0,0),1)
  695. --Hwld07.C0=euler(mr(90),0,mr(90))*euler(.4,0,0)*cf(0,.38,-.14+.2)
  696. local hitbox=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  697. --hitbox.Anchored=true
  698. local hitbox2=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  699. --hitbox2.Anchored=true
  700. local hitboxCF=cf(0,0,0)
  701.  
  702. TehHealth=1700+(#game.Players:GetChildren()*50)
  703. modelzorz.Parent=nil
  704. --TehHealth=2000
  705. Humanoid.MaxHealth=TehHealth
  706. Humanoid.Health=TehHealth
  707. Humanoid.HipHeight=1.7
  708. coroutine.resume(coroutine.create(function()
  709. for i=1,20 do
  710. wait()
  711. Humanoid.Health=Humanoid.MaxHealth
  712. end
  713. Humanoid:TakeDamage(1)
  714. end))
  715. local Stats=Instance.new("BoolValue")
  716. Stats.Name="Stats"
  717. Stats.Parent=Character
  718. local Atk=Instance.new("NumberValue")
  719. Atk.Name="Damage"
  720. Atk.Parent=Stats
  721. Atk.Value=1
  722. local Def=Instance.new("NumberValue")
  723. Def.Name="Defense"
  724. Def.Parent=Stats
  725. Def.Value=1
  726. local Mvmt=Instance.new("NumberValue")
  727. Mvmt.Name="Movement"
  728. Mvmt.Parent=Stats
  729. Mvmt.Value=1
  730. local Block=Instance.new("BoolValue")
  731. Block.Name="Block"
  732. Block.Parent=Stats
  733. Block.Value=false
  734. local Stun=Instance.new("NumberValue")
  735. Stun.Name="Stun"
  736. Stun.Parent=Stats
  737. Stun.Value=0
  738. local StunT=Instance.new("NumberValue")
  739. StunT.Name="StunThreshold"
  740. StunT.Parent=Stats
  741. StunT.Value=200
  742. local Rooted=Instance.new("BoolValue")
  743. Rooted.Name="Rooted"
  744. Rooted.Parent=Stats
  745. Rooted.Value=false
  746. local Stunned=Instance.new("BoolValue")
  747. Stunned.Name="Stunned"
  748. Stunned.Parent=Stats
  749. Stunned.Value=false
  750. local Stagger=Instance.new("BoolValue")
  751. Stagger.Name="Stagger"
  752. Stagger.Parent=Stats
  753. Stagger.Value=false
  754. local StaggerHit=Instance.new("BoolValue")
  755. StaggerHit.Name="StaggerHit"
  756. StaggerHit.Parent=Stats
  757. StaggerHit.Value=false
  758. local RecentEnemy=Instance.new("ObjectValue")
  759. RecentEnemy.Name="RecentEnemy"
  760. RecentEnemy.Parent=Stats
  761. RecentEnemy.Value=nil
  762. local Decrease=Instance.new("BoolValue")
  763. Decrease.Name="Decrease"
  764. Decrease.Parent=Stats
  765. Decrease.Value=false
  766. local mana=Instance.new("NumberValue")
  767. mana.Name="Mana"
  768. mana.Parent=Stats
  769. mana.Value=0
  770. local boss=Instance.new("BoolValue")
  771. boss.Name="Boss"
  772. boss.Parent=Stats
  773. boss.Value=true
  774. local alive=Instance.new("BoolValue")
  775. alive.Name="Alive"
  776. alive.Parent=Character
  777. alive.Value=true
  778. local btarget=Instance.new("ObjectValue")
  779. btarget.Name="Target"
  780. btarget.Parent=Stats
  781. btarget.Value=nil
  782. local Alignment=Instance.new("Color3Value")
  783. Alignment.Name="Alignment"
  784. Alignment.Parent=Character
  785. Alignment.Value=BrickColor.new("Bright red").Color
  786. local passive1=Instance.new("NumberValue",Decrease)
  787. passive1.Name="DecreaseAtk"
  788. passive1.Value=-1.2
  789. local passive2=Instance.new("NumberValue",Decrease)
  790. passive2.Name="DecreaseDef"
  791. passive2.Value=-.4
  792. local passive3=Instance.new("NumberValue",Decrease)
  793. passive3.Name="DecreaseMvmt"
  794. passive3.Value=.2
  795.  
  796. local TehPos=Instance.new("Vector3Value")
  797. TehPos.Name="TehPos"
  798. TehPos.Parent=Character
  799. TehPos.Value=vt(0,0,0)
  800.  
  801. so = function(id,par,vol,pit)
  802. local sou = Instance.new("Sound",par or workspace)
  803. sou.Volume=10
  804. sou.Pitch=pit or 1
  805. sou.SoundId="http://www.roblox.com/asset/?id="..id
  806. --swait()
  807. sou:play()
  808. game:GetService("Debris"):AddItem(sou,6)
  809. end
  810.  
  811. local function CFrameFromTopBack(at, top, back)
  812. local right = top:Cross(back)
  813. return CFrame.new(at.x, at.y, at.z,
  814. right.x, top.x, back.x,
  815. right.y, top.y, back.y,
  816. right.z, top.z, back.z)
  817. end
  818.  
  819. function Triangle(a, b, c)
  820. local edg1 = (c-a):Dot((b-a).unit)
  821. local edg2 = (a-b):Dot((c-b).unit)
  822. local edg3 = (b-c):Dot((a-c).unit)
  823. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  824. a, b, c = a, b, c
  825. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  826. a, b, c = b, c, a
  827. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  828. a, b, c = c, a, b
  829. else
  830. assert(false, "unreachable")
  831. end
  832.  
  833. local len1 = (c-a):Dot((b-a).unit)
  834. local len2 = (b-a).magnitude - len1
  835. local width = (a + (b-a).unit*len1 - c).magnitude
  836.  
  837. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  838.  
  839. local list = {}
  840.  
  841. if len1 > 0.01 then
  842. local w1 = Instance.new('WedgePart', m)
  843. w1.Name = "Triangle"
  844. game:GetService("Debris"):AddItem(w1,5)
  845. w1.Material = "SmoothPlastic"
  846. w1.FormFactor = 'Custom'
  847. w1.BrickColor = BrickColor.new("Teal")
  848. w1.Transparency = 0
  849. w1.Reflectance = 0
  850. w1.Material = "SmoothPlastic"
  851. w1.CanCollide = false
  852. NoOutline(w1)
  853. local sz = Vector3.new(0.2, width, len1)
  854. w1.Size = sz
  855. local sp = Instance.new("SpecialMesh",w1)
  856. sp.MeshType = "Wedge"
  857. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  858. w1:BreakJoints()
  859. w1.Anchored = true
  860. w1.Parent = workspace
  861. w1.Transparency = 0.7
  862. table.insert(Effects,{w1,"Disappear",.05})
  863. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  864. table.insert(list,w1)
  865. end
  866.  
  867. if len2 > 0.01 then
  868. local w2 = Instance.new('WedgePart', m)
  869. w2.Name = "Triangle"
  870. game:GetService("Debris"):AddItem(w2,5)
  871. w2.Material = "SmoothPlastic"
  872. w2.FormFactor = 'Custom'
  873. w2.BrickColor = BrickColor.new("Teal")
  874. w2.Transparency = 0
  875. w2.Reflectance = 0
  876. w2.Material = "SmoothPlastic"
  877. w2.CanCollide = false
  878. NoOutline(w2)
  879. local sz = Vector3.new(0.2, width, len2)
  880. w2.Size = sz
  881. local sp = Instance.new("SpecialMesh",w2)
  882. sp.MeshType = "Wedge"
  883. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  884. w2:BreakJoints()
  885. w2.Anchored = true
  886. w2.Parent = workspace
  887. w2.Transparency = 0.7
  888. table.insert(Effects,{w2,"Disappear",.05})
  889. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  890. table.insert(list,w2)
  891. end
  892. return unpack(list)
  893. end
  894.  
  895. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type)
  896. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  897. prt.Anchored=true
  898. prt.CFrame=cframe
  899. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  900. game:GetService("Debris"):AddItem(prt,3)
  901. if Type==1 or Type==nil then
  902. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3,msh})
  903. elseif Type==2 then
  904. table.insert(Effects,{prt,"Block2",delay,x3,y3,z3,msh})
  905. end
  906. end
  907.  
  908. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  909. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  910. prt.Anchored=true
  911. prt.CFrame=cframe
  912. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  913. game:GetService("Debris"):AddItem(prt,3)
  914. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  915. end
  916.  
  917. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  918. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  919. prt.Anchored=true
  920. prt.CFrame=cframe
  921. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  922. game:GetService("Debris"):AddItem(prt,3)
  923. table.insert(Effects,{prt,"Blood",delay,x3,y3,z3,msh})
  924. end
  925.  
  926. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  927. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  928. prt.Anchored=true
  929. prt.CFrame=cframe*cf(x2,y2,z2)
  930. local msh=mesh("SpecialMesh",prt,"FileMesh","3270017",vt(0,0,0),vt(x1,y1,z1))
  931. game:GetService("Debris"):AddItem(prt,3)
  932. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  933. end
  934.  
  935. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  936. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  937. prt.Anchored=true
  938. prt.CFrame=cframe
  939. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  940. game:GetService("Debris"):AddItem(prt,3)
  941. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  942. end
  943.  
  944. function MagicHead(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  945. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  946. prt.Anchored=true
  947. prt.CFrame=cframe
  948. local msh=mesh("SpecialMesh",prt,"Head","nil",vt(0,0,0),vt(x1,y1,z1))
  949. game:GetService("Debris"):AddItem(prt,3)
  950. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  951. end
  952.  
  953. function ClangEffect(brickcolor,cframe,duration,decrease,size,power)
  954. local prt=part(3,effects,0,1,brickcolor,"Effect",vt(0.2,0.2,0.2))
  955. prt.Anchored=true
  956. prt.CFrame=cframe
  957. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(5,5,5))
  958. game:GetService("Debris"):AddItem(prt,3)
  959. table.insert(Effects,{prt,"CylinderClang",duration,decrease,size,power,prt.CFrame,nil})
  960. end
  961.  
  962. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  963. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  964. prt.Anchored=true
  965. prt.CFrame=cframe
  966. local msh=mesh("SpecialMesh",prt,"FileMesh","20329976",vt(0,0,0),vt(x1,y1,z1))
  967. game:GetService("Debris"):AddItem(prt,3)
  968. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  969. end
  970.  
  971. function MagicWave2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  972. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  973. prt.Anchored=true
  974. prt.CFrame=cframe
  975. local msh=mesh("SpecialMesh",prt,"FileMesh","1323306",vt(0,0,0),vt(x1,y1,z1))
  976. game:GetService("Debris"):AddItem(prt,10)
  977. table.insert(Effects,{prt,"Cylinder2",delay,x3,y3,z3,msh,0})
  978. end
  979.  
  980. function MagicWave3(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  981. local prt=part(3,effects,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  982. prt.Anchored=true
  983. prt.CFrame=cframe
  984. local msh=mesh("SpecialMesh",prt,"FileMesh","1323306",vt(0,0,0),vt(x1,y1,z1))
  985. game:GetService("Debris"):AddItem(prt,10)
  986. table.insert(Effects,{prt,"Cylinder3",delay,x3,y3,z3,msh,0})
  987. end
  988.  
  989. function Lightning(p0,p1,tym,ofs,col,th,tra,last)
  990. --[[p0=pos1
  991. p1=pos2
  992. tym=times
  993. ofs=offset
  994. col=color
  995. th=size
  996. tra=transparency
  997. last=lastingtime]]
  998. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  999. for i=1,tym do
  1000. local li = Instance.new("Part",effects) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  1001. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1002. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  1003. if tym == i then
  1004. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  1005. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  1006. else
  1007. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  1008. end
  1009. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,5)
  1010. table.insert(Effects,{li,"Disappear",last})
  1011. end
  1012. end
  1013.  
  1014. --[[local BodGy=Instance.new("BodyGyro")
  1015. BodGy.maxTorque=Vector3.new(0,4e+005,0)
  1016. BodGy.P=2000
  1017. BodGy.D=100
  1018. BodGy.Name="SiegmundGyro"
  1019. CF=RootPart.CFrame
  1020. BodGy.Parent=RootPart
  1021. BodGy.cframe=CF]]
  1022.  
  1023. --[[Neck.C0=euler(0,0,0)*cf(0,3,0)*euler(0,.6,0)*euler(-.2,0,0)
  1024. RootJoint.C0=cf(0,-2,0)*euler(0,.6,0)
  1025. RW.C0=cf(4.5,1.5,0)*euler(-.4,0,.5)*euler(0,0,0)
  1026. RW.C1=cf(0,1.5,0)*euler(0,0,0)
  1027. LW.C0=cf(-4.5,1.5,0)*euler(.2,0,-.5)
  1028. LW.C1=cf(0,1.5,0)*euler(0,0,0)
  1029. RH.C0=cf(1.5,-3,0)*euler(0,-.6,0)*euler(0,0,.1)
  1030. RH.C1=cf(0,3,0)*euler(0,0,0)
  1031. LH.C0=cf(-1.5,-3,0)*euler(0,.6,0)*euler(.1,0,0)
  1032. LH.C1=cf(0,3,0)*euler(0,0,0)]]
  1033.  
  1034. --[[RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(3,0,0.5),.3)
  1035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-1.2),.3)
  1036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.4,0,0),.3)
  1037. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,0),.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1.2,1.57,0),.3)
  1039. LH.C0=clerp(LH.C0,cf(-1.1,-.5,-0.5)*euler(-0.2,-1.3,0),.3)]]
  1040. function StartAnim()
  1041. attack=true
  1042. --[[Neck.C0=necko*euler(0,0,0)
  1043. RootJoint.C0=euler(0,0,0)
  1044. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  1045. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1046. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  1047. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1048. RH.C0=cf(.5,-1,0)*euler(0,1.57,0)
  1049. LH.C0=cf(-.5,-1,0)*euler(0,-1.57,0)]]
  1050. --[[Neck.C0=necko*euler(-0.4,0,0)
  1051. RootJoint.C0=euler(.2,0,0)
  1052. RW.C0=cf(1.5,0.5,0)*euler(-.3,0,0.2)
  1053. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1054. LW.C0=cf(-1.5,0.5,0)*euler(-.3,0,-0.2)
  1055. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1056. RH.C0=cf(.5,-1,0)*euler(0.4,1.57,0)
  1057. LH.C0=cf(-.5,-1,0)*euler(-0.2,-1.57,0)
  1058. for i=0,1,0.05 do
  1059. swait()
  1060. Neck.C0=clerp(Neck.C0,necko*euler(-.4,0,0),.3)
  1061. RootJoint.C0=clerp(RootJoint.C0,cf(0,1,0)*euler(0,0,0),.3)
  1062. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,1.2),.3)
  1063. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-1.2),.3)
  1064. RH.C0=clerp(RH.C0,cf(.5,-1,0)*euler(-1.2,1.57,0),.3)
  1065. LH.C0=clerp(LH.C0,cf(-.6,-.5,-0.5)*euler(-0.2,-1.3,0),.3)
  1066. end]]
  1067. attack=false
  1068. end
  1069. --[[RW.C0=cf(1.5,0.5,0)*euler(0,0,1.2)
  1070. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-1.2)
  1071. Neck.C0=necko*euler(-.4,0,0)
  1072. RootJoint.C0=cf(0,1,0)*euler(0,0,0)
  1073. RH.C0=cf(1,-1,0)*euler(-1.2,1.57,0)
  1074. LH.C0=cf(-1.1,-.5,-0.5)*euler(-0.2,-1.3,0)]]
  1075.  
  1076. local BodGy=Instance.new("BodyGyro")
  1077. BodGy.maxTorque=Vector3.new(0,4e+005,0)
  1078. BodGy.P=2000
  1079. BodGy.D=100
  1080. BodGy.Name="BotGyro"
  1081. CF=RootPart.CFrame
  1082. BodGy.Parent=RootPart
  1083. BodGy.cframe=CF
  1084. BodGy.Parent=nil
  1085.  
  1086. wait()
  1087. --print("Avnas spawned.")
  1088. --workspace.CurrentCamera.CameraSubject=Head
  1089. --[[
  1090. Neck.C0=Neck.C0:lerp(euler(0,0,0)*euler(-.1,0,0)*cf(0,1.3,.1),1)
  1091. RootJoint.C0=RootJoint.C0:lerp(euler(0,0,0)*euler(.1,0,0)*cf(0,.7,0),1)
  1092. LW.C0=LW.C0:lerp(cf(-1.9,.5,0)*euler(.2,0,-.4),1)
  1093. RW.C0=RW.C0:lerp(cf(1.9,.5,0)*euler(.2,0,.4),1)
  1094. LAwld19.C0=LAwld19.C0:lerp(euler(mr(-90-40),mr(-10),0)*cf(0,0,0),1)
  1095. RAwld19.C0=RAwld19.C0:lerp(euler(mr(-90+40),mr(-10),0)*cf(0,0,0),1)
  1096.  
  1097. LLwld01.C0=LLwld01.C0:lerp(euler(0,0,mr(90))*euler(0,mr(-30),0)*cf(.616,1.48,-.2),1)
  1098. LLwld02.C0=LLwld02.C0:lerp(cf(0,.0,.453)*euler(0,mr(20),0),1)
  1099. LLwld03.C0=LLwld03.C0:lerp(euler(0,mr(80),0)*cf(-.219,0,.658),1)
  1100. LLwld08.C0=LLwld08.C0:lerp(euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),1)
  1101. LLwld14.C0=LLwld14.C0:lerp(euler(0,mr(-30),0)*cf(-.233,0,-.912),1)
  1102. LLwld16.C0=LLwld16.C0:lerp(euler(mr(-20),0,mr(90))*cf(.332,0,.318),1)
  1103. LLwld17.C0=LLwld17.C0:lerp(euler(mr(10),0,mr(90))*cf(.25,0,-.7),1)
  1104.  
  1105. RLwld01.C0=RLwld01.C0:lerp(euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),1)
  1106. RLwld02.C0=RLwld02.C0:lerp(cf(0,.0,.453)*euler(0,mr(20),0),1)
  1107. RLwld03.C0=RLwld03.C0:lerp(euler(0,mr(80),0)*cf(-.219,0,.658),1)
  1108. RLwld08.C0=RLwld08.C0:lerp(euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),1)
  1109. RLwld14.C0=RLwld14.C0:lerp(euler(0,mr(-30),0)*cf(-.233,0,-.912),1)
  1110. RLwld16.C0=RLwld16.C0:lerp(euler(mr(-20),0,mr(90))*cf(.4,0,.5),1)
  1111. RLwld17.C0=RLwld17.C0:lerp(euler(mr(10),0,mr(90))*cf(.25,0,-.7),1)
  1112.  
  1113. swait(100)
  1114.  
  1115. for i=1,100 do
  1116. swait()
  1117. Neck.C0=Neck.C0:lerp(euler(0,-.8,0)*euler(-.1,0,0)*cf(0,1.3,.2),.1)
  1118. RootJoint.C0=RootJoint.C0:lerp(euler(0,-.8,0)*euler(.2,0,0)*cf(0,.4,0),.1)
  1119. LW.C0=LW.C0:lerp(cf(-1.8,.5,0)*euler(-.4,0,-.4),.1)
  1120. RW.C0=RW.C0:lerp(cf(1.8,.5,-.5)*euler(0,.3,0)*euler(1.2,0,-.4)*euler(0,1.5,0),.1)
  1121.  
  1122. LAwld19.C0=LAwld19.C0:lerp(euler(mr(-90+30),mr(-50),0)*cf(0,0,0),.1)
  1123. RAwld19.C0=RAwld19.C0:lerp(euler(mr(-90-60),mr(-60),0)*cf(0,0,0),.1)
  1124.  
  1125. LLwld01.C0=LLwld01.C0:lerp(euler(0,0,mr(90))*euler(0,.4,0)*cf(.616,1.48,-.2),.1)
  1126. LLwld02.C0=LLwld02.C0:lerp(cf(0,.0,.453)*euler(0,mr(120),0),.1)
  1127. LLwld03.C0=LLwld03.C0:lerp(euler(0,mr(-30),0)*cf(-.219,0,.658),.1)
  1128. LLwld08.C0=LLwld08.C0:lerp(euler(mr(90),0,mr(-90))*cf(.07,-.6,0),.1)
  1129. LLwld14.C0=LLwld14.C0:lerp(euler(0,mr(-55),0)*cf(-.233,0,-.912),.1)
  1130. LLwld16.C0=LLwld16.C0:lerp(euler(mr(20),0,mr(90))*cf(.4,0,.5),.1)
  1131. LLwld17.C0=LLwld17.C0:lerp(euler(mr(10),0,mr(90))*cf(.25,0,-1),.1)
  1132.  
  1133. RLwld01.C0=RLwld01.C0:lerp(euler(0,0,mr(90))*euler(0,.6,0)*cf(-.616,1,-.3),.1)
  1134. RLwld02.C0=RLwld02.C0:lerp(cf(0,.0,.453)*euler(0,mr(25),0),.1)
  1135. RLwld03.C0=RLwld03.C0:lerp(euler(0,mr(60),0)*cf(-.219,0,.658),.1)
  1136. RLwld08.C0=RLwld08.C0:lerp(euler(mr(90),0,mr(-70))*cf(.2,-.6,0),.1)
  1137. RLwld14.C0=RLwld14.C0:lerp(euler(0,mr(-30),0)*cf(-.233,0,-.912),.1)
  1138. RLwld16.C0=RLwld16.C0:lerp(euler(mr(-10),0,mr(90))*cf(.4,0,.5),.1)
  1139. RLwld17.C0=RLwld17.C0:lerp(euler(mr(10),0,mr(90))*cf(.255,0,-.495),.1)
  1140.  
  1141. GRLwld01.C0=GRLwld01.C0:lerp(euler(0,mr(-90),mr(-30))*cf(0,-.5,0),.1)
  1142.  
  1143. Hwld23.C0=Hwld23.C0:lerp(euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.1)
  1144. Hwld26.C0=Hwld26.C0:lerp(euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.1)
  1145. end
  1146. ]]
  1147. function StunAnim()
  1148. attack=true
  1149. Stunned.Value=true
  1150. showDamage(Character,"Stunned","Interrupt")
  1151. local dec=Instance.new("NumberValue",Decrease)
  1152. dec.Name="DecreaseMvmt"
  1153. dec.Value=10
  1154.  
  1155. for i=0,1,0.2 do
  1156. swait()
  1157. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(.3,0,0)*cf(0,1.3,.1),.5)
  1158. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(-.3,0,0)*cf(0,1.2,0),.5)
  1159. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.4,0,-.6),.5)
  1160. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(.6,0,.4),.5)
  1161. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.5)
  1162. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.5)
  1163.  
  1164. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-20),0)*cf(.616,1.48,.2),.5)
  1165. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.5)
  1166. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(130),0)*cf(-.219,0,.658),.5)
  1167. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(.3,-.6,0),.5)
  1168. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-15),0)*cf(-.233,0,-.912),.5)
  1169. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.5)
  1170. LLwld17.C0=clerp(LLwld17.C0,euler(mr(-5),0,mr(90))*cf(.25,0,-.7),.5)
  1171.  
  1172. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),.5)
  1173. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.5)
  1174. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.5)
  1175. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.5)
  1176. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-50),0)*cf(-.233,0,-.912),.5)
  1177. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.5)
  1178. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.5)
  1179. end
  1180. for i=0,1,0.2 do
  1181. swait()
  1182. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.8,0,0)*cf(0,1,1),.5)
  1183. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(-.1,0,0)*cf(0,3,0),.5)
  1184. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.2),.5)
  1185. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.2),.5)
  1186. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.5)
  1187. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.5)
  1188.  
  1189. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-20),0)*cf(.616,1.3,.4),.5)
  1190. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(-80),0),.5)
  1191. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(150),0)*cf(-.219,0,.658),.5)
  1192. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-50))*cf(.3,-.6,0),.5)
  1193. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.5)
  1194. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.5)
  1195. LLwld17.C0=clerp(LLwld17.C0,euler(mr(5),0,mr(90))*cf(.25,0,-.3),.5)
  1196.  
  1197. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,.2),.5)
  1198. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(-30),0),.5)
  1199. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(50),0)*cf(-.219,0,.658),.5)
  1200. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-20))*cf(-.07,-.6,0),.5)
  1201. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.5)
  1202. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.6),.5)
  1203. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.4),.5)
  1204. end
  1205. for i=1,150 do
  1206. swait()
  1207. end
  1208. dec.Parent=nil
  1209. Stun.Value=0
  1210. Stunned.Value=false
  1211. attack=false
  1212. end
  1213.  
  1214. function tehShoot(CeEf,AimType,dam1,dam2,Type)
  1215. --AimType = "Normal"
  1216. local ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1217. ref.Anchored=true
  1218. --ref.CFrame=LAprt19.CFrame*cf(-.79,-2.47,0)
  1219. ref.CFrame=CeEf
  1220. game:GetService("Debris"):AddItem(ref,1)
  1221. if Type==1 or Type==2 then
  1222. --so("169380505",ref,.5,2.5)
  1223. --so("161006069",ref,.5,2)
  1224. so("300916038",ref,1,2)
  1225. so("169380505",ref,.5,1.5)
  1226. elseif Type==3 then
  1227. so("300916038",ref,.3,1)
  1228. end
  1229. if Type==3 then
  1230. MagicWave2(BrickColor.new("CGA brown"),ref.CFrame*euler(mr(180),0,0),.2,.2,.2,.1,.2,.1,.1)
  1231. else
  1232. MagicCircle(BrickColor.new("Really red"),ref.CFrame,1,1,1,4,4,4,.2)
  1233. MagicWave2(BrickColor.new("Really red"),ref.CFrame*euler(mr(180),0,0),.2,.2,.2,.1,.2,.1,.2)
  1234. end
  1235. if AimType=="TrueAim" then
  1236. target,distance=findNearestTorso(Torso.Position)
  1237. local MouseLook
  1238. if target~=nil then
  1239. spread=vt(math.random(-50,50)/100,math.random(-50,50)/100,math.random(-50,50)/100)*(ref.Position-target.Position).magnitude/100
  1240. if Type==3 then
  1241. local targ=ref.Position-target.Position
  1242. local dist=targ.magnitude
  1243. if dist>100 then
  1244. spread=vt(math.random(-500,500)/100,math.random(-500,500)/100,math.random(-500,500)/100)*(ref.Position-target.Position).magnitude/100
  1245. else
  1246. spread=vt(math.random(-1000,1000)/100,math.random(-1000,1000)/100,math.random(-1000,1000)/100)*(ref.Position-target.Position).magnitude/100
  1247. end
  1248. end
  1249. MouseLook=cf((ref.Position+target.Position)/2,target.Position+spread)
  1250. if Type==3 then
  1251. local targ=ref.Position-target.Position
  1252. local dist=targ.magnitude
  1253. if dist>100 then
  1254. MouseLook=MouseLook*euler(mr(dist/9.8),0,0)
  1255. Type=4
  1256. else
  1257. MouseLook=MouseLook*euler(mr(dist/(10/5)),0,0)
  1258. end
  1259. end
  1260. end
  1261. --local MouseLook=cf((gunpart.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1262. dur=30
  1263. if Type==3 or Type==4 then dur=100 end
  1264. kB=0
  1265. if AimType=="TrueAim" and Type==1 then kB=math.random(30,40) end
  1266. if target~=nil then
  1267. table.insert(Effects,{MouseLook,"Shoot1",dur,ref.Position,dam1,dam2,Type,kB})
  1268. end
  1269. elseif AimType=="Normal" then
  1270. table.insert(Effects,{(CeEf*euler(mr(-90),0,0)),"Shoot1",30,ref.Position,dam1,dam2,Type,kB})
  1271. end
  1272. end
  1273.  
  1274. function LeftLaser()
  1275. attack=true
  1276. for i=0,1,0.1 do
  1277. swait()
  1278.  
  1279. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1280. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1281. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(1.67,0,-.5)*euler(0,-1.57,0),.3)
  1282. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.4),.3)
  1283. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1284. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1285.  
  1286. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.5,0)*cf(.616,1.48,-.2),.3)
  1287. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1288. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1289. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1290. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1291. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1292. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1293.  
  1294. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.4,0)*cf(-.616,1.48,-.2),.3)
  1295. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1296. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1297. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1298. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1299. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1300. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1301.  
  1302. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1303. break
  1304. end
  1305. end
  1306. tehShoot(LAprt19.CFrame*cf(-.79,-2.47,0),"TrueAim",10,12,1)
  1307.  
  1308. for i=0,1,0.1 do
  1309. swait()
  1310. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1311. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1312. LW.C0=clerp(LW.C0,cf(-1.9,.4,.5)*euler(1.57,0,-.5)*euler(0,-1.57,0),.3)
  1313. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.4),.3)
  1314. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-20),0)*cf(0,0,0),.3)
  1315. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1316.  
  1317. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1318. break
  1319. end
  1320. end
  1321. attack=false
  1322. end
  1323.  
  1324. function RightLaser()
  1325. attack=true
  1326. for i=0,1,0.1 do
  1327. swait()
  1328.  
  1329. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1330. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1331. --[[LW.C0=LW.C0:lerp(cf(-1.9,.5,0)*euler(1.67,0,-.5)*euler(0,-1.57,0),.3)
  1332. RW.C0=RW.C0:lerp(cf(1.9,.5,0)*euler(-.2,0,.4),.3)]]
  1333. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  1334. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(1.67,0,.5)*euler(0,1.57,0),.3)
  1335. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1336. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1337.  
  1338. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(.616,1.48,-.2),.3)
  1339. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1340. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1341. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1342. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1343. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1344. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1345.  
  1346. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.5,0)*cf(-.616,1.48,-.2),.3)
  1347. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1348. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1349. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1350. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1351. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1352. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1353.  
  1354. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1355. break
  1356. end
  1357. end
  1358. tehShoot(RAprt19.CFrame*cf(-.79,-2.47,0),"TrueAim",10,12,1)
  1359. for i=0,1,0.1 do
  1360. swait()
  1361. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1362. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1363. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  1364. RW.C0=clerp(RW.C0,cf(1.9,.4,.5)*euler(1.57,0,.5)*euler(0,1.57,0),.3)
  1365. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1366. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-20),0)*cf(0,0,0),.3)
  1367.  
  1368. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1369. break
  1370. end
  1371. end
  1372. attack=false
  1373. end
  1374.  
  1375. function LaserSweep()
  1376. attack=true
  1377. for i=0,1,0.1 do
  1378. swait()
  1379. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.2,0,0)*cf(0,1.3,.1),.3)
  1380. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(0,0,0)*cf(0,1,0),.3)
  1381. LW.C0=clerp(LW.C0,cf(-1.5,.5,-.5)*euler(1.57,0,1.2),.3)
  1382. RW.C0=clerp(RW.C0,cf(1.5,.5,-.5)*euler(1.57,0,-1.2),.3)
  1383. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-120),0)*cf(0,0,0),.3)
  1384. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-120),0)*cf(0,0,0),.3)
  1385.  
  1386. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-10),0)*cf(.616,1.48,-.2),.3)
  1387. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1388. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1389. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1390. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1391. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  1392. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1393.  
  1394. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),.3)
  1395. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1396. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1397. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1398. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1399. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1400. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1401. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1402. break
  1403. end
  1404. end
  1405. for i=6,46 do
  1406. swait()
  1407. if i%6==0 then
  1408. tehShoot(LAprt19.CFrame*cf(-.79,-2.47,0),"Normal",10,12,1)
  1409. tehShoot(RAprt19.CFrame*cf(-.79,-2.47,0),"Normal",10,12,1)
  1410. end
  1411. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.04)
  1412. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.04)
  1413. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1414. break
  1415. end
  1416. end
  1417. attack=false
  1418. end
  1419.  
  1420. function LeftHomeLaser()
  1421. attack=true
  1422. for i=0,1,0.1 do
  1423. swait()
  1424.  
  1425. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(0,0,0)*cf(0,1.3,.1),.3)
  1426. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1427. LW.C0=clerp(LW.C0,cf(-1.6,.7,-.5)*euler(1.5,0,.5)*euler(0,-.1,0),.3)
  1428. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.4),.3)
  1429. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.3)
  1430. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1431.  
  1432. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.5,0)*cf(.616,1.48,-.2),.3)
  1433. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1434. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1435. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1436. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1437. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1438. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1439.  
  1440. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.4,0)*cf(-.616,1.48,-.2),.3)
  1441. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1442. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1443. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1444. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1445. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1446. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1447.  
  1448. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1449. break
  1450. end
  1451. end
  1452. for i=1,2 do
  1453. swait()
  1454. tehShoot(LAprt19.CFrame*cf(-.79,-2.47,0),"Normal",9,12,2)
  1455.  
  1456. for i=0,1,0.2 do
  1457. swait()
  1458. LW.C0=clerp(LW.C0,cf(-1.65,.7,0)*euler(1.5,0,.7)*euler(0,-.1,0),.3)
  1459. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-80),0)*cf(0,0,0),.3)
  1460. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1461. break
  1462. end
  1463. end
  1464. for i=0,1,0.2 do
  1465. swait()
  1466. LW.C0=clerp(LW.C0,cf(-1.6,.7,-.5)*euler(1.5,0,.5)*euler(0,-.1,0),.3)
  1467. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.3)
  1468. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1469. break
  1470. end
  1471. end
  1472. end
  1473. attack=false
  1474. end
  1475.  
  1476. function RightHomeLaser()
  1477. attack=true
  1478.  
  1479. for i=0,1,0.1 do
  1480. swait()
  1481.  
  1482. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(0,0,0)*cf(0,1.3,.1),.3)
  1483. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1484. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  1485. RW.C0=clerp(RW.C0,cf(1.6,.7,-.5)*euler(1.5,0,-.5)*euler(0,.1,0),.3)
  1486. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1487. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.3)
  1488.  
  1489. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(.616,1.48,-.2),.3)
  1490. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1491. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1492. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1493. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1494. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1495. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1496.  
  1497. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.5,0)*cf(-.616,1.48,-.2),.3)
  1498. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1499. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1500. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1501. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1502. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1503. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1504.  
  1505. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1506. break
  1507. end
  1508. end
  1509. for i=1,2 do
  1510. swait()
  1511. tehShoot(RAprt19.CFrame*cf(-.79,-2.47,0),"Normal",9,12,2)
  1512.  
  1513. for i=0,1,0.2 do
  1514. swait()
  1515. RW.C0=clerp(RW.C0,cf(1.65,.7,0)*euler(1.5,0,-.7)*euler(0,.1,0),.3)
  1516. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-80),0)*cf(0,0,0),.3)
  1517. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1518. break
  1519. end
  1520. end
  1521. for i=0,1,0.2 do
  1522. swait()
  1523. RW.C0=clerp(RW.C0,cf(1.6,.7,-.5)*euler(1.5,0,-.5)*euler(0,.1,0),.3)
  1524. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(-40),0)*cf(0,0,0),.3)
  1525. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1526. break
  1527. end
  1528. end
  1529. end
  1530. attack=false
  1531. end
  1532.  
  1533. function LeftSuperLaser()
  1534. attack=true
  1535. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1536. ref.Anchored=true
  1537. ref.CFrame=LAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1538. so("2101137",ref,.5,1)
  1539. for i=0,100,4 do
  1540. swait()
  1541. if i<90 then
  1542. target,distance=findNearestTorso(Torso.Position)
  1543. if target~=nil then
  1544. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  1545. --BodGy.cframe=cf(Torso.Position,newpos)
  1546. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  1547. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1548. end
  1549. end
  1550. ref.CFrame=LAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1551. MagicCircle(BrickColor.new("Really red"),ref.CFrame,1,1,1,(i*2)/80,(i*2)/80,(i*2)/80,.2)
  1552. MagicCircle2(BrickColor.new("Really red"),ref.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1,1,1,0,0,0,.2)
  1553.  
  1554. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.2)
  1555. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,1,0),.2)
  1556. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(1.67,0,-.4)*euler(0,0,0),.2)
  1557. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.4),.2)
  1558. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.2)
  1559. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.2)
  1560.  
  1561. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.5,0)*cf(.616,1.48,-.2),.2)
  1562. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.2)
  1563. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.2)
  1564. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.2)
  1565. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.2)
  1566. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.2)
  1567. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.2)
  1568.  
  1569. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.4,0)*cf(-.616,1.48,-.2),.2)
  1570. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.2)
  1571. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.2)
  1572. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.2)
  1573. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.2)
  1574. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.2)
  1575. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.2)
  1576.  
  1577. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1578. break
  1579. end
  1580. end
  1581. daa=3
  1582. derpa=1
  1583. for i=1,0,-.05 do
  1584. swait()
  1585. if Rooted.Value==false then Torso.Velocity=(ref.CFrame*euler(mr(-90),0,0)).lookVector*-140*i end
  1586. ref.CFrame=LAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1587. derpa=derpa+1
  1588. if derpa%2==0 then
  1589. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(mr(-90),0,0)).lookVector,500,Character)
  1590. local mag=(ref.Position-pos).magnitude
  1591. MagicCylinder(BrickColor.new("Really red"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  1592. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1593. ref2.Anchored=true
  1594. ref2.CFrame=cf(pos)
  1595. so("81116747",ref2,.8,1.2)
  1596. so("161006093",ref2,.8,1)
  1597. game:GetService("Debris"):AddItem(ref2,1)
  1598. MagicBlock(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1599. MagicRing(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,2,2,.1,.2)
  1600. MagniDamage(ref2,5,10,12,0,"Normal",ref2,.2,1,math.random(8,10),nil,nil,true,nil,nil,nil)
  1601. MagicCircle(BrickColor.new("Really red"),ref.CFrame,1,1,1,3,3,3,.2)
  1602. daa=daa+1
  1603. if daa%2==0 then
  1604. so("161006069",ref,.5,1.4)
  1605. end
  1606. end
  1607. Neck.C0=clerp(Neck.C0,euler(0,-.2,0)*euler(0,0,0)*cf(0,1.3,.1),.1)
  1608. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.2,0)*euler(.2,0,0)*cf(0,1.2,0),.1)
  1609. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(2.4,0,1.5)*euler(0,.4,0),.02)
  1610. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.4,0,.5),.1)
  1611. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.1)
  1612. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.1)
  1613.  
  1614. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.1)
  1615. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.1)
  1616. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(50),0)*cf(-.219,0,.658),.1)
  1617. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-70))*cf(.1,-.5,0),.1)
  1618. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-45),0)*cf(-.233,0,-.912),.1)
  1619. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.1)
  1620. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.1)
  1621.  
  1622. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(-.616,1.48,-.2),.1)
  1623. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(140),0),.1)
  1624. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-70),0)*cf(0,0,.658),.1)
  1625. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-70))*cf(.2,-.6,0),.1)
  1626. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.1)
  1627. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.65,0,-.5),.1)
  1628. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.1)
  1629. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1630. break
  1631. end
  1632. end
  1633. ref.Parent=nil
  1634. attack=false
  1635. end
  1636.  
  1637. function RightSuperLaser()
  1638. attack=true
  1639. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1640. ref.Anchored=true
  1641. ref.CFrame=RAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1642. so("2101137",ref,.5,1)
  1643. for i=0,100,4 do
  1644. swait()
  1645. if i<90 then
  1646. target,distance=findNearestTorso(Torso.Position)
  1647. if target~=nil then
  1648. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  1649. --BodGy.cframe=cf(Torso.Position,newpos)
  1650. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  1651. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1652. end
  1653. end
  1654. ref.CFrame=RAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1655. MagicCircle(BrickColor.new("Really red"),ref.CFrame,1,1,1,(i*2)/80,(i*2)/80,(i*2)/80,.2)
  1656. MagicCircle2(BrickColor.new("Really red"),ref.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1,1,1,0,0,0,.2)
  1657.  
  1658. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.2)
  1659. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,1,0),.2)
  1660. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.2)
  1661. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(1.67,0,.4),.2)
  1662. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.2)
  1663. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.2)
  1664.  
  1665. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(.616,1.48,-.2),.2)
  1666. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.2)
  1667. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.2)
  1668. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.2)
  1669. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.2)
  1670. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.2)
  1671. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.2)
  1672.  
  1673. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.5,0)*cf(-.616,1.48,-.2),.2)
  1674. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.2)
  1675. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.2)
  1676. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.2)
  1677. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.2)
  1678. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.2)
  1679. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.2)
  1680.  
  1681. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1682. break
  1683. end
  1684. end
  1685. daa=3
  1686. derpa=1
  1687. for i=1,0,-.05 do
  1688. swait()
  1689. if Rooted.Value==false then Torso.Velocity=(ref.CFrame*euler(mr(-90),0,0)).lookVector*-140*i end
  1690. ref.CFrame=RAprt19.CFrame*cf(-.79,-2.47,0)*cf(0,-.5,0)
  1691. derpa=derpa+1
  1692. if derpa%2==0 then
  1693. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(mr(-90),0,0)).lookVector,500,Character)
  1694. local mag=(ref.Position-pos).magnitude
  1695. MagicCylinder(BrickColor.new("Really red"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  1696. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  1697. ref2.Anchored=true
  1698. ref2.CFrame=cf(pos)
  1699. so("81116747",ref2,.8,1.2)
  1700. so("161006093",ref2,.8,1)
  1701. game:GetService("Debris"):AddItem(ref2,1)
  1702. MagicBlock(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,6,6,6,.2,1)
  1703. MagicRing(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,2,2,.1,.2)
  1704. MagniDamage(ref2,5,10,12,0,"Normal",ref2,.2,1,math.random(8,10),nil,nil,true,nil,nil,nil)
  1705. MagicCircle(BrickColor.new("Really red"),ref.CFrame,1,1,1,3,3,3,.2)
  1706. daa=daa+1
  1707. if daa%2==0 then
  1708. so("161006069",ref,.5,1.4)
  1709. end
  1710. end
  1711. Neck.C0=clerp(Neck.C0,euler(0,.2,0)*euler(0,0,0)*cf(0,1.3,.1),.1)
  1712. RootJoint.C0=clerp(RootJoint.C0,euler(0,.2,0)*euler(.2,0,0)*cf(0,1.2,0),.1)
  1713. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.4,0,-.5),.1)
  1714. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(2.4,0,-1.5)*euler(0,-.4,0),.02)
  1715. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.1)
  1716. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.1)
  1717.  
  1718. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.2,0)*cf(.616,1.48,-.2),.1)
  1719. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(140),0),.1)
  1720. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-70),0)*cf(0,0,.658),.1)
  1721. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-70))*cf(.2,-.6,0),.1)
  1722. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.1)
  1723. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.65,0,-.5),.1)
  1724. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.1)
  1725.  
  1726. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.2,0)*cf(-.616,1.48,-.2),.1)
  1727. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.1)
  1728. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(50),0)*cf(-.219,0,.658),.1)
  1729. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-70))*cf(.1,-.5,0),.1)
  1730. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-45),0)*cf(-.233,0,-.912),.1)
  1731. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.1)
  1732. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.1)
  1733. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1734. break
  1735. end
  1736. end
  1737. ref.Parent=nil
  1738. attack=false
  1739. end
  1740.  
  1741. function LeftBarrage()
  1742. attack=true
  1743. for i=0,1,0.1 do
  1744. swait()
  1745. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1746. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,.7,0),.3)
  1747. LW.C0=clerp(LW.C0,cf(-1.5,.4,.2)*euler(-.2,0,.4),.3)
  1748. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(0,0,.4),.3)
  1749. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90+20),mr(-10),0)*cf(0,0,0),.3)
  1750. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  1751.  
  1752. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.5,0)*cf(.616,1.48,.2),.3)
  1753. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1754. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1755. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1756. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1757. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  1758. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1759.  
  1760. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),.3)
  1761. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1762. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1763. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1764. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1765. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1766. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1767. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1768. break
  1769. end
  1770. end
  1771. for i=1,2 do
  1772. tehShoot(LAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  1773. end
  1774. for i=0,1,0.1 do
  1775. swait()
  1776. Neck.C0=clerp(Neck.C0,euler(0,.3,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1777. RootJoint.C0=clerp(RootJoint.C0,euler(0,.3,0)*euler(.1,0,0)*cf(0,.7,0),.3)
  1778. LW.C0=clerp(LW.C0,cf(-1.5,.2,.2)*euler(-.2,0,-.1),.3)
  1779. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(0,0,.4),.3)
  1780. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90+30),mr(15),0)*cf(0,0,0),.3)
  1781. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  1782.  
  1783. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.3,0)*cf(.616,1.48,-.2),.3)
  1784. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1785. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1786. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1787. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1788. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  1789. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1790.  
  1791. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.3,0)*cf(-.616,1.48,-.2),.3)
  1792. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1793. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1794. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1795. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1796. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1797. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1798. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1799. break
  1800. end
  1801. end
  1802. attack=false
  1803. end
  1804.  
  1805. function RightBarrage()
  1806. attack=true
  1807. for i=0,1,0.1 do
  1808. swait()
  1809. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1810. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,.7,0),.3)
  1811. --[[LW.C0=LW.C0:lerp(cf(-1.5,.4,.2)*euler(-.2,0,.4),.3)
  1812. RW.C0=RW.C0:lerp(cf(1.9,.5,0)*euler(0,0,.4),.3)
  1813. LAwld19.C0=LAwld19.C0:lerp(euler(mr(-90+20),mr(-10),0)*cf(0,0,0),.3)
  1814. RAwld19.C0=RAwld19.C0:lerp(euler(mr(-90),mr(10),0)*cf(0,0,0),.3)]]
  1815. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(0,0,-.4),.3)
  1816. RW.C0=clerp(RW.C0,cf(1.5,.4,.2)*euler(-.2,0,-.4),.3)
  1817. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  1818. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90-20),mr(-10),0)*cf(0,0,0),.3)
  1819.  
  1820. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(.616,1.48,-.2),.3)
  1821. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1822. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1823. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1824. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1825. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1826. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1827.  
  1828. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.5,0)*cf(-.616,1.48,.2),.3)
  1829. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1830. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1831. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1832. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1833. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  1834. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1835. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1836. break
  1837. end
  1838. end
  1839. for i=1,2 do
  1840. tehShoot(RAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  1841. end
  1842. for i=0,1,0.1 do
  1843. swait()
  1844. Neck.C0=clerp(Neck.C0,euler(0,-.3,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1845. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.3,0)*euler(.1,0,0)*cf(0,.7,0),.3)
  1846. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(0,0,-.4),.3)
  1847. RW.C0=clerp(RW.C0,cf(1.5,.2,.2)*euler(-.2,0,-.1),.3)
  1848. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  1849. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90-30),mr(15),0)*cf(0,0,0),.3)
  1850.  
  1851. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.3,0)*cf(.616,1.48,-.2),.3)
  1852. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1853. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1854. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1855. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1856. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1857. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1858.  
  1859. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.3,0)*cf(-.616,1.48,-.2),.3)
  1860. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  1861. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  1862. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1863. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  1864. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  1865. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  1866. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1867. break
  1868. end
  1869. end
  1870. attack=false
  1871. end
  1872.  
  1873. function LeftMinigun()
  1874. attack=true
  1875. for i=0,1,0.1 do
  1876. swait()
  1877. Neck.C0=clerp(Neck.C0,euler(0,.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1878. RootJoint.C0=clerp(RootJoint.C0,euler(0,.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1879. LW.C0=clerp(LW.C0,cf(-2,.5,.2)*euler(-.4,0,-.8),.3)
  1880. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.2,0,.4),.3)
  1881. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1882. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1883.  
  1884. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.5,0)*cf(.616,1.48,-.2),.3)
  1885. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1886. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1887. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1888. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1889. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1890. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1891.  
  1892. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.4,0)*cf(-.616,1.48,-.2),.3)
  1893. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1894. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1895. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1896. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1897. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1898. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1899.  
  1900. GLLwld01.C0=clerp(GLLwld01.C0,euler(0,mr(-95),0)*euler(0,0,0)*cf(0,.5,0),.4)
  1901. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1902. break
  1903. end
  1904. end
  1905. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1906. ref.Anchored=true
  1907. for i=1,math.random(20,30) do
  1908. swait()
  1909. if i%2==0 then
  1910. ref.CFrame=GLLprt09.CFrame
  1911. so("182000341",ref,1,2)
  1912. MagicCircle(BrickColor.new("Bright yellow"),ref.CFrame*euler(mr(math.random(-4500,4500)/100),0,mr(math.random(-4500,4500)/100)),2,5,2,1,3,1,0.3)
  1913. target,distance=findNearestTorso(Torso.Position)
  1914. local MouseLook
  1915. if target~=nil then
  1916. spread=vt(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100)*(ref.Position-target.Position).magnitude/100
  1917. MouseLook=cf((ref.Position+target.Position)/2,target.Position+spread)
  1918. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,500,Character)
  1919. local mag=(ref.Position-pos).magnitude
  1920. MagicCylinder(BrickColor.new("Bright yellow"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),.5,mag*5,.5,.1,0,.1,.2)
  1921. ref2=part(3,effects,0,1,BrickColor.new("Bright yellow"),"Reference",vt())
  1922. ref2.Anchored=true
  1923. ref2.CFrame=cf(pos)
  1924. game:GetService("Debris"):AddItem(ref2,1)
  1925. MagicCircle(BrickColor.new("Bright yellow"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,2,6,2,0.2)
  1926. MagniDamage(ref2,3,2,3,0,"Normal",ref2,.2,1,math.random(3,4),nil,nil,true,nil,nil,nil)
  1927. end
  1928. end
  1929. --tehShoot(GLLprt09.CFrame*euler(mr(180),0,0),"Normal",4,6,1)
  1930. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1931. break
  1932. end
  1933. end
  1934. ref.Parent=nil
  1935. attack=false
  1936. for i=0,1,.2 do
  1937. if attack==false then
  1938. swait()
  1939. end
  1940. GLLwld01.C0=clerp(GLLwld01.C0,euler(0,mr(-20),0)*cf(0,.5,0),.3)
  1941. end
  1942. end
  1943.  
  1944.  
  1945. function RightMinigun()
  1946. attack=true
  1947. for i=0,1,0.1 do
  1948. swait()
  1949. Neck.C0=clerp(Neck.C0,euler(0,-.5,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  1950. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.5,0)*euler(.1,0,0)*cf(0,1,0),.3)
  1951. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  1952. RW.C0=clerp(RW.C0,cf(2,.5,.2)*euler(-.4,0,.8),.3)
  1953. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1954. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(0),0)*cf(0,0,0),.3)
  1955.  
  1956. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(.616,1.48,-.2),.3)
  1957. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(120),0),.3)
  1958. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-30),0)*cf(-.219,0,.658),.3)
  1959. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  1960. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-55),0)*cf(-.233,0,-.912),.3)
  1961. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.7,0,-.4),.3)
  1962. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-1),.3)
  1963.  
  1964. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.5,0)*cf(-.616,1.48,-.2),.3)
  1965. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  1966. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  1967. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.1,-.5,0),.3)
  1968. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-36),0)*cf(-.233,0,-.912),.3)
  1969. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  1970. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.8),.3)
  1971.  
  1972. GRLwld01.C0=clerp(GRLwld01.C0,euler(0,mr(-95),0)*euler(0,0,0)*cf(0,-.5,0),.4)
  1973.  
  1974. if Stagger.Value==true or Stun.Value>=StunT.Value then
  1975. break
  1976. end
  1977. end
  1978. ref=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  1979. ref.Anchored=true
  1980. for i=1,math.random(20,30) do
  1981. swait()
  1982. if i%2==0 then
  1983. ref.CFrame=GRLprt09.CFrame
  1984. so("182000341",ref,1,2)
  1985. MagicCircle(BrickColor.new("Bright yellow"),ref.CFrame*euler(mr(math.random(-4500,4500)/100),0,mr(math.random(-4500,4500)/100)),2,5,2,1,3,1,0.3)
  1986. target,distance=findNearestTorso(Torso.Position)
  1987. local MouseLook
  1988. if target~=nil then
  1989. spread=vt(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100)*(ref.Position-target.Position).magnitude/100
  1990. MouseLook=cf((ref.Position+target.Position)/2,target.Position+spread)
  1991. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,500,Character)
  1992. local mag=(ref.Position-pos).magnitude
  1993. MagicCylinder(BrickColor.new("Bright yellow"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),.5,mag*5,.5,.1,0,.1,.2)
  1994. ref2=part(3,effects,0,1,BrickColor.new("Bright yellow"),"Reference",vt())
  1995. ref2.Anchored=true
  1996. ref2.CFrame=cf(pos)
  1997. game:GetService("Debris"):AddItem(ref2,1)
  1998. MagicCircle(BrickColor.new("Bright yellow"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,2,6,2,0.2)
  1999. MagniDamage(ref2,3,2,3,0,"Normal",ref2,.2,1,math.random(3,4),nil,nil,true,nil,nil,nil)
  2000. end
  2001. end
  2002. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2003. break
  2004. end
  2005. end
  2006. ref.Parent=nil
  2007. attack=false
  2008. for i=0,1,.2 do
  2009. if attack==false then
  2010. swait()
  2011. end
  2012. GRLwld01.C0=clerp(GRLwld01.C0,euler(0,mr(-20),0)*cf(0,-.5,0),.3)
  2013. end
  2014. end
  2015.  
  2016. function EyeLaserWave()
  2017. attack=true
  2018. so("2101137",Head,1,1)
  2019. for i=0,1,0.08 do
  2020. swait()
  2021. target,distance=findNearestTorso(Torso.Position)
  2022. if target~=nil then
  2023. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  2024. --BodGy.cframe=cf(Torso.Position,newpos)
  2025. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  2026. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2027. end
  2028. ceef=Head.CFrame*cf(0,0,-.5-(.5*i))
  2029. MagicCircle(BrickColor.new("Really red"),ceef,1,1,1,2,2,2,.2)
  2030. MagicCircle2(BrickColor.new("Really red"),ceef*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1.5,1.5,1.5,-.05,1,-.05,.2)
  2031. Neck.C0=clerp(Neck.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1.2,-.3),.3)
  2032. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.4,0)*euler(-.2,0,0)*cf(0,.7,0),.3)
  2033. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  2034. RW.C0=clerp(RW.C0,cf(1.5,1,-.8)*euler(2.6,0,-.4)*euler(0,-.5,0),.3)
  2035. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2036. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2037.  
  2038. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.3)
  2039. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(60),0),.3)
  2040. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(90),0)*cf(-.219,0,.658),.3)
  2041. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-130))*cf(.4,-.2,0),.3)
  2042. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-38),0)*cf(-.233,0,-.912),.3)
  2043. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  2044. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.9),.3)
  2045.  
  2046. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(-.616,1.48,.2),.3)
  2047. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  2048. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  2049. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-60))*cf(-.07,-.6,0),.3)
  2050. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-15),0)*cf(-.233,0,-.912),.3)
  2051. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  2052. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2053.  
  2054. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.3)
  2055. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.3)
  2056. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2057. break
  2058. end
  2059. end
  2060.  
  2061. for i=0,1,0.12 do
  2062. swait()
  2063. target,distance=findNearestTorso(Torso.Position)
  2064. if target~=nil then
  2065. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  2066. --BodGy.cframe=cf(Torso.Position,newpos)
  2067. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  2068. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2069. end
  2070. ceef=Head.CFrame*cf(0,0,-1)
  2071. MagicCircle(BrickColor.new("Really red"),ceef,1,1,1,2,2,2,.2)
  2072. MagicCircle2(BrickColor.new("Really red"),ceef*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1.5,1.5,1.5,-.05,1,-.05,.2)
  2073. Neck.C0=clerp(Neck.C0,euler(0,-.4,0)*euler(-.4,0,0)*cf(0,1.3,.3),.3)
  2074. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1,0),.3)
  2075. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  2076. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.4,0,.4),.3)
  2077. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2078. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2079.  
  2080. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.3)
  2081. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(80),0),.3)
  2082. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-20),0)*cf(-.219,0,.658),.3)
  2083. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-50))*cf(.4,-.2,0),.3)
  2084. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-38),0)*cf(-.233,0,-.912),.3)
  2085. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.1),.3)
  2086. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2087.  
  2088. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(-.616,1.48,.2),.3)
  2089. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  2090. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  2091. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.4,-.3,0),.3)
  2092. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  2093. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-30),0,mr(90))*cf(.2,0,.3),.3)
  2094. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2095.  
  2096. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.3)
  2097. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.3)
  2098. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2099. break
  2100. end
  2101. end
  2102. ref=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  2103. ref.Anchored=true
  2104. for i=0,1,0.09 do
  2105. swait()
  2106. ceef=Head.CFrame*cf(0,0,-1)
  2107. ref.CFrame=ceef
  2108. local hit,pos = rayCast(ref.Position,(ref.CFrame*euler(mr(0),0,0)).lookVector,500,Character)
  2109. local mag=(ref.Position-pos).magnitude
  2110. MagicHead(BrickColor.new("Really red"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,2.4,0,2.4,0.2)
  2111. ref2=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  2112. ref2.Anchored=true
  2113. ref2.CFrame=cf(pos)
  2114. so("161006093",ref2,1,1.2)
  2115. game:GetService("Debris"):AddItem(ref2,1)
  2116. MagicBlock(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),20,20,20,4,4,4,.1,1)
  2117. --MagicRing(BrickColor.new("Really red"),cf(ref2.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,2,2,.1,.1)
  2118. MagicRing(BrickColor.new("Really red"),CFrame.new(pos,ref.Position)*angles(0,0,0),3,3,.1,6,6,.1,.2)
  2119. MagniDamage(ref2,5,4,5,math.random(-20,-10),"Knockdown2",ref2,.2,1,math.random(2,4),nil,nil,true,"Movement",.1,200)
  2120.  
  2121. table.insert(Effects,{Model,"Shockwave",50,cf(ref2.Position)})
  2122. --MagicCircle(BrickColor.new("Really red"),ceef,1,1,1,1,1,1,.1)
  2123. Neck.C0=clerp(Neck.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1.3,-.3),.2)
  2124. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1,0),.3)
  2125. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  2126. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.4,0,.4),.3)
  2127. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2128. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2129.  
  2130. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.3)
  2131. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(80),0),.3)
  2132. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-20),0)*cf(-.219,0,.658),.3)
  2133. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-50))*cf(.4,-.2,0),.3)
  2134. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-38),0)*cf(-.233,0,-.912),.3)
  2135. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.1),.3)
  2136. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2137.  
  2138. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(-.616,1.48,.2),.3)
  2139. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  2140. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  2141. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.4,-.3,0),.3)
  2142. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  2143. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-30),0,mr(90))*cf(.2,0,.3),.3)
  2144. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2145.  
  2146. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.3)
  2147. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.3)
  2148. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2149. break
  2150. end
  2151. end
  2152. attack=false
  2153. for i=0,1,0.1 do
  2154. if attack==false then
  2155. swait()
  2156. end
  2157. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*cf(0,-.35,-.76),.3)
  2158. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*cf(0,.05,-.76),.3)
  2159. end
  2160. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*cf(0,-.35,-.76),1)
  2161. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*cf(0,.05,-.76),1)
  2162. end
  2163.  
  2164. function EyeOrb()
  2165. attack=true
  2166. so("2101137",Head,1,1)
  2167. for i=0,1,0.08 do
  2168. swait()
  2169. target,distance=findNearestTorso(Torso.Position)
  2170. if target~=nil then
  2171. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  2172. --BodGy.cframe=cf(Torso.Position,newpos)
  2173. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  2174. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2175. end
  2176. ceef=Head.CFrame*cf(0,0,-1-(.5*i))
  2177. MagicCircle(BrickColor.new("Really red"),ceef,1,1,1,2,2,2,.2)
  2178. MagicCircle2(BrickColor.new("Really red"),ceef*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1.5,1.5,1.5,-.05,1,-.05,.2)
  2179. Neck.C0=clerp(Neck.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1.2,-.3),.3)
  2180. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.4,0)*euler(-.2,0,0)*cf(0,.7,0),.3)
  2181. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  2182. RW.C0=clerp(RW.C0,cf(1.5,1,-.8)*euler(2.6,0,-.4)*euler(0,-.5,0),.3)
  2183. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2184. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2185.  
  2186. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.3)
  2187. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(60),0),.3)
  2188. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(90),0)*cf(-.219,0,.658),.3)
  2189. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-130))*cf(.4,-.2,0),.3)
  2190. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-38),0)*cf(-.233,0,-.912),.3)
  2191. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  2192. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.9),.3)
  2193.  
  2194. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(-.616,1.48,.2),.3)
  2195. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  2196. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  2197. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-60))*cf(-.07,-.6,0),.3)
  2198. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-15),0)*cf(-.233,0,-.912),.3)
  2199. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  2200. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2201.  
  2202. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.3)
  2203. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.3)
  2204. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2205. break
  2206. end
  2207. end
  2208.  
  2209. for i=0,1,0.1 do
  2210. swait()
  2211. target,distance=findNearestTorso(Torso.Position)
  2212. if target~=nil then
  2213. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  2214. --BodGy.cframe=cf(Torso.Position,newpos)
  2215. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  2216. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2217. end
  2218. ceef=Head.CFrame*cf(0,0,-1.5-(1*i))
  2219. MagicCircle(BrickColor.new("Really red"),ceef,1,1,1,2+2*i,2+2*i,2+2*i,.2)
  2220. MagicCircle2(BrickColor.new("Really red"),ceef*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,3,0),1.5,1.5,1.5,-.05,1,-.05,.2)
  2221. Neck.C0=clerp(Neck.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1.3,-.3),.3)
  2222. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.4,0)*euler(.2,0,0)*cf(0,1,0),.3)
  2223. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-.2,0,-.4),.3)
  2224. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-.4,0,.4),.3)
  2225. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2226. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  2227.  
  2228. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(.616,1.48,-.2),.3)
  2229. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(80),0),.3)
  2230. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-20),0)*cf(-.219,0,.658),.3)
  2231. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-50))*cf(.4,-.2,0),.3)
  2232. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-38),0)*cf(-.233,0,-.912),.3)
  2233. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.1),.3)
  2234. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2235.  
  2236. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.4,0)*cf(-.616,1.48,.2),.3)
  2237. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(10),0),.3)
  2238. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  2239. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(.4,-.3,0),.3)
  2240. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  2241. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-30),0,mr(90))*cf(.2,0,.3),.3)
  2242. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2243.  
  2244. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*euler(mr(40),0,0)*cf(0,-.35-.1,-.76),.3)
  2245. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*euler(mr(-40),0,0)*cf(0,.05+.1,-.76),.3)
  2246. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2247. break
  2248. end
  2249. end
  2250. ref=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  2251. ref.Anchored=true
  2252. ref.CFrame=Head.CFrame*cf(0,0,-2.5)
  2253. table.insert(Effects,{Model,"Orb",200,ref,Head.CFrame*cf(0,0,-2.5)})
  2254. MagicWave(BrickColor.new("Really red"),ref.CFrame*euler(mr(90),0,0),1,1,1,1,1,1,.1)
  2255. attack=false
  2256. for i=0,1,0.1 do
  2257. if attack==false then
  2258. swait()
  2259. end
  2260. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*cf(0,-.35,-.76),.3)
  2261. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*cf(0,.05,-.76),.3)
  2262. end
  2263. Hwld23.C0=clerp(Hwld23.C0,euler(0,mr(90),0)*cf(0,-.35,-.76),1)
  2264. Hwld26.C0=clerp(Hwld26.C0,euler(0,mr(90),0)*cf(0,.05,-.76),1)
  2265. end
  2266.  
  2267. function GrenadeBlaze()
  2268. attack=true
  2269. for i=0,1,0.1 do
  2270. swait()
  2271. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.2,0,0)*cf(0,1.3,.1),.3)
  2272. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(0,0,0)*cf(0,1,0),.3)
  2273. LW.C0=clerp(LW.C0,cf(-1.2,.6,-.7)*euler(1.7,0,1.4),.3)
  2274. RW.C0=clerp(RW.C0,cf(1.5,.5,-.5)*euler(1.4,0,-1.2),.3)
  2275. LAwld19.C0=clerp(LAwld19.C0,euler(mr(90-30),mr(-80),0)*cf(0,0,0),.3)
  2276. RAwld19.C0=clerp(RAwld19.C0,euler(mr(90+40),mr(-80),0)*cf(0,0,0),.3)
  2277.  
  2278. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-10),0)*cf(.616,1.48,-.2),.3)
  2279. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  2280. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  2281. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  2282. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  2283. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  2284. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2285.  
  2286. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),.3)
  2287. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  2288. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  2289. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  2290. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  2291. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  2292. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  2293. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2294. break
  2295. end
  2296. end
  2297. for i=1,3 do
  2298. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2299. break
  2300. end
  2301. for i=1,1 do
  2302. tehShoot(LAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  2303. tehShoot(RAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  2304. end
  2305. for i=1,10 do
  2306. swait()
  2307. target,distance=findNearestTorso(Torso.Position)
  2308. if target~=nil then
  2309. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  2310. --BodGy.cframe=cf(Torso.Position,newpos)
  2311. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  2312. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2313. end
  2314. end
  2315. end
  2316. attack=false
  2317. end
  2318.  
  2319. function JetBarrage()
  2320. attack=true
  2321. for i=0,1,0.1 do
  2322. swait()
  2323. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(.1,0,0)*cf(0,1.3,.1),.3)
  2324. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.2,0,0)*cf(0,1.2,0),.3)
  2325. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(.2,0,-1),.3)
  2326. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(.2,0,1),.3)
  2327. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90+80),mr(-20),0)*cf(0,0,0),.3)
  2328. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90-80),mr(-20),0)*cf(0,0,0),.3)
  2329.  
  2330. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.2,0)*cf(.616,1.48,-.2),.3)
  2331. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(-10),0),.3)
  2332. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  2333. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  2334. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-35),0)*cf(-.233,0,-.912),.3)
  2335. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.3,0,.6),.3)
  2336. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.6),.3)
  2337.  
  2338. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,.2,0)*cf(-.616,1.48,-.2),.3)
  2339. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(-10),0),.3)
  2340. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  2341. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  2342. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-35),0)*cf(-.233,0,-.912),.3)
  2343. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.3,0,.6),.3)
  2344. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.2,0,-.6),.3)
  2345. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2346. break
  2347. end
  2348. end
  2349. barrage=1
  2350. for i=1,.5,-.05 do
  2351. swait()
  2352. if barrage==1 then
  2353. barrage=2
  2354. tehShoot(LAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  2355. else
  2356. barrage=1
  2357. tehShoot(RAprt19.CFrame*cf(-.99,.96,0)*euler(mr(180),0,0),"TrueAim",8,10,3)
  2358. end
  2359. Humanoid.Jump=true
  2360. if Rooted.Value==false then Torso.Velocity=(Torso.CFrame.lookVector*200*i)+vt(0,1,0)*80 end
  2361.  
  2362. if Stagger.Value==true or Stun.Value>=StunT.Value then
  2363. break
  2364. end
  2365. end
  2366. attack=false
  2367. end
  2368.  
  2369. function DecreaseStat(Model,Stat,Amount,Duration)
  2370. if Model:findFirstChild("Stats")~=nil then
  2371. if Model.Stats[Stat]~=nil then
  2372. Model.Stats[Stat].Value=Model.Stats[Stat].Value-Amount
  2373. d=Instance.new("NumberValue",Model.Stats.Decrease)
  2374. game:GetService("Debris"):AddItem(d,40)
  2375. if Stat=="Damage" then
  2376. d.Name="DecreaseAtk"
  2377. elseif Stat=="Defense" then
  2378. d.Name="DecreaseDef"
  2379. elseif Stat=="Movement" then
  2380. d.Name="DecreaseMvmt"
  2381. end
  2382. if Model:findFirstChild("Torso")~=nil then
  2383. display=""
  2384. if Stat=="Damage" then
  2385. if Amount>0 then
  2386. display="-Damage"
  2387. else
  2388. display="+Damage"
  2389. end
  2390. elseif Stat=="Defense" then
  2391. if Amount>0 then
  2392. display="-Defense"
  2393. else
  2394. display="+Defense"
  2395. end
  2396. elseif Stat=="Movement" then
  2397. if Amount>0 then
  2398. display="-Movement"
  2399. else
  2400. display="+Movement"
  2401. end
  2402. end
  2403. showDamage(Model,display,"Debuff")
  2404. end
  2405. d.Value=Amount
  2406. table.insert(Effects,{Model,"DecreaseStat",Stat,Amount,Duration,d})
  2407. end
  2408. end
  2409. end
  2410.  
  2411. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2412. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2413. end
  2414.  
  2415. function findNearestTorso(pos)
  2416. local list = game.Workspace:children()
  2417. local torso = nil
  2418. local dist = 1000
  2419. local temp = nil
  2420. local human = nil
  2421. local temp2 = nil
  2422. for x = 1, #list do
  2423. temp2 = list[x]
  2424. if (temp2.className == "Model") and (temp2.Name~=bName) then
  2425. temp = temp2:findFirstChild("HumanoidRootPart")
  2426. human = temp2:findFirstChild("Humanoid")
  2427. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2428. if btarget.Value==nil then
  2429. if (temp.Position - pos).magnitude < dist then
  2430. local dohit=true
  2431. --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
  2432. if temp2:findFirstChild("Alignment")~=nil then if temp2:findFirstChild("Alignment").Value==Alignment.Value then dohit=false end end
  2433. if game.Players:GetPlayerFromCharacter(temp2)~=nil then
  2434. if game.Players:GetPlayerFromCharacter(temp2).TeamColor==BrickColor.new(Alignment.Value) then dohit=false end
  2435. end
  2436. if temp2:findFirstChild("Alive")==nil then dohit=false end
  2437. if dohit==true then
  2438. torso = temp
  2439. dist = (temp.Position - pos).magnitude
  2440. end
  2441. end
  2442. else
  2443. if btarget.Value.Parent~=nil then
  2444. if btarget.Value:findFirstChild("HumanoidRootPart")~=nil then
  2445. if btarget.Value:findFirstChild("Humanoid")~=nil then
  2446. if btarget.Value.Humanoid.Health<=0 then
  2447. btarget.Value=nil
  2448. end
  2449. end
  2450. if btarget.Value~=nil then
  2451. torso=btarget.Value.Torso
  2452. dist = (torso.Position - pos).magnitude
  2453. end
  2454. end
  2455. else
  2456. btarget.Value=nil
  2457. end
  2458. end
  2459. end
  2460. end
  2461. end
  2462. return torso,dist
  2463. end
  2464.  
  2465. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration,Sound)
  2466. if hit.Parent==nil then
  2467. return
  2468. end
  2469. h=hit.Parent:FindFirstChild("Humanoid")
  2470. for _,v in pairs(hit.Parent:children()) do
  2471. if v:IsA("Humanoid") then
  2472. h=v
  2473. end
  2474. end
  2475. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2476. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2477. end
  2478. if hit.Parent.className=="Hat" then
  2479. hit=hit.Parent.Parent:findFirstChild("Head")
  2480. end
  2481. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2482. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2483. if hit.Parent:findFirstChild("Alignment")~=nil then
  2484. if hit.Parent.Alignment.Value==Alignment.Value then return end
  2485. end
  2486. if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2487. if game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor==BrickColor.new(Alignment.Value) then return end
  2488. end
  2489. --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
  2490. RecentEnemy.Value=hit.Parent
  2491. game:GetService("Debris"):AddItem(c,.5)
  2492. minim=minim*Atk.Value
  2493. maxim=maxim*Atk.Value
  2494. Damage=0
  2495. if minim==maxim or minim>maxim then
  2496. Damage=maxim
  2497. else
  2498. Damage=math.random(minim,maxim)
  2499. end
  2500. blocked=false
  2501. enblock=nil
  2502. Stats=hit.Parent:findFirstChild("Stats")
  2503. if Stats~=nil then
  2504. enblock=Stats:findFirstChild("Block")
  2505. if enblock~=nil then
  2506. if enblock.Value==true then
  2507. blocked=true
  2508. end
  2509. end
  2510. if Stats:findFirstChild("Defense")~=nil then
  2511. Damage=Damage/(Stats.Defense.Value)
  2512. if Damage<=3 and (ranged==false or ranged==nil) and blocked~=true then
  2513. hitnum=math.random(1,3)
  2514. if hitnum==1 then so("169380525",hit,1,math.random(80,120)/100)
  2515. elseif hitnum==2 then so("169380538",hit,1,math.random(80,120)/100)
  2516. elseif hitnum==3 then so("169380528",hit,1,math.random(80,120)/100)
  2517. end
  2518. --[[if hitnum==1 then so("199149321",hit,1,1)
  2519. elseif hitnum==2 then so("199149338",hit,1,1)
  2520. elseif hitnum==3 then so("199149367",hit,1,1)
  2521. elseif hitnum==4 then so("199149409",hit,1,1)
  2522. elseif hitnum==5 then so("199149452",hit,1,1)
  2523. end]]
  2524. elseif ranged==false or ranged==nil and blocked~=true then
  2525. hitnum=math.random(1,3)
  2526. if hitnum==1 then so("169380525",hit,1,math.random(80,120)/100)
  2527. elseif hitnum==2 then so("169380538",hit,1,math.random(80,120)/100)
  2528. elseif hitnum==3 then so("169380528",hit,1,math.random(80,120)/100)
  2529. end
  2530. --[[if hitnum==1 then so("199149137",hit,1,1)
  2531. elseif hitnum==2 then so("199149186",hit,1,1)
  2532. elseif hitnum==3 then so("199149221",hit,1,1)
  2533. elseif hitnum==4 then so("199149235",hit,1,1)
  2534. elseif hitnum==5 then so("199149269",hit,1,1)
  2535. elseif hitnum==6 then so("199149297",hit,1,1)
  2536. end]]
  2537. end
  2538. end
  2539. if Stats:findFirstChild("Stun")~=nil then
  2540. if blocked==true then
  2541. incstun=math.floor(incstun/2)
  2542. end
  2543. Stats.Stun.Value=Stats.Stun.Value+incstun
  2544. end
  2545. if Stats:findFirstChild("Stagger")~=nil then
  2546. if stagger==true then
  2547. Stats.Stagger.Value=true
  2548. end
  2549. end
  2550. end
  2551. if blocked==true then
  2552. showDamage(hit.Parent,"Block","Damage")
  2553. hitnum=math.random(1,2)
  2554. if hitnum==1 then so("199148933",hit,1,1)
  2555. elseif hitnum==2 then so("199148947",hit,1,1)
  2556. end
  2557. enblock.Value=false
  2558. else
  2559. Damage=math.floor(Damage)
  2560. h.Health=h.Health-Damage
  2561. --[[coroutine.resume(coroutine.create(function(Hum,Dam)
  2562. damageFunc:InvokeServer(Hum,Dam)
  2563. end),h,Damage)]]
  2564. showDamage(hit.Parent,Damage,"Damage")
  2565. if DecreaseState~=nil then
  2566. if DecreaseState=="Shatter" then
  2567. DecreaseStat(hit.Parent,"Movement",DecreaseAmount,Duration)
  2568. DecreaseStat(hit.Parent,"Damage",DecreaseAmount,Duration)
  2569. else
  2570. DecreaseStat(hit.Parent,DecreaseState,DecreaseAmount,Duration)
  2571. end
  2572. end
  2573. if Type=="Knockdown" then
  2574. hum=hit.Parent.Humanoid
  2575. hum.PlatformStand=true
  2576. coroutine.resume(coroutine.create(function(HHumanoid)
  2577. swait(1)
  2578. HHumanoid.PlatformStand=false
  2579. end),hum)
  2580. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2581. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2582. local bodvol=Instance.new("BodyVelocity")
  2583. bodvol.velocity=angle*knockback
  2584. bodvol.P=5000
  2585. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2586. bodvol.Parent=hit
  2587. rl=Instance.new("BodyAngularVelocity")
  2588. rl.P=3000
  2589. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2590. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2591. rl.Parent=hit
  2592. game:GetService("Debris"):AddItem(bodvol,.5)
  2593. game:GetService("Debris"):AddItem(rl,.5)
  2594. elseif Type=="Shatter" then
  2595. for i=1,10 do
  2596. BreakEffect(BrickColor.new("Cyan"),hit.CFrame,math.random(20,80)/100,math.random(2,10),math.random(20,80)/100)
  2597. end
  2598. elseif Type=="Knockdown2" then
  2599. hum=hit.Parent.Humanoid
  2600. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2601. local bodvol=Instance.new("BodyVelocity")
  2602. bodvol.velocity=angle*knockback
  2603. bodvol.P=5000
  2604. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2605. bodvol.Parent=hit
  2606. game:GetService("Debris"):AddItem(bodvol,.5)
  2607. elseif Type=="Normal" then
  2608. vp=Instance.new("BodyVelocity")
  2609. vp.P=500
  2610. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2611. if KnockbackType==1 then
  2612. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2613. elseif KnockbackType==2 then
  2614. vp.velocity=Property.CFrame.lookVector*knockback
  2615. end
  2616. game:GetService("Debris"):AddItem(vp,.5)
  2617. if knockback>0 then
  2618. vp.Parent=hit.Parent.Torso
  2619. end
  2620. end
  2621. end
  2622. debounce=Instance.new("BoolValue")
  2623. debounce.Name="DebounceHit"
  2624. debounce.Parent=hit.Parent
  2625. debounce.Value=true
  2626. game:GetService("Debris"):AddItem(debounce,Delay)
  2627. CRIT=false
  2628. end
  2629. end
  2630.  
  2631. showDamage=function(Char,Dealt,Type)
  2632. m=Instance.new("Model")
  2633. m.Name="Effect"
  2634. c=Instance.new("Part")
  2635. c.Transparency=1
  2636. c.Name="Head"
  2637. c.TopSurface=0
  2638. c.BottomSurface=0
  2639. c.formFactor="Plate"
  2640. c.Size=Vector3.new(1,.4,1)
  2641. b=Instance.new("BillboardGui",c)
  2642. b.Size=UDim2.new(5,0,5,0)
  2643. b.AlwaysOnTop=true
  2644. damgui=gui("TextLabel",b,tostring(Dealt),1,Color3.new(0,0,0),UDim2.new(0,0,0,0),UDim2.new(1,0,1,0))
  2645. if Type=="Damage" then
  2646. damgui.Font="SourceSans"
  2647. if Dealt=="Block" then
  2648. damgui.TextColor3=BrickColor.new("Bright blue").Color
  2649. elseif Dealt<3 then
  2650. damgui.TextColor3=BrickColor.new("White").Color
  2651. elseif Dealt>=3 and Dealt<20 then
  2652. damgui.TextColor3=BrickColor.new("Bright yellow").Color
  2653. else
  2654. damgui.TextColor3=BrickColor.new("Really red").Color
  2655. damgui.Font="SourceSansBold"
  2656. end
  2657. elseif Type=="Debuff" then
  2658. damgui.TextColor3=BrickColor.new("White").Color
  2659. elseif Type=="Interrupt" then
  2660. damgui.TextColor3=BrickColor.new("New Yeller").Color
  2661. end
  2662. --damgui.FontSize="Size48"
  2663. damgui.TextScaled=true
  2664. ms=Instance.new("CylinderMesh")
  2665. ms.Scale=Vector3.new(.8,.8,.8)
  2666. ms.Parent=c
  2667. c.Reflectance=0
  2668. Instance.new("BodyGyro").Parent=c
  2669. c.Parent=m
  2670. if Char:findFirstChild("Head")~=nil then
  2671. c.CFrame=cf(Char["Head"].CFrame.p+Vector3.new(math.random(-100,100)/100,3,math.random(-100,100)/100))
  2672. elseif Char.Parent:findFirstChild("Head")~=nil then
  2673. c.CFrame=cf(Char.Parent["Head"].CFrame.p+Vector3.new(math.random(-100,100)/100,3,math.random(-100,100)/100))
  2674. end
  2675. f=Instance.new("BodyPosition")
  2676. f.P=2000
  2677. f.D=100
  2678. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2679. if Type=="Damage" then
  2680. f.position=c.Position+Vector3.new(0,3,0)
  2681. elseif Type=="Debuff" or Type=="Interrupt" then
  2682. f.position=c.Position+Vector3.new(0,5,0)
  2683. end
  2684. f.Parent=c
  2685. game:GetService("Debris"):AddItem(m,5)
  2686. table.insert(Effects,{m,"showDamage",damgui,f,10,1,15,50,100})
  2687. c.CanCollide=false
  2688. m.Parent=workspace
  2689. c.CanCollide=false
  2690. end
  2691.  
  2692. function MagniDamage(Part,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration)
  2693. for _,c in pairs(workspace:children()) do
  2694. local hum=c:findFirstChild("Humanoid")
  2695. if hum~=nil then
  2696. local head=nil
  2697. --for _,d in pairs(c:children()) do
  2698. --if d.Name=="Torso" or d.Name=="Head" or d.Name=="HumanoidRootPart" or d.Name=="HitPart" then
  2699. --[[if d.className=="Model" and ranged~=true then
  2700. head=d:findFirstChild("Hitbox")
  2701. if d.Parent==Character then break end
  2702. if head~=nil then
  2703. local targ=head.Position-Part.Position
  2704. local mag=targ.magnitude
  2705. if mag<=magni then
  2706. ref=part(3,workspace,0,1,BrickColor.new("Black"),"Reference",vt())
  2707. ref.Anchored=true
  2708. ref.CFrame=cf(head.Position)
  2709. game:GetService("Debris"):AddItem(ref,1)
  2710. hitnum=math.random(1,5)
  2711. if hitnum==1 then so("199148971",ref,1,1)
  2712. elseif hitnum==2 then so("199149025",ref,1,1)
  2713. elseif hitnum==3 then so("199149072",ref,1,1)
  2714. elseif hitnum==4 then so("199149109",ref,1,1)
  2715. elseif hitnum==5 then so("199149119",ref,1,1)
  2716. end
  2717. StaggerHit.Value=true
  2718. end
  2719. end
  2720. end]]
  2721.  
  2722. for abab=1,2 do
  2723. local d2=c:findFirstChild("Torso")
  2724. if abab==2 then
  2725. d2=c:findFirstChild("HumanoidRootPart")
  2726. end
  2727. if d2~=nil then
  2728. if d2.className=="Part" then
  2729. head=d2
  2730. if head~=nil then
  2731. local targ=head.Position-Part.Position
  2732. local mag=targ.magnitude
  2733. if mag<=magni and c.Name~=bName then
  2734. if stun==nil then
  2735. stun=math.random(5,10)
  2736. end
  2737. local Rang=nil
  2738. if Ranged==false then
  2739. Rang=true
  2740. end
  2741. local stag=nil
  2742. if shbash==true then
  2743. stag=true
  2744. end
  2745. Damagefunc(head,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,ranged,DecreaseState,DecreaseAmount,Duration)
  2746. --Damagefunc(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,incstun,stagger,staghit,DecreaseState,DecreaseAmount,Duration)
  2747. end
  2748. end
  2749. end
  2750. end
  2751. end
  2752. end
  2753. end
  2754. end
  2755.  
  2756. coroutine.wrap(function()
  2757. it=Instance.new
  2758. vt=Vector3.new
  2759. cf=CFrame.new
  2760. euler=CFrame.fromEulerAnglesXYZ
  2761. angles=CFrame.Angles
  2762. mr=math.rad
  2763. local decreaseatk=0
  2764. local decreasedef=0
  2765. local decreasemvmt=0
  2766. local Anim="Idle"
  2767. local Effects={}
  2768. local armorparts={}
  2769. local armorwelds={}
  2770. local weaponparts={}
  2771. local weaponwelds={}
  2772. local necko=euler(0,0,0)*cf(0,1.3,0)
  2773. local attack=false
  2774. local jump=false
  2775. local start=false
  2776. local move=10
  2777. local hitfloor,posfloor=nil,nil
  2778. local run=Instance.new("NumberValue")
  2779. run.Name="DecreaseMvmt"
  2780. run.Value=-.5
  2781. local bName="Avnas"
  2782. local MainColor=BrickColor.new("Black")
  2783.  
  2784. function NoOutline(Part)
  2785. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2786. end
  2787.  
  2788. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2789. local fp=it("Part")
  2790. fp.formFactor=formfactor
  2791. fp.Parent=parent
  2792. fp.Reflectance=reflectance
  2793. fp.Transparency=transparency
  2794. fp.CanCollide=false
  2795. fp.Locked=true
  2796. fp.BrickColor=brickcolor
  2797. fp.Name=name
  2798. fp.Size=size
  2799. NoOutline(fp)
  2800. fp.Material="SmoothPlastic"
  2801. fp:BreakJoints()
  2802. return fp
  2803. end
  2804.  
  2805. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2806. local mesh=it(Mesh)
  2807. mesh.Parent=part
  2808. if Mesh=="SpecialMesh" then
  2809. mesh.MeshType=meshtype
  2810. if meshid~="nil" then
  2811. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2812. end
  2813. end
  2814. mesh.Offset=offset
  2815. mesh.Scale=scale
  2816. return mesh
  2817. end
  2818.  
  2819. function weld(parent,part0,part1,c0)
  2820. local weld=it("Motor6D")
  2821. weld.Parent=parent
  2822. weld.Part0=part0
  2823. weld.Part1=part1
  2824. weld.C0=c0
  2825. return weld
  2826. end
  2827.  
  2828. function gui(GuiType,parent,text,backtrans,backcol,pos,size,image)
  2829. local gui=it(GuiType)
  2830. gui.Parent=parent
  2831. gui.BackgroundTransparency=backtrans
  2832. gui.BackgroundColor3=backcol
  2833. gui.SizeConstraint="RelativeXY"
  2834. gui.Position=pos
  2835. gui.Size=size
  2836. if GuiType=="TextLabel" then
  2837. gui.Text=text
  2838. gui.TextXAlignment="Center"
  2839. gui.TextYAlignment="Center"
  2840. gui.Font="SourceSans"
  2841. gui.FontSize="Size14"
  2842. gui.TextWrapped=false
  2843. gui.TextStrokeTransparency=0
  2844. gui.TextColor=BrickColor.new("White")
  2845. elseif GuiType=="ImageLabel" then
  2846. gui.Image="rbxassetid://"..image
  2847. gui.ImageColor3=backcol
  2848. end
  2849. return gui
  2850. end
  2851.  
  2852. local handle
  2853. function AesthPart(model,wldpar,reflec,trans,col,name,neon,meshh,mshtype,mshtxt,x1,y1,z1,ceef)
  2854. prt=part(3,model,reflec,trans,BrickColor.new(col),name,vt(0.2,0.2,0.2)) prt.Material=neon
  2855. msh=mesh(meshh,prt,mshtype,mshtxt,vt(0,0,0),vt(x1,y1,z1))
  2856. wld=weld(handle,prt,wldpar,ceef)
  2857. v=it("NumberValue",prt)
  2858. v.Value=trans
  2859. v.Name="MainTransparency"
  2860. return prt,msh,wld
  2861. end
  2862.  
  2863. local modelzorz=Instance.new("Model")
  2864. modelzorz.Parent=Character
  2865. modelzorz.Name="AvnasBody"
  2866.  
  2867. local Torso=Character.Torso
  2868. local LeftArm=Character["Left Arm"]
  2869. local RightArm=Character["Right Arm"]
  2870. local LeftLeg=Character["Left Leg"]
  2871. local RightLeg=Character["Right Leg"]
  2872. LeftLeg.Transparency = 1
  2873. RightLeg.Transparency = 1
  2874.  
  2875. local Head=Character.Head
  2876. local RootPart=Character.HumanoidRootPart
  2877.  
  2878. handle=part(3,modelzorz,0,1,BrickColor.new("Black"),"Handle",vt(0.2,0.2,0.2))
  2879.  
  2880. local handlewld=weld(handle,handle,Torso,euler(0,0,0)*cf(0,0,0))
  2881.  
  2882. Tprt1=Character["Torso Part01"]
  2883. Tprt2,Tmsh2,Twld2=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part02","SmoothPlastic","BlockMesh","nil","nil",4,4,1,euler(0,0,0)*cf(0,-.7,-.6))
  2884. Tprt3,Tmsh3,Twld3=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part03","SmoothPlastic","BlockMesh","nil","nil",2,4,1,euler(0,0,mr(90))*cf(0,.3,-.58))
  2885. Tprt4,Tmsh4,Twld4=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part04","Neon","BlockMesh","nil","nil",.5,3,.1,euler(0,0,mr(90))*cf(0,.3,-.68))
  2886. Tprt5,Tmsh5,Twld5=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part05","SmoothPlastic","BlockMesh","nil","nil",5,4,1,euler(0,0,mr(90))*cf(0,-.44,.6))
  2887. Tprt6,Tmsh6,Twld6=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part06","SmoothPlastic","BlockMesh","nil","nil",7,4,1,euler(0,0,0)*cf(0,-.44,.6))
  2888. Tprt7,Tmsh7,Twld7=AesthPart(modelzorz,Tprt1,0,0,"Really red","Torso Part07","Neon","BlockMesh","nil","nil",4,.7,1.1,euler(0,0,mr(90))*cf(0,-.44,.6))
  2889. Tprt8,Tmsh8,Twld8=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part08","SmoothPlastic","BlockMesh","nil","nil",4,.7,1.1,euler(0,0,0)*cf(0,-.93,.57))
  2890. Tprt9,Tmsh9,Twld9=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part09","SmoothPlastic","BlockMesh","nil","nil",5,1,1.1,euler(0,0,0)*cf(0,-1.09,.6))
  2891. Tprt10,Tmsh10,Twld10=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part10","SmoothPlastic","BlockMesh","nil","nil",6,1,7,euler(0,0,0)*cf(0,-1.15,0))
  2892.  
  2893. LAprt01=Character["Left Arm Part01"]
  2894. LAprt01a=Character["Left Arm Part01a"]
  2895. RAprt01=Character["Right Arm Part01"]
  2896. RAprt01a=Character["Right Arm Part01a"]
  2897.  
  2898. local thPart=LAprt01a
  2899. for i=-1,1,2 do
  2900. Tprt11,Tmsh11,Twld11=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part11","SmoothPlastic","BlockMesh","nil","nil",6.5,2.5,1,euler(0,0,mr(90))*cf(.4*i,.56,.57))
  2901. Tprt12,Tmsh12,Twld12=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,4,2,euler(0,mr(-90)*i,0)*cf(.85*i,.22,.57))
  2902. Tprt13,Tmsh13,Twld13=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part13","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,.5,euler(mr(-90),mr(90)*i,0)*cf(.55*i,-.89,.6))
  2903. Tprt14,Tmsh14,Twld14=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,1.5,.5,euler(mr(90),mr(-90)*i,0)*cf(.55*i,.01,.6))
  2904. Tprt15,Tmsh15,Twld15=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,10,5.1,euler(mr(180),mr(-90)*i,0)*cf(.71*i,-.04,.54))
  2905. Tprt16,Tmsh16,Twld16=AesthPart(modelzorz,Tprt1,0,0,"Medium blue","Torso Part16","SmoothPlastic","BlockMesh","nil","nil",6.3,2.95,6.5,euler(0,mr(90),mr(90))*cf(.92*i,.56,0))
  2906. Tprt17,Tmsh17,Twld17=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part17","SmoothPlastic","SpecialMesh","Wedge","nil",6.5,3,5.1,euler(0,mr(-90)*i,mr(180))*cf(.72*i,-.92,.01))
  2907. Tprt18,Tmsh18,Twld18=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part18","SmoothPlastic","BlockMesh","nil","nil",6.4,.1,8,euler(0,mr(90),mr(90))*cf(1.21*i,.16,0))
  2908. Tprt19,Tmsh19,Twld19=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part19","SmoothPlastic","BlockMesh","nil","nil",1,12,2,euler(0,mr(90),0)*cf(.43*i,.01,-.55))
  2909. Tprt20,Tmsh20,Twld20=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part20","SmoothPlastic","BlockMesh","nil","nil",1,5,3,euler(0,mr(90),0)*cf(.9*i,-.49,-.54))
  2910. Tprt21,Tmsh21,Twld21=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part21","SmoothPlastic","SpecialMesh","Wedge","nil",1,4,4.5,euler(mr(180),mr(-90)*i,0)*cf(.76*i,.4,-.54))
  2911. Tprt22,Tmsh22,Twld22=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Torso Part22","SmoothPlastic","SpecialMesh","Wedge","nil",.95,4,2,euler(mr(180),mr(-90)*i,0)*cf(1.02*i,.67,-.54))
  2912. Tprt23,Tmsh23,Twld23=AesthPart(modelzorz,Tprt1,0,0,"Maroon","Torso Part23","SmoothPlastic","BlockMesh","nil","nil",1,4,3,euler(0,mr(90),0)*cf(.7*i,.31,-.58))
  2913.  
  2914. if i==1 then
  2915. thPart=RAprt01a
  2916. end
  2917. --Aprt01,Amsh01,Awld01=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6.2,12.2,6.2,euler(0,mr(90)*i,0)*cf(0,0,0))
  2918. --Aprt01a,Amsh01a,Awld01a=AesthPart(modelzorz,Aprt01,0,0,"Smoky grey","Arm Part01a","SmoothPlastic","BlockMesh","nil","nil",0,0,0,euler(0,mr(90),0)*cf(0,0,0))
  2919. Aprt02,Amsh02,Awld02=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part02","SmoothPlastic","BlockMesh","nil","nil",6.4,2,3,euler(0,mr(90),0)*cf(.08,-.94,0))
  2920. Aprt03,Amsh03,Awld03=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part03","SmoothPlastic","BlockMesh","nil","nil",6.4,1,4,euler(0,mr(90),0)*cf(-.23,-1.15,0))
  2921. Aprt04,Amsh04,Awld04=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,2,2,euler(mr(180),mr(-90),0)*cf(-.42,-.94,0))
  2922. Aprt05,Amsh05,Awld05=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part05","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,6,4,euler(mr(90),mr(90),0)*cf(.04,-.85,0))
  2923. Aprt06,Amsh06,Awld06=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part06","SmoothPlastic","BlockMesh","nil","nil",6.4,5,3,euler(0,mr(90),0)*cf(-.35,.03,0))
  2924. Aprt07,Amsh07,Awld07=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part07","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,1,euler(0,mr(90),0)*cf(-.55,-.57,0))
  2925. Aprt08,Amsh08,Awld08=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part08","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,2,euler(0,mr(-90),0)*cf(-.25,-.57,0))
  2926. Aprt09,Amsh09,Awld09=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part09","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,1,euler(mr(180),mr(-90),0)*cf(-.55,.63,0))
  2927. Aprt10,Amsh10,Awld10=AesthPart(modelzorz,thPart,0,0,"Cocoa","Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1,2,euler(mr(180),mr(90),0)*cf(-.25,.63,0))
  2928. Aprt11,Amsh11,Awld11=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part11","SmoothPlastic","BlockMesh","nil","nil",6.4,1.8,1,euler(mr(90),mr(90),0)*cf(-.46,1.13,0))
  2929. Aprt12,Amsh12,Awld12=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part12","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.8,1.5,euler(mr(-90),mr(90),0)*cf(-.46,.88,0))
  2930. Aprt13,Amsh13,Awld13=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part13","SmoothPlastic","BlockMesh","nil","nil",6.4,3,2,euler(mr(90),mr(90),0)*cf(.4,1.04,0))
  2931. Aprt14,Amsh14,Awld14=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part14","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,3.4,3,euler(mr(-90),mr(-90),0)*cf(.36,.54,0))
  2932. Aprt15,Amsh15,Awld15=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part15","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.2,1,euler(mr(90),mr(-90),0)*cf(.58,1.34,0))
  2933. Aprt16,Amsh16,Awld16=AesthPart(modelzorz,thPart,0,0,"Maroon","Arm Part16","SmoothPlastic","SpecialMesh","Wedge","nil",6.4,1.8,1,euler(mr(90),mr(90),0)*cf(.28,1.34,0))
  2934.  
  2935. end
  2936.  
  2937. LAprt17=Character["Left Arm Part17"]
  2938. LAprt18,LAmsh18,LAwld18=AesthPart(modelzorz,LAprt01a,0,0,"Really black","Left Arm Part18","SmoothPlastic","BlockMesh","nil","nil",8.1,3.8,.4,euler(mr(-45),mr(90),0)*cf(.55,-1.14,0))
  2939. LAprt19=Character["Left Arm Part19"]
  2940. RAprt17=Character["Right Arm Part17"]
  2941. RAprt18,RAmsh18,RAwld18=AesthPart(modelzorz,RAprt01a,0,0,"Really black","Right Arm Part18","SmoothPlastic","BlockMesh","nil","nil",8.1,3.8,.4,euler(mr(-45),mr(90),0)*cf(.55,-1.14,0))
  2942. RAprt19=Character["Right Arm Part19"]
  2943.  
  2944. local thPart=LAprt19
  2945.  
  2946. for i=-1,1,2 do
  2947. if i==1 then
  2948. thPart=RAprt19
  2949. end
  2950. GAprt01,GAprt01,GAprt01=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part01","SmoothPlastic","BlockMesh","nil","nil",6,5,4,euler(0,mr(90),mr(24.655))*cf(.21,-.75,0))
  2951. GAprt02,GAprt02,GAprt02=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part02","SmoothPlastic","BlockMesh","nil","nil",1,7,4,euler(0,mr(90),mr(45))*cf(.42,-.83,.5))
  2952. GAprt03,GAprt03,GAprt03=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part03","SmoothPlastic","BlockMesh","nil","nil",1,7,4,euler(0,mr(90),mr(45))*cf(.42,-.83,-.5))
  2953. GAprt04,GAprt04,GAprt04=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part04","SmoothPlastic","SpecialMesh","Wedge","nil",6,3,12,euler(mr(90),mr(90),0)*cf(.28,.75,0))
  2954. GAprt05,GAprt05,GAprt05=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part05","SmoothPlastic","BlockMesh","nil","nil",1,13,3,euler(0,mr(90),0)*cf(.87,.689,.5))
  2955. GAprt06,GAprt06,GAprt06=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part06","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,4,euler(mr(90),mr(90),0)*cf(.87,2.38,.5))
  2956. GAprt07,GAprt07,GAprt07=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part07","SmoothPlastic","BlockMesh","nil","nil",1,13,3,euler(0,mr(90),0)*cf(.87,.689,-.5))
  2957. GAprt08,GAprt08,GAprt08=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part08","SmoothPlastic","SpecialMesh","Wedge","nil",1,3,4,euler(mr(90),mr(90),0)*cf(.87,2.38,-.5))
  2958. GAprt09,GAprt09,GAprt09=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part09","SmoothPlastic","BlockMesh","nil","nil",3.5,10,4,euler(0,mr(90),0)*cf(1.22,.67,0))
  2959. GAprt10,GAprt10,GAprt10=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part10","SmoothPlastic","SpecialMesh","Wedge","nil",3.5,2,4,euler(mr(180),mr(90),0)*cf(1.22,1.87,0))
  2960. GAprt11,GAprt11,GAprt11=AesthPart(modelzorz,thPart,0,0,"Black","Gun Arm Part11","SmoothPlastic","SpecialMesh","Wedge","nil",3.5,2,4,euler(0,mr(-90),0)*cf(1.22,-.53,0))
  2961. rar=-.17
  2962. for d=1,4 do
  2963. if d==2 then rar=.42
  2964. elseif d==3 then rar=1.02
  2965. elseif d==4 then rar=1.53
  2966. end
  2967. GAprt12,GAprt12,GAprt12=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part12","SmoothPlastic","BlockMesh","nil","nil",3.55,.5,4.05,euler(0,mr(90),0)*cf(1.22,rar,0))
  2968. end
  2969. GAprt13,GAprt13,GAprt13=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part13","SmoothPlastic","CylinderMesh","nil","nil",2.7,4,2.7,euler(0,mr(90),0)*cf(.79,2.13,0))
  2970. GAprt14,GAprt14,GAprt14=AesthPart(modelzorz,thPart,0,0,"Maroon","Gun Arm Part14","SmoothPlastic","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.47,0))
  2971. GAprt14,GAprt14,GAprt14=AesthPart(modelzorz,thPart,0,0,"Maroon","Gun Arm Part14","SmoothPlastic","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.47,0))
  2972. GAprt15,GAprt15,GAprt15=AesthPart(modelzorz,thPart,0,0,"Cocoa","Gun Arm Part15","SmoothPlastic","CylinderMesh","nil","nil",2.9,.6,2.9,euler(0,mr(90),0)*cf(.79,2.41,0))
  2973. GAprt16,GAprt16,GAprt16=AesthPart(modelzorz,thPart,0,0,"Fossil","Gun Arm Part16","SmoothPlastic","CylinderMesh","nil","nil",2.8,1,2.8,euler(0,mr(90),0)*cf(.79,2.46,0))
  2974. GAprt17,GAprt17,GAprt17=AesthPart(modelzorz,thPart,0,0,"Really red","Gun Arm Part17","Neon","CylinderMesh","nil","nil",2.85,.6,2.85,euler(0,mr(90),0)*cf(.79,2.35,0))
  2975. GAprt18,GAprt18,GAprt18=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part18","SmoothPlastic","CylinderMesh","nil","nil",2.5,1,2.5,euler(0,mr(90),0)*cf(.79,2.47,0))
  2976. GAprt19,GAprt19,GAprt19=AesthPart(modelzorz,thPart,.5,0,"Medium blue","Gun Arm Part19","SmoothPlastic","BlockMesh","nil","nil",2,10,2,euler(0,mr(90),0)*cf(1.22,2.27,0))
  2977. GAprt20,GAprt20,GAprt20=AesthPart(modelzorz,thPart,.5,0,"Medium blue","Gun Arm Part20","SmoothPlastic","SpecialMesh","Wedge","nil",2,2,2,euler(mr(180),mr(90),0)*cf(1.22,3.47,0))
  2978. GAprt21,GAprt21,GAprt21=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part21","SmoothPlastic","CylinderMesh","nil","nil",2,1,2,euler(0,mr(90),0)*cf(.99,-.66,0))
  2979. GAprt22,GAprt22,GAprt22=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part22","SmoothPlastic","SpecialMesh","FileMesh","1778999",.4,.3,.4,euler(mr(180),mr(90),0)*cf(.99,-.62,0))
  2980. GAprt23,GAprt23,GAprt23=AesthPart(modelzorz,thPart,0,0,"Smoky grey","Gun Arm Part23","SmoothPlastic","CylinderMesh","nil","nil",2.7,.3,2.7,euler(0,mr(90),0)*cf(.99,-.96,0))
  2981. GAprt24,GAprt24,GAprt24=AesthPart(modelzorz,thPart,0,0,"Really red","Gun Arm Part24","Neon","CylinderMesh","nil","nil",2.7,.3,2.7,euler(0,mr(90),0)*cf(.99,-.9,0))
  2982. GAprt25,GAprt25,GAprt25=AesthPart(modelzorz,thPart,0,0,"Really black","Gun Arm Part25","SmoothPlastic","CylinderMesh","nil","nil",2.5,.4,2.5,euler(0,mr(90),0)*cf(.99,-.96,0))
  2983.  
  2984. end
  2985.  
  2986. LLprt01=Character["Left Leg Part01"]
  2987. LLprt02=Character["Left Leg Part02"]
  2988. LLprt03=Character["Left Leg Part03"]
  2989. LLprt04,LLmsh04,LLwld04=AesthPart(modelzorz,LLprt03,0,0,"Fossil","Left Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(0,0,0))
  2990. LLprt05,LLmsh05,LLwld05=AesthPart(modelzorz,LLprt03,0,0,"Medium blue","Left Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",4.2,1.7,4.2,euler(0,0,0)*cf(0,0,0))
  2991. LLprt06=Character["Left Leg Part06"]
  2992. LLprt07,LLmsh07,LLwld07=AesthPart(modelzorz,LLprt03,0,0,"Fossil","Left Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.7,.2,1.7,euler(mr(90),0,0)*cf(.03,0,.59))
  2993. LLprt08=Character["Left Leg Part08"]
  2994. LLprt09,LLmsh09,LLwld09=AesthPart(modelzorz,LLprt08,0,0,"Smoky grey","Left Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",3,3.5,3,euler(mr(90),mr(-45),0)*cf(-.064,0,.502))
  2995. LLprt10,LLmsh10,LLwld10=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part10","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(.141,0,.707))
  2996. LLprt11,LLmsh11,LLwld11=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part11","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(-.269,0,.297))
  2997. LLprt12,LLmsh12,LLwld12=AesthPart(modelzorz,LLprt08,0,0,"Fossil","Left Leg Part12","SmoothPlastic","CylinderMesh","nil","nil",2.5,3.6,2.5,euler(0,0,0)*cf(-.028,0,-.523))
  2998. LLprt13,LLmsh13,LLwld13=AesthPart(modelzorz,LLprt08,0,0,"Smoky grey","Left Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(-.028,0,-.523))
  2999. LLprt14=Character["Left Leg Part14"]
  3000. LLprt15,LLmsh15,LLwld15=AesthPart(modelzorz,LLprt14,0,0,"Medium blue","Left Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1.5,1.8,5.5,euler(mr(65.332),0,mr(-90))*cf(-.39,0,.403))
  3001. LLprt16=Character["Left Leg Part16"]
  3002. LLprt17=Character["Left Leg Part17"]
  3003. LLprt18,LLmsh18,LLwld18=AesthPart(modelzorz,LLprt17,0,0,"Cocoa","Left Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",5.6,2.5,9.5,euler(mr(180),0,0)*cf(0,.396,0))
  3004.  
  3005. RLprt01=Character["Right Leg Part01"]
  3006. RLprt02=Character["Right Leg Part02"]
  3007. RLprt03=Character["Right Leg Part03"]
  3008. RLprt04,RLmsh04,RLwld04=AesthPart(modelzorz,RLprt03,0,0,"Fossil","Right Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(0,0,0))
  3009. RLprt05,RLmsh05,RLwld05=AesthPart(modelzorz,RLprt03,0,0,"Medium blue","Right Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",4.2,1.7,4.2,euler(0,0,0)*cf(0,0,0))
  3010. RLprt06=Character["Right Leg Part06"]
  3011. RLprt07,RLmsh07,RLwld07=AesthPart(modelzorz,RLprt03,0,0,"Fossil","Right Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.7,.2,1.7,euler(mr(90),0,0)*cf(.03,0,.59))
  3012. RLprt08=Character["Right Leg Part08"]
  3013. RLprt09,RLmsh09,RLwld09=AesthPart(modelzorz,RLprt08,0,0,"Smoky grey","Right Leg Part09","SmoothPlastic","CylinderMesh","nil","nil",3,3.5,3,euler(mr(90),mr(-45),0)*cf(-.064,0,.502))
  3014. RLprt10,RLmsh10,RLwld10=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part10","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(.141,0,.707))
  3015. RLprt11,RLmsh11,RLwld11=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part11","SmoothPlastic","CylinderMesh","nil","nil",3.1,.7,3.1,euler(mr(90),mr(-45),0)*cf(-.269,0,.297))
  3016. RLprt12,RLmsh12,RLwld12=AesthPart(modelzorz,RLprt08,0,0,"Fossil","Right Leg Part12","SmoothPlastic","CylinderMesh","nil","nil",2.5,3.6,2.5,euler(0,0,0)*cf(-.028,0,-.523))
  3017. RLprt13,RLmsh13,RLwld13=AesthPart(modelzorz,RLprt08,0,0,"Smoky grey","Right Leg Part13","SmoothPlastic","CylinderMesh","nil","nil",1.5,3.7,1.5,euler(0,0,0)*cf(-.028,0,-.523))
  3018. RLprt14=Character["Right Leg Part14"]
  3019. RLprt15,RLmsh15,RLwld15=AesthPart(modelzorz,RLprt14,0,0,"Medium blue","Right Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1.5,1.8,5.5,euler(mr(65.332),0,mr(-90))*cf(-.39,0,.403))
  3020. RLprt16=Character["Right Leg Part16"]
  3021. RLprt17=Character["Right Leg Part17"]
  3022. RLprt18,RLmsh18,RLwld18=AesthPart(modelzorz,RLprt17,0,0,"Cocoa","Right Leg Part18","SmoothPlastic","SpecialMesh","Wedge","nil",5.6,2.5,9.5,euler(mr(180),0,0)*cf(0,.396,0))
  3023.  
  3024. GLLprt01=Character["Gun Left Leg Part01"]
  3025. GLLprt02,GLLmsh02,GLLwld02=AesthPart(modelzorz,GLLprt01,0,0,"Smoky grey","Gun Left Leg Part02","SmoothPlastic","CylinderMesh","nil","nil",1.5,.6,1.5,euler(0,0,0)*cf(0,.2,0))
  3026. GLLprt03,GLLmsh03,GLLwld03=AesthPart(modelzorz,GLLprt01,0,0,"Medium blue","Gun Left Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",1.6,.2,1.6,euler(0,0,0)*cf(0,.25,0))
  3027. GLLprt04,GLLmsh04,GLLwld04=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.8,2,1.8,euler(0,0,0)*cf(0,.47,0))
  3028. GLLprt05,GLLmsh05,GLLwld05=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1.4,3,euler(0,0,0)*cf(0,.47,0))
  3029. GLLprt06,GLLmsh06,GLLwld06=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,6,1.5,euler(0,0,mr(90))*cf(-.6,.46,0))
  3030. GLLprt07,GLLmsh07,GLLwld07=AesthPart(modelzorz,GLLprt01,0,0,"Fossil","Gun Left Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.2,1,1.2,euler(0,0,mr(90))*cf(-1.16,.46,0))
  3031. GLLprt08,GLLmsh08,GLLwld08=AesthPart(modelzorz,GLLprt01,0,0,"Medium blue","Gun Left Leg Part08","SmoothPlastic","CylinderMesh","nil","nil",1,4,1,euler(0,0,mr(90))*cf(-1.62,.46,0))
  3032. GLLprt09=Character["Gun Left Leg Part09"]
  3033. GLLprt10,GLLmsh10,GLLwld10=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part10","SmoothPlastic","BlockMesh","nil","nil",1,4.5,4,euler(0,0,mr(90))*cf(-.36,.62,-.01))
  3034. GLLprt11,GLLmsh11,GLLwld11=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part11","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(-90))*cf(.29,.62,.19))
  3035. GLLprt12,GLLmsh12,GLLwld12=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(mr(180),0,mr(90))*cf(.29,.62,-.21))
  3036. GLLprt13,GLLmsh13,GLLwld13=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part13","SmoothPlastic","BlockMesh","nil","nil",1,6,2,euler(0,0,mr(90))*cf(-1.15,.62,-.21))
  3037. GLLprt14,GLLmsh14,GLLwld14=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.93,.62,-.21))
  3038. GLLprt15,GLLmsh15,GLLwld15=AesthPart(modelzorz,GLLprt01,0,0,"Cocoa","Gun Left Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.01,.62,.19))
  3039.  
  3040. GRLprt01=Character["Gun Right Leg Part01"]
  3041. GRLprt02,GRLmsh02,GRLwld02=AesthPart(modelzorz,GRLprt01,0,0,"Smoky grey","Gun Right Leg Part02","SmoothPlastic","CylinderMesh","nil","nil",1.5,.6,1.5,euler(0,0,0)*cf(0,-.2,0))
  3042. GRLprt03,GRLmsh03,GRLwld03=AesthPart(modelzorz,GRLprt01,0,0,"Medium blue","Gun Right Leg Part03","SmoothPlastic","CylinderMesh","nil","nil",1.6,.2,1.6,euler(0,0,0)*cf(0,-.25,0))
  3043. GRLprt04,GRLmsh04,GRLwld04=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part04","SmoothPlastic","CylinderMesh","nil","nil",1.8,2,1.8,euler(0,0,0)*cf(0,-.47,0))
  3044. GRLprt05,GRLmsh05,GRLwld05=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1.4,3,euler(0,0,0)*cf(0,-.47,0))
  3045. GRLprt06,GRLmsh06,GRLwld06=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part06","SmoothPlastic","CylinderMesh","nil","nil",1.5,6,1.5,euler(0,0,mr(90))*cf(-.6,-.46,0))
  3046. GRLprt07,GRLmsh07,GRLwld07=AesthPart(modelzorz,GRLprt01,0,0,"Fossil","Gun Right Leg Part07","SmoothPlastic","CylinderMesh","nil","nil",1.2,1,1.2,euler(0,0,mr(90))*cf(-1.16,-.46,0))
  3047. GRLprt08,GRLmsh08,GRLwld08=AesthPart(modelzorz,GRLprt01,0,0,"Medium blue","Gun Right Leg Part08","SmoothPlastic","CylinderMesh","nil","nil",1,4,1,euler(0,0,mr(90))*cf(-1.62,-.46,0))
  3048. GRLprt09=Character["Gun Right Leg Part09"]
  3049. GRLprt10,GRLmsh10,GRLwld10=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part10","SmoothPlastic","BlockMesh","nil","nil",1,4.5,4,euler(0,0,mr(90))*cf(-.36,-.62,-.01))
  3050. GRLprt11,GRLmsh11,GRLwld11=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part11","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(-90))*cf(.29,-.62,.19))
  3051. GRLprt12,GRLmsh12,GRLwld12=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part12","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(mr(180),0,mr(90))*cf(.29,-.62,-.21))
  3052. GRLprt13,GRLmsh13,GRLwld13=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part13","SmoothPlastic","BlockMesh","nil","nil",1,6,2,euler(0,0,mr(90))*cf(-1.15,-.62,-.21))
  3053. GRLprt14,GRLmsh14,GRLwld14=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part14","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.93,-.62,-.21))
  3054. GRLprt15,GRLmsh15,GRLwld15=AesthPart(modelzorz,GRLprt01,0,0,"Cocoa","Gun Right Leg Part15","SmoothPlastic","SpecialMesh","Wedge","nil",1,2,2,euler(0,0,mr(90))*cf(-1.01,-.62,.19))
  3055.  
  3056. Hprt01a=Character["Head Part01a"]
  3057. Hprt01,Hmsh01,Hwld01=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part01","SmoothPlastic","CylinderMesh","nil","nil",6,6,6,euler(mr(90),0,0)*cf(0,-.1,-.18))
  3058. Hprt02,Hmsh02,Hwld02=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part02","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(mr(90),0,0)*cf(0,-.26,-.3))
  3059. Hprt03,Hmsh03,Hwld03=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part03","SmoothPlastic","CylinderMesh","nil","nil",5,5,5,euler(mr(90),0,0)*cf(0,-.14,-.3))
  3060. Hprt04,Hmsh04,Hwld04=AesthPart(modelzorz,Hprt01a,0,0,"Really red","Head Part04","Neon","CylinderMesh","nil","nil",3.5,1,3.5,euler(mr(90),0,0)*cf(0,-.17,-.72))
  3061. Hprt05,Hmsh05,Hwld05=AesthPart(modelzorz,Hprt01a,0,0,"Black","Head Part05","SmoothPlastic","CylinderMesh","nil","nil",3,1,3,euler(mr(90),0,0)*cf(0,-.15,-.84))
  3062. Hprt06,Hmsh06,Hwld06=AesthPart(modelzorz,Hprt01a,0,0,"Really red","Head Part06","Neon","CylinderMesh","nil","nil",1,1.01,1,euler(mr(90),0,0)*cf(0,-.15,-.84))
  3063. Hprt07,Hmsh07,Hwld07=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part07","SmoothPlastic","BlockMesh","nil","nil",2,6,5,euler(mr(90),0,mr(90))*cf(0,.38,-.14))
  3064. Hprt08,Hmsh08,Hwld08=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part08","SmoothPlastic","BlockMesh","nil","nil",2,2,2,euler(0,0,0)*cf(0,.72,0))
  3065. Hprt09,Hmsh09,Hwld09=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part09","SmoothPlastic","SpecialMesh","Wedge","nil",2,2.5,2,euler(mr(90),0,0)*cf(0,.722,.442))
  3066. Hprt10,Hmsh10,Hwld10=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part10","SmoothPlastic","SpecialMesh","Wedge","nil",2,2.5,2,euler(mr(90),mr(180),0)*cf(0,.722,-.448))
  3067. Hprt11,Hmsh11,Hwld11=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part11","SmoothPlastic","BlockMesh","nil","nil",.5,1,2,euler(0,0,0)*cf(-.14,-.68,0))
  3068. Hprt12,Hmsh12,Hwld12=AesthPart(modelzorz,Hprt07,0,0,"Maroon","Head Part12","SmoothPlastic","SpecialMesh","Wedge","nil",2,2,1.2,euler(0,mr(90),mr(-90))*cf(.1,-.668,0))
  3069.  
  3070. for i=-1,1,2 do
  3071. Hprt13,Hmsh13,Hwld13=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part13","SmoothPlastic","CylinderMesh","nil","nil",3.95,1,3.95,euler(0,0,mr(90))*cf(.72*i,-.1,-.18))
  3072. Hprt14,Hmsh14,Hwld14=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part14","SmoothPlastic","CylinderMesh","nil","nil",4,1,4,euler(0,0,mr(90))*cf(.71*i,-.1,-.18))
  3073. Hprt15,Hmsh15,Hwld15=AesthPart(modelzorz,Hprt01a,0,0,"Smoky grey","Head Part15","SmoothPlastic","CylinderMesh","nil","nil",3.95,1,3.05,euler(0,0,mr(90))*cf(.72*i,-.1,-.18))
  3074. Hprt16,Hmsh16,Hwld16=AesthPart(modelzorz,Hprt01a,0,0,"Black","Head Part16","SmoothPlastic","CylinderMesh","nil","nil",1,1,1,euler(0,0,mr(90))*cf(.76*i,-.11,-.18))
  3075. Hprt17,Hmsh17,Hwld17=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part17","SmoothPlastic","BlockMesh","nil","nil",2,.6,2,euler(0,mr(-134.999),mr(90))*cf(.92*i,-.1,-.18))
  3076. Hprt18,Hmsh18,Hwld18=AesthPart(modelzorz,Hprt01a,0,0,"Cocoa","Head Part18","SmoothPlastic","BlockMesh","nil","nil",1,.6,1,euler(0,mr(-134.999),mr(90))*cf(.92*i,-.1,.04))
  3077. Hprt19,Hmsh19,Hwld19=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part19","SmoothPlastic","SpecialMesh","Wedge","nil",.5,2,.5,euler(mr(-90),0,0)*cf(.992*i,.1,-.24))
  3078. Hprt20,Hmsh20,Hwld20=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part20","SmoothPlastic","BlockMesh","nil","nil",2,1.2,1,euler(0,0,mr(90))*cf(.71*i,-.18,.13))
  3079. Hprt21,Hmsh21,Hwld21=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part21","SmoothPlastic","SpecialMesh","Wedge","nil",.5,6,.5,euler(mr(-64.409),mr(180),0)*cf(.922*i,-.35,.64))
  3080. Hprt22,Hmsh22,Hwld22=AesthPart(modelzorz,Hprt01a,0,0,"Maroon","Head Part22","SmoothPlastic","SpecialMesh","Wedge","nil",.5,6,.5,euler(mr(-52.171),mr(180),0)*cf(.322*i,-.93,-.2))
  3081. end
  3082.  
  3083. Hprt23=Character["Head Part23"]
  3084. Hprt24,Hmsh24,Hwld24=AesthPart(modelzorz,Hprt23,0,0,"Black","Head Part24","SmoothPlastic","BlockMesh","nil","nil",.4,2.1,3.1,euler(0,0,mr(90))*cf(0,.17,0))
  3085. Hprt25,Hmsh25,Hwld25=AesthPart(modelzorz,Hprt23,0,0,"Really red","Head Part25","Neon","BlockMesh","nil","nil",.2,2.2,3.2,euler(0,0,mr(90))*cf(0,.18,0))
  3086. Hprt26=Character["Head Part26"]
  3087. Hprt27,Hmsh27,Hwld27=AesthPart(modelzorz,Hprt26,0,0,"Black","Head Part27","SmoothPlastic","BlockMesh","nil","nil",.4,2.1,3.1,euler(0,0,mr(90))*cf(0,-.18,0))
  3088. Hprt28,Hmsh28,Hwld28=AesthPart(modelzorz,Hprt26,0,0,"Really red","Head Part28","Neon","BlockMesh","nil","nil",.2,2.2,3.2,euler(0,0,mr(90))*cf(0,-.18,0))
  3089.  
  3090. Jprt01,Jmsh01,Jwld01=AesthPart(modelzorz,Tprt1,0,0,"Black","Jet Part01","SmoothPlastic","CylinderMesh","nil","nil",3,6,3,euler(0,0,mr(90))*cf(0,.441,-.756))
  3091. Jprt02,Jmsh02,Jwld02=AesthPart(modelzorz,Tprt1,0,0,"Cocoa","Jet Part02","SmoothPlastic","CylinderMesh","nil","nil",3.4,1,3.4,euler(0,0,mr(90))*cf(0,.441,-.756))
  3092. Jprt03,Jmsh03,Jwld03=AesthPart(modelzorz,Tprt1,0,0,"Really red","Jet Part03","Neon","CylinderMesh","nil","nil",3.5,.4,3.5,euler(0,0,mr(90))*cf(0,.441,-.756))
  3093. Jprt04,Jmsh04,Jwld04=AesthPart(modelzorz,Jprt01,0,0,"Cocoa","Jet Part04","SmoothPlastic","CylinderMesh","nil","nil",3.4,2,3.4,euler(0,0,0)*cf(0,.4,0))
  3094. Jprt05,Jmsh05,Jwld05=AesthPart(modelzorz,Jprt01,0,0,"Cocoa","Jet Part05","SmoothPlastic","CylinderMesh","nil","nil",3.4,2,3.4,euler(0,0,0)*cf(0,-.4,0))
  3095.  
  3096. tehprt=Jprt05
  3097. for i=-1,1,2 do
  3098. if i==1 then
  3099. tehprt=Jprt04
  3100. end
  3101. Jprt06,Jmsh06,Jwld06=AesthPart(modelzorz,tehprt,0,0,"Black","Jet Part06","SmoothPlastic","CylinderMesh","nil","nil",4,2,4,euler(0,0,0)*cf(0,.4*i,0))
  3102. Jprt07,Jmsh07,Jwld07=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part07","SmoothPlastic","CylinderMesh","nil","nil",3,1.9,3,euler(0,0,0)*cf(-.208,.4*i,-.243))
  3103. Jprt08,Jmsh08,Jwld08=AesthPart(modelzorz,tehprt,0,0,"Smoky grey","Jet Part08","SmoothPlastic","BlockMesh","nil","nil",13,2.7,4.3,euler(0,mr(60),0)*cf(-1.096,.4*i,-1.382))
  3104. Jprt09,Jmsh09,Jwld09=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part09","SmoothPlastic","BlockMesh","nil","nil",13.2,2.8,1,euler(0,mr(60),0)*cf(-1.39,.4*i,-1.212))
  3105. Jprt10,Jmsh10,Jwld10=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part10","SmoothPlastic","BlockMesh","nil","nil",1,2.8,4,euler(0,mr(60),0)*cf(-1.645,.4*i,-2.473))
  3106. Jprt11,Jmsh11,Jwld11=AesthPart(modelzorz,tehprt,0,0,"Cocoa","Jet Part11","SmoothPlastic","SpecialMesh","Wedge","nil",2.8,3,4,euler(mr(90),0,mr(90))*euler(0,mr(-90),0)*euler(0,mr(60),0)*cf(-1.523,.4*i,-2.082))
  3107. Jprt12,Jmsh12,Jwld12=AesthPart(modelzorz,tehprt,0,0,"Really black","Jet Part12","SmoothPlastic","BlockMesh","nil","nil",1,2.5,3.8,euler(0,mr(60),0)*cf(-1.655,.4*i,-2.49))
  3108. Jprt13,Jmsh13,Jwld13=AesthPart(modelzorz,tehprt,0,0,"Maroon","Jet Part13","SmoothPlastic","SpecialMesh","Wedge","nil",2.9,2,6,euler(mr(90),0,mr(-90))*euler(0,mr(60),0)*cf(-2.358,.4*i,-2.408))
  3109.  
  3110. end
  3111.  
  3112. end)()
  3113.  
  3114. Player:GetMouse().KeyDown:connect(function(kek)
  3115. if attack == true then
  3116. return
  3117. end
  3118.  
  3119. kek = kek:lower()
  3120. if kek == "z" then
  3121. d=math.random(1,6)
  3122. if d==1 then
  3123. LeftLaser()
  3124. elseif d==2 then
  3125. LaserSweep()
  3126. elseif d==3 then
  3127. LeftHomeLaser()
  3128. elseif d==4 then
  3129. LeftSuperLaser()
  3130. elseif d==5 then
  3131. LeftBarrage()
  3132. elseif d==6 then
  3133. LeftMinigun()
  3134. end
  3135. end
  3136.  
  3137. if kek == "x" then
  3138. d=math.random(1,6)
  3139. if d==1 then
  3140. RightLaser()
  3141. elseif d==2 then
  3142. LaserSweep()
  3143. elseif d==3 then
  3144. RightHomeLaser()
  3145. elseif d==4 then
  3146. RightSuperLaser()
  3147. elseif d==5 then
  3148. RightBarrage()
  3149. elseif d==6 then
  3150. RightMinigun()
  3151. end
  3152. end
  3153.  
  3154. if kek == "c" then
  3155. aa=math.random(1,2)
  3156. if aa==1 then
  3157. EyeLaserWave()
  3158. elseif aa==2 then
  3159. EyeOrb()
  3160. end
  3161. end
  3162.  
  3163. if kek == "v" then
  3164. aa=math.random(1,2)
  3165. if aa==1 then
  3166. GrenadeBlaze()
  3167. elseif aa==2 then
  3168. JetBarrage()
  3169. end
  3170. end
  3171.  
  3172. end)
  3173.  
  3174. local stunnum=0
  3175. local animnum=0
  3176. local idle=1
  3177. local animlimit=10
  3178. local target,distance=nil,nil
  3179. local attacking=false
  3180. local stunanim=false
  3181. local staggeranim=false
  3182. while Humanoid.Health>0 do
  3183. swait()
  3184. TehPos.Value=RootPart.Position
  3185. --[[--print(target)
  3186. --print(distance)]]
  3187. --[[for _,c in pairs(Character:children()) do
  3188. for _,v in pairs(c:children()) do
  3189. if v.className=="BodyGyro" or v.className=="BodyPosition" or v.className=="BodyVelocity" or v.className=="BodyAngularVelocity" then
  3190. if v.Name~="SiegmundGyro" and v.Name~="SiegmundPos" then
  3191. --print("dai")
  3192. v.Parent=nil
  3193. end
  3194. end
  3195. end
  3196. end]]
  3197. coroutine.resume(coroutine.create(function()
  3198. if start==false then
  3199. start=true
  3200. StartAnim()
  3201. end
  3202. end))
  3203. --[[target,distance=findNearestTorso(Torso.Position)
  3204. if target~=nil then
  3205. if attack==false then
  3206. newpos=vt(target.Position.X,Torso.Position.Y,target.Position.Z)
  3207. --BodGy.cframe=cf(Torso.Position,newpos)
  3208. local cff=cf(Torso.CFrame.p,newpos)*angles(0,0,0)
  3209. local x,y,z=RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  3210. end
  3211. numb1=RootPart.Position.y
  3212. numb2=target.Position.y
  3213. if numb2-numb1>=10 or numb2-numb1<=-10 then
  3214. --if distance<=10 then
  3215. if attack==false then
  3216. attackrand=math.random(1,60)
  3217. if attackrand==1 then
  3218. coroutine.resume(coroutine.create(function()
  3219. RecentEnemy.Value=nil
  3220. JetBarrage()
  3221. end))
  3222. end
  3223. end
  3224. --end
  3225. end
  3226. if distance>100 then --far range
  3227. Humanoid:MoveTo(target.Position)
  3228. run.Parent=Decrease
  3229. if attack==false then
  3230. attackrand=math.random(1,40)
  3231. if attackrand==1 then
  3232. coroutine.resume(coroutine.create(function()
  3233. RecentEnemy.Value=nil
  3234. d=math.random(1,15)
  3235. if d==1 then
  3236. LeftLaser()
  3237. elseif d==2 then
  3238. RightLaser()
  3239. elseif d==3 then
  3240. LaserSweep()
  3241. elseif d==4 then
  3242. LeftHomeLaser()
  3243. elseif d==5 then
  3244. RightHomeLaser()
  3245. elseif d==6 then
  3246. LeftSuperLaser()
  3247. elseif d==7 then
  3248. RightSuperLaser()
  3249. elseif d==8 then
  3250. LeftBarrage()
  3251. elseif d==9 then
  3252. RightBarrage()
  3253. elseif d==10 then
  3254. LeftMinigun()
  3255. elseif d==11 then
  3256. RightMinigun()
  3257. elseif d==12 then
  3258. EyeLaserWave()
  3259. elseif d==13 then
  3260. EyeOrb()
  3261. elseif d==14 then
  3262. GrenadeBlaze()
  3263. elseif d==15 then
  3264. JetBarrage()
  3265. end
  3266. end))
  3267. end
  3268. end
  3269. elseif distance<=100 and distance>=10 then --mid range
  3270. move=distance*3
  3271. Humanoid:MoveTo(RootPart.Position)
  3272. --Humanoid:MoveTo(target.Position)
  3273. run.Parent=nil
  3274. if attack==false then
  3275. attackrand=math.random(1,40)
  3276. if attackrand==1 then
  3277. coroutine.resume(coroutine.create(function()
  3278. RecentEnemy.Value=nil
  3279. d=math.random(1,15)
  3280. if d==1 then
  3281. LeftLaser()
  3282. elseif d==2 then
  3283. RightLaser()
  3284. elseif d==3 then
  3285. LaserSweep()
  3286. elseif d==4 then
  3287. LeftHomeLaser()
  3288. elseif d==5 then
  3289. RightHomeLaser()
  3290. elseif d==6 then
  3291. LeftSuperLaser()
  3292. elseif d==7 then
  3293. RightSuperLaser()
  3294. elseif d==8 then
  3295. LeftBarrage()
  3296. elseif d==9 then
  3297. RightBarrage()
  3298. elseif d==10 then
  3299. LeftMinigun()
  3300. elseif d==11 then
  3301. RightMinigun()
  3302. elseif d==12 then
  3303. EyeLaserWave()
  3304. elseif d==13 then
  3305. EyeOrb()
  3306. elseif d==14 then
  3307. GrenadeBlaze()
  3308. elseif d==15 then
  3309. JetBarrage()
  3310. end
  3311. end))
  3312. end
  3313. end
  3314. else --close range
  3315. move=10
  3316. Humanoid:MoveTo(RootPart.Position)
  3317. run.Parent=nil
  3318. --run.Parent=nil
  3319. if attack==false then
  3320. attackrand=math.random(1,10)
  3321. if attackrand==1 then
  3322. coroutine.resume(coroutine.create(function()
  3323. RecentEnemy.Value=nil
  3324. d=math.random(1,8)
  3325. if d~=1 then
  3326. aa=math.random(1,3)
  3327. if aa==1 then
  3328. LeftSuperLaser()
  3329. elseif aa==2 then
  3330. RightSuperLaser()
  3331. elseif aa==3 then
  3332. JetBarrage()
  3333. end
  3334. else
  3335. aa=math.random(1,7)
  3336. if aa==1 then
  3337. LeftLaser()
  3338. elseif aa==2 then
  3339. RightLaser()
  3340. elseif aa==3 then
  3341. LeftMinigun()
  3342. elseif aa==4 then
  3343. RightMinigun()
  3344. elseif aa==5 then
  3345. EyeLaserWave()
  3346. elseif aa==6 then
  3347. EyeOrb()
  3348. elseif aa==7 then
  3349. GrenadeBlaze()
  3350. end
  3351. end
  3352. end))
  3353. end
  3354. end
  3355. end
  3356. end]]
  3357. if Mvmt.Value<0 or Stun.Value>=StunT.Value or attack==true or Rooted.Value==true then
  3358. Humanoid.WalkSpeed=0
  3359. if jump==true then
  3360. Humanoid.WalkSpeed=16*Mvmt.Value
  3361. end
  3362. else
  3363. Humanoid.WalkSpeed=16*Mvmt.Value
  3364. end
  3365. if Stagger.Value==true and staggeranim==false then
  3366. coroutine.resume(coroutine.create(function()
  3367. staggeranim=true
  3368. while attack==true do
  3369. swait()
  3370. end
  3371. Stun.Value=100
  3372. StaggerHit.Value=false
  3373. Stagger.Value=false
  3374. staggeranim=false
  3375. end))
  3376. end
  3377. if Stun.Value>=StunT.Value and stunanim==false then
  3378. coroutine.resume(coroutine.create(function()
  3379. stunanim=true
  3380. while attack==true do
  3381. swait()
  3382. end
  3383. StunAnim()
  3384. Stun.Value=0
  3385. stunanim=false
  3386. end))
  3387. end
  3388. local stunnum2=80
  3389. if stunnum>=stunnum2 then
  3390. if Stun.Value>0 then
  3391. Stun.Value=Stun.Value-1
  3392. end
  3393. stunnum=0
  3394. end
  3395. stunnum=stunnum+1
  3396. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3397. local velderp=RootPart.Velocity.y
  3398. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,6,Character)
  3399. for _,c in pairs(Decrease:children()) do
  3400. if c:findFirstChild("Duration")~=nil then
  3401. c.Duration.Value=c.Duration.Value-1
  3402. if c.Duration.Value<=0 then
  3403. c.Parent=nil
  3404. end
  3405. end
  3406. if c.Name=="DecreaseAtk" then
  3407. decreaseatk=decreaseatk+c.Value
  3408. elseif c.Name=="DecreaseDef" then
  3409. decreasedef=decreasedef+c.Value
  3410. elseif c.Name=="DecreaseMvmt" then
  3411. decreasemvmt=decreasemvmt+c.Value
  3412. end
  3413. end
  3414. Atk.Value=1-decreaseatk
  3415. if Atk.Value<=0 then
  3416. Atk.Value=0
  3417. end
  3418. Def.Value=1-decreasedef
  3419. if Def.Value<=0 then
  3420. Def.Value=0.01
  3421. end
  3422. Mvmt.Value=1-decreasemvmt
  3423. if Mvmt.Value<=0 then
  3424. Mvmt.Value=0
  3425. end
  3426. decreaseatk=0
  3427. decreasedef=0
  3428. decreasemvmt=0
  3429. AtkVal=Atk.Value*100
  3430. AtkVal=math.floor(AtkVal)
  3431. AtkVal=AtkVal/100
  3432. DefVal=Def.Value*100
  3433. DefVal=math.floor(DefVal)
  3434. DefVal=DefVal/100
  3435. MvmtVal=Mvmt.Value*100
  3436. MvmtVal=math.floor(MvmtVal)
  3437. MvmtVal=MvmtVal/100
  3438. if MvmtVal<=0 then
  3439. MvmtVal=0
  3440. end
  3441. animnum=animnum+1
  3442. if animnum>=animlimit*5 then
  3443. idle=1
  3444. animnum=0
  3445. elseif animnum>=animlimit*4 then
  3446. idle=1
  3447. animnum=0
  3448. elseif animnum>=animlimit*3 then
  3449. idle=4
  3450. elseif animnum>=animlimit*2 then
  3451. idle=3
  3452. elseif animnum>=animlimit*1 then
  3453. idle=2
  3454. end
  3455. if hitfloor==nil then
  3456. Anim="Air"
  3457. animlimit=8
  3458. if attack==false then
  3459. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.2,0,0)*cf(0,1.3,.1),.3)
  3460. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.1,0,0)*cf(0,0,0),.3)
  3461. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(0,0,-.5),.3)
  3462. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(0,0,.5),.3)
  3463. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3464. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3465.  
  3466. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-5),0)*cf(.7,1.48,-.2),.3)
  3467. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  3468. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  3469. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-100))*cf(-.07,-.6,0),.3)
  3470. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-20),0)*cf(-.233,0,-.912),.3)
  3471. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  3472. LLwld17.C0=clerp(LLwld17.C0,euler(mr(25),0,mr(90))*cf(.2,0,-1),.3)
  3473.  
  3474. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(5),0)*cf(-.7,1.48,-.2),.3)
  3475. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  3476. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(100),0)*cf(-.219,0,.658),.3)
  3477. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-100))*cf(-.07,-.6,0),.3)
  3478. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-20),0)*cf(-.233,0,-.912),.3)
  3479. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  3480. RLwld17.C0=clerp(RLwld17.C0,euler(mr(25),0,mr(90))*cf(.2,0,-1),.3)
  3481. end
  3482. elseif torvel<1 and hitfloor~=nil then
  3483. Anim="Idle"
  3484. animlimit=40
  3485. --animlimit=8
  3486. if attack==false then
  3487. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  3488. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.1,0,0)*cf(0,.7,0),.3)
  3489. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(.2,0,-.4),.3)
  3490. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(.2,0,.4),.3)
  3491. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90-40),mr(-10),0)*cf(0,0,0),.3)
  3492. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90+40),mr(-10),0)*cf(0,0,0),.3)
  3493.  
  3494. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-30),0)*cf(.616,1.48,-.2),.3)
  3495. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  3496. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  3497. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  3498. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  3499. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-20),0,mr(90))*cf(.332,0,.318),.3)
  3500. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  3501.  
  3502. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.2),.3)
  3503. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(20),0),.3)
  3504. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(80),0)*cf(-.219,0,.658),.3)
  3505. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-90))*cf(-.07,-.6,0),.3)
  3506. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-30),0)*cf(-.233,0,-.912),.3)
  3507. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-20),0,mr(90))*cf(.4,0,.5),.3)
  3508. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.25,0,-.7),.3)
  3509. end
  3510. --[[ idle leg
  3511. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*cf(.616,1.48,-.132),.3)
  3512. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(45),0),.3)
  3513. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(45),0)*cf(-.219,0,.658),.3)
  3514. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-45))*cf(-.07,-.6,0),.3)
  3515. LLwld14.C0=clerp(LLwld14.C0,euler(0,0,0)*cf(-.233,0,-.912),.3)
  3516. LLwld16.C0=clerp(LLwld16.C0,euler(0,0,mr(90))*cf(.332,0,.318),.3)
  3517. LLwld17.C0=clerp(LLwld17.C0,euler(0,0,mr(90))*cf(.255,0,-.495),.3)]]
  3518.  
  3519.  
  3520. elseif torvel>2 and hitfloor~=nil then
  3521. Anim="Walk"
  3522. animlimit=4
  3523. if attack==false then
  3524. if idle==1 then
  3525. Neck.C0=clerp(Neck.C0,euler(0,.1,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  3526. RootJoint.C0=clerp(RootJoint.C0,euler(0,.1,0)*euler(0,0,0)*cf(0,.7,0),.3)
  3527. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-1,0,-.1),.2)
  3528. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(.5,0,.1),.2)
  3529. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3530. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3531.  
  3532. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,-.1,0)*cf(.616,1.1,.6),.3)
  3533. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  3534. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(50),0)*cf(-.219,0,.658),.3)
  3535. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-40))*cf(-.07,-.2,0),.3)
  3536. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-50),0)*cf(-.233,0,-.912),.3)
  3537. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-10),0,mr(90))*cf(.2,0,.1),.3)
  3538. LLwld17.C0=clerp(LLwld17.C0,euler(mr(-5),0,mr(90))*cf(.2,0,-.4),.3)
  3539.  
  3540. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.1),.3)
  3541. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(130),0),.3)
  3542. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-60),0)*cf(-.219,0,.658),.3)
  3543. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-55))*cf(.1,-.55,0),.3)
  3544. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3545. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.8,0,-.4),.3)
  3546. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.1,0,-.4),.3)
  3547. elseif idle==2 then
  3548. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  3549. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.1,0,0)*cf(0,.9,0),.3)
  3550. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(-1,0,-.1),.2)
  3551. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(.5,0,.1),.2)
  3552. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3553. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3554.  
  3555. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,0,0)*cf(.616,1.48,-.1),.3)
  3556. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  3557. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(20),0)*cf(-.219,0,.658),.3)
  3558. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-50))*cf(.1,-.55,0),.3)
  3559. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3560. LLwld16.C0=clerp(LLwld16.C0,euler(mr(-5),0,mr(90))*cf(.36,0,.3),.3)
  3561. LLwld17.C0=clerp(LLwld17.C0,euler(mr(10),0,mr(90))*cf(.1,0,-.4),.3)
  3562.  
  3563. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,mr(10),0)*cf(-.616,1.48,-.1),.3)
  3564. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(130),0),.3)
  3565. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(-60),0)*cf(-.219,0,.658),.3)
  3566. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-55))*cf(.1,-.55,0),.3)
  3567. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3568. RLwld16.C0=clerp(RLwld16.C0,euler(mr(20),0,mr(90))*cf(.8,0,-.4),.3)
  3569. RLwld17.C0=clerp(RLwld17.C0,euler(mr(20),0,mr(90))*cf(.1,0,-.4),.3)
  3570. elseif idle==3 then
  3571. Neck.C0=clerp(Neck.C0,euler(0,-.1,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  3572. RootJoint.C0=clerp(RootJoint.C0,euler(0,-.1,0)*euler(0,0,0)*cf(0,.9,0),.3)
  3573. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(.5,0,-.1),.2)
  3574. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-1,0,.1),.2)
  3575. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3576. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3577.  
  3578. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-10),0)*cf(.616,1.48,-.1),.3)
  3579. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(130),0),.3)
  3580. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-60),0)*cf(-.219,0,.658),.3)
  3581. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-55))*cf(.1,-.55,0),.3)
  3582. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3583. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.8,0,-.4),.3)
  3584. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.1,0,-.4),.3)
  3585.  
  3586. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,-.1,0)*cf(-.616,1.1,.6),.3)
  3587. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  3588. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(50),0)*cf(-.219,0,.658),.3)
  3589. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-40))*cf(-.07,-.2,0),.3)
  3590. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-50),0)*cf(-.233,0,-.912),.3)
  3591. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-10),0,mr(90))*cf(.2,0,.1),.3)
  3592. RLwld17.C0=clerp(RLwld17.C0,euler(mr(-5),0,mr(90))*cf(.2,0,-.4),.3)
  3593. elseif idle==4 then
  3594. Neck.C0=clerp(Neck.C0,euler(0,0,0)*euler(-.1,0,0)*cf(0,1.3,.1),.3)
  3595. RootJoint.C0=clerp(RootJoint.C0,euler(0,0,0)*euler(.1,0,0)*cf(0,.9,0),.3)
  3596. LW.C0=clerp(LW.C0,cf(-1.9,.5,0)*euler(.5,0,-.1),.2)
  3597. RW.C0=clerp(RW.C0,cf(1.9,.5,0)*euler(-1,0,.1),.2)
  3598. LAwld19.C0=clerp(LAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3599. RAwld19.C0=clerp(RAwld19.C0,euler(mr(-90),mr(10),0)*cf(0,0,0),.3)
  3600.  
  3601. LLwld01.C0=clerp(LLwld01.C0,euler(0,0,mr(90))*euler(0,mr(-10),0)*cf(.616,1.48,-.1),.3)
  3602. LLwld02.C0=clerp(LLwld02.C0,cf(0,.0,.453)*euler(0,mr(130),0),.3)
  3603. LLwld03.C0=clerp(LLwld03.C0,euler(0,mr(-60),0)*cf(-.219,0,.658),.3)
  3604. LLwld08.C0=clerp(LLwld08.C0,euler(mr(90),0,mr(-55))*cf(.1,-.55,0),.3)
  3605. LLwld14.C0=clerp(LLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3606. LLwld16.C0=clerp(LLwld16.C0,euler(mr(20),0,mr(90))*cf(.8,0,-.4),.3)
  3607. LLwld17.C0=clerp(LLwld17.C0,euler(mr(20),0,mr(90))*cf(.1,0,-.4),.3)
  3608.  
  3609. RLwld01.C0=clerp(RLwld01.C0,euler(0,0,mr(90))*euler(0,0,0)*cf(-.616,1.48,-.1),.3)
  3610. RLwld02.C0=clerp(RLwld02.C0,cf(0,.0,.453)*euler(0,mr(30),0),.3)
  3611. RLwld03.C0=clerp(RLwld03.C0,euler(0,mr(20),0)*cf(-.219,0,.658),.3)
  3612. RLwld08.C0=clerp(RLwld08.C0,euler(mr(90),0,mr(-50))*cf(.1,-.55,0),.3)
  3613. RLwld14.C0=clerp(RLwld14.C0,euler(0,mr(-40),0)*cf(-.233,0,-.912),.3)
  3614. RLwld16.C0=clerp(RLwld16.C0,euler(mr(-5),0,mr(90))*cf(.36,0,.3),.3)
  3615. RLwld17.C0=clerp(RLwld17.C0,euler(mr(10),0,mr(90))*cf(.1,0,-.4),.3)
  3616. end
  3617. end
  3618. elseif torvel>=20 and hitfloor~=nil then
  3619. Anim="Run"
  3620. animlimit=6
  3621.  
  3622. end
  3623. if #Effects>0 then
  3624. --table.insert(Effects,{prt,"Block1",delay})
  3625. for e=1,#Effects do
  3626. if Effects[e]~=nil then
  3627. --for j=1,#Effects[e] do
  3628. local Thing=Effects[e]
  3629. if Thing~=nil then
  3630. local Part=Thing[1]
  3631. local Mode=Thing[2]
  3632. local Delay=Thing[3]
  3633. local IncX=Thing[4]
  3634. local IncY=Thing[5]
  3635. local IncZ=Thing[6]
  3636. if Thing[2]=="DecreaseStat" then
  3637. --table.insert(Effects,{Model,"DecreaseStat",Stat,Amount,Duration,d})
  3638. Thing[5]=Thing[5]-1
  3639. if Thing[5]<=0 then
  3640. if Thing[1]:findFirstChild("Stats")~=nil then
  3641. if Thing[1].Stats:findFirstChild("Decrease")~=nil then
  3642. --Thing[1].Stats[Thing[3]].Value=Thing[1].Stats[Thing[3]].Value+Thing[4]
  3643. end
  3644. end
  3645. Thing[6].Parent=nil
  3646. table.remove(Effects,e)
  3647. end
  3648. end
  3649. if Thing[2]=="CylinderClang" then
  3650. if Thing[3]<=1 then
  3651. Thing[1].CFrame=Thing[1].CFrame*CFrame.new(0,2.5*Thing[5],0)*CFrame.fromEulerAnglesXYZ(Thing[6],0,0)
  3652. Thing[7]=Thing[1].CFrame
  3653. effect("New Yeller",0,Thing[8],Thing[7])
  3654. Thing[8]=Thing[7]
  3655. Thing[3]=Thing[3]+Thing[4]
  3656. else
  3657. Part.Parent=nil
  3658. table.remove(Effects,e)
  3659. end
  3660. end
  3661. if Thing[2]=="showDamage" then
  3662. if Thing[6]<Thing[5] then
  3663. Thing[6]=Thing[6]+1
  3664. elseif Thing[6]<Thing[7] then
  3665. Thing[4].position=Thing[4].position+vt(0,-.2,0)
  3666. Thing[6]=Thing[6]+1
  3667. elseif Thing[6]<Thing[8] then
  3668. Thing[6]=Thing[6]+1
  3669. elseif Thing[6]<Thing[9] then
  3670. Thing[6]=Thing[6]+1
  3671. Thing[4].position=Thing[4].position+vt(0,.2,0)
  3672. Thing[3].TextStrokeTransparency=Thing[3].TextStrokeTransparency+.1
  3673. Thing[3].TextTransparency=Thing[3].TextTransparency+.1
  3674. else
  3675. Thing[1].Parent=nil
  3676. table.remove(Effects,e)
  3677. end
  3678. end
  3679. --table.insert(Effects,{Model,"Orb",500,ref,Head.CFrame*cf(0,0,-2.5)})
  3680. if Thing[2]=="Orb" then
  3681. if Thing[3]>0 then
  3682. Thing[3]=Thing[3]-1
  3683. Thing[5]=Thing[5]*cf(0,0,-.4)
  3684. Thing[4].CFrame=Thing[5]
  3685. target,distance=findNearestTorso(Thing[4].Position)
  3686. if target~=nil then
  3687. cfa=cf(Thing[4].Position,target.Position)
  3688. tehCF=clerp(Thing[5],cfa,.1)
  3689. Thing[5]=(tehCF)
  3690. end
  3691. if Thing[3]%10==0 then
  3692. MagniDamage(Thing[4],5,2,3,0,"Normal",Thing[4],.1,1,math.random(1,2),nil,nil,true,"Damage",.05,400)
  3693. end
  3694. if Thing[3]%15==0 then
  3695. local refdar=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  3696. refdar.Anchored=true
  3697. refdar.CFrame=cf(Thing[4].Position)*cf(math.random(-1000,1000)/100,0,math.random(-1000,1000)/100)
  3698. hitfloor2,posfloor2=rayCast(refdar.Position,(CFrame.new(refdar.Position,refdar.Position - Vector3.new(0,1,0))).lookVector,50,Character)
  3699. if hitfloor2~=nil then
  3700. Lightning(Thing[4].Position,posfloor2,5,1,"Really red",.05,.4,.1)
  3701. end
  3702. end
  3703. MagicCircle(BrickColor.new("Really red"),Thing[4].CFrame,5,5,5,10,10,10,.2)
  3704. else
  3705. table.remove(Effects,e)
  3706. end
  3707. end
  3708. --table.insert(Effects,{Model,"Shockwave",300,cf(ref2.Position)})
  3709. if Thing[2]=="Shockwave" then
  3710. if Thing[3]>0 then
  3711. Thing[3]=Thing[3]-1
  3712. if Thing[3]%5==0 then
  3713. MagicCircle(BrickColor.new("Really red"),Thing[4],10,10,10,3,3,3,.3)
  3714. end
  3715. else
  3716. MagicCircle(BrickColor.new("Really red"),Thing[4],40,40,40,10,10,10,.1)
  3717. MagicWave3(BrickColor.new("Really red"),Thing[4],1,1,1,3,3,3,.1)
  3718. local refaaa=part(3,effects,0,1,BrickColor.new("Black"),"Reference",vt())
  3719. refaaa.Anchored=true
  3720. refaaa.CFrame=Thing[4]
  3721. game:GetService("Debris"):AddItem(refaaa,1)
  3722. MagniDamage(refaaa,10,12,16,math.random(30,50),"Knockdown2",refaaa,.5,1,math.random(6,8),nil,nil,true,"Defense",.2,400)
  3723.  
  3724. so("178452221",refaaa,.6,1)
  3725. table.remove(Effects,e)
  3726. end
  3727. end
  3728. if Thing[2]=="Shoot1" then
  3729. local Look=Thing[1]
  3730. if Thing[7]==3 then Thing[1]=Thing[1]*euler(mr(-2),0,0) end
  3731. if Thing[7]==4 then Thing[1]=Thing[1]*euler(mr(-1),0,0) end
  3732. mov=15
  3733. if Thing[7]==2 then mov=10 elseif Thing[7]==3 then mov=2 elseif Thing[7]==4 then mov=5 end
  3734. local hit,pos = rayCast(Thing[4],Look.lookVector,mov,Character)
  3735.  
  3736. if Thing[7]==2 then
  3737. refd=part(3,nil,0,1,BrickColor.new("Really red"),"Reference",vt())
  3738. refd.Anchored=true
  3739. refd.CFrame=cf(pos)
  3740. target,distance=findNearestTorso(refd.Position)
  3741. if target~=nil then
  3742.  
  3743. cf2=cf(Thing[4],target.Position)
  3744. cfa=cf(Thing[4],pos)
  3745. tehCF=clerp(cfa,cf2,.4)
  3746. Thing[1]=(tehCF)
  3747. end
  3748. end
  3749.  
  3750. local mag=(Thing[4]-pos).magnitude
  3751. if Thing[7]==3 or Thing[7]==4 then
  3752. MagicCylinder(BrickColor.new("CGA brown"),CFrame.new((Thing[4]+pos)/2,pos)*angles(1.57,0,0),5,mag*5,5,1,0,1,.4)
  3753. else
  3754. MagicCylinder(BrickColor.new("Bright red"),CFrame.new((Thing[4]+pos)/2,pos)*angles(1.57,0,0),2,mag*5,2,.4,0,.4,.2)
  3755. end
  3756. Thing[4]=Thing[4]+(Look.lookVector*mov)
  3757. Thing[3]=Thing[3]-1
  3758. if hit~=nil then
  3759. Thing[3]=0
  3760. Damagefunc(hit,Thing[5],Thing[6],0,"Normal",RootPart,.1,2,math.random(6,10),nil,nil,true)
  3761. end
  3762. if Thing[3]<=0 then
  3763. local refsh=part(3,effects,0,1,BrickColor.new("Really red"),"Reference",vt())
  3764. refsh.Anchored=true
  3765. refsh.CFrame=cf(pos)
  3766. if Thing[7]==1 or Thing[7]==2 then
  3767. so("81116747",refsh,.6,1.2)
  3768. so("161006093",refsh,.6,.8)
  3769. elseif Thing[7]==3 then
  3770. so("81116747",refsh,1,.8)
  3771. end
  3772. game:GetService("Debris"):AddItem(refsh,1)
  3773. if Thing[7]==3 or Thing[7]==4 then
  3774. MagicCircle(BrickColor.new("CGA brown"),cf(refsh.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,20,20,20,.2,1)
  3775. MagicCircle(BrickColor.new("CGA brown"),cf(pos),5,5,5,8,8,8,0.1)
  3776. else
  3777. MagicCircle(BrickColor.new("Really red"),cf(refsh.Position),5,5,5,10,10,10,0.1)
  3778. MagicBlock(BrickColor.new("Really red"),cf(refsh.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,10,10,10,.2,1)
  3779. MagicRing(BrickColor.new("Really red"),cf(refsh.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,.1,2,2,.1,.1)
  3780. end
  3781. range=6
  3782. da=0
  3783. if Thing[7]==3 or Thing[7]==4 then range=7 end
  3784. if Thing[7]==3 or Thing[7]==4 then da=.1 end
  3785. MagniDamage(refsh,range,Thing[5]/1.5,Thing[6]/1.5,math.random(10,20),"Knockdown2",refsh,da,1,math.random(5,7),nil,nil,true,nil,nil,nil)
  3786. table.remove(Effects,e)
  3787. end
  3788. end
  3789. if Thing[2]~="DecreaseStat" and Thing[2]~="showDamage" and Thing[2]~="Shoot1" and Thing[2]~="Shockwave" and Thing[2]~="Orb" then
  3790. if Thing[1].Transparency<=1 then
  3791. if Thing[2]=="Block1" then
  3792. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3793. Mesh=Thing[7]
  3794. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3795. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3796. elseif Thing[2]=="Block2" then
  3797. Thing[1].CFrame=Thing[1].CFrame
  3798. Mesh=Thing[7]
  3799. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3800. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3801. elseif Thing[2]=="Cylinder" then
  3802. Mesh=Thing[7]
  3803. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3804. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3805. elseif Thing[2]=="Cylinder2" then
  3806. Mesh=Thing[7]
  3807. if Thing[1].Transparency<=.5 then
  3808. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3809. Thing[8]=Thing[8]+.2
  3810. Thing[1].CFrame=Thing[1].CFrame*cf(0,.2,0)*euler(0,Thing[8],0)
  3811. else
  3812. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3813. Thing[8]=Thing[8]+.2
  3814. Thing[1].CFrame=Thing[1].CFrame*cf(0,.2,0)*euler(0,Thing[8],0)
  3815. end
  3816. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3817. elseif Thing[2]=="Cylinder3" then
  3818. Mesh=Thing[7]
  3819. if Thing[1].Transparency<=.5 then
  3820. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3821. Thing[8]=Thing[8]+.2
  3822. Thing[1].CFrame=Thing[1].CFrame*cf(0,1,0)*euler(0,Thing[8],0)
  3823. else
  3824. Mesh.Scale=Mesh.Scale+vt(Thing[4],-Thing[5]/1,Thing[6])
  3825. Thing[1].CFrame=Thing[1].CFrame*cf(0,-1,0)
  3826. end
  3827. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3828. elseif Thing[2]=="Blood" then
  3829. Mesh=Thing[7]
  3830. Thing[1].CFrame=Thing[1].CFrame*cf(0,-.5,0)
  3831. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3832. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3833. elseif Thing[2]=="Elec" then
  3834. Mesh=Thing[7]
  3835. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  3836. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3837. elseif Thing[2]=="Disappear" then
  3838. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3839. end
  3840. else
  3841. table.remove(Effects,e)
  3842. Thing[1].Parent=nil
  3843. end
  3844. end
  3845. end
  3846. --end
  3847. end
  3848. end
  3849. end
  3850. end
  3851. --[[
  3852. Copyrighted (C) Fenrier 2016
  3853. ]]
Add Comment
Please, Sign In to add comment