Advertisement
vibrantsinger423

agrlol

Apr 16th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 155.40 KB | None | 0 0
  1. --[[ Leaked by CLarramore ]]--
  2. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  3. -- I am now spreading this on
  4. -- You can now make ur edits with this
  5. -- ENTIRELY OPEN SOURCED!!!! YAY!
  6. -- 1337 views. l0l
  7. -- NightOwlAce dont kill me
  8. Player=game:GetService("Players").LocalPlayer
  9. Character=Player.Character
  10. PlayerGui=Player.PlayerGui
  11. Backpack=Player.Backpack
  12. Torso=Character.Torso
  13. Head=Character.Head
  14. Humanoid=Character.Humanoid
  15. m=Instance.new('Model',Character)
  16. LeftArm=Character["Left Arm"]
  17. LeftLeg=Character["Left Leg"]
  18. RightArm=Character["Right Arm"]
  19. RightLeg=Character["Right Leg"]
  20. LS=Torso["Left Shoulder"]
  21. LH=Torso["Left Hip"]
  22. RS=Torso["Right Shoulder"]
  23. RH=Torso["Right Hip"]
  24. Face = Head.face
  25. Neck=Torso.Neck
  26. it=Instance.new
  27. attacktype=1
  28. vt=Vector3.new
  29. cf=CFrame.new
  30. euler=CFrame.fromEulerAnglesXYZ
  31. angles=CFrame.Angles
  32. cloaked=false
  33. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  36. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  37. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  38. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  39. RootPart=Character.HumanoidRootPart
  40. RootJoint=RootPart.RootJoint
  41. RootCF=euler(-1.57,0,3.14)
  42. attack = false
  43. attackdebounce = false
  44. deb=false
  45. equipped=true
  46. hand=false
  47. MMouse=nil
  48. combo=0
  49. mana=0
  50. trispeed=1
  51. pathtrans=.7
  52. attackmode='none'
  53. local idle=0
  54. local Anim="Idle"
  55. local Effects={}
  56. local gun=false
  57. local shoot=false
  58. player=nil
  59. cloak=false
  60. lightcolor='Bright blue'
  61.  
  62. local Color1=Torso.BrickColor
  63.  
  64. local fengui=it("GuiMain")
  65. fengui.Parent=Player.PlayerGui
  66. fengui.Name="WeaponGUI"
  67. local fenframe=it("Frame")
  68. fenframe.Parent=fengui
  69. fenframe.BackgroundColor3=Color3.new(255,255,255)
  70. fenframe.BackgroundTransparency=1
  71. fenframe.BorderColor3=Color3.new(17,17,17)
  72. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  73. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  74. local fenbarmana1=it("TextLabel")
  75. fenbarmana1.Parent=fenframe
  76. fenbarmana1.Text=" "
  77. fenbarmana1.BackgroundTransparency=0
  78. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  79. fenbarmana1.SizeConstraint="RelativeXY"
  80. fenbarmana1.TextXAlignment="Center"
  81. fenbarmana1.TextYAlignment="Center"
  82. fenbarmana1.Position=UDim2.new(0,0,0,0)
  83. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  84. local fenbarmana2=it("TextLabel")
  85. fenbarmana2.Parent=fenframe
  86. fenbarmana2.Text=" "
  87. fenbarmana2.BackgroundTransparency=0
  88. fenbarmana2.BackgroundColor3=Torso.Color
  89. fenbarmana2.SizeConstraint="RelativeXY"
  90. fenbarmana2.TextXAlignment="Center"
  91. fenbarmana2.TextYAlignment="Center"
  92. fenbarmana2.Position=UDim2.new(0,0,0,0)
  93. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  94. local fenbarmana3=it("TextLabel")
  95. fenbarmana3.Parent=fenframe
  96. fenbarmana3.Text=" "
  97. fenbarmana3.BackgroundTransparency=0
  98. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  99. fenbarmana3.SizeConstraint="RelativeXY"
  100. fenbarmana3.TextXAlignment="Center"
  101. fenbarmana3.TextYAlignment="Center"
  102. fenbarmana3.Position=UDim2.new(0,0,0,0)
  103. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  104. local fenbarmana4=it("TextLabel")
  105. fenbarmana4.Parent=fenframe
  106. fenbarmana4.Text="Energy("..mana..")"
  107. fenbarmana4.BackgroundTransparency=1
  108. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  109. fenbarmana4.SizeConstraint="RelativeXY"
  110. fenbarmana4.TextXAlignment="Center"
  111. fenbarmana4.TextYAlignment="Center"
  112. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  113. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  114. fenbarmana4.FontSize="Size9"
  115. fenbarmana4.TextStrokeTransparency=0
  116. fenbarmana4.TextColor=BrickColor.new("White")
  117.  
  118. mouse=Player:GetMouse()
  119. --save shoulders
  120. RSH, LSH=nil, nil
  121. --welds
  122. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  123. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  124. LH=Torso["Left Hip"]
  125. RH=Torso["Right Hip"]
  126. TorsoColor=Torso.BrickColor
  127. function NoOutline(Part)
  128. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  129. end
  130. player=Player
  131. ch=Character
  132. RSH=ch.Torso["Right Shoulder"]
  133. LSH=ch.Torso["Left Shoulder"]
  134. --
  135. RSH.Parent=nil
  136. LSH.Parent=nil
  137. --
  138. RW.Name="Right Shoulder"
  139. RW.Part0=ch.Torso
  140. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  141. RW.C1=cf(0, 0.5, 0)
  142. RW.Part1=ch["Right Arm"]
  143. RW.Parent=ch.Torso
  144. --
  145. LW.Name="Left Shoulder"
  146. LW.Part0=ch.Torso
  147. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  148. LW.C1=cf(0, 0.5, 0)
  149. LW.Part1=ch["Left Arm"]
  150. LW.Parent=ch.Torso
  151.  
  152. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  153. local fp=it("Part")
  154. fp.formFactor=formfactor
  155. fp.Parent=parent
  156. fp.Reflectance=reflectance
  157. fp.Transparency=transparency
  158. fp.CanCollide=false
  159. fp.Locked=true
  160. fp.BrickColor=brickcolor
  161. fp.Name=name
  162. fp.Size=size
  163. fp.Position=Torso.Position
  164. NoOutline(fp)
  165. fp.Material="Neon"
  166. fp:BreakJoints()
  167. return fp
  168. end
  169.  
  170. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  171. local mesh=it(Mesh)
  172. mesh.Parent=part
  173. if Mesh=="SpecialMesh" then
  174. mesh.MeshType=meshtype
  175. if meshid~="nil" then
  176. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  177. end
  178. end
  179. mesh.Offset=offset
  180. mesh.Scale=scale
  181. return mesh
  182. end
  183.  
  184. function weld(parent,part0,part1,c0)
  185. local weld=it("Weld")
  186. weld.Parent=parent
  187. weld.Part0=part0
  188. weld.Part1=part1
  189. weld.C0=c0
  190. return weld
  191. end
  192.  
  193. local Color1=Torso.BrickColor
  194.  
  195. local bodvel=Instance.new("BodyVelocity")
  196. local bg=Instance.new("BodyGyro")
  197.  
  198. function swait(num)
  199. if num==0 or num==nil then
  200. game:service'RunService'.Stepped:wait(0)
  201. else
  202. for i=0,num do
  203. game:service'RunService'.Stepped:wait(0)
  204. end
  205. end
  206. end
  207.  
  208.  
  209. so = function(id,par,vol,pit)
  210. coroutine.resume(coroutine.create(function()
  211. local sou = Instance.new("Sound",par or workspace)
  212. sou.Volume=vol
  213. sou.Pitch=pit or 1
  214. sou.SoundId=id
  215. swait()
  216. sou:play()
  217. game:GetService("Debris"):AddItem(sou,6)
  218. end))
  219. end
  220.  
  221. function clerp(a,b,t)
  222. local qa = {QuaternionFromCFrame(a)}
  223. local qb = {QuaternionFromCFrame(b)}
  224. local ax, ay, az = a.x, a.y, a.z
  225. local bx, by, bz = b.x, b.y, b.z
  226. local _t = 1-t
  227. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  228. end
  229.  
  230. function QuaternionFromCFrame(cf)
  231. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  232. local trace = m00 + m11 + m22
  233. if trace > 0 then
  234. local s = math.sqrt(1 + trace)
  235. local recip = 0.5/s
  236. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  237. else
  238. local i = 0
  239. if m11 > m00 then
  240. i = 1
  241. end
  242. if m22 > (i == 0 and m00 or m11) then
  243. i = 2
  244. end
  245. if i == 0 then
  246. local s = math.sqrt(m00-m11-m22+1)
  247. local recip = 0.5/s
  248. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  249. elseif i == 1 then
  250. local s = math.sqrt(m11-m22-m00+1)
  251. local recip = 0.5/s
  252. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  253. elseif i == 2 then
  254. local s = math.sqrt(m22-m00-m11+1)
  255. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  256. end
  257. end
  258. end
  259.  
  260. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  261. local xs, ys, zs = x + x, y + y, z + z
  262. local wx, wy, wz = w*xs, w*ys, w*zs
  263. local xx = x*xs
  264. local xy = x*ys
  265. local xz = x*zs
  266. local yy = y*ys
  267. local yz = y*zs
  268. local zz = z*zs
  269. 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))
  270. end
  271.  
  272. function QuaternionSlerp(a, b, t)
  273. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  274. local startInterp, finishInterp;
  275. if cosTheta >= 0.0001 then
  276. if (1 - cosTheta) > 0.0001 then
  277. local theta = math.acos(cosTheta)
  278. local invSinTheta = 1/math.sin(theta)
  279. startInterp = math.sin((1-t)*theta)*invSinTheta
  280. finishInterp = math.sin(t*theta)*invSinTheta
  281. else
  282. startInterp = 1-t
  283. finishInterp = t
  284. end
  285. else
  286. if (1+cosTheta) > 0.0001 then
  287. local theta = math.acos(-cosTheta)
  288. local invSinTheta = 1/math.sin(theta)
  289. startInterp = math.sin((t-1)*theta)*invSinTheta
  290. finishInterp = math.sin(t*theta)*invSinTheta
  291. else
  292. startInterp = t-1
  293. finishInterp = t
  294. end
  295. end
  296. 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
  297. end
  298.  
  299. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  300. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  301. end
  302.  
  303. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  304. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  305. prt.Anchored=true
  306. prt.CFrame=cframe
  307. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  308. --http://www.roblox.com/asset/?id=4770560
  309. game:GetService("Debris"):AddItem(prt,2)
  310. CF=prt.CFrame
  311. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  312. for i=0,1,0.2 do
  313. wait()
  314. Part.CFrame=CF*cf(0,0,-0.4)
  315. end
  316. for i=0,1,delay do
  317. wait()
  318. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  319. Mesh.Scale=Mesh.Scale
  320. end
  321. for i=0,1,0.1 do
  322. wait()
  323. Part.Transparency=i
  324. end
  325. Part.Parent=nil
  326. end),prt,msh,CF)
  327. end
  328.  
  329. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  330. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  331. prt.Anchored=true
  332. prt.CFrame=cframe
  333. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  334. game:GetService("Debris"):AddItem(prt,5)
  335. coroutine.resume(coroutine.create(function(Part,Mesh)
  336. for i=0,1,delay do
  337. wait()
  338. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  339. Part.Transparency=i
  340. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  341. end
  342. Part.Parent=nil
  343. end),prt,msh)
  344. end
  345.  
  346. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  347. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  348. prt.Anchored=false
  349. prt.CFrame=cframe
  350. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  351. local wld=weld(prt,prt,Parent,cframe)
  352. game:GetService("Debris"):AddItem(prt,5)
  353. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  354. for i=0,1,delay do
  355. wait()
  356. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  357. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  358. Part.Transparency=i
  359. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  360. end
  361. Part.Parent=nil
  362. end),prt,msh,wld)
  363. end
  364.  
  365. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  366. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  367. prt.Anchored=false
  368. prt.CFrame=cframe
  369. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  370. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  371. game:GetService("Debris"):AddItem(prt,5)
  372. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  373. for i=0,1,delay do
  374. wait()
  375. Weld.C0=euler(i*20,0,0)
  376. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  377. Part.Transparency=i
  378. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  379. end
  380. Part.Parent=nil
  381. end),prt,msh,wld)
  382. end
  383.  
  384. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  385. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  386. prt.Anchored=true
  387. prt.CFrame=cframe
  388. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  389. game:GetService("Debris"):AddItem(prt,2)
  390. coroutine.resume(coroutine.create(function(Part,Mesh)
  391. for i=0,1,delay do
  392. wait()
  393. Part.CFrame=Part.CFrame
  394. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  395. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  396. prt2.Anchored=true
  397. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  398. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  399. game:GetService("Debris"):AddItem(prt2,2)
  400. coroutine.resume(coroutine.create(function(Part,Mesh)
  401. for i=0,1,0.1 do
  402. wait()
  403. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  404. end
  405. Part.Parent=nil
  406. end),prt2,msh2)
  407. end
  408. for i=0,1,delay*2 do
  409. wait()
  410. Part.CFrame=Part.CFrame
  411. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  412. end
  413. Part.Parent=nil
  414. end),prt,msh)
  415. end
  416.  
  417. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  418. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  419. prt.Anchored=true
  420. prt.CFrame=cframe
  421. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  422. game:GetService("Debris"):AddItem(prt,2)
  423. coroutine.resume(coroutine.create(function(Part,Mesh)
  424. for i=0,1,delay do
  425. wait()
  426. Part.CFrame=Part.CFrame
  427. Part.Transparency=i
  428. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  429. end
  430. Part.Parent=nil
  431. end),prt,msh)
  432. end
  433.  
  434. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  435. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  436. prt.Anchored=true
  437. prt.CFrame=cframe*euler(x2,y2,z2)
  438. --"http://www.roblox.com/asset/?id=168892465"
  439. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  440. game:GetService("Debris"):AddItem(prt,2)
  441. coroutine.resume(coroutine.create(function(Part,Mesh)
  442. for i=0,1,0.03 do
  443. wait()
  444. Part.CFrame=Part.CFrame
  445. Part.Transparency=i
  446. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  447. end
  448. Part.Parent=nil
  449. end),prt,msh)
  450. end
  451.  
  452. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  453. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  454. prt.Anchored=true
  455. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  456. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  457. game:GetService("Debris"):AddItem(prt,2)
  458. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  459. CF=Part.CFrame
  460. Numbb=0
  461. randnumb=math.random()/10
  462. rand1=math.random()/10
  463. for i=0,1,rand1 do
  464. wait()
  465. CF=CF*cf(0,math.random()/2,0)
  466. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  467. Part.CFrame=CF*euler(Numbb,0,0)
  468. Part.Transparency=i
  469. Numbb=Numbb+randnumb
  470. end
  471. Part.Parent=nil
  472. end),prt,CF,Numbb,randnumb)
  473. end
  474.  
  475. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  476. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  477. prt.Anchored=true
  478. prt.CFrame=cframe
  479. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  480. game:GetService("Debris"):AddItem(prt,5)
  481. coroutine.resume(coroutine.create(function(Part,Mesh)
  482. for i=0,1,delay do
  483. wait()
  484. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  485. Part.Transparency=i
  486. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  487. end
  488. Part.Parent=nil
  489. end),prt,msh)
  490. end
  491.  
  492. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  493. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  494. prt.Anchored=true
  495. prt.CFrame=cframe
  496. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  497. game:GetService("Debris"):AddItem(prt,2)
  498. coroutine.resume(coroutine.create(function(Part,Mesh)
  499. for i=0,1,delay do
  500. wait()
  501. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  502. Part.Transparency=i
  503. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  504. end
  505. Part.Parent=nil
  506. end),prt,msh)
  507. end
  508.  
  509. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  510. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  511. prt.Anchored=true
  512. prt.CFrame=cframe*cf(x,y,z)
  513. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  514. game:GetService("Debris"):AddItem(prt,5)
  515. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  516. local num=math.random()
  517. local num2=math.random(-3,2)+math.random()
  518. local numm=0
  519. for i=0,1,delay*2 do
  520. swait()
  521. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  522. Part.Transparency=i
  523. numm=numm+0.01
  524. end
  525. Part.Parent=nil
  526. Mesh.Parent=nil
  527. end),prt,msh,x,y,z)
  528. end
  529.  
  530. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  531. if hit.Parent==nil then
  532. return
  533. end
  534. h=hit.Parent:FindFirstChild("Humanoid")
  535. for _,v in pairs(hit.Parent:children()) do
  536. if v:IsA("Humanoid") then
  537. h=v
  538. end
  539. end
  540. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  541. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  542. end
  543. if hit.Parent.className=="Hat" then
  544. hit=hit.Parent.Parent:findFirstChild("Head")
  545. end
  546. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  547. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  548. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  549. return
  550. end]]
  551. -- hs(hit,1.2)
  552. c=Instance.new("ObjectValue")
  553. c.Name="creator"
  554. c.Value=game:service("Players").LocalPlayer
  555. c.Parent=h
  556. game:GetService("Debris"):AddItem(c,.5)
  557. Damage=math.random(minim,maxim)
  558. -- h:TakeDamage(Damage)
  559. blocked=false
  560. block=hit.Parent:findFirstChild("Block")
  561. if block~=nil then
  562. print(block.className)
  563. if block.className=="NumberValue" then
  564. if block.Value>0 then
  565. blocked=true
  566. if decreaseblock==nil then
  567. block.Value=block.Value-1
  568. end
  569. end
  570. end
  571. if block.className=="IntValue" then
  572. if block.Value>0 then
  573. blocked=true
  574. if decreaseblock~=nil then
  575. block.Value=block.Value-1
  576. end
  577. end
  578. end
  579. end
  580. if blocked==false then
  581. -- h:TakeDamage(Damage)
  582. h.Health=h.Health-Damage
  583. showDamage(hit.Parent,Damage,.5,TorsoColor)
  584. else
  585. h.Health=h.Health-(Damage/2)
  586. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  587. end
  588. if Type=="Knockdown" then
  589. hum=hit.Parent.Humanoid
  590. hum.PlatformStand=true
  591. coroutine.resume(coroutine.create(function(HHumanoid)
  592. swait(1)
  593. HHumanoid.PlatformStand=false
  594. end),hum)
  595. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  596. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  597. local bodvol=Instance.new("BodyVelocity")
  598. bodvol.velocity=angle*knockback
  599. bodvol.P=5000
  600. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  601. bodvol.Parent=hit
  602. rl=Instance.new("BodyAngularVelocity")
  603. rl.P=3000
  604. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  605. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  606. rl.Parent=hit
  607. game:GetService("Debris"):AddItem(bodvol,.5)
  608. game:GetService("Debris"):AddItem(rl,.5)
  609. elseif Type=="Normal" then
  610. vp=Instance.new("BodyVelocity")
  611. vp.P=500
  612. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  613. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  614. if KnockbackType==1 then
  615. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  616. elseif KnockbackType==2 then
  617. vp.velocity=Property.CFrame.lookVector*knockback
  618. end
  619. if knockback>0 then
  620. vp.Parent=hit.Parent.Torso
  621. end
  622. game:GetService("Debris"):AddItem(vp,.5)
  623. elseif Type=="Up" then
  624. local bodyVelocity=Instance.new("BodyVelocity")
  625. bodyVelocity.velocity=vt(0,10,0)
  626. bodyVelocity.P=1000
  627. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  628. bodyVelocity.Parent=hit
  629. game:GetService("Debris"):AddItem(bodyVelocity,1)
  630. rl=Instance.new("BodyAngularVelocity")
  631. rl.P=3000
  632. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  633. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  634. rl.Parent=hit
  635. game:GetService("Debris"):AddItem(rl,.5)
  636. elseif Type=="Snare" then
  637. bp=Instance.new("BodyPosition")
  638. bp.P=2000
  639. bp.D=100
  640. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  641. bp.position=hit.Parent.Torso.Position
  642. bp.Parent=hit.Parent.Torso
  643. game:GetService("Debris"):AddItem(bp,1)
  644. elseif Type=="Target" then
  645. if Targetting==false then
  646. ZTarget=hit.Parent.Torso
  647. coroutine.resume(coroutine.create(function(Part)
  648. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  649. swait(5)
  650. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  651. end),ZTarget)
  652. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  653. targetgui=Instance.new("BillboardGui")
  654. targetgui.Parent=ZTarget
  655. targetgui.Size=UDim2.new(10,100,10,100)
  656. targ=Instance.new("ImageLabel")
  657. targ.Parent=targetgui
  658. targ.BackgroundTransparency=1
  659. targ.Image="rbxassetid://4834067"
  660. targ.Size=UDim2.new(1,0,1,0)
  661. cam.CameraType="Scriptable"
  662. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  663. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  664. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  665. Targetting=true
  666. RocketTarget=ZTarget
  667. for i=1,Property do
  668. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  669. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  670. swait()
  671. end
  672. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  673. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  674. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  675. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  676. end
  677. Targetting=false
  678. RocketTarget=nil
  679. targetgui.Parent=nil
  680. cam.CameraType="Custom"
  681. end
  682. end
  683. debounce=Instance.new("BoolValue")
  684. debounce.Name="DebounceHit"
  685. debounce.Parent=hit.Parent
  686. debounce.Value=true
  687. game:GetService("Debris"):AddItem(debounce,Delay)
  688. c=Instance.new("ObjectValue")
  689. c.Name="creator"
  690. c.Value=Player
  691. c.Parent=h
  692. game:GetService("Debris"):AddItem(c,.5)
  693. CRIT=false
  694. hitDeb=true
  695. AttackPos=6
  696. end
  697. end
  698.  
  699. showDamage=function(Char,Dealt,du,Color)
  700. m=Instance.new("Model")
  701. m.Name=tostring(Dealt)
  702. h=Instance.new("Humanoid")
  703. h.Health=0
  704. h.MaxHealth=0
  705. h.Parent=m
  706. c=Instance.new("Part")
  707. c.Transparency=0
  708. c.BrickColor=TorsoColor
  709. c.Name="Head"
  710. c.TopSurface=0
  711. c.BottomSurface=0
  712. c.formFactor="Plate"
  713. c.Size=Vector3.new(1,.4,1)
  714. ms=Instance.new("CylinderMesh")
  715. ms.Scale=Vector3.new(.8,.8,.8)
  716. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  717. if CRIT==true then
  718. ms.Scale=Vector3.new(1,1.25,1)
  719. end
  720. ms.Parent=c
  721. c.Reflectance=0
  722. Instance.new("BodyGyro").Parent=c
  723. c.Parent=m
  724. if Char:findFirstChild("Head")~=nil then
  725. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  726. elseif Char.Parent:findFirstChild("Head")~=nil then
  727. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  728. end
  729. f=Instance.new("BodyPosition")
  730. f.P=2000
  731. f.D=100
  732. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  733. f.position=c.Position+Vector3.new(0,3,0)
  734. f.Parent=c
  735. game:GetService("Debris"):AddItem(m,.5+du)
  736. c.CanCollide=false
  737. m.Parent=workspace
  738. c.CanCollide=false
  739. end
  740.  
  741. Player=game:GetService('Players').LocalPlayer
  742. Character=Player.Character
  743. Mouse=Player:GetMouse()
  744. m=Instance.new('Model',Character)
  745.  
  746.  
  747. local function weldBetween(a, b)
  748. local weldd = Instance.new("ManualWeld")
  749. weldd.Part0 = a
  750. weldd.Part1 = b
  751. weldd.C0 = CFrame.new()
  752. weldd.C1 = b.CFrame:inverse() * a.CFrame
  753. weldd.Parent = a
  754. return weldd
  755. end
  756.  
  757. it=Instance.new
  758.  
  759. function nooutline(part)
  760. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  761. end
  762.  
  763. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  764. local fp=it("Part")
  765. fp.formFactor=formfactor
  766. fp.Parent=parent
  767. fp.Reflectance=reflectance
  768. fp.Transparency=transparency
  769. fp.CanCollide=false
  770. fp.Locked=true
  771. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  772. fp.Name=name
  773. fp.Size=size
  774. fp.Position=Character.Torso.Position
  775. nooutline(fp)
  776. fp.Material=material
  777. fp:BreakJoints()
  778. return fp
  779. end
  780.  
  781. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  782. local mesh=it(Mesh)
  783. mesh.Parent=part
  784. if Mesh=="SpecialMesh" then
  785. mesh.MeshType=meshtype
  786. mesh.MeshId=meshid
  787. end
  788. mesh.Offset=offset
  789. mesh.Scale=scale
  790. return mesh
  791. end
  792.  
  793. function weld(parent,part0,part1,c0,c1)
  794. local weld=it("Weld")
  795. weld.Parent=parent
  796. weld.Part0=part0
  797. weld.Part1=part1
  798. weld.C0=c0
  799. weld.C1=c1
  800. return weld
  801. end
  802.  
  803. local modelzorz=Instance.new("Model")
  804. modelzorz.Parent=Character
  805. modelzorz.Name="Claw1"
  806.  
  807. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  808. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  809. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  811. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  813. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  814. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  816. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  817. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  818. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  819. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  820. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  822. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  824. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  825. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  826. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  828. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  830. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  831. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  832. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  833. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  834. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  835. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  836. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  837. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  838. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  839. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  840. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  841. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  843. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  844. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  845. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  846. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  847. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  848.  
  849. --[[
  850. local modelzorz2=Instance.new("Model")
  851. modelzorz2.Parent=Character
  852. modelzorz2.Name="Claw2"
  853.  
  854. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  855. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  856. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  857. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  858. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  859. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  860. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  861. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  862. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  864. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  865. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  866. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  867. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  868. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  869. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  870. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  872. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  873. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  875. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  877. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  878. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  880. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  882. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  883. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  885. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  887. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  888. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  889. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  890. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  891. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  892. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  894. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  895. ]]--
  896.  
  897. -- GUN PART ---------------------------
  898.  
  899.  
  900. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(1, 1, 0.800000072))
  901. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, 0.000112533569, -8.82148743e-006, -5.13637077e-010, -9.34523126e-010, 0.999993324, 0.999993324, -1.55961271e-008, 5.12500209e-010, 1.54810991e-008, 0.999992251, 9.32938282e-010))
  902. Barrel4A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  903. Barrel4Aweld=weld(m,HandleB,Barrel4A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700273514, -1.89999568, -0.200382233, 7.9176798e-006, 0.999986649, 1.00922007e-005, 5.66249946e-006, 1.00922507e-005, -1, -0.999986649, 7.91774073e-006, -5.66249219e-006))
  904. Barrel5A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel5A",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  905. Barrel5Aweld=weld(m,HandleB,Barrel5A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700338364, -1.89999771, 0.0996551514, 7.91767525e-006, 0.999986649, 1.00922598e-005, 5.662278e-006, 1.00923098e-005, -1, -0.999986649, 7.91773527e-006, -5.66227072e-006))
  906. Barrel6A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel6A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  907. Barrel6Aweld=weld(m,HandleB,Barrel6A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700332642, -1.89999914, 0.399604797, 7.91767798e-006, 0.999986649, 1.00922207e-005, 5.66242488e-006, 1.00922707e-005, -1, -0.999986649, 7.917738e-006, -5.66241761e-006))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  909. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39950943, -2.3000021, -0.700250626, 0.999986649, 2.24909646e-010, 4.70967154e-010, -4.74188411e-010, -5.56574378e-008, 1, 2.27183439e-010, -0.999986649, -5.54278046e-008))
  910. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  912. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200298309, 1.70499992, -0.70026207, 0.999986649, 3.25459687e-010, 6.09574891e-010, -6.1279426e-010, -5.37770717e-008, 1, 3.27733451e-010, -0.999986649, -5.35474207e-008))
  913. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012))
  915. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996704102, 1.70499897, -0.700256348, 0.999986649, 3.25459326e-010, 6.09557238e-010, -6.12776663e-010, -5.28618074e-008, 1, 3.27733063e-010, -0.999986649, -5.26321386e-008))
  916. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  918. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.70000124, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  919. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  920. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  921. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 0.699999332, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  922. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  923. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  924. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000354766846, 0.699999332, 0.404693604, 0.999986649, 1.1949472e-010, 2.8891356e-010, -2.92137314e-010, -5.02095787e-008, 1, 1.21768429e-010, -0.999986649, -4.9979878e-008))
  925. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  926. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.89999723, -0.700302124, 0.999986649, 1.81069548e-010, 4.05318112e-010, -4.08540202e-010, -5.60037847e-008, 1, 1.83343313e-010, -0.999986649, -5.57741586e-008))
  927. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  928. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  929. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.700058937, 0.404985428, 0.999986649, 5.06481115e-007, -8.88550039e-006, 8.88538398e-006, -1.53480414e-005, 1, 5.06347078e-007, -0.999986649, -1.53480123e-005))
  930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  931. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410140991, -0.700058937, -2.86102295e-005, 0.999986649, 5.06480035e-007, -8.88562045e-006, 8.88550676e-006, -1.53479523e-005, 1, 5.06345941e-007, -0.999986649, -1.53479305e-005))
  932. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  933. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409835815, -0.700058699, -2.47955322e-005, 0.999986649, 5.06473384e-007, -8.88574777e-006, 8.88563409e-006, -1.53484561e-005, 1, 5.0633929e-007, -0.999986649, -1.53484343e-005))
  934. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  935. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200374603, 1.69999969, -0.700273514, 0.999986649, 1.95510885e-010, 4.26103208e-010, -4.29325075e-010, -5.68092915e-008, 1, 1.9778465e-010, -0.999986649, -5.65796761e-008))
  936. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  937. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036))
  938. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995597839, 0.899998665, -0.700296402, 0.999986649, 1.82185933e-010, 4.06940814e-010, -4.10131984e-010, -5.61190348e-008, 1, 1.84459698e-010, -0.999986649, -5.58892772e-008))
  939. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  940. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025))
  941. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400348663, 0.700309753, -1.39999938, 0.999986649, 4.33706404e-011, 9.50293177e-011, -4.56443772e-011, 0.999986649, 2.17802665e-010, -9.82245951e-011, -4.48304505e-010, 1))
  942. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964))
  943. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700330734, -0.600002289, -0.199569702, 1.87184696e-006, -0.999986649, 1.0768357e-006, -3.12246243e-007, -1.0765915e-006, -1, 0.999986649, 1.87184435e-006, -3.12255651e-007))
  944. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  945. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  946. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399551392, 0.900000334, -0.700281143, 0.999986649, 2.12532297e-010, 4.46642945e-010, -4.4986459e-010, -5.53439889e-008, 1, 2.14806062e-010, -0.999986649, -5.51143557e-008))
  947. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  948. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  949. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.49999881, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  950. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  951. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  952. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.10000229, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  953. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  954. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006))
  955. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200496674, -1.60000134, -0.700332642, 0.999986649, 1.74215392e-010, 3.95577848e-010, -3.98800049e-010, -5.57730289e-008, 1, 1.76489184e-010, -0.999986649, -5.55433957e-008))
  956. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  957. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  958. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200405121, 0.900000334, -0.700304031, 0.999986649, 2.04794931e-010, 4.35489422e-010, -4.38711178e-010, -5.59133824e-008, 1, 2.07068696e-010, -0.999986649, -5.56837598e-008))
  959. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  960. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  961. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700307846, -0.600000143, 0.299545288, 1.0860814e-006, -0.999986649, 1.22885763e-006, 2.51865401e-007, 1.22861104e-006, 1, -0.999986649, -1.08607878e-006, 2.51873274e-007))
  962. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  963. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066))
  964. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996398926, 0.70029068, -2.14576721e-006, 0.999986649, 3.7787995e-011, 9.27144472e-011, -4.00617317e-011, 0.999986649, 1.00676356e-009, -9.59097246e-011, -1.23725208e-009, 1))
  965. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  966. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200492859, -2.30000019, -0.700273514, 0.999986649, 2.13633666e-010, 4.54880855e-010, -4.58102278e-010, -5.5424934e-008, 1, 2.15907459e-010, -0.999986649, -5.51953008e-008))
  967. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036))
  969. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399505615, -1.20000219, -0.700250626, 0.999986649, 2.20402863e-010, 4.64567773e-010, -4.67789085e-010, -5.56560096e-008, 1, 2.22676655e-010, -0.999986649, -5.54263728e-008))
  970. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  971. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  972. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399719238, 1.70499969, -0.700256348, 0.999986649, 3.29966443e-010, 6.15962115e-010, -6.19181484e-010, -5.33209956e-008, 1, 3.3224018e-010, -0.999986649, -5.3091334e-008))
  973. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  974. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  975. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.09999871, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  976. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999))
  977. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019))
  978. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400318146, 0.700298309, -0.100000381, 0.999986649, 2.87218582e-011, 7.42863548e-011, -3.0995595e-011, 0.999986649, 3.27936789e-010, -7.74819098e-011, -5.58436852e-010, 1))
  979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072))
  980. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100364685, 0.700286865, -0.600000858, 0.999986649, 2.75119372e-011, 7.16121606e-011, -2.97856739e-011, 0.999986649, 4.25513846e-010, -7.48077711e-011, -6.56010357e-010, 1))
  981. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  982. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700284958, -0.900002718, 0.400382996, 2.85113333e-006, -0.999986649, 1.24790631e-006, -2.03824266e-006, -1.24766507e-006, -1, 0.999986649, 2.85112856e-006, -2.03827699e-006))
  983. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  984. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  985. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409973145, 0.700000763, 8.39233398e-005, 0.999986649, 3.77252896e-010, 6.4611394e-010, -6.49305831e-010, -4.78722271e-008, 1, 3.79512477e-010, -0.999986649, -4.76382809e-008))
  986. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  987. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, 0.699999332, -0.405292511, 0.999986649, 1.17249405e-010, 2.85726331e-010, -2.88950197e-010, -5.04469853e-008, 1, 1.19523141e-010, -0.999986649, -5.0217281e-008))
  988. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  989. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409610748, 0.699999332, -0.000310897827, 0.999986649, 1.17249349e-010, 2.85726443e-010, -2.88950308e-010, -5.04469853e-008, 1, 1.19523086e-010, -0.999986649, -5.0217281e-008))
  990. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  991. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000164031982, -0.700058937, -0.405000687, 0.999986649, 5.06467813e-007, -8.88587419e-006, 8.88576051e-006, -1.53488418e-005, 1, 5.0633372e-007, -0.999986649, -1.53488199e-005))
  992. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036))
  993. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.00000286, -0.700296402, 0.999986649, 1.7766863e-010, 4.00603883e-010, -4.03795108e-010, -5.63463871e-008, 1, 1.79942367e-010, -0.999986649, -5.61166367e-008))
  994. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  995. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  996. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.70032692, -2.19999671, 0.400455475, -1.13279009e-006, 0.999986649, -1.23916982e-006, 3.2159258e-007, 1.23892323e-006, 1, 0.999986649, 1.13278747e-006, -3.21601505e-007))
  997. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  998. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  999. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995979309, 1.69999874, -0.700267792, 0.999986649, 1.93360383e-010, 4.22906765e-010, -4.26128688e-010, -5.61221967e-008, 1, 1.9563412e-010, -0.999986649, -5.58925741e-008))
  1000. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1001. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1002. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399623871, 1.69999945, -0.70026207, 0.999986649, 1.97764305e-010, 4.29296765e-010, -4.32518632e-010, -5.65812428e-008, 1, 2.00038042e-010, -0.999986649, -5.63516203e-008))
  1003. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1004.  
  1005.  
  1006. -- GUN PART ---------------------------
  1007.  
  1008. -- barrel -------
  1009.  
  1010. GunHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1011. GunHandleAweld=weld(m,GunConnectorA,GunHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000495910645, -0.00170707703, -0.00163197517, 0.999986649, 4.22736013e-011, 1.67127983e-008, -4.45420784e-011, 0.999986649, 6.05984596e-009, -1.67201968e-008, -6.30252028e-009, 1))
  1012. mesh("CylinderMesh",GunHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1013. GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1014. GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.19616699e-005, -7.62939453e-006, -1.66893005e-006, 0.999986649, 1.24759092e-011, 7.23904825e-011, -1.47443169e-011, 0.999986649, 2.54799559e-009, -8.00138289e-011, -2.79077916e-009, 1))
  1015. mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1016.  
  1017. BackHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BackHandle",Vector3.new(0.800000012, 0.600000024, 1.20000005))
  1018. BackHandleweld=weld(m,Character["Torso"],BackHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000143051147, 0.799930573, 0.20047307, 0.999993324, -1.62740506e-008, 2.05381559e-010, 2.06515763e-010, 6.19668095e-010, -0.999993324, 1.61529243e-008, 0.999992371, 6.15865525e-010))
  1019.  
  1020. JointConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1021. JointConnectorAweld=weld(m,BackHandle,JointConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.797990799, -0.199465752, -1.34834088e-011, -0.999986649, -8.9196428e-012, 0.999986649, -1.12150289e-011, -9.5399777e-010, 7.12287118e-010, -1.33471012e-012, 0.999969482))
  1022. mesh("CylinderMesh",JointConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1023. JointConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1024. JointConnectorBweld=weld(m,BackHandle,JointConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 0.80194664, -0.199468851, -1.46291035e-011, -0.999986649, -5.74146286e-012, 0.999986649, -1.23607374e-011, -5.9252514e-010, 3.50306451e-010, 1.86239912e-012, 0.999984741))
  1025. mesh("CylinderMesh",JointConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1026.  
  1027. JointHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1028. JointHandleAweld=weld(m,JointConnectorA,JointHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, -5.91278076e-005, -9.53674316e-007, 0.999986649, 1.01844921e-011, 6.03297412e-011, -1.24528582e-011, 0.999986649, 2.30521913e-009, -6.79519219e-011, -2.54792187e-009, 1))
  1029. mesh("CylinderMesh",JointHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1030. GunConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1031. GunConnectorAweld=weld(m,JointHandleA,GunConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-005, -1.10033035, -0.600126028, 0.999986649, -5.74137266e-011, -4.820222e-011, 5.51453327e-011, 0.999986649, -2.96968938e-009, 4.05803169e-011, 2.72697953e-009, 1))
  1032. mesh("CylinderMesh",GunConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1033. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1034. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000270843506, 0.701763153, 0.601624489, 0.999986649, 2.62356498e-010, 1.72325603e-008, 2.64626931e-010, -0.999986649, -1.20365556e-007, 1.72399481e-008, 1.20606614e-007, -1))
  1035. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1036. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1037. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, 0.501737595, 0.601624966, 0.999986649, 2.5675484e-010, 1.72236128e-008, 2.5902322e-010, -0.999986649, -3.20770077e-010, 1.72309988e-008, 5.63439961e-010, -1))
  1038. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1039. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1040. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000305175781, -0.901706696, -0.601625204, 0.999986649, -3.76128156e-011, 1.66311658e-008, 3.53444635e-011, 0.999986649, -4.45636417e-010, -1.66385625e-008, 2.02958539e-010, 1))
  1041. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1042. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1043. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301893234, 1.90734863e-005, -0.200528145, -3.0438152e-011, 0.999986649, 1.30145672e-010, -0.999986649, -2.81697998e-011, -3.97587518e-012, -1.15972232e-011, -3.72825326e-010, 1))
  1044. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1045. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, 0.49947238, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1046. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1047. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, -0.900527954, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1048.  
  1049. JointHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1050. JointHandleBweld=weld(m,JointConnectorB,JointHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -2.86102295e-005, -9.53674316e-007, 0.999986649, 7.93920485e-012, 4.95208874e-011, -1.02075709e-011, 0.999986649, 2.06251638e-009, -5.71430681e-011, -2.3052209e-009, 1))
  1051. mesh("CylinderMesh",JointHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1052. GunConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1053. GunConnectorBweld=weld(m,JointHandleB,GunConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.2479248e-005, 1.09965706, -0.600126028, 0.999986649, -6.42187553e-011, -7.10619341e-011, 6.19503615e-011, 0.999986649, -3.69769282e-009, 6.34394759e-011, 3.4549652e-009, 1))
  1054. mesh("CylinderMesh",GunConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1055. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1056. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-005, 0.699949265, -0.600000381, 0.999986649, -5.30060024e-011, -6.93863855e-011, 5.07376224e-011, 0.999986649, -3.23638005e-009, 6.17638718e-011, 2.99365954e-009, 1))
  1057. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1058. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000063, 0.800000012))
  1059. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.899938583, -0.600000381, 0.999986649, -5.2982993e-011, -6.49554854e-011, 5.07146408e-011, 0.999986649, -3.23178284e-009, 5.73329162e-011, 2.98905789e-009, 1))
  1060. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1061. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1062. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 0.49993515, -0.600000381, 0.999986649, -3.48823748e-011, -1.28634325e-011, 3.26140087e-011, 0.999986649, -1.29975941e-009, 5.24147392e-012, 1.05705666e-009, 1))
  1063. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1064. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1065. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298002243, 2.28881836e-005, -0.200527906, -2.9303962e-011, 0.999986649, 8.83737528e-012, -0.999986649, -2.7035596e-011, -1.70308212e-013, -7.79232234e-012, -2.51525911e-010, 1))
  1066. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1067. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298007965, 2.28881836e-005, 0.499472857, -3.15723281e-011, 0.999986649, 8.81961171e-012, -0.999986649, -2.9303962e-011, 5.19134735e-012, -2.4307778e-012, -2.51514365e-010, 1))
  1068. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1069. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298036575, 1.90734863e-005, -0.900527716, -2.47674659e-011, 0.999986649, 2.51393573e-010, -0.999986649, -2.24990998e-011, -2.43050025e-012, -1.00525144e-011, -4.94083885e-010, 1))
  1070.  
  1071. -- barrel part ---------
  1072.  
  1073.  
  1074. local modelzorz3=Instance.new("Model")
  1075. modelzorz3.Parent=Character
  1076. modelzorz3.Name="Eye"
  1077.  
  1078. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1079. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1080. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1081. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1082. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1083. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  1084. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1085. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1086. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  1087. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  1088. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1089. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  1090. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  1091. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1092. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  1093. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1094. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  1095. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1096. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1097. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1098. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1099. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1100. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  1101.  
  1102. local moosick = it("Sound",Character.Torso)
  1103. moosick.SoundId = "rbxassetid://142653441"
  1104. --142653441, 175067863
  1105. moosick.Looped = true
  1106. moosick.Pitch = 1
  1107. moosick.Volume = 0
  1108. moosick:Play()
  1109.  
  1110. anim = Character:findFirstChild("Animate")
  1111. if anim then
  1112. anim:Destroy()
  1113. end
  1114.  
  1115. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1116. particleemitter.VelocitySpread = 180
  1117. particleemitter.Lifetime = NumberRange.new(0.1)
  1118. particleemitter.Speed = NumberRange.new(2)
  1119. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1120. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1121. particleemitter.Rate = 100
  1122. particleemitter.Rotation = NumberRange.new(-45, 45)
  1123. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1124. particleemitter.LightEmission = 0
  1125. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1126.  
  1127. --[[
  1128. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1129. particleemitter.VelocitySpread = 180
  1130. particleemitter.Lifetime = NumberRange.new(0.1)
  1131. particleemitter.Speed = NumberRange.new(2)
  1132. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1133. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1134. particleemitter.Rate = 100
  1135. particleemitter.Rotation = NumberRange.new(-45, 45)
  1136. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1137. particleemitter.LightEmission = 0
  1138. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1139. ]]--
  1140.  
  1141. local particleemitter = Instance.new("ParticleEmitter", handle)
  1142. particleemitter.VelocitySpread = 180
  1143. particleemitter.Lifetime = NumberRange.new(0.1)
  1144. particleemitter.Speed = NumberRange.new(2)
  1145. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1146. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1147. particleemitter.Rate = 100
  1148. particleemitter.Rotation = NumberRange.new(-45, 45)
  1149. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1150. particleemitter.LightEmission = 0.8
  1151. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1152.  
  1153. local light = Instance.new("PointLight", Character.Torso)
  1154. light.Color = Color3.new(255,255,255)
  1155. light.Brightness = 5
  1156. light.Range = 15
  1157.  
  1158. particleemitter.Enabled = true
  1159.  
  1160. local Footsteps = it("Sound",Character.Torso)
  1161. Footsteps.SoundId = "rbxassetid://142665235"
  1162. Footsteps.Looped = true
  1163. Footsteps.Pitch = 0.8
  1164. Footsteps.Volume = 0.3
  1165.  
  1166. local Footsteps2 = it("Sound",Character.Torso)
  1167. Footsteps2.SoundId = "rbxassetid://142665235"
  1168. Footsteps2.Looped = true
  1169. Footsteps2.Pitch = 1
  1170. Footsteps2.Volume = 0.4
  1171.  
  1172. local cam = game.Workspace.CurrentCamera
  1173.  
  1174. --cam.CameraSubject = Character
  1175.  
  1176. for i,v in pairs(Head:children()) do
  1177. if v:IsA("Sound") then
  1178. v:Destroy()
  1179. end
  1180. end
  1181.  
  1182. mouse.Button1Down:connect(function()
  1183. if attack==false and attacktype==1 then
  1184. attacktype=2
  1185. attackone()
  1186. elseif attack==false and attacktype==2 then
  1187. attacktype=3
  1188. attacktwo()
  1189. elseif attack==false and attacktype==3 then
  1190. attacktype=4
  1191. attackthree()
  1192. elseif attack==false and attacktype==4 then
  1193. attacktype=1
  1194. attackfour()
  1195. end
  1196. end)
  1197.  
  1198. mouse.KeyDown:connect(function(k)
  1199. k=k:lower()
  1200. if k=='e' then
  1201. if attack==false and mana>=20 then
  1202. Push()
  1203. end
  1204. elseif k=='g' then
  1205. if attack==false and mana>=50 then
  1206. Twirl()
  1207. end
  1208. elseif k=='v' then
  1209. if attack==false and mana>=25 then
  1210. MagicJump()
  1211. end
  1212. elseif k=='q' then
  1213. if attack==false then
  1214. idle=1000
  1215. end
  1216. elseif k=='h' then
  1217. if attack==false then
  1218. mana=100
  1219. end
  1220. elseif k=='y' then
  1221. if attack==false and mana>=100 then
  1222. Shred()
  1223. end
  1224. elseif k=='f' then
  1225. if attack==false and mana>=40 then
  1226. Spin()
  1227. end
  1228. elseif k=='r' then
  1229. if attack==false and mana>=20 then
  1230. Clap()
  1231. end
  1232. elseif k=='t' then
  1233. if attack==false then
  1234. Hai()
  1235. end
  1236. elseif k=='0' then
  1237. if attack==false then
  1238. Humanoid.WalkSpeed=(24)
  1239. end
  1240. elseif k=='j' then
  1241. if attack==false then
  1242. Humanoid.Health = 10
  1243. print("Congrats, you commited suicide.")
  1244. end
  1245. end
  1246. end)
  1247.  
  1248. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1249. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1250. prt.Anchored=true
  1251. prt.CFrame=cframe
  1252. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1253. game:GetService("Debris"):AddItem(prt,2)
  1254. coroutine.resume(coroutine.create(function(Part,Mesh)
  1255. for i=0,1,delay do
  1256. wait()
  1257. Part.CFrame=Part.CFrame
  1258. Part.Transparency=i
  1259. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1260. end
  1261. Part.Parent=nil
  1262. end),prt,msh)
  1263. end
  1264.  
  1265. TrailDeb = false
  1266. --[[
  1267. function equipanim()
  1268. attack=true
  1269. Humanoid.WalkSpeed = 0
  1270. if TrailDeb == false then
  1271. TrailDeb = true
  1272. end
  1273.  
  1274.  
  1275. coroutine.wrap(function()
  1276. local Old = handle.CFrame.p
  1277. while wait()do
  1278. if not TrailDeb then break end
  1279. local New = handle.CFrame.p
  1280. local Mag =(Old -New).magnitude
  1281. local Dis =(Old +New)/2
  1282. local Trail = Instance.new("Part",Character)
  1283. Trail.Material = "Neon"
  1284. Trail.Anchored = true
  1285. Trail.CanCollide = false
  1286. Trail.BrickColor = TorsoColor
  1287. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1288. Trail.TopSurface = 0
  1289. Trail.BottomSurface = 0
  1290. Trail.formFactor = "Custom"
  1291. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1292. local ms = Instance.new("BlockMesh",Trail)
  1293. ms.Scale = Vector3.new(1,1,1)
  1294. local TM = Instance.new("CylinderMesh",Trail)
  1295. TM.Scale = Vector3.new(1,1,1)
  1296. Old = New
  1297. coroutine.wrap(function()
  1298. for i = 1,0,-0.1 do
  1299. wait()
  1300. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1301. end
  1302. Trail:remove()
  1303. end)()
  1304. coroutine.wrap(function()
  1305. for i = 1,10 do
  1306. wait()
  1307. Trail.Transparency = Trail.Transparency +0.1
  1308. end end)()end end)()
  1309. coroutine.wrap(function()
  1310. local Old = Handle.CFrame.p
  1311. while wait()do
  1312. if not TrailDeb then break end
  1313. local New = Handle.CFrame.p
  1314. local Mag =(Old -New).magnitude
  1315. local Dis =(Old +New)/2
  1316. local Trail = Instance.new("Part",Character)
  1317. Trail.Material = "Neon"
  1318. Trail.Anchored = true
  1319. Trail.CanCollide = false
  1320. Trail.BrickColor = TorsoColor
  1321. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1322. Trail.TopSurface = 0
  1323. Trail.BottomSurface = 0
  1324. Trail.formFactor = "Custom"
  1325. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1326. local ms = Instance.new("BlockMesh",Trail)
  1327. ms.Scale = Vector3.new(1,1,1)
  1328. local TM = Instance.new("CylinderMesh",Trail)
  1329. TM.Scale = Vector3.new(1,1,1)
  1330. Old = New
  1331. coroutine.wrap(function()
  1332. for i = 1,0,-0.1 do
  1333. wait()
  1334. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1335. end
  1336. Trail:remove()
  1337. end)()
  1338. coroutine.wrap(function()
  1339. for i = 1,10 do
  1340. wait()
  1341. Trail.Transparency = Trail.Transparency +0.1
  1342. end end)()end end)()
  1343. coroutine.wrap(function()
  1344. --local Old = Handle2.CFrame.p
  1345. while wait()do
  1346. if not TrailDeb then break end
  1347. --local New = Handle2.CFrame.p
  1348. --local Mag =(Old -New).magnitude
  1349. --local Dis =(Old +New)/2
  1350. local Trail = Instance.new("Part",Character)
  1351. Trail.Material = "Neon"
  1352. Trail.Anchored = true
  1353. Trail.CanCollide = false
  1354. Trail.BrickColor = TorsoColor
  1355. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  1356. Trail.TopSurface = 0
  1357. Trail.BottomSurface = 0
  1358. Trail.formFactor = "Custom"
  1359. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1360. local ms = Instance.new("BlockMesh",Trail)
  1361. ms.Scale = Vector3.new(1,1,1)
  1362. local TM = Instance.new("CylinderMesh",Trail)
  1363. TM.Scale = Vector3.new(1,1,1)
  1364. --Old = New
  1365. coroutine.wrap(function()
  1366. for i = 1,0,-0.1 do
  1367. wait()
  1368. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1369. end
  1370. Trail:remove()
  1371. end)()
  1372. coroutine.wrap(function()
  1373. for i = 1,10 do
  1374. wait()
  1375. Trail.Transparency = Trail.Transparency +0.1
  1376. end end)()end end)()
  1377. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1378. for i=0,1,0.005 do
  1379. swait()
  1380. moosick.Volume = 0+1*i
  1381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1383. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1384. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1385. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1386. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1387. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1388. end
  1389. for i=0,1,0.005 do
  1390. swait()
  1391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1393. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1394. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1395. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1396. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1397. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1398. end
  1399. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1400. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1401. for i=0,1,0.005 do
  1402. swait()
  1403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1405. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1406. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1407. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1408. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1409. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1410. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1411. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1412. end
  1413. for i=0,1,0.04 do
  1414. swait()
  1415. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1416. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1417. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1418. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1419. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1420. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1421. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1422. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1423. end
  1424. --dmgstop()
  1425. attack=false
  1426. Humanoid.WalkSpeed = 12
  1427. if TrailDeb == true then
  1428. TrailDeb = false
  1429. end
  1430. end
  1431. ]]--
  1432.  
  1433. function attackone()
  1434. attack=true
  1435. if TrailDeb == false then
  1436. TrailDeb = true
  1437. end
  1438.  
  1439.  
  1440. coroutine.wrap(function()
  1441. local Old = Handle.CFrame.p
  1442. while wait()do
  1443. if not TrailDeb then break end
  1444. local New = Handle.CFrame.p
  1445. local Mag =(Old -New).magnitude
  1446. local Dis =(Old +New)/2
  1447. local Trail = Instance.new("Part",Character)
  1448. Trail.Material = "Neon"
  1449. Trail.Anchored = true
  1450. Trail.CanCollide = false
  1451. Trail.BrickColor = TorsoColor
  1452. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1453. Trail.TopSurface = 0
  1454. Trail.BottomSurface = 0
  1455. Trail.formFactor = "Custom"
  1456. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1457. local ms = Instance.new("BlockMesh",Trail)
  1458. ms.Scale = Vector3.new(1,1,1)
  1459. local TM = Instance.new("CylinderMesh",Trail)
  1460. TM.Scale = Vector3.new(1,1,1)
  1461. Old = New
  1462. coroutine.wrap(function()
  1463. for i = 1,0,-0.1 do
  1464. wait()
  1465. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1466. end
  1467. Trail:remove()
  1468. end)()
  1469. coroutine.wrap(function()
  1470. for i = 1,10 do
  1471. wait()
  1472. Trail.Transparency = Trail.Transparency +0.1
  1473. end end)()end end)()
  1474. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1475. for i=0,1,0.08 do
  1476. swait()
  1477. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1478. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1479. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1480. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1481. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1482. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1483. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1484. end
  1485. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1486. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1487. for i=0,1,0.1 do
  1488. swait()
  1489. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1491. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1492. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1493. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1494. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1495. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1496. end
  1497. --dmgstop()
  1498. attack=false
  1499. con1:disconnect()
  1500. if TrailDeb == true then
  1501. TrailDeb = false
  1502. end
  1503. end
  1504.  
  1505. function attacktwo()
  1506. attack = true
  1507. for i = 0,1,0.1 do
  1508. swait()
  1509. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1510. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1511. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1512. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  1513. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1514. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1515. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1516. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1517. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1518. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1519. end
  1520. so("http://roblox.com/asset/?id=268192025",Barrel5A,1,1)
  1521. so("http://roblox.com/asset/?id=268191996",Barrel5A,1,1)
  1522. so("http://roblox.com/asset/?id=268191976",Barrel5A,1,1)
  1523. ShootCannon(Barrel5A)
  1524. ShootCannon(Barrel4A)
  1525. ShootCannon(Barrel6A)
  1526. for i = 0,1,0.1 do
  1527. swait()
  1528. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1529. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1530. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1531. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1532. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1533. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1534. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1535. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1536. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1537. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1538. end
  1539. attack = false
  1540. end
  1541.  
  1542. local Effects={}
  1543. function MagicBlockx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1544. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  1545. prt.Anchored=true
  1546. prt.CFrame=cframe
  1547. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1548. game:GetService("Debris"):AddItem(prt,5)
  1549. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  1550. end
  1551.  
  1552. function MagicCylinderx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1553. local prt=part(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1554. prt.Anchored=true
  1555. prt.CFrame=cframe
  1556. msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1557. game:GetService("Debris"):AddItem(prt,5)
  1558. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1559. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  1560. coroutine.resume(coroutine.create(function(Part,Mesh)
  1561. for i=0,1,delay do
  1562. wait()
  1563. Part.CFrame=Part.CFrame
  1564. Part.Transparency=i
  1565. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1566. end
  1567. Part.Parent=nil
  1568. end),prt,msh)
  1569. end
  1570.  
  1571. RocketTarget = RootPart
  1572. function ShootCannon(asd)
  1573. so("rbxassetid://834546352",asd,.5,1)
  1574. so("rbxassetid://263610152",asd,.5,1)
  1575. so("rbxassetid://263623139",asd,.5,1)
  1576. local MainPos=asd.Position
  1577. local MainPos2=mouse.Hit.p
  1578. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  1579. --[[local mag=(MainPos-pos).magnitude
  1580. MagicCylinder(BrickColor.new("Neon"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  1581. num=30
  1582. coroutine.resume(coroutine.create(function()
  1583. repeat
  1584. wait()
  1585. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  1586. local mag=(MainPos-pos).magnitude
  1587. MagicCylinderx(BrickColor.new("Bright orange"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  1588. MainPos=MainPos+(MouseLook.lookVector*10)
  1589. num=num-1
  1590. if hit~=nil then
  1591. num=0
  1592. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Dark blue"),"Reference",vt())
  1593. ref.Anchored=true
  1594. ref.CFrame=cf(pos)
  1595. MagniDamage(ref,hit,1,30,50,1,"Normal")
  1596. so("rbxassetid://263610039",ref,1,1)
  1597. so("rbxassetid://263610111",ref,1,1)
  1598. MagicBlockx(BrickColor.new("Dark blue"),cf(pos),20,20,20,5,5,5,0.05)
  1599. game:GetService("Debris"):AddItem(ref,1)
  1600. MagniDamage(ref,ref,15,10,20,10,"Normal")
  1601. end
  1602. until num<=0
  1603. end))
  1604. end
  1605.  
  1606. function MagicRingx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1607. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1608. prt.Anchored=true
  1609. prt.CFrame=cframe
  1610. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1611. game:GetService("Debris"):AddItem(prt,2)
  1612. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1613. for i=0,1,delay do
  1614. swait()
  1615. Part.Transparency=i
  1616. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1617. end
  1618. Part.Parent=nil
  1619. end),prt,msh,(math.random(0,1)+math.random())/5)
  1620. end
  1621.  
  1622. function attackthree()
  1623. attack=true
  1624. if TrailDeb == false then
  1625. TrailDeb = true
  1626. end
  1627.  
  1628.  
  1629. coroutine.wrap(function()
  1630. local Old = Handle.CFrame.p
  1631. while wait()do
  1632. if not TrailDeb then break end
  1633. local New = Handle.CFrame.p
  1634. local Mag =(Old -New).magnitude
  1635. local Dis =(Old +New)/2
  1636. local Trail = Instance.new("Part",Character)
  1637. Trail.Material = "Neon"
  1638. Trail.Anchored = true
  1639. Trail.CanCollide = false
  1640. Trail.BrickColor = TorsoColor
  1641. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1642. Trail.TopSurface = 0
  1643. Trail.BottomSurface = 0
  1644. Trail.formFactor = "Custom"
  1645. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1646. local ms = Instance.new("BlockMesh",Trail)
  1647. ms.Scale = Vector3.new(1,1,1)
  1648. local TM = Instance.new("CylinderMesh",Trail)
  1649. TM.Scale = Vector3.new(1,1,1)
  1650. Old = New
  1651. coroutine.wrap(function()
  1652. for i = 1,0,-0.1 do
  1653. wait()
  1654. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1655. end
  1656. Trail:remove()
  1657. end)()
  1658. coroutine.wrap(function()
  1659. for i = 1,10 do
  1660. wait()
  1661. Trail.Transparency = Trail.Transparency +0.1
  1662. end end)()end end)()
  1663. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1664. for i=0,1,0.08 do
  1665. swait()
  1666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1668. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1669. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1670. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1671. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1672. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1673. end
  1674. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1675. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1676. for i=0,1,0.05 do
  1677. swait()
  1678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1680. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1681. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1682. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1683. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1684. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1685. end
  1686. --dmgstop()
  1687. attack=false
  1688. con1:disconnect()
  1689. if TrailDeb == true then
  1690. TrailDeb = false
  1691. end
  1692. end
  1693.  
  1694. function attackfour()
  1695. attack=true
  1696. if TrailDeb == false then
  1697. TrailDeb = true
  1698. end
  1699.  
  1700.  
  1701. coroutine.wrap(function()
  1702. --local Old = Handle2.CFrame.p
  1703. while wait()do
  1704. if not TrailDeb then break end
  1705. --local New = Handle2.CFrame.p
  1706. --local Mag =(Old -New).magnitude
  1707. --local Dis =(Old +New)/2
  1708. local Trail = Instance.new("Part",Character)
  1709. Trail.Material = "Neon"
  1710. Trail.Anchored = true
  1711. Trail.CanCollide = false
  1712. Trail.BrickColor = TorsoColor
  1713. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  1714. Trail.TopSurface = 0
  1715. Trail.BottomSurface = 0
  1716. Trail.formFactor = "Custom"
  1717. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1718. local ms = Instance.new("BlockMesh",Trail)
  1719. ms.Scale = Vector3.new(1,1,1)
  1720. local TM = Instance.new("CylinderMesh",Trail)
  1721. TM.Scale = Vector3.new(1,1,1)
  1722. --Old = New
  1723. coroutine.wrap(function()
  1724. for i = 1,0,-0.1 do
  1725. wait()
  1726. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1727. end
  1728. Trail:remove()
  1729. end)()
  1730. coroutine.wrap(function()
  1731. for i = 1,10 do
  1732. wait()
  1733. Trail.Transparency = Trail.Transparency +0.1
  1734. end end)()end end)()
  1735. coroutine.wrap(function()
  1736. local Old = Handle.CFrame.p
  1737. while wait()do
  1738. if not TrailDeb then break end
  1739. local New = Handle.CFrame.p
  1740. local Mag =(Old -New).magnitude
  1741. local Dis =(Old +New)/2
  1742. local Trail = Instance.new("Part",Character)
  1743. Trail.Material = "Neon"
  1744. Trail.Anchored = true
  1745. Trail.CanCollide = false
  1746. Trail.BrickColor = TorsoColor
  1747. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1748. Trail.TopSurface = 0
  1749. Trail.BottomSurface = 0
  1750. Trail.formFactor = "Custom"
  1751. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1752. local ms = Instance.new("BlockMesh",Trail)
  1753. ms.Scale = Vector3.new(1,1,1)
  1754. local TM = Instance.new("CylinderMesh",Trail)
  1755. TM.Scale = Vector3.new(1,1,1)
  1756. Old = New
  1757. coroutine.wrap(function()
  1758. for i = 1,0,-0.1 do
  1759. wait()
  1760. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1761. end
  1762. Trail:remove()
  1763. end)()
  1764. coroutine.wrap(function()
  1765. for i = 1,10 do
  1766. wait()
  1767. Trail.Transparency = Trail.Transparency +0.1
  1768. end end)()end end)()
  1769. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1770. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1771. for i=0,1,0.08 do
  1772. swait()
  1773. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1774. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1775. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1776. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1777. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1778. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1779. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1780. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1781. end
  1782. if anim then
  1783. anim.Disabled=true
  1784. end
  1785. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1786. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1787. for i=0,1,0.04 do
  1788. swait()
  1789. Torso.Velocity=RootPart.CFrame.lookVector*50
  1790. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1791. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1792. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1793. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1794. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1795. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1796. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1797. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1798. end
  1799. --dmgstop()
  1800. attack=false
  1801. con1:disconnect()
  1802. con2:disconnect()
  1803. if anim then
  1804. anim.Disabled=false
  1805. end
  1806. if TrailDeb == true then
  1807. TrailDeb = false
  1808. end
  1809. end
  1810.  
  1811. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1812. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1813. prt.Anchored = true
  1814. prt.CFrame = cframe
  1815. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1816. coroutine.resume(coroutine.create(function()
  1817. for i = 0, 1, 0.05 do
  1818. wait()
  1819. prt.Transparency = i
  1820. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1821. end
  1822. prt.Parent = nil
  1823. end))
  1824. end
  1825.  
  1826. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1827. for _, c in pairs(workspace:children()) do
  1828. local hum = c:findFirstChild("Humanoid")
  1829. if hum ~= nil then
  1830. local head = c:findFirstChild("Torso")
  1831. if head ~= nil then
  1832. local targ = head.Position - Part.Position
  1833. local mag = targ.magnitude
  1834. if mag <= magni and c.Name ~= Player.Name then
  1835. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1836. end
  1837. end
  1838. end
  1839. end
  1840. end
  1841.  
  1842. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1843. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1844. prt.Anchored = true
  1845. prt.CFrame = cframe
  1846. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1847. game:GetService("Debris"):AddItem(prt, 2)
  1848. coroutine.resume(coroutine.create(function(Part, Mesh)
  1849. for i = 0, 1, delay do
  1850. swait()
  1851. Part.CFrame = Part.CFrame
  1852. Part.Transparency = i
  1853. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1854. end
  1855. Part.Parent = nil
  1856. end), prt, msh)
  1857. end
  1858.  
  1859. function MagicJump()
  1860. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1861. attack=true
  1862. mana=mana-25
  1863. --[[ Humanoid.WalkSpeed = 0
  1864. for i=0,1,0.01 do
  1865. swait()
  1866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1867. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1868. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1869. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1870. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1871. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  1872. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  1873. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1874. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1875. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1876. end]]--
  1877. Humanoid.Jump = true
  1878. Torso.Velocity = vt(0, 150, 0)
  1879. Humanoid.WalkSpeed = 64
  1880. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1881. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1882. for i=0,1,0.05 do
  1883. swait()
  1884. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1885. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1886. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1887. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1888. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1889. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1890. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1891. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1892. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1893. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1894. end
  1895. for i=0,1,0.02 do
  1896. swait()
  1897. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1898. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1900. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1901. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1902. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1903. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1904. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1905. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1906. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1907. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1908. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1909. end
  1910. Humanoid.WalkSpeed = 0
  1911. swait(8)
  1912. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1913. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1914. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1915. if hit~=nil then
  1916. swait(2)
  1917. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1918. ref.Anchored=true
  1919. ref.CFrame=cf(pos)
  1920. game:GetService("Debris"):AddItem(ref,3)
  1921. for i=1,10 do
  1922. local Col=BrickColor.new("Really black")
  1923. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1924. groundpart.Anchored=true
  1925. groundpart.CanCollide=false
  1926. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1927. local Col2=TorsoColor
  1928. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1929. groundpart2.Anchored=true
  1930. groundpart2.CanCollide=false
  1931. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1932. game:GetService("Debris"):AddItem(groundpart,5)
  1933. game:GetService("Debris"):AddItem(groundpart2,5)
  1934. end
  1935. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1936. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1937. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1938. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1939. for i=0,1,0.06 do
  1940. swait()
  1941. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1942. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1944. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1945. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1946. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1947. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1948. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1949. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1950. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1951. end
  1952. end
  1953. swait(20)
  1954. Humanoid.WalkSpeed = 12
  1955. --dmgstop()
  1956. attack=false
  1957. end
  1958. end
  1959.  
  1960. function Spin()
  1961. attack=true
  1962. mana=mana-40
  1963. if TrailDeb == false then
  1964. TrailDeb = true
  1965. end
  1966.  
  1967. coroutine.wrap(function()
  1968. --local Old = Handle2.CFrame.p
  1969. while wait()do
  1970. if not TrailDeb then break end
  1971. --local New = Handle2.CFrame.p
  1972. --local Mag =(Old -New).magnitude
  1973. --local Dis =(Old +New)/2
  1974. local Trail = Instance.new("Part",Character)
  1975. Trail.Material = "Neon"
  1976. Trail.Anchored = true
  1977. Trail.CanCollide = false
  1978. Trail.BrickColor = TorsoColor
  1979. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  1980. Trail.TopSurface = 0
  1981. Trail.BottomSurface = 0
  1982. Trail.formFactor = "Custom"
  1983. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1984. local ms = Instance.new("BlockMesh",Trail)
  1985. ms.Scale = Vector3.new(1,1,1)
  1986. local TM = Instance.new("CylinderMesh",Trail)
  1987. TM.Scale = Vector3.new(1,1,1)
  1988. --Old = New
  1989. coroutine.wrap(function()
  1990. for i = 1,0,-0.1 do
  1991. wait()
  1992. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1993. end
  1994. Trail:remove()
  1995. end)()
  1996. coroutine.wrap(function()
  1997. for i = 1,10 do
  1998. wait()
  1999. Trail.Transparency = Trail.Transparency +0.1
  2000. end end)()end end)()
  2001. coroutine.wrap(function()
  2002. local Old = Handle.CFrame.p
  2003. while wait()do
  2004. if not TrailDeb then break end
  2005. local New = Handle.CFrame.p
  2006. local Mag =(Old -New).magnitude
  2007. local Dis =(Old +New)/2
  2008. local Trail = Instance.new("Part",Character)
  2009. Trail.Material = "Neon"
  2010. Trail.Anchored = true
  2011. Trail.CanCollide = false
  2012. Trail.BrickColor = TorsoColor
  2013. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2014. Trail.TopSurface = 0
  2015. Trail.BottomSurface = 0
  2016. Trail.formFactor = "Custom"
  2017. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2018. local ms = Instance.new("BlockMesh",Trail)
  2019. ms.Scale = Vector3.new(1,1,1)
  2020. local TM = Instance.new("CylinderMesh",Trail)
  2021. TM.Scale = Vector3.new(1,1,1)
  2022. Old = New
  2023. coroutine.wrap(function()
  2024. for i = 1,0,-0.1 do
  2025. wait()
  2026. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2027. end
  2028. Trail:remove()
  2029. end)()
  2030. coroutine.wrap(function()
  2031. for i = 1,10 do
  2032. wait()
  2033. Trail.Transparency = Trail.Transparency +0.1
  2034. end end)()end end)()
  2035. Footsteps:Stop()
  2036. Footsteps2:Stop()
  2037. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2038. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2039. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  2040. for i=0,1,0.1 do
  2041. swait()
  2042. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2043. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2044. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2045. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2046. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2047. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2048. end
  2049. if anim then
  2050. anim.Disabled=true
  2051. end
  2052. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2053. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2054. for i=0,1,0.05 do
  2055. swait()
  2056. Torso.Velocity=RootPart.CFrame.lookVector*100
  2057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2058. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2059. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2060. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2061. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2062. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2063. end
  2064. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2065. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2066. for i=0,1,0.05 do
  2067. swait()
  2068. Torso.Velocity=RootPart.CFrame.lookVector*100
  2069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2070. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2071. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2072. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2073. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2074. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2075. end
  2076. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2077. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2078. for i=0,1,0.05 do
  2079. swait()
  2080. Torso.Velocity=RootPart.CFrame.lookVector*100
  2081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2082. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2083. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2084. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2085. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2086. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2087. end
  2088. --dmgstop()
  2089. Humanoid.WalkSpeed=12
  2090. attack=false
  2091. con1:disconnect()
  2092. con2:disconnect()
  2093. if anim then
  2094. anim.Disabled=false
  2095. end
  2096. if TrailDeb == true then
  2097. TrailDeb = false
  2098. end
  2099. end
  2100.  
  2101. function Twirl()
  2102. mana=mana-50
  2103. attack=true
  2104. if TrailDeb == false then
  2105. TrailDeb = true
  2106. end
  2107.  
  2108.  
  2109. coroutine.wrap(function()
  2110. --local Old = Handle2.CFrame.p
  2111. while wait()do
  2112. if not TrailDeb then break end
  2113. --local New = Handle2.CFrame.p
  2114. --local Mag =(Old -New).magnitude
  2115. --local Dis =(Old +New)/2
  2116. local Trail = Instance.new("Part",Character)
  2117. Trail.Material = "Neon"
  2118. Trail.Anchored = true
  2119. Trail.CanCollide = false
  2120. Trail.BrickColor = TorsoColor
  2121. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2122. Trail.TopSurface = 0
  2123. Trail.BottomSurface = 0
  2124. Trail.formFactor = "Custom"
  2125. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2126. local ms = Instance.new("BlockMesh",Trail)
  2127. ms.Scale = Vector3.new(1,1,1)
  2128. local TM = Instance.new("CylinderMesh",Trail)
  2129. TM.Scale = Vector3.new(1,1,1)
  2130. --Old = New
  2131. coroutine.wrap(function()
  2132. for i = 1,0,-0.1 do
  2133. wait()
  2134. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2135. end
  2136. Trail:remove()
  2137. end)()
  2138. coroutine.wrap(function()
  2139. for i = 1,10 do
  2140. wait()
  2141. Trail.Transparency = Trail.Transparency +0.1
  2142. end end)()end end)()
  2143. coroutine.wrap(function()
  2144. local Old = Handle.CFrame.p
  2145. while wait()do
  2146. if not TrailDeb then break end
  2147. local New = Handle.CFrame.p
  2148. local Mag =(Old -New).magnitude
  2149. local Dis =(Old +New)/2
  2150. local Trail = Instance.new("Part",Character)
  2151. Trail.Material = "Neon"
  2152. Trail.Anchored = true
  2153. Trail.CanCollide = false
  2154. Trail.BrickColor = TorsoColor
  2155. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2156. Trail.TopSurface = 0
  2157. Trail.BottomSurface = 0
  2158. Trail.formFactor = "Custom"
  2159. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2160. local ms = Instance.new("BlockMesh",Trail)
  2161. ms.Scale = Vector3.new(1,1,1)
  2162. local TM = Instance.new("CylinderMesh",Trail)
  2163. TM.Scale = Vector3.new(1,1,1)
  2164. Old = New
  2165. coroutine.wrap(function()
  2166. for i = 1,0,-0.1 do
  2167. wait()
  2168. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2169. end
  2170. Trail:remove()
  2171. end)()
  2172. coroutine.wrap(function()
  2173. for i = 1,10 do
  2174. wait()
  2175. Trail.Transparency = Trail.Transparency +0.1
  2176. end end)()end end)()
  2177. Footsteps:Stop()
  2178. Footsteps2:Stop()
  2179. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2180. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2181. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2182. for i=0,1,0.1 do
  2183. swait()
  2184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2185. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2186. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2187. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2188. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2189. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2190. end
  2191. if anim then
  2192. anim.Disabled=true
  2193. end
  2194. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2195. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2196. for i=0,1,0.05 do
  2197. swait()
  2198. Torso.Velocity=RootPart.CFrame.lookVector*80
  2199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2200. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2201. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2202. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2203. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2204. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2205. end
  2206. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2207. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2208. for i=0,1,0.05 do
  2209. swait()
  2210. Torso.Velocity=RootPart.CFrame.lookVector*80
  2211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2212. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2213. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2214. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2215. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2216. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2217. end
  2218. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2219. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2220. for i=0,1,0.05 do
  2221. swait()
  2222. Torso.Velocity=RootPart.CFrame.lookVector*80
  2223. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2224. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2225. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2226. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2227. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2228. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2229. end
  2230. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2231. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2232. for i=0,1,0.05 do
  2233. swait()
  2234. Torso.Velocity=RootPart.CFrame.lookVector*80
  2235. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2236. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2237. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2238. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2239. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2240. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2241. end
  2242. --dmgstop()
  2243. Humanoid.WalkSpeed=12
  2244. attack=false
  2245. con1:disconnect()
  2246. con2:disconnect()
  2247. if anim then
  2248. anim.Disabled=false
  2249. end
  2250. if TrailDeb == true then
  2251. TrailDeb = false
  2252. end
  2253. end
  2254.  
  2255. function Shred()
  2256. attack=true
  2257. mana=mana-100
  2258. if TrailDeb == false then
  2259. TrailDeb = true
  2260. end
  2261.  
  2262.  
  2263. coroutine.wrap(function()
  2264. --local Old = Handle2.CFrame.p
  2265. while wait()do
  2266. if not TrailDeb then break end
  2267. --local New = Handle2.CFrame.p
  2268. --local Mag =(Old -New).magnitude
  2269. --local Dis =(Old +New)/2
  2270. local Trail = Instance.new("Part",Character)
  2271. Trail.Material = "Neon"
  2272. Trail.Anchored = true
  2273. Trail.CanCollide = false
  2274. Trail.BrickColor = TorsoColor
  2275. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2276. Trail.TopSurface = 0
  2277. Trail.BottomSurface = 0
  2278. Trail.formFactor = "Custom"
  2279. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2280. local ms = Instance.new("BlockMesh",Trail)
  2281. ms.Scale = Vector3.new(1,1,1)
  2282. local TM = Instance.new("CylinderMesh",Trail)
  2283. TM.Scale = Vector3.new(1,1,1)
  2284. --Old = New
  2285. coroutine.wrap(function()
  2286. for i = 1,0,-0.1 do
  2287. wait()
  2288. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2289. end
  2290. Trail:remove()
  2291. end)()
  2292. coroutine.wrap(function()
  2293. for i = 1,10 do
  2294. wait()
  2295. Trail.Transparency = Trail.Transparency +0.1
  2296. end end)()end end)()
  2297. coroutine.wrap(function()
  2298. local Old = Handle.CFrame.p
  2299. while wait()do
  2300. if not TrailDeb then break end
  2301. local New = Handle.CFrame.p
  2302. local Mag =(Old -New).magnitude
  2303. local Dis =(Old +New)/2
  2304. local Trail = Instance.new("Part",Character)
  2305. Trail.Material = "Neon"
  2306. Trail.Anchored = true
  2307. Trail.CanCollide = false
  2308. Trail.BrickColor = TorsoColor
  2309. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2310. Trail.TopSurface = 0
  2311. Trail.BottomSurface = 0
  2312. Trail.formFactor = "Custom"
  2313. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2314. local ms = Instance.new("BlockMesh",Trail)
  2315. ms.Scale = Vector3.new(1,1,1)
  2316. local TM = Instance.new("CylinderMesh",Trail)
  2317. TM.Scale = Vector3.new(1,1,1)
  2318. Old = New
  2319. coroutine.wrap(function()
  2320. for i = 1,0,-0.1 do
  2321. wait()
  2322. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2323. end
  2324. Trail:remove()
  2325. end)()
  2326. coroutine.wrap(function()
  2327. for i = 1,10 do
  2328. wait()
  2329. Trail.Transparency = Trail.Transparency +0.1
  2330. end end)()end end)()
  2331. Footsteps:Stop()
  2332. Footsteps2:Stop()
  2333. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2334. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2335. for i=0,1,0.1 do
  2336. swait()
  2337. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2338. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2339. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2340. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2341. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2342. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2343. end
  2344. if anim then
  2345. anim.Disabled=true
  2346. end
  2347. for i=0,1,0.05 do
  2348. swait()
  2349. Torso.Velocity=RootPart.CFrame.lookVector*20
  2350. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2351. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2353. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2354. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2355. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2356. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2357. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2358. end
  2359. for i=0,1,0.05 do
  2360. swait()
  2361. Torso.Velocity=RootPart.CFrame.lookVector*40
  2362. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2363. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2365. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2366. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2367. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2368. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2369. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2370. end
  2371. for i=0,1,0.05 do
  2372. swait()
  2373. Torso.Velocity=RootPart.CFrame.lookVector*60
  2374. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2375. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2376. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2377. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2378. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2379. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2380. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2381. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2382. end
  2383. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2384. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2385. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2386. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2387. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2388. for i=0,1,0.05 do
  2389. swait()
  2390. Torso.Velocity=RootPart.CFrame.lookVector*80
  2391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2392. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2393. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2394. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2395. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2396. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2397. end
  2398. for i=0,1,0.005 do
  2399. swait()
  2400. Torso.Velocity=RootPart.CFrame.lookVector*100
  2401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2402. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2403. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2404. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2406. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2407. end
  2408. --dmgstop()
  2409. Humanoid.WalkSpeed=12
  2410. attack=false
  2411. con1:disconnect()
  2412. con2:disconnect()
  2413. if anim then
  2414. anim.Disabled=false
  2415. end
  2416. if TrailDeb == true then
  2417. TrailDeb = false
  2418. end
  2419. end
  2420.  
  2421. function Push()
  2422. attack=true
  2423. mana=mana-20
  2424. if TrailDeb == false then
  2425. TrailDeb = true
  2426. end
  2427.  
  2428.  
  2429. coroutine.wrap(function()
  2430. --local Old = Handle2.CFrame.p
  2431. while wait()do
  2432. if not TrailDeb then break end
  2433. --local New = Handle2.CFrame.p
  2434. --local Mag =(Old -New).magnitude
  2435. --local Dis =(Old +New)/2
  2436. local Trail = Instance.new("Part",Character)
  2437. Trail.Material = "Neon"
  2438. Trail.Anchored = true
  2439. Trail.CanCollide = false
  2440. Trail.BrickColor = TorsoColor
  2441. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2442. Trail.TopSurface = 0
  2443. Trail.BottomSurface = 0
  2444. Trail.formFactor = "Custom"
  2445. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2446. local ms = Instance.new("BlockMesh",Trail)
  2447. ms.Scale = Vector3.new(1,1,1)
  2448. local TM = Instance.new("CylinderMesh",Trail)
  2449. TM.Scale = Vector3.new(1,1,1)
  2450. --Old = New
  2451. coroutine.wrap(function()
  2452. for i = 1,0,-0.1 do
  2453. wait()
  2454. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2455. end
  2456. Trail:remove()
  2457. end)()
  2458. coroutine.wrap(function()
  2459. for i = 1,10 do
  2460. wait()
  2461. Trail.Transparency = Trail.Transparency +0.1
  2462. end end)()end end)()
  2463. coroutine.wrap(function()
  2464. local Old = Handle.CFrame.p
  2465. while wait()do
  2466. if not TrailDeb then break end
  2467. local New = Handle.CFrame.p
  2468. local Mag =(Old -New).magnitude
  2469. local Dis =(Old +New)/2
  2470. local Trail = Instance.new("Part",Character)
  2471. Trail.Material = "Neon"
  2472. Trail.Anchored = true
  2473. Trail.CanCollide = false
  2474. Trail.BrickColor = TorsoColor
  2475. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2476. Trail.TopSurface = 0
  2477. Trail.BottomSurface = 0
  2478. Trail.formFactor = "Custom"
  2479. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2480. local ms = Instance.new("BlockMesh",Trail)
  2481. ms.Scale = Vector3.new(1,1,1)
  2482. local TM = Instance.new("CylinderMesh",Trail)
  2483. TM.Scale = Vector3.new(1,1,1)
  2484. Old = New
  2485. coroutine.wrap(function()
  2486. for i = 1,0,-0.1 do
  2487. wait()
  2488. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2489. end
  2490. Trail:remove()
  2491. end)()
  2492. coroutine.wrap(function()
  2493. for i = 1,10 do
  2494. wait()
  2495. Trail.Transparency = Trail.Transparency +0.1
  2496. end end)()end end)()
  2497. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2498. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2499. for i=0,1,0.1 do
  2500. swait()
  2501. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2503. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2504. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2505. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2506. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2507. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2508. end
  2509. -- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2510. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2511. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2512. for i=0,1,0.1 do
  2513. swait()
  2514. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2515. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2516. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2517. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2518. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2519. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2520. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2521. end
  2522. --dmgstop()
  2523. attack=false
  2524. con1:disconnect()
  2525. con2:disconnect()
  2526. if TrailDeb == true then
  2527. TrailDeb = false
  2528. end
  2529. end
  2530.  
  2531. function Clap()
  2532. attack=true
  2533. mana=mana-20
  2534. if TrailDeb == false then
  2535. TrailDeb = true
  2536. end
  2537.  
  2538.  
  2539. coroutine.wrap(function()
  2540. --local Old = Handle2.CFrame.p
  2541. while wait()do
  2542. if not TrailDeb then break end
  2543. --local New = Handle2.CFrame.p
  2544. --local Mag =(Old -New).magnitude
  2545. --local Dis =(Old +New)/2
  2546. local Trail = Instance.new("Part",Character)
  2547. Trail.Material = "Neon"
  2548. Trail.Anchored = true
  2549. Trail.CanCollide = false
  2550. Trail.BrickColor = TorsoColor
  2551. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2552. Trail.TopSurface = 0
  2553. Trail.BottomSurface = 0
  2554. Trail.formFactor = "Custom"
  2555. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2556. local ms = Instance.new("BlockMesh",Trail)
  2557. ms.Scale = Vector3.new(1,1,1)
  2558. local TM = Instance.new("CylinderMesh",Trail)
  2559. TM.Scale = Vector3.new(1,1,1)
  2560. --Old = New
  2561. coroutine.wrap(function()
  2562. for i = 1,0,-0.1 do
  2563. wait()
  2564. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2565. end
  2566. Trail:remove()
  2567. end)()
  2568. coroutine.wrap(function()
  2569. for i = 1,10 do
  2570. wait()
  2571. Trail.Transparency = Trail.Transparency +0.1
  2572. end end)()end end)()
  2573. coroutine.wrap(function()
  2574. local Old = Handle.CFrame.p
  2575. while wait()do
  2576. if not TrailDeb then break end
  2577. local New = Handle.CFrame.p
  2578. local Mag =(Old -New).magnitude
  2579. local Dis =(Old +New)/2
  2580. local Trail = Instance.new("Part",Character)
  2581. Trail.Material = "Neon"
  2582. Trail.Anchored = true
  2583. Trail.CanCollide = false
  2584. Trail.BrickColor = TorsoColor
  2585. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2586. Trail.TopSurface = 0
  2587. Trail.BottomSurface = 0
  2588. Trail.formFactor = "Custom"
  2589. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2590. local ms = Instance.new("BlockMesh",Trail)
  2591. ms.Scale = Vector3.new(1,1,1)
  2592. local TM = Instance.new("CylinderMesh",Trail)
  2593. TM.Scale = Vector3.new(1,1,1)
  2594. Old = New
  2595. coroutine.wrap(function()
  2596. for i = 1,0,-0.1 do
  2597. wait()
  2598. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2599. end
  2600. Trail:remove()
  2601. end)()
  2602. coroutine.wrap(function()
  2603. for i = 1,10 do
  2604. wait()
  2605. Trail.Transparency = Trail.Transparency +0.1
  2606. end end)()end end)()
  2607. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2608. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2609. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2610. for i=0,1,0.08 do
  2611. swait()
  2612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2613. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2614. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2615. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2616. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2617. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2618. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2619. end
  2620. -- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2621. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2622. for i=0,1,0.08 do
  2623. swait()
  2624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2626. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2627. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2628. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2629. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2630. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2631. end
  2632. --dmgstop()
  2633. attack=false
  2634. con1:disconnect()
  2635. con2:disconnect()
  2636. if TrailDeb == true then
  2637. TrailDeb = false
  2638. end
  2639. end
  2640.  
  2641. function Hai()
  2642. attack=true
  2643. Humanoid.WalkSpeed=0
  2644. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2645. for i=0,1,0.1 do
  2646. swait()
  2647. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2649. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2650. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2651. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2652. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2653. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2654. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2655. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2656. end
  2657. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2658. for i=0,1,0.1 do
  2659. swait()
  2660. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2661. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2662. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2663. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2664. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2665. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2666. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2667. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2668. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2669. end
  2670. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2671. for i=0,1,0.1 do
  2672. swait()
  2673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2675. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2676. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2677. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2678. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2679. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2680. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2681. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2682.  
  2683. end
  2684. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2685. for i=0,1,0.1 do
  2686. swait()
  2687. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2688. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2689. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2690. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2691. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2692. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2693. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2694. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2695. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2696. end
  2697. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2698. for i=0,1,0.1 do
  2699. swait()
  2700. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2701. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2702. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2703. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2704. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2705. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2706. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2707. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2708. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2709. end
  2710. --dmgstop()
  2711. Humanoid.WalkSpeed=12
  2712. attack=false
  2713. end
  2714.  
  2715. function Die()
  2716. attack=true
  2717. Footsteps:Stop()
  2718. Footsteps2:Stop()
  2719. local Fire = it("Sound",Character.Torso)
  2720. Fire.SoundId = "rbxassetid://192104941"
  2721. Fire.Looped = true
  2722. Fire.Pitch = 1
  2723. Fire.Volume = 1
  2724. --local Fire2 = it("Sound",Handle2)
  2725. --Fire2.SoundId = "rbxassetid://192104941"
  2726. --Fire2.Looped = true
  2727. --Fire2.Pitch = 1
  2728. --Fire2.Volume = 1
  2729. local Fire3 = it("Sound",Handle)
  2730. Fire3.SoundId = "rbxassetid://192104941"
  2731. Fire3.Looped = true
  2732. Fire3.Pitch = 1
  2733. Fire3.Volume = 1
  2734. local Fire4 = it("Sound",handle)
  2735. Fire4.SoundId = "rbxassetid://192104941"
  2736. Fire4.Looped = true
  2737. Fire4.Pitch = 1
  2738. Fire4.Volume = 1
  2739. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2740. fire.Lifetime = NumberRange.new(0.5)
  2741. fire.Speed = NumberRange.new(1, 3)
  2742. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2743. fire.Rate = 0
  2744. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2745. fire.LightEmission = 0.6
  2746. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2747. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2748. local fire2 = Instance.new("ParticleEmitter", Handle)
  2749. fire2.Lifetime = NumberRange.new(0.5)
  2750. fire2.Speed = NumberRange.new(1, 3)
  2751. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2752. fire2.Rate = 0
  2753. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2754. fire2.LightEmission = 0.6
  2755. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2756. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2757. --local fire3 = Instance.new("ParticleEmitter", Handle2)
  2758. --fire3.Lifetime = NumberRange.new(0.5)
  2759. --fire3.Speed = NumberRange.new(1, 3)
  2760. --fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2761. --fire3.Rate = 0
  2762. --fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2763. --fire3.LightEmission = 0.6
  2764. --fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2765. --fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2766. local fire4 = Instance.new("ParticleEmitter", handle)
  2767. fire4.Lifetime = NumberRange.new(0.5)
  2768. fire4.Speed = NumberRange.new(1, 3)
  2769. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2770. fire4.Rate = 0
  2771. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2772. fire4.LightEmission = 0.6
  2773. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2774. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2775. Humanoid.WalkSpeed = 0
  2776. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2777. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2778. for i=0,1,0.08 do
  2779. swait()
  2780. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2783. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2784. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2785. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2786. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2787. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2788. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2789. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2790. end
  2791. for i=0,1,0.005 do
  2792. swait()
  2793. moosick.Volume=1-2*i
  2794. light.Range=15-10*i
  2795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2797. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2798. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2799. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2800. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2801. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2802. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2803. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2804. end
  2805. light.Range=0
  2806. for i=0,1,0.01 do
  2807. swait()
  2808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2810. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2811. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2812. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2813. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2814. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2815. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2816. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2817. end
  2818. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2819. fire.Rate = 1000
  2820. fire2.Rate = 1000
  2821. -- fire3.Rate = 1000
  2822. fire4.Rate = 1000
  2823. Fire:Play()
  2824. -- Fire2:Play()
  2825. Fire3:Play()
  2826. Fire4:Play()
  2827. for i=0,1,0.005 do
  2828. swait()
  2829. Character.Head.face.Transparency = 0+1*i
  2830. LeftArm.Transparency=0+1*i
  2831. RightArm.Transparency=0+1*i
  2832. LeftLeg.Transparency=0+1*i
  2833. RightLeg.Transparency=0+1*i
  2834. Head.Transparency=0+1*i
  2835. Torso.Transparency=0+1*i
  2836. for _,v in pairs(Character:children()) do
  2837. if v:IsA("Hat") then
  2838. v.Handle.Transparency = 0+1*i
  2839. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2840. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2841. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2842. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2843. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2844. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2845. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2846. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2847. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2848. end
  2849. end
  2850. --dmgstop()
  2851. end
  2852. Humanoid.Health = 0
  2853. end
  2854.  
  2855. --equipanim()
  2856.  
  2857. local sine = 0
  2858. local change = 1
  2859. local val = 0
  2860.  
  2861. local mananum=0
  2862. while true do
  2863. swait()
  2864. sine = sine + change
  2865. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2866. local velderp=RootPart.Velocity.y
  2867. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2868. if equipped==true or equipped==false then
  2869. if Anim=="Idle" and attack==false then
  2870. idle=idle+1
  2871. else
  2872. idle=0
  2873. end
  2874. if Humanoid.Health <=20 then
  2875. if attack == false then
  2876. Humanoid.Health = math.huge
  2877. Die()
  2878. end
  2879. end
  2880. if idle>=1000 then
  2881. if attack==false then
  2882. --Sheath()
  2883. end
  2884. end
  2885. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2886. Anim="Jump"
  2887. if attack==false then
  2888. Footsteps:Stop()
  2889. Footsteps2:Stop()
  2890. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2891. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2893. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2894. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2895. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2896. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2897. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2898. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2899. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2900. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2901. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2902. end
  2903. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2904. Anim="Fall"
  2905. if attack==false then
  2906. Footsteps:Stop()
  2907. Footsteps2:Stop()
  2908. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2909. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2910. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2911. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2912. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2914. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2915. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2917. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2918. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2919. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2920. end
  2921. elseif torvel<1 and hitfloor~=nil then
  2922. Anim="Idle"
  2923. change=0.5
  2924. if idle>=1000 then
  2925. if attack==false then
  2926. Footsteps:Stop()
  2927. Footsteps2:Stop()
  2928. Humanoid.WalkSpeed=12
  2929. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  2930. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  2931. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2932. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2933. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2934. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2936. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2937. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  2938. --Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  2939. end
  2940. else
  2941. if attack==false then
  2942. Footsteps:Stop()
  2943. Footsteps2:Stop()
  2944. Humanoid.WalkSpeed=12
  2945. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2946. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2947. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2948. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  2949. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  2950. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  2951. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  2952. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2953. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  2954. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  2955. end
  2956. end
  2957. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2958. Anim="Walk"
  2959. if attack==false then
  2960. change=0.8
  2961. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  2962. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2963. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2964. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2965. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2966. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2967. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2969. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2970. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2972. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2973. RH.C0=clerp(RH.C0,RHC0,.3)
  2974. LH.C0=clerp(LH.C0,LHC0,.3)
  2975. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2976. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2977. ]]--
  2978. Footsteps:Play()
  2979. Footsteps2:Stop()
  2980. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  2981. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  2982. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2983. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  2984. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  2985. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2986. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2987. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2988. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  2989. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  2990. end
  2991. elseif torvel>=22 and hitfloor~=nil then
  2992. Anim="Run"
  2993. change=1
  2994. if attack==false then
  2995. Footsteps:Stop()
  2996. Footsteps2:Play()
  2997. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  2998. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2999. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3000. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  3001. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  3002. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3003. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3004. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3005. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  3006. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  3007. end
  3008. end
  3009. end
  3010. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  3011. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  3012. if mana>=100 then
  3013. mana=100
  3014. else
  3015. if mananum<=8 then
  3016. mananum=mananum+1
  3017. else
  3018. mananum=0
  3019. mana=mana+1
  3020. end
  3021. end
  3022. end
  3023. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement