Advertisement
c00lkidd

Ravenger

May 21st, 2016
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.55 KB | None | 0 0
  1. --ENJOY SKIDS
  2.  
  3. -- NightOwlAce dont kill me
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. Head=Character.Head
  10. Humanoid=Character.Humanoid
  11. m=Instance.new('Model',Character)
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. cloaked=false
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=1
  47. pathtrans=.7
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. cloak=false
  56. lightcolor='Bright blue'
  57.  
  58. local Color1=Torso.BrickColor
  59.  
  60. local fengui=it("GuiMain")
  61. fengui.Parent=Player.PlayerGui
  62. fengui.Name="WeaponGUI"
  63. local fenframe=it("Frame")
  64. fenframe.Parent=fengui
  65. fenframe.BackgroundColor3=Color3.new(255,255,255)
  66. fenframe.BackgroundTransparency=1
  67. fenframe.BorderColor3=Color3.new(17,17,17)
  68. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  69. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  70. local fenbarmana1=it("TextLabel")
  71. fenbarmana1.Parent=fenframe
  72. fenbarmana1.Text=" "
  73. fenbarmana1.BackgroundTransparency=0
  74. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  75. fenbarmana1.SizeConstraint="RelativeXY"
  76. fenbarmana1.TextXAlignment="Center"
  77. fenbarmana1.TextYAlignment="Center"
  78. fenbarmana1.Position=UDim2.new(0,0,0,0)
  79. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  80. local fenbarmana2=it("TextLabel")
  81. fenbarmana2.Parent=fenframe
  82. fenbarmana2.Text=" "
  83. fenbarmana2.BackgroundTransparency=0
  84. fenbarmana2.BackgroundColor3=Torso.Color
  85. fenbarmana2.SizeConstraint="RelativeXY"
  86. fenbarmana2.TextXAlignment="Center"
  87. fenbarmana2.TextYAlignment="Center"
  88. fenbarmana2.Position=UDim2.new(0,0,0,0)
  89. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  90. local fenbarmana3=it("TextLabel")
  91. fenbarmana3.Parent=fenframe
  92. fenbarmana3.Text=" "
  93. fenbarmana3.BackgroundTransparency=0
  94. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  95. fenbarmana3.SizeConstraint="RelativeXY"
  96. fenbarmana3.TextXAlignment="Center"
  97. fenbarmana3.TextYAlignment="Center"
  98. fenbarmana3.Position=UDim2.new(0,0,0,0)
  99. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  100. local fenbarmana4=it("TextLabel")
  101. fenbarmana4.Parent=fenframe
  102. fenbarmana4.Text="Energy("..mana..")"
  103. fenbarmana4.BackgroundTransparency=1
  104. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  105. fenbarmana4.SizeConstraint="RelativeXY"
  106. fenbarmana4.TextXAlignment="Center"
  107. fenbarmana4.TextYAlignment="Center"
  108. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  109. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  110. fenbarmana4.FontSize="Size9"
  111. fenbarmana4.TextStrokeTransparency=0
  112. fenbarmana4.TextColor=BrickColor.new("White")
  113.  
  114. mouse=Player:GetMouse()
  115. --save shoulders
  116. RSH, LSH=nil, nil
  117. --welds
  118. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  119. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  120. LH=Torso["Left Hip"]
  121. RH=Torso["Right Hip"]
  122. TorsoColor=Torso.BrickColor
  123. function NoOutline(Part)
  124. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  125. end
  126. player=Player
  127. ch=Character
  128. RSH=ch.Torso["Right Shoulder"]
  129. LSH=ch.Torso["Left Shoulder"]
  130. --
  131. RSH.Parent=nil
  132. LSH.Parent=nil
  133. --
  134. RW.Name="Right Shoulder"
  135. RW.Part0=ch.Torso
  136. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  137. RW.C1=cf(0, 0.5, 0)
  138. RW.Part1=ch["Right Arm"]
  139. RW.Parent=ch.Torso
  140. --
  141. LW.Name="Left Shoulder"
  142. LW.Part0=ch.Torso
  143. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  144. LW.C1=cf(0, 0.5, 0)
  145. LW.Part1=ch["Left Arm"]
  146. LW.Parent=ch.Torso
  147.  
  148. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  149. local fp=it("Part")
  150. fp.formFactor=formfactor
  151. fp.Parent=parent
  152. fp.Reflectance=reflectance
  153. fp.Transparency=transparency
  154. fp.CanCollide=false
  155. fp.Locked=true
  156. fp.BrickColor=brickcolor
  157. fp.Name=name
  158. fp.Size=size
  159. fp.Position=Torso.Position
  160. NoOutline(fp)
  161. fp.Material="Neon"
  162. fp:BreakJoints()
  163. return fp
  164. end
  165.  
  166. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  167. local mesh=it(Mesh)
  168. mesh.Parent=part
  169. if Mesh=="SpecialMesh" then
  170. mesh.MeshType=meshtype
  171. if meshid~="nil" then
  172. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  173. end
  174. end
  175. mesh.Offset=offset
  176. mesh.Scale=scale
  177. return mesh
  178. end
  179.  
  180. function weld(parent,part0,part1,c0)
  181. local weld=it("Weld")
  182. weld.Parent=parent
  183. weld.Part0=part0
  184. weld.Part1=part1
  185. weld.C0=c0
  186. return weld
  187. end
  188.  
  189. local Color1=Torso.BrickColor
  190.  
  191. local bodvel=Instance.new("BodyVelocity")
  192. local bg=Instance.new("BodyGyro")
  193.  
  194. function swait(num)
  195. if num==0 or num==nil then
  196. game:service'RunService'.Stepped:wait(0)
  197. else
  198. for i=0,num do
  199. game:service'RunService'.Stepped:wait(0)
  200. end
  201. end
  202. end
  203.  
  204.  
  205. so = function(id,par,vol,pit)
  206. coroutine.resume(coroutine.create(function()
  207. local sou = Instance.new("Sound",par or workspace)
  208. sou.Volume=vol
  209. sou.Pitch=pit or 1
  210. sou.SoundId=id
  211. swait()
  212. sou:play()
  213. game:GetService("Debris"):AddItem(sou,6)
  214. end))
  215. end
  216.  
  217. function clerp(a,b,t)
  218. local qa = {QuaternionFromCFrame(a)}
  219. local qb = {QuaternionFromCFrame(b)}
  220. local ax, ay, az = a.x, a.y, a.z
  221. local bx, by, bz = b.x, b.y, b.z
  222. local _t = 1-t
  223. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  224. end
  225.  
  226. function QuaternionFromCFrame(cf)
  227. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  228. local trace = m00 + m11 + m22
  229. if trace > 0 then
  230. local s = math.sqrt(1 + trace)
  231. local recip = 0.5/s
  232. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  233. else
  234. local i = 0
  235. if m11 > m00 then
  236. i = 1
  237. end
  238. if m22 > (i == 0 and m00 or m11) then
  239. i = 2
  240. end
  241. if i == 0 then
  242. local s = math.sqrt(m00-m11-m22+1)
  243. local recip = 0.5/s
  244. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  245. elseif i == 1 then
  246. local s = math.sqrt(m11-m22-m00+1)
  247. local recip = 0.5/s
  248. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  249. elseif i == 2 then
  250. local s = math.sqrt(m22-m00-m11+1)
  251. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  252. end
  253. end
  254. end
  255.  
  256. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  257. local xs, ys, zs = x + x, y + y, z + z
  258. local wx, wy, wz = w*xs, w*ys, w*zs
  259. local xx = x*xs
  260. local xy = x*ys
  261. local xz = x*zs
  262. local yy = y*ys
  263. local yz = y*zs
  264. local zz = z*zs
  265. 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))
  266. end
  267.  
  268. function QuaternionSlerp(a, b, t)
  269. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  270. local startInterp, finishInterp;
  271. if cosTheta >= 0.0001 then
  272. if (1 - cosTheta) > 0.0001 then
  273. local theta = math.acos(cosTheta)
  274. local invSinTheta = 1/math.sin(theta)
  275. startInterp = math.sin((1-t)*theta)*invSinTheta
  276. finishInterp = math.sin(t*theta)*invSinTheta
  277. else
  278. startInterp = 1-t
  279. finishInterp = t
  280. end
  281. else
  282. if (1+cosTheta) > 0.0001 then
  283. local theta = math.acos(-cosTheta)
  284. local invSinTheta = 1/math.sin(theta)
  285. startInterp = math.sin((t-1)*theta)*invSinTheta
  286. finishInterp = math.sin(t*theta)*invSinTheta
  287. else
  288. startInterp = t-1
  289. finishInterp = t
  290. end
  291. end
  292. 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
  293. end
  294.  
  295. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  296. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  297. end
  298.  
  299. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  300. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  301. prt.Anchored=true
  302. prt.CFrame=cframe
  303. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  304. --http://www.roblox.com/asset/?id=4770560
  305. game:GetService("Debris"):AddItem(prt,2)
  306. CF=prt.CFrame
  307. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  308. for i=0,1,0.2 do
  309. wait()
  310. Part.CFrame=CF*cf(0,0,-0.4)
  311. end
  312. for i=0,1,delay do
  313. wait()
  314. --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)
  315. Mesh.Scale=Mesh.Scale
  316. end
  317. for i=0,1,0.1 do
  318. wait()
  319. Part.Transparency=i
  320. end
  321. Part.Parent=nil
  322. end),prt,msh,CF)
  323. end
  324.  
  325. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  326. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  327. prt.Anchored=true
  328. prt.CFrame=cframe
  329. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  330. game:GetService("Debris"):AddItem(prt,5)
  331. coroutine.resume(coroutine.create(function(Part,Mesh)
  332. for i=0,1,delay do
  333. wait()
  334. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  335. Part.Transparency=i
  336. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  337. end
  338. Part.Parent=nil
  339. end),prt,msh)
  340. end
  341.  
  342. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  343. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  344. prt.Anchored=false
  345. prt.CFrame=cframe
  346. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  347. local wld=weld(prt,prt,Parent,cframe)
  348. game:GetService("Debris"):AddItem(prt,5)
  349. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  350. for i=0,1,delay do
  351. wait()
  352. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  353. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  354. Part.Transparency=i
  355. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  356. end
  357. Part.Parent=nil
  358. end),prt,msh,wld)
  359. end
  360.  
  361. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  362. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  363. prt.Anchored=false
  364. prt.CFrame=cframe
  365. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  366. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  367. game:GetService("Debris"):AddItem(prt,5)
  368. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  369. for i=0,1,delay do
  370. wait()
  371. Weld.C0=euler(i*20,0,0)
  372. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  373. Part.Transparency=i
  374. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  375. end
  376. Part.Parent=nil
  377. end),prt,msh,wld)
  378. end
  379.  
  380. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  381. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  382. prt.Anchored=true
  383. prt.CFrame=cframe
  384. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  385. game:GetService("Debris"):AddItem(prt,2)
  386. coroutine.resume(coroutine.create(function(Part,Mesh)
  387. for i=0,1,delay do
  388. wait()
  389. Part.CFrame=Part.CFrame
  390. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  391. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  392. prt2.Anchored=true
  393. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  394. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  395. game:GetService("Debris"):AddItem(prt2,2)
  396. coroutine.resume(coroutine.create(function(Part,Mesh)
  397. for i=0,1,0.1 do
  398. wait()
  399. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  400. end
  401. Part.Parent=nil
  402. end),prt2,msh2)
  403. end
  404. for i=0,1,delay*2 do
  405. wait()
  406. Part.CFrame=Part.CFrame
  407. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  408. end
  409. Part.Parent=nil
  410. end),prt,msh)
  411. end
  412.  
  413. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  414. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  415. prt.Anchored=true
  416. prt.CFrame=cframe
  417. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  418. game:GetService("Debris"):AddItem(prt,2)
  419. coroutine.resume(coroutine.create(function(Part,Mesh)
  420. for i=0,1,delay do
  421. wait()
  422. Part.CFrame=Part.CFrame
  423. Part.Transparency=i
  424. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  425. end
  426. Part.Parent=nil
  427. end),prt,msh)
  428. end
  429.  
  430. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  431. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  432. prt.Anchored=true
  433. prt.CFrame=cframe*euler(x2,y2,z2)
  434. --"http://www.roblox.com/asset/?id=168892465"
  435. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  436. game:GetService("Debris"):AddItem(prt,2)
  437. coroutine.resume(coroutine.create(function(Part,Mesh)
  438. for i=0,1,0.03 do
  439. wait()
  440. Part.CFrame=Part.CFrame
  441. Part.Transparency=i
  442. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  443. end
  444. Part.Parent=nil
  445. end),prt,msh)
  446. end
  447.  
  448. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  449. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  450. prt.Anchored=true
  451. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  452. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  453. game:GetService("Debris"):AddItem(prt,2)
  454. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  455. CF=Part.CFrame
  456. Numbb=0
  457. randnumb=math.random()/10
  458. rand1=math.random()/10
  459. for i=0,1,rand1 do
  460. wait()
  461. CF=CF*cf(0,math.random()/2,0)
  462. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  463. Part.CFrame=CF*euler(Numbb,0,0)
  464. Part.Transparency=i
  465. Numbb=Numbb+randnumb
  466. end
  467. Part.Parent=nil
  468. end),prt,CF,Numbb,randnumb)
  469. end
  470.  
  471. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  472. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  473. prt.Anchored=true
  474. prt.CFrame=cframe
  475. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  476. game:GetService("Debris"):AddItem(prt,5)
  477. coroutine.resume(coroutine.create(function(Part,Mesh)
  478. for i=0,1,delay do
  479. wait()
  480. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  481. Part.Transparency=i
  482. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  483. end
  484. Part.Parent=nil
  485. end),prt,msh)
  486. end
  487.  
  488. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  489. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  490. prt.Anchored=true
  491. prt.CFrame=cframe
  492. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  493. game:GetService("Debris"):AddItem(prt,2)
  494. coroutine.resume(coroutine.create(function(Part,Mesh)
  495. for i=0,1,delay do
  496. wait()
  497. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  498. Part.Transparency=i
  499. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  500. end
  501. Part.Parent=nil
  502. end),prt,msh)
  503. end
  504.  
  505. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  506. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  507. prt.Anchored=true
  508. prt.CFrame=cframe*cf(x,y,z)
  509. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  510. game:GetService("Debris"):AddItem(prt,5)
  511. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  512. local num=math.random()
  513. local num2=math.random(-3,2)+math.random()
  514. local numm=0
  515. for i=0,1,delay*2 do
  516. swait()
  517. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  518. Part.Transparency=i
  519. numm=numm+0.01
  520. end
  521. Part.Parent=nil
  522. Mesh.Parent=nil
  523. end),prt,msh,x,y,z)
  524. end
  525.  
  526. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  527. if hit.Parent==nil then
  528. return
  529. end
  530. h=hit.Parent:FindFirstChild("Humanoid")
  531. for _,v in pairs(hit.Parent:children()) do
  532. if v:IsA("Humanoid") then
  533. h=v
  534. end
  535. end
  536. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  537. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  538. end
  539. if hit.Parent.className=="Hat" then
  540. hit=hit.Parent.Parent:findFirstChild("Head")
  541. end
  542. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  543. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  544. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  545. return
  546. end]]
  547. -- hs(hit,1.2)
  548. c=Instance.new("ObjectValue")
  549. c.Name="creator"
  550. c.Value=game:service("Players").LocalPlayer
  551. c.Parent=h
  552. game:GetService("Debris"):AddItem(c,.5)
  553. Damage=math.random(minim,maxim)
  554. -- h:TakeDamage(Damage)
  555. blocked=false
  556. block=hit.Parent:findFirstChild("Block")
  557. if block~=nil then
  558. print(block.className)
  559. if block.className=="NumberValue" then
  560. if block.Value>0 then
  561. blocked=true
  562. if decreaseblock==nil then
  563. block.Value=block.Value-1
  564. end
  565. end
  566. end
  567. if block.className=="IntValue" then
  568. if block.Value>0 then
  569. blocked=true
  570. if decreaseblock~=nil then
  571. block.Value=block.Value-1
  572. end
  573. end
  574. end
  575. end
  576. if blocked==false then
  577. -- h:TakeDamage(Damage)
  578. h.Health=h.Health-Damage
  579. showDamage(hit.Parent,Damage,.5,TorsoColor)
  580. else
  581. h.Health=h.Health-(Damage/2)
  582. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  583. end
  584. if Type=="Knockdown" then
  585. hum=hit.Parent.Humanoid
  586. hum.PlatformStand=true
  587. coroutine.resume(coroutine.create(function(HHumanoid)
  588. swait(1)
  589. HHumanoid.PlatformStand=false
  590. end),hum)
  591. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  592. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  593. local bodvol=Instance.new("BodyVelocity")
  594. bodvol.velocity=angle*knockback
  595. bodvol.P=5000
  596. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  597. bodvol.Parent=hit
  598. rl=Instance.new("BodyAngularVelocity")
  599. rl.P=3000
  600. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  601. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  602. rl.Parent=hit
  603. game:GetService("Debris"):AddItem(bodvol,.5)
  604. game:GetService("Debris"):AddItem(rl,.5)
  605. elseif Type=="Normal" then
  606. vp=Instance.new("BodyVelocity")
  607. vp.P=500
  608. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  609. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  610. if KnockbackType==1 then
  611. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  612. elseif KnockbackType==2 then
  613. vp.velocity=Property.CFrame.lookVector*knockback
  614. end
  615. if knockback>0 then
  616. vp.Parent=hit.Parent.Torso
  617. end
  618. game:GetService("Debris"):AddItem(vp,.5)
  619. elseif Type=="Up" then
  620. local bodyVelocity=Instance.new("BodyVelocity")
  621. bodyVelocity.velocity=vt(0,10,0)
  622. bodyVelocity.P=1000
  623. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  624. bodyVelocity.Parent=hit
  625. game:GetService("Debris"):AddItem(bodyVelocity,1)
  626. rl=Instance.new("BodyAngularVelocity")
  627. rl.P=3000
  628. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  629. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  630. rl.Parent=hit
  631. game:GetService("Debris"):AddItem(rl,.5)
  632. elseif Type=="Snare" then
  633. bp=Instance.new("BodyPosition")
  634. bp.P=2000
  635. bp.D=100
  636. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  637. bp.position=hit.Parent.Torso.Position
  638. bp.Parent=hit.Parent.Torso
  639. game:GetService("Debris"):AddItem(bp,1)
  640. elseif Type=="Target" then
  641. if Targetting==false then
  642. ZTarget=hit.Parent.Torso
  643. coroutine.resume(coroutine.create(function(Part)
  644. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  645. swait(5)
  646. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  647. end),ZTarget)
  648. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  649. targetgui=Instance.new("BillboardGui")
  650. targetgui.Parent=ZTarget
  651. targetgui.Size=UDim2.new(10,100,10,100)
  652. targ=Instance.new("ImageLabel")
  653. targ.Parent=targetgui
  654. targ.BackgroundTransparency=1
  655. targ.Image="rbxassetid://4834067"
  656. targ.Size=UDim2.new(1,0,1,0)
  657. cam.CameraType="Scriptable"
  658. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  659. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  660. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  661. Targetting=true
  662. RocketTarget=ZTarget
  663. for i=1,Property do
  664. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  665. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  666. swait()
  667. end
  668. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  669. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  670. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  671. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  672. end
  673. Targetting=false
  674. RocketTarget=nil
  675. targetgui.Parent=nil
  676. cam.CameraType="Custom"
  677. end
  678. end
  679. debounce=Instance.new("BoolValue")
  680. debounce.Name="DebounceHit"
  681. debounce.Parent=hit.Parent
  682. debounce.Value=true
  683. game:GetService("Debris"):AddItem(debounce,Delay)
  684. c=Instance.new("ObjectValue")
  685. c.Name="creator"
  686. c.Value=Player
  687. c.Parent=h
  688. game:GetService("Debris"):AddItem(c,.5)
  689. CRIT=false
  690. hitDeb=true
  691. AttackPos=6
  692. end
  693. end
  694.  
  695. showDamage=function(Char,Dealt,du,Color)
  696. m=Instance.new("Model")
  697. m.Name=tostring(Dealt)
  698. h=Instance.new("Humanoid")
  699. h.Health=0
  700. h.MaxHealth=0
  701. h.Parent=m
  702. c=Instance.new("Part")
  703. c.Transparency=0
  704. c.BrickColor=TorsoColor
  705. c.Name="Head"
  706. c.TopSurface=0
  707. c.BottomSurface=0
  708. c.formFactor="Plate"
  709. c.Size=Vector3.new(1,.4,1)
  710. ms=Instance.new("CylinderMesh")
  711. ms.Scale=Vector3.new(.8,.8,.8)
  712. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  713. if CRIT==true then
  714. ms.Scale=Vector3.new(1,1.25,1)
  715. end
  716. ms.Parent=c
  717. c.Reflectance=0
  718. Instance.new("BodyGyro").Parent=c
  719. c.Parent=m
  720. if Char:findFirstChild("Head")~=nil then
  721. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  722. elseif Char.Parent:findFirstChild("Head")~=nil then
  723. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  724. end
  725. f=Instance.new("BodyPosition")
  726. f.P=2000
  727. f.D=100
  728. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  729. f.position=c.Position+Vector3.new(0,3,0)
  730. f.Parent=c
  731. game:GetService("Debris"):AddItem(m,.5+du)
  732. c.CanCollide=false
  733. m.Parent=workspace
  734. c.CanCollide=false
  735. end
  736.  
  737. Player=game:GetService('Players').LocalPlayer
  738. Character=Player.Character
  739. Mouse=Player:GetMouse()
  740. m=Instance.new('Model',Character)
  741.  
  742.  
  743. local function weldBetween(a, b)
  744. local weldd = Instance.new("ManualWeld")
  745. weldd.Part0 = a
  746. weldd.Part1 = b
  747. weldd.C0 = CFrame.new()
  748. weldd.C1 = b.CFrame:inverse() * a.CFrame
  749. weldd.Parent = a
  750. return weldd
  751. end
  752.  
  753. it=Instance.new
  754.  
  755. function nooutline(part)
  756. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  757. end
  758.  
  759. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  760. local fp=it("Part")
  761. fp.formFactor=formfactor
  762. fp.Parent=parent
  763. fp.Reflectance=reflectance
  764. fp.Transparency=transparency
  765. fp.CanCollide=false
  766. fp.Locked=true
  767. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  768. fp.Name=name
  769. fp.Size=size
  770. fp.Position=Character.Torso.Position
  771. nooutline(fp)
  772. fp.Material=material
  773. fp:BreakJoints()
  774. return fp
  775. end
  776.  
  777. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  778. local mesh=it(Mesh)
  779. mesh.Parent=part
  780. if Mesh=="SpecialMesh" then
  781. mesh.MeshType=meshtype
  782. mesh.MeshId=meshid
  783. end
  784. mesh.Offset=offset
  785. mesh.Scale=scale
  786. return mesh
  787. end
  788.  
  789. function weld(parent,part0,part1,c0,c1)
  790. local weld=it("Weld")
  791. weld.Parent=parent
  792. weld.Part0=part0
  793. weld.Part1=part1
  794. weld.C0=c0
  795. weld.C1=c1
  796. return weld
  797. end
  798.  
  799. local modelzorz=Instance.new("Model")
  800. modelzorz.Parent=Character
  801. modelzorz.Name="Claw1"
  802.  
  803. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  804. 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))
  805. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  806. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  807. 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))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  809. 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))
  810. 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))
  811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  812. 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))
  813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  814. 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))
  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.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  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(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  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.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  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(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  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(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))
  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(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))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  828. 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))
  829. 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))
  830. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  831. 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))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  833. 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))
  834. 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))
  835. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  836. 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))
  837. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  838. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  839. 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))
  840. 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))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  842. 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))
  843. 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))
  844.  
  845. local modelzorz2=Instance.new("Model")
  846. modelzorz2.Parent=Character
  847. modelzorz2.Name="Claw2"
  848.  
  849. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  850. 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))
  851. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  853. 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))
  854. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  855. 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))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  857. 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))
  858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  859. 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))
  860. 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))
  861. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  862. 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))
  863. 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))
  864. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  865. 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))
  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.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  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(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))
  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.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  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.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  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.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))
  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(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))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  882. 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))
  883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  884. 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))
  885. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  886. 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))
  887. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  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(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))
  890.  
  891. local modelzorz3=Instance.new("Model")
  892. modelzorz3.Parent=Character
  893. modelzorz3.Name="Eye"
  894.  
  895. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  896. 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))
  897. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  899. 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))
  900. 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))
  901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  902. 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))
  903. 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))
  904. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  905. 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))
  906. 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))
  907. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  908. 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))
  909. 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))
  910. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  911. 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))
  912. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  913. 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))
  914. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  915. 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))
  916. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  917. 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))
  918. local moosick = it("Sound",Character)
  919. moosick.SoundId = "rbxassetid://142653441"
  920. --142653441, 175067863
  921. moosick.Looped = true
  922. moosick.Pitch = 1
  923. moosick.Volume = 0
  924. moosick:Play()
  925.  
  926. anim = Character:findFirstChild("Animate")
  927. if anim then
  928. anim:Destroy()
  929. end
  930.  
  931. local particleemitter = Instance.new("ParticleEmitter", Handle)
  932. particleemitter.VelocitySpread = 180
  933. particleemitter.Lifetime = NumberRange.new(0.1)
  934. particleemitter.Speed = NumberRange.new(2)
  935. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  936. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  937. particleemitter.Rate = 100
  938. particleemitter.Rotation = NumberRange.new(-45, 45)
  939. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  940. particleemitter.LightEmission = 0
  941. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  942.  
  943. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  944. particleemitter.VelocitySpread = 180
  945. particleemitter.Lifetime = NumberRange.new(0.1)
  946. particleemitter.Speed = NumberRange.new(2)
  947. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  948. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  949. particleemitter.Rate = 100
  950. particleemitter.Rotation = NumberRange.new(-45, 45)
  951. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  952. particleemitter.LightEmission = 0
  953. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  954.  
  955. local particleemitter = Instance.new("ParticleEmitter", handle)
  956. particleemitter.VelocitySpread = 180
  957. particleemitter.Lifetime = NumberRange.new(0.1)
  958. particleemitter.Speed = NumberRange.new(2)
  959. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  960. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  961. particleemitter.Rate = 100
  962. particleemitter.Rotation = NumberRange.new(-45, 45)
  963. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  964. particleemitter.LightEmission = 0.8
  965. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  966.  
  967. local light = Instance.new("PointLight", Character.Torso)
  968. light.Color = Color3.new(255,255,255)
  969. light.Brightness = 5
  970. light.Range = 15
  971.  
  972. particleemitter.Enabled = true
  973.  
  974. local Footsteps = it("Sound",Character.Torso)
  975. Footsteps.SoundId = "rbxassetid://142665235"
  976. Footsteps.Looped = true
  977. Footsteps.Pitch = 0.8
  978. Footsteps.Volume = 0.3
  979.  
  980. local Footsteps2 = it("Sound",Character.Torso)
  981. Footsteps2.SoundId = "rbxassetid://142665235"
  982. Footsteps2.Looped = true
  983. Footsteps2.Pitch = 1
  984. Footsteps2.Volume = 0.4
  985.  
  986. local cam = game.Workspace.CurrentCamera
  987.  
  988. --cam.CameraSubject = Character
  989.  
  990. for i,v in pairs(Head:children()) do
  991. if v:IsA("Sound") then
  992. v:Destroy()
  993. end
  994. end
  995.  
  996. mouse.Button1Down:connect(function()
  997. if attack==false and attacktype==1 then
  998. attacktype=2
  999. attackone()
  1000. elseif attack==false and attacktype==2 then
  1001. attacktype=3
  1002. attacktwo()
  1003. elseif attack==false and attacktype==3 then
  1004. attacktype=4
  1005. attackthree()
  1006. elseif attack==false and attacktype==4 then
  1007. attacktype=1
  1008. attackfour()
  1009. end
  1010. end)
  1011.  
  1012. mouse.KeyDown:connect(function(k)
  1013. k=k:lower()
  1014. if k=='e' then
  1015. if attack==false and mana>=20 then
  1016. Push()
  1017. end
  1018. elseif k=='g' then
  1019. if attack==false and mana>=50 then
  1020. Twirl()
  1021. end
  1022. elseif k=='v' then
  1023. if attack==false and mana>=25 then
  1024. MagicJump()
  1025. end
  1026. elseif k=='q' then
  1027. if attack==false then
  1028. idle=1000
  1029. end
  1030. elseif k=='h' then
  1031. if attack==false then
  1032. mana=100
  1033. end
  1034. elseif k=='y' then
  1035. if attack==false and mana>=100 then
  1036. Shred()
  1037. end
  1038. elseif k=='f' then
  1039. if attack==false and mana>=40 then
  1040. Spin()
  1041. end
  1042. elseif k=='r' then
  1043. if attack==false and mana>=20 then
  1044. Clap()
  1045. end
  1046. elseif k=='t' then
  1047. if attack==false then
  1048. Hai()
  1049. end
  1050. elseif k=='0' then
  1051. if attack==false then
  1052. Humanoid.WalkSpeed=(24)
  1053. end
  1054. elseif k=='j' then
  1055. if attack==false then
  1056. Humanoid.Health = 10
  1057. print("Congrats, you commited suicide.")
  1058. end
  1059. end
  1060. end)
  1061.  
  1062. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1063. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1064. prt.Anchored=true
  1065. prt.CFrame=cframe
  1066. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1067. game:GetService("Debris"):AddItem(prt,2)
  1068. coroutine.resume(coroutine.create(function(Part,Mesh)
  1069. for i=0,1,delay do
  1070. wait()
  1071. Part.CFrame=Part.CFrame
  1072. Part.Transparency=i
  1073. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1074. end
  1075. Part.Parent=nil
  1076. end),prt,msh)
  1077. end
  1078.  
  1079. TrailDeb = false
  1080.  
  1081. function equipanim()
  1082. attack=true
  1083. Humanoid.WalkSpeed = 0
  1084. if TrailDeb == false then
  1085. TrailDeb = true
  1086. end
  1087.  
  1088.  
  1089. coroutine.wrap(function()
  1090. local Old = handle.CFrame.p
  1091. while wait()do
  1092. if not TrailDeb then break end
  1093. local New = handle.CFrame.p
  1094. local Mag =(Old -New).magnitude
  1095. local Dis =(Old +New)/2
  1096. local Trail = Instance.new("Part",Character)
  1097. Trail.Material = "Neon"
  1098. Trail.Anchored = true
  1099. Trail.CanCollide = false
  1100. Trail.BrickColor = TorsoColor
  1101. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1102. Trail.TopSurface = 0
  1103. Trail.BottomSurface = 0
  1104. Trail.formFactor = "Custom"
  1105. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1106. local ms = Instance.new("BlockMesh",Trail)
  1107. ms.Scale = Vector3.new(1,1,1)
  1108. local TM = Instance.new("CylinderMesh",Trail)
  1109. TM.Scale = Vector3.new(1,1,1)
  1110. Old = New
  1111. coroutine.wrap(function()
  1112. for i = 1,0,-0.1 do
  1113. wait()
  1114. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1115. end
  1116. Trail:remove()
  1117. end)()
  1118. coroutine.wrap(function()
  1119. for i = 1,10 do
  1120. wait()
  1121. Trail.Transparency = Trail.Transparency +0.1
  1122. end end)()end end)()
  1123. coroutine.wrap(function()
  1124. local Old = Handle.CFrame.p
  1125. while wait()do
  1126. if not TrailDeb then break end
  1127. local New = Handle.CFrame.p
  1128. local Mag =(Old -New).magnitude
  1129. local Dis =(Old +New)/2
  1130. local Trail = Instance.new("Part",Character)
  1131. Trail.Material = "Neon"
  1132. Trail.Anchored = true
  1133. Trail.CanCollide = false
  1134. Trail.BrickColor = TorsoColor
  1135. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1136. Trail.TopSurface = 0
  1137. Trail.BottomSurface = 0
  1138. Trail.formFactor = "Custom"
  1139. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1140. local ms = Instance.new("BlockMesh",Trail)
  1141. ms.Scale = Vector3.new(1,1,1)
  1142. local TM = Instance.new("CylinderMesh",Trail)
  1143. TM.Scale = Vector3.new(1,1,1)
  1144. Old = New
  1145. coroutine.wrap(function()
  1146. for i = 1,0,-0.1 do
  1147. wait()
  1148. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1149. end
  1150. Trail:remove()
  1151. end)()
  1152. coroutine.wrap(function()
  1153. for i = 1,10 do
  1154. wait()
  1155. Trail.Transparency = Trail.Transparency +0.1
  1156. end end)()end end)()
  1157. coroutine.wrap(function()
  1158. local Old = Handle2.CFrame.p
  1159. while wait()do
  1160. if not TrailDeb then break end
  1161. local New = Handle2.CFrame.p
  1162. local Mag =(Old -New).magnitude
  1163. local Dis =(Old +New)/2
  1164. local Trail = Instance.new("Part",Character)
  1165. Trail.Material = "Neon"
  1166. Trail.Anchored = true
  1167. Trail.CanCollide = false
  1168. Trail.BrickColor = TorsoColor
  1169. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1170. Trail.TopSurface = 0
  1171. Trail.BottomSurface = 0
  1172. Trail.formFactor = "Custom"
  1173. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1174. local ms = Instance.new("BlockMesh",Trail)
  1175. ms.Scale = Vector3.new(1,1,1)
  1176. local TM = Instance.new("CylinderMesh",Trail)
  1177. TM.Scale = Vector3.new(1,1,1)
  1178. Old = New
  1179. coroutine.wrap(function()
  1180. for i = 1,0,-0.1 do
  1181. wait()
  1182. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1183. end
  1184. Trail:remove()
  1185. end)()
  1186. coroutine.wrap(function()
  1187. for i = 1,10 do
  1188. wait()
  1189. Trail.Transparency = Trail.Transparency +0.1
  1190. end end)()end end)()
  1191. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1192. for i=0,1,0.005 do
  1193. swait()
  1194. moosick.Volume = 0+1*i
  1195. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1196. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1197. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1198. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1199. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1200. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1201. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1202. end
  1203. for i=0,1,0.005 do
  1204. swait()
  1205. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1206. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1207. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1208. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1209. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1210. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1211. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1212. end
  1213. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1214. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1215. for i=0,1,0.005 do
  1216. swait()
  1217. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1218. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1219. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1220. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1221. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1222. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1223. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1224. 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)
  1225. 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)
  1226. end
  1227. for i=0,1,0.04 do
  1228. swait()
  1229. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1230. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1231. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1232. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1233. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1234. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1235. 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)
  1236. 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)
  1237. end
  1238. --dmgstop()
  1239. attack=false
  1240. Humanoid.WalkSpeed = 12
  1241. if TrailDeb == true then
  1242. TrailDeb = false
  1243. end
  1244. end
  1245.  
  1246. function attackone()
  1247. attack=true
  1248. if TrailDeb == false then
  1249. TrailDeb = true
  1250. end
  1251.  
  1252.  
  1253. coroutine.wrap(function()
  1254. local Old = Handle.CFrame.p
  1255. while wait()do
  1256. if not TrailDeb then break end
  1257. local New = Handle.CFrame.p
  1258. local Mag =(Old -New).magnitude
  1259. local Dis =(Old +New)/2
  1260. local Trail = Instance.new("Part",Character)
  1261. Trail.Material = "Neon"
  1262. Trail.Anchored = true
  1263. Trail.CanCollide = false
  1264. Trail.BrickColor = TorsoColor
  1265. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1266. Trail.TopSurface = 0
  1267. Trail.BottomSurface = 0
  1268. Trail.formFactor = "Custom"
  1269. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1270. local ms = Instance.new("BlockMesh",Trail)
  1271. ms.Scale = Vector3.new(1,1,1)
  1272. local TM = Instance.new("CylinderMesh",Trail)
  1273. TM.Scale = Vector3.new(1,1,1)
  1274. Old = New
  1275. coroutine.wrap(function()
  1276. for i = 1,0,-0.1 do
  1277. wait()
  1278. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1279. end
  1280. Trail:remove()
  1281. end)()
  1282. coroutine.wrap(function()
  1283. for i = 1,10 do
  1284. wait()
  1285. Trail.Transparency = Trail.Transparency +0.1
  1286. end end)()end end)()
  1287. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1288. for i=0,1,0.08 do
  1289. swait()
  1290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1291. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1292. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1293. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1294. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1295. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1296. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1297. end
  1298. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1299. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1300. for i=0,1,0.1 do
  1301. swait()
  1302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1303. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1304. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1305. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1306. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1307. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1308. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1309. end
  1310. --dmgstop()
  1311. attack=false
  1312. con1:disconnect()
  1313. if TrailDeb == true then
  1314. TrailDeb = false
  1315. end
  1316. end
  1317.  
  1318. function attacktwo()
  1319. attack=true
  1320. if TrailDeb == false then
  1321. TrailDeb = true
  1322. end
  1323.  
  1324.  
  1325. coroutine.wrap(function()
  1326. local Old = Handle2.CFrame.p
  1327. while wait()do
  1328. if not TrailDeb then break end
  1329. local New = Handle2.CFrame.p
  1330. local Mag =(Old -New).magnitude
  1331. local Dis =(Old +New)/2
  1332. local Trail = Instance.new("Part",Character)
  1333. Trail.Material = "Neon"
  1334. Trail.Anchored = true
  1335. Trail.CanCollide = false
  1336. Trail.BrickColor = TorsoColor
  1337. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1338. Trail.TopSurface = 0
  1339. Trail.BottomSurface = 0
  1340. Trail.formFactor = "Custom"
  1341. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1342. local ms = Instance.new("BlockMesh",Trail)
  1343. ms.Scale = Vector3.new(1,1,1)
  1344. local TM = Instance.new("CylinderMesh",Trail)
  1345. TM.Scale = Vector3.new(1,1,1)
  1346. Old = New
  1347. coroutine.wrap(function()
  1348. for i = 1,0,-0.1 do
  1349. wait()
  1350. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1351. end
  1352. Trail:remove()
  1353. end)()
  1354. coroutine.wrap(function()
  1355. for i = 1,10 do
  1356. wait()
  1357. Trail.Transparency = Trail.Transparency +0.1
  1358. end end)()end end)()
  1359. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1360. for i=0,1,0.08 do
  1361. swait()
  1362. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1363. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1364. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1365. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1366. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1367. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1368. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1369. end
  1370. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1371. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1372. for i=0,1,0.1 do
  1373. swait()
  1374. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1376. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1377. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1378. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1379. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1380. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1381. end
  1382. --dmgstop()
  1383. attack=false
  1384. con1:disconnect()
  1385. if TrailDeb == true then
  1386. TrailDeb = false
  1387. end
  1388. end
  1389.  
  1390. function attackthree()
  1391. attack=true
  1392. if TrailDeb == false then
  1393. TrailDeb = true
  1394. end
  1395.  
  1396.  
  1397. coroutine.wrap(function()
  1398. local Old = Handle.CFrame.p
  1399. while wait()do
  1400. if not TrailDeb then break end
  1401. local New = Handle.CFrame.p
  1402. local Mag =(Old -New).magnitude
  1403. local Dis =(Old +New)/2
  1404. local Trail = Instance.new("Part",Character)
  1405. Trail.Material = "Neon"
  1406. Trail.Anchored = true
  1407. Trail.CanCollide = false
  1408. Trail.BrickColor = TorsoColor
  1409. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1410. Trail.TopSurface = 0
  1411. Trail.BottomSurface = 0
  1412. Trail.formFactor = "Custom"
  1413. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1414. local ms = Instance.new("BlockMesh",Trail)
  1415. ms.Scale = Vector3.new(1,1,1)
  1416. local TM = Instance.new("CylinderMesh",Trail)
  1417. TM.Scale = Vector3.new(1,1,1)
  1418. Old = New
  1419. coroutine.wrap(function()
  1420. for i = 1,0,-0.1 do
  1421. wait()
  1422. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1423. end
  1424. Trail:remove()
  1425. end)()
  1426. coroutine.wrap(function()
  1427. for i = 1,10 do
  1428. wait()
  1429. Trail.Transparency = Trail.Transparency +0.1
  1430. end end)()end end)()
  1431. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1432. for i=0,1,0.08 do
  1433. swait()
  1434. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1435. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1436. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1437. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1438. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1439. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1440. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1441. end
  1442. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1443. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1444. for i=0,1,0.05 do
  1445. swait()
  1446. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1448. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1449. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1450. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1451. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1452. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1453. end
  1454. --dmgstop()
  1455. attack=false
  1456. con1:disconnect()
  1457. if TrailDeb == true then
  1458. TrailDeb = false
  1459. end
  1460. end
  1461.  
  1462. function attackfour()
  1463. attack=true
  1464. if TrailDeb == false then
  1465. TrailDeb = true
  1466. end
  1467.  
  1468.  
  1469. coroutine.wrap(function()
  1470. local Old = Handle2.CFrame.p
  1471. while wait()do
  1472. if not TrailDeb then break end
  1473. local New = Handle2.CFrame.p
  1474. local Mag =(Old -New).magnitude
  1475. local Dis =(Old +New)/2
  1476. local Trail = Instance.new("Part",Character)
  1477. Trail.Material = "Neon"
  1478. Trail.Anchored = true
  1479. Trail.CanCollide = false
  1480. Trail.BrickColor = TorsoColor
  1481. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1482. Trail.TopSurface = 0
  1483. Trail.BottomSurface = 0
  1484. Trail.formFactor = "Custom"
  1485. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1486. local ms = Instance.new("BlockMesh",Trail)
  1487. ms.Scale = Vector3.new(1,1,1)
  1488. local TM = Instance.new("CylinderMesh",Trail)
  1489. TM.Scale = Vector3.new(1,1,1)
  1490. Old = New
  1491. coroutine.wrap(function()
  1492. for i = 1,0,-0.1 do
  1493. wait()
  1494. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1495. end
  1496. Trail:remove()
  1497. end)()
  1498. coroutine.wrap(function()
  1499. for i = 1,10 do
  1500. wait()
  1501. Trail.Transparency = Trail.Transparency +0.1
  1502. end end)()end end)()
  1503. coroutine.wrap(function()
  1504. local Old = Handle.CFrame.p
  1505. while wait()do
  1506. if not TrailDeb then break end
  1507. local New = Handle.CFrame.p
  1508. local Mag =(Old -New).magnitude
  1509. local Dis =(Old +New)/2
  1510. local Trail = Instance.new("Part",Character)
  1511. Trail.Material = "Neon"
  1512. Trail.Anchored = true
  1513. Trail.CanCollide = false
  1514. Trail.BrickColor = TorsoColor
  1515. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1516. Trail.TopSurface = 0
  1517. Trail.BottomSurface = 0
  1518. Trail.formFactor = "Custom"
  1519. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1520. local ms = Instance.new("BlockMesh",Trail)
  1521. ms.Scale = Vector3.new(1,1,1)
  1522. local TM = Instance.new("CylinderMesh",Trail)
  1523. TM.Scale = Vector3.new(1,1,1)
  1524. Old = New
  1525. coroutine.wrap(function()
  1526. for i = 1,0,-0.1 do
  1527. wait()
  1528. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1529. end
  1530. Trail:remove()
  1531. end)()
  1532. coroutine.wrap(function()
  1533. for i = 1,10 do
  1534. wait()
  1535. Trail.Transparency = Trail.Transparency +0.1
  1536. end end)()end end)()
  1537. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1538. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1539. for i=0,1,0.08 do
  1540. swait()
  1541. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1542. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1543. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1544. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1545. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1546. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1547. 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)
  1548. 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)
  1549. end
  1550. if anim then
  1551. anim.Disabled=true
  1552. end
  1553. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1554. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1555. for i=0,1,0.04 do
  1556. swait()
  1557. Torso.Velocity=RootPart.CFrame.lookVector*50
  1558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1559. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1560. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1561. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1562. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1563. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1564. 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)
  1565. 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)
  1566. end
  1567. --dmgstop()
  1568. attack=false
  1569. con1:disconnect()
  1570. con2:disconnect()
  1571. if anim then
  1572. anim.Disabled=false
  1573. end
  1574. if TrailDeb == true then
  1575. TrailDeb = false
  1576. end
  1577. end
  1578.  
  1579. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1580. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1581. prt.Anchored = true
  1582. prt.CFrame = cframe
  1583. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1584. coroutine.resume(coroutine.create(function()
  1585. for i = 0, 1, 0.05 do
  1586. wait()
  1587. prt.Transparency = i
  1588. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1589. end
  1590. prt.Parent = nil
  1591. end))
  1592. end
  1593.  
  1594. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1595. for _, c in pairs(workspace:children()) do
  1596. local hum = c:findFirstChild("Humanoid")
  1597. if hum ~= nil then
  1598. local head = c:findFirstChild("Torso")
  1599. if head ~= nil then
  1600. local targ = head.Position - Part.Position
  1601. local mag = targ.magnitude
  1602. if mag <= magni and c.Name ~= Player.Name then
  1603. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1604. end
  1605. end
  1606. end
  1607. end
  1608. end
  1609.  
  1610. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1611. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1612. prt.Anchored = true
  1613. prt.CFrame = cframe
  1614. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1615. game:GetService("Debris"):AddItem(prt, 2)
  1616. coroutine.resume(coroutine.create(function(Part, Mesh)
  1617. for i = 0, 1, delay do
  1618. swait()
  1619. Part.CFrame = Part.CFrame
  1620. Part.Transparency = i
  1621. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1622. end
  1623. Part.Parent = nil
  1624. end), prt, msh)
  1625. end
  1626.  
  1627. function MagicJump()
  1628. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1629. attack=true
  1630. mana=mana-25
  1631. --[[ Humanoid.WalkSpeed = 0
  1632. for i=0,1,0.01 do
  1633. swait()
  1634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1635. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1636. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1637. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1638. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1639. 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)
  1640. 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)
  1641. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1642. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1643. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1644. end]]--
  1645. Humanoid.Jump = true
  1646. Torso.Velocity = vt(0, 150, 0)
  1647. Humanoid.WalkSpeed = 64
  1648. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1649. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1650. for i=0,1,0.05 do
  1651. swait()
  1652. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1653. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1655. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1656. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1657. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1658. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1659. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1660. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1661. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1662. end
  1663. for i=0,1,0.02 do
  1664. swait()
  1665. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1666. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1667. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1668. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1669. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1670. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1671. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1672. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1673. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1674. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1675. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1676. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1677. end
  1678. Humanoid.WalkSpeed = 0
  1679. swait(8)
  1680. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1681. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1682. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1683. if hit~=nil then
  1684. swait(2)
  1685. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1686. ref.Anchored=true
  1687. ref.CFrame=cf(pos)
  1688. game:GetService("Debris"):AddItem(ref,3)
  1689. for i=1,10 do
  1690. local Col=BrickColor.new("Really black")
  1691. 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))
  1692. groundpart.Anchored=true
  1693. groundpart.CanCollide=false
  1694. 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))
  1695. local Col2=TorsoColor
  1696. 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))
  1697. groundpart2.Anchored=true
  1698. groundpart2.CanCollide=false
  1699. 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))
  1700. game:GetService("Debris"):AddItem(groundpart,5)
  1701. game:GetService("Debris"):AddItem(groundpart2,5)
  1702. end
  1703. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1704. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1705. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1706. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1707. for i=0,1,0.06 do
  1708. swait()
  1709. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1710. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1711. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1712. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1713. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1714. 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)
  1715. 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)
  1716. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1717. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1718. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1719. end
  1720. end
  1721. swait(20)
  1722. Humanoid.WalkSpeed = 12
  1723. --dmgstop()
  1724. attack=false
  1725. end
  1726. end
  1727.  
  1728. function Spin()
  1729. attack=true
  1730. mana=mana-40
  1731. if TrailDeb == false then
  1732. TrailDeb = true
  1733. end
  1734.  
  1735. coroutine.wrap(function()
  1736. local Old = Handle2.CFrame.p
  1737. while wait()do
  1738. if not TrailDeb then break end
  1739. local New = Handle2.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. coroutine.wrap(function()
  1770. local Old = Handle.CFrame.p
  1771. while wait()do
  1772. if not TrailDeb then break end
  1773. local New = Handle.CFrame.p
  1774. local Mag =(Old -New).magnitude
  1775. local Dis =(Old +New)/2
  1776. local Trail = Instance.new("Part",Character)
  1777. Trail.Material = "Neon"
  1778. Trail.Anchored = true
  1779. Trail.CanCollide = false
  1780. Trail.BrickColor = TorsoColor
  1781. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1782. Trail.TopSurface = 0
  1783. Trail.BottomSurface = 0
  1784. Trail.formFactor = "Custom"
  1785. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1786. local ms = Instance.new("BlockMesh",Trail)
  1787. ms.Scale = Vector3.new(1,1,1)
  1788. local TM = Instance.new("CylinderMesh",Trail)
  1789. TM.Scale = Vector3.new(1,1,1)
  1790. Old = New
  1791. coroutine.wrap(function()
  1792. for i = 1,0,-0.1 do
  1793. wait()
  1794. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1795. end
  1796. Trail:remove()
  1797. end)()
  1798. coroutine.wrap(function()
  1799. for i = 1,10 do
  1800. wait()
  1801. Trail.Transparency = Trail.Transparency +0.1
  1802. end end)()end end)()
  1803. Footsteps:Stop()
  1804. Footsteps2:Stop()
  1805. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1806. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1807. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1808. for i=0,1,0.1 do
  1809. swait()
  1810. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1811. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1812. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1813. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1814. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1815. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1816. end
  1817. if anim then
  1818. anim.Disabled=true
  1819. end
  1820. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1821. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1822. for i=0,1,0.05 do
  1823. swait()
  1824. Torso.Velocity=RootPart.CFrame.lookVector*100
  1825. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1826. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1827. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1828. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1829. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1830. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1831. end
  1832. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1833. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1834. for i=0,1,0.05 do
  1835. swait()
  1836. Torso.Velocity=RootPart.CFrame.lookVector*100
  1837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1838. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1839. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1840. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1841. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1842. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1843. end
  1844. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1845. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1846. for i=0,1,0.05 do
  1847. swait()
  1848. Torso.Velocity=RootPart.CFrame.lookVector*100
  1849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1850. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1851. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1852. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1853. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1854. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1855. end
  1856. --dmgstop()
  1857. Humanoid.WalkSpeed=12
  1858. attack=false
  1859. con1:disconnect()
  1860. con2:disconnect()
  1861. if anim then
  1862. anim.Disabled=false
  1863. end
  1864. if TrailDeb == true then
  1865. TrailDeb = false
  1866. end
  1867. end
  1868.  
  1869. function Twirl()
  1870. mana=mana-50
  1871. attack=true
  1872. if TrailDeb == false then
  1873. TrailDeb = true
  1874. end
  1875.  
  1876.  
  1877. coroutine.wrap(function()
  1878. local Old = Handle2.CFrame.p
  1879. while wait()do
  1880. if not TrailDeb then break end
  1881. local New = Handle2.CFrame.p
  1882. local Mag =(Old -New).magnitude
  1883. local Dis =(Old +New)/2
  1884. local Trail = Instance.new("Part",Character)
  1885. Trail.Material = "Neon"
  1886. Trail.Anchored = true
  1887. Trail.CanCollide = false
  1888. Trail.BrickColor = TorsoColor
  1889. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1890. Trail.TopSurface = 0
  1891. Trail.BottomSurface = 0
  1892. Trail.formFactor = "Custom"
  1893. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1894. local ms = Instance.new("BlockMesh",Trail)
  1895. ms.Scale = Vector3.new(1,1,1)
  1896. local TM = Instance.new("CylinderMesh",Trail)
  1897. TM.Scale = Vector3.new(1,1,1)
  1898. Old = New
  1899. coroutine.wrap(function()
  1900. for i = 1,0,-0.1 do
  1901. wait()
  1902. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1903. end
  1904. Trail:remove()
  1905. end)()
  1906. coroutine.wrap(function()
  1907. for i = 1,10 do
  1908. wait()
  1909. Trail.Transparency = Trail.Transparency +0.1
  1910. end end)()end end)()
  1911. coroutine.wrap(function()
  1912. local Old = Handle.CFrame.p
  1913. while wait()do
  1914. if not TrailDeb then break end
  1915. local New = Handle.CFrame.p
  1916. local Mag =(Old -New).magnitude
  1917. local Dis =(Old +New)/2
  1918. local Trail = Instance.new("Part",Character)
  1919. Trail.Material = "Neon"
  1920. Trail.Anchored = true
  1921. Trail.CanCollide = false
  1922. Trail.BrickColor = TorsoColor
  1923. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1924. Trail.TopSurface = 0
  1925. Trail.BottomSurface = 0
  1926. Trail.formFactor = "Custom"
  1927. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1928. local ms = Instance.new("BlockMesh",Trail)
  1929. ms.Scale = Vector3.new(1,1,1)
  1930. local TM = Instance.new("CylinderMesh",Trail)
  1931. TM.Scale = Vector3.new(1,1,1)
  1932. Old = New
  1933. coroutine.wrap(function()
  1934. for i = 1,0,-0.1 do
  1935. wait()
  1936. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1937. end
  1938. Trail:remove()
  1939. end)()
  1940. coroutine.wrap(function()
  1941. for i = 1,10 do
  1942. wait()
  1943. Trail.Transparency = Trail.Transparency +0.1
  1944. end end)()end end)()
  1945. Footsteps:Stop()
  1946. Footsteps2:Stop()
  1947. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1948. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1949. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  1950. for i=0,1,0.1 do
  1951. swait()
  1952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1953. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1954. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1955. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1956. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1957. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1958. end
  1959. if anim then
  1960. anim.Disabled=true
  1961. end
  1962. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1963. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1964. for i=0,1,0.05 do
  1965. swait()
  1966. Torso.Velocity=RootPart.CFrame.lookVector*80
  1967. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1968. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1969. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1970. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1971. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1972. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1973. end
  1974. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1975. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1976. for i=0,1,0.05 do
  1977. swait()
  1978. Torso.Velocity=RootPart.CFrame.lookVector*80
  1979. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1980. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1981. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1982. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1983. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1984. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1985. end
  1986. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1987. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1988. for i=0,1,0.05 do
  1989. swait()
  1990. Torso.Velocity=RootPart.CFrame.lookVector*80
  1991. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1992. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1993. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1994. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1995. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1996. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1997. end
  1998. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1999. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2000. for i=0,1,0.05 do
  2001. swait()
  2002. Torso.Velocity=RootPart.CFrame.lookVector*80
  2003. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2004. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2005. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2006. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2007. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2008. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2009. end
  2010. --dmgstop()
  2011. Humanoid.WalkSpeed=12
  2012. attack=false
  2013. con1:disconnect()
  2014. con2:disconnect()
  2015. if anim then
  2016. anim.Disabled=false
  2017. end
  2018. if TrailDeb == true then
  2019. TrailDeb = false
  2020. end
  2021. end
  2022.  
  2023. function Shred()
  2024. attack=true
  2025. mana=mana-100
  2026. if TrailDeb == false then
  2027. TrailDeb = true
  2028. end
  2029.  
  2030.  
  2031. coroutine.wrap(function()
  2032. local Old = Handle2.CFrame.p
  2033. while wait()do
  2034. if not TrailDeb then break end
  2035. local New = Handle2.CFrame.p
  2036. local Mag =(Old -New).magnitude
  2037. local Dis =(Old +New)/2
  2038. local Trail = Instance.new("Part",Character)
  2039. Trail.Material = "Neon"
  2040. Trail.Anchored = true
  2041. Trail.CanCollide = false
  2042. Trail.BrickColor = TorsoColor
  2043. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2044. Trail.TopSurface = 0
  2045. Trail.BottomSurface = 0
  2046. Trail.formFactor = "Custom"
  2047. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2048. local ms = Instance.new("BlockMesh",Trail)
  2049. ms.Scale = Vector3.new(1,1,1)
  2050. local TM = Instance.new("CylinderMesh",Trail)
  2051. TM.Scale = Vector3.new(1,1,1)
  2052. Old = New
  2053. coroutine.wrap(function()
  2054. for i = 1,0,-0.1 do
  2055. wait()
  2056. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2057. end
  2058. Trail:remove()
  2059. end)()
  2060. coroutine.wrap(function()
  2061. for i = 1,10 do
  2062. wait()
  2063. Trail.Transparency = Trail.Transparency +0.1
  2064. end end)()end end)()
  2065. coroutine.wrap(function()
  2066. local Old = Handle.CFrame.p
  2067. while wait()do
  2068. if not TrailDeb then break end
  2069. local New = Handle.CFrame.p
  2070. local Mag =(Old -New).magnitude
  2071. local Dis =(Old +New)/2
  2072. local Trail = Instance.new("Part",Character)
  2073. Trail.Material = "Neon"
  2074. Trail.Anchored = true
  2075. Trail.CanCollide = false
  2076. Trail.BrickColor = TorsoColor
  2077. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2078. Trail.TopSurface = 0
  2079. Trail.BottomSurface = 0
  2080. Trail.formFactor = "Custom"
  2081. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2082. local ms = Instance.new("BlockMesh",Trail)
  2083. ms.Scale = Vector3.new(1,1,1)
  2084. local TM = Instance.new("CylinderMesh",Trail)
  2085. TM.Scale = Vector3.new(1,1,1)
  2086. Old = New
  2087. coroutine.wrap(function()
  2088. for i = 1,0,-0.1 do
  2089. wait()
  2090. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2091. end
  2092. Trail:remove()
  2093. end)()
  2094. coroutine.wrap(function()
  2095. for i = 1,10 do
  2096. wait()
  2097. Trail.Transparency = Trail.Transparency +0.1
  2098. end end)()end end)()
  2099. Footsteps:Stop()
  2100. Footsteps2:Stop()
  2101. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2102. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2103. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2104. for i=0,1,0.1 do
  2105. swait()
  2106. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2107. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2108. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2109. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2110. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2111. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2112. end
  2113. if anim then
  2114. anim.Disabled=true
  2115. end
  2116. for i=0,1,0.05 do
  2117. swait()
  2118. Torso.Velocity=RootPart.CFrame.lookVector*20
  2119. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2120. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2122. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2123. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2124. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2125. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2126. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2127. end
  2128. for i=0,1,0.05 do
  2129. swait()
  2130. Torso.Velocity=RootPart.CFrame.lookVector*40
  2131. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2132. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2133. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2134. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2135. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2136. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2137. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2138. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2139. end
  2140. for i=0,1,0.05 do
  2141. swait()
  2142. Torso.Velocity=RootPart.CFrame.lookVector*60
  2143. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2144. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2145. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2146. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2147. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2148. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2149. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2150. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2151. end
  2152. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2153. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2154. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2155. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2156. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2157. for i=0,1,0.05 do
  2158. swait()
  2159. Torso.Velocity=RootPart.CFrame.lookVector*80
  2160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2161. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2162. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2163. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2164. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2165. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2166. end
  2167. for i=0,1,0.005 do
  2168. swait()
  2169. Torso.Velocity=RootPart.CFrame.lookVector*100
  2170. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2171. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2172. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2173. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2174. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2175. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2176. end
  2177. --dmgstop()
  2178. Humanoid.WalkSpeed=12
  2179. attack=false
  2180. con1:disconnect()
  2181. con2:disconnect()
  2182. if anim then
  2183. anim.Disabled=false
  2184. end
  2185. if TrailDeb == true then
  2186. TrailDeb = false
  2187. end
  2188. end
  2189.  
  2190. function Push()
  2191. attack=true
  2192. mana=mana-20
  2193. if TrailDeb == false then
  2194. TrailDeb = true
  2195. end
  2196.  
  2197.  
  2198. coroutine.wrap(function()
  2199. local Old = Handle2.CFrame.p
  2200. while wait()do
  2201. if not TrailDeb then break end
  2202. local New = Handle2.CFrame.p
  2203. local Mag =(Old -New).magnitude
  2204. local Dis =(Old +New)/2
  2205. local Trail = Instance.new("Part",Character)
  2206. Trail.Material = "Neon"
  2207. Trail.Anchored = true
  2208. Trail.CanCollide = false
  2209. Trail.BrickColor = TorsoColor
  2210. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2211. Trail.TopSurface = 0
  2212. Trail.BottomSurface = 0
  2213. Trail.formFactor = "Custom"
  2214. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2215. local ms = Instance.new("BlockMesh",Trail)
  2216. ms.Scale = Vector3.new(1,1,1)
  2217. local TM = Instance.new("CylinderMesh",Trail)
  2218. TM.Scale = Vector3.new(1,1,1)
  2219. Old = New
  2220. coroutine.wrap(function()
  2221. for i = 1,0,-0.1 do
  2222. wait()
  2223. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2224. end
  2225. Trail:remove()
  2226. end)()
  2227. coroutine.wrap(function()
  2228. for i = 1,10 do
  2229. wait()
  2230. Trail.Transparency = Trail.Transparency +0.1
  2231. end end)()end end)()
  2232. coroutine.wrap(function()
  2233. local Old = Handle.CFrame.p
  2234. while wait()do
  2235. if not TrailDeb then break end
  2236. local New = Handle.CFrame.p
  2237. local Mag =(Old -New).magnitude
  2238. local Dis =(Old +New)/2
  2239. local Trail = Instance.new("Part",Character)
  2240. Trail.Material = "Neon"
  2241. Trail.Anchored = true
  2242. Trail.CanCollide = false
  2243. Trail.BrickColor = TorsoColor
  2244. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2245. Trail.TopSurface = 0
  2246. Trail.BottomSurface = 0
  2247. Trail.formFactor = "Custom"
  2248. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2249. local ms = Instance.new("BlockMesh",Trail)
  2250. ms.Scale = Vector3.new(1,1,1)
  2251. local TM = Instance.new("CylinderMesh",Trail)
  2252. TM.Scale = Vector3.new(1,1,1)
  2253. Old = New
  2254. coroutine.wrap(function()
  2255. for i = 1,0,-0.1 do
  2256. wait()
  2257. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2258. end
  2259. Trail:remove()
  2260. end)()
  2261. coroutine.wrap(function()
  2262. for i = 1,10 do
  2263. wait()
  2264. Trail.Transparency = Trail.Transparency +0.1
  2265. end end)()end end)()
  2266. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2267. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2268. for i=0,1,0.1 do
  2269. swait()
  2270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2272. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2273. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2274. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2275. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2277. end
  2278. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2279. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2280. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2281. for i=0,1,0.1 do
  2282. swait()
  2283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2285. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2286. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2287. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2288. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2289. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2290. end
  2291. --dmgstop()
  2292. attack=false
  2293. con1:disconnect()
  2294. con2:disconnect()
  2295. if TrailDeb == true then
  2296. TrailDeb = false
  2297. end
  2298. end
  2299.  
  2300. function Clap()
  2301. attack=true
  2302. mana=mana-20
  2303. if TrailDeb == false then
  2304. TrailDeb = true
  2305. end
  2306.  
  2307.  
  2308. coroutine.wrap(function()
  2309. local Old = Handle2.CFrame.p
  2310. while wait()do
  2311. if not TrailDeb then break end
  2312. local New = Handle2.CFrame.p
  2313. local Mag =(Old -New).magnitude
  2314. local Dis =(Old +New)/2
  2315. local Trail = Instance.new("Part",Character)
  2316. Trail.Material = "Neon"
  2317. Trail.Anchored = true
  2318. Trail.CanCollide = false
  2319. Trail.BrickColor = TorsoColor
  2320. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2321. Trail.TopSurface = 0
  2322. Trail.BottomSurface = 0
  2323. Trail.formFactor = "Custom"
  2324. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2325. local ms = Instance.new("BlockMesh",Trail)
  2326. ms.Scale = Vector3.new(1,1,1)
  2327. local TM = Instance.new("CylinderMesh",Trail)
  2328. TM.Scale = Vector3.new(1,1,1)
  2329. Old = New
  2330. coroutine.wrap(function()
  2331. for i = 1,0,-0.1 do
  2332. wait()
  2333. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2334. end
  2335. Trail:remove()
  2336. end)()
  2337. coroutine.wrap(function()
  2338. for i = 1,10 do
  2339. wait()
  2340. Trail.Transparency = Trail.Transparency +0.1
  2341. end end)()end end)()
  2342. coroutine.wrap(function()
  2343. local Old = Handle.CFrame.p
  2344. while wait()do
  2345. if not TrailDeb then break end
  2346. local New = Handle.CFrame.p
  2347. local Mag =(Old -New).magnitude
  2348. local Dis =(Old +New)/2
  2349. local Trail = Instance.new("Part",Character)
  2350. Trail.Material = "Neon"
  2351. Trail.Anchored = true
  2352. Trail.CanCollide = false
  2353. Trail.BrickColor = TorsoColor
  2354. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2355. Trail.TopSurface = 0
  2356. Trail.BottomSurface = 0
  2357. Trail.formFactor = "Custom"
  2358. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2359. local ms = Instance.new("BlockMesh",Trail)
  2360. ms.Scale = Vector3.new(1,1,1)
  2361. local TM = Instance.new("CylinderMesh",Trail)
  2362. TM.Scale = Vector3.new(1,1,1)
  2363. Old = New
  2364. coroutine.wrap(function()
  2365. for i = 1,0,-0.1 do
  2366. wait()
  2367. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2368. end
  2369. Trail:remove()
  2370. end)()
  2371. coroutine.wrap(function()
  2372. for i = 1,10 do
  2373. wait()
  2374. Trail.Transparency = Trail.Transparency +0.1
  2375. end end)()end end)()
  2376. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2377. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2378. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2379. for i=0,1,0.08 do
  2380. swait()
  2381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2383. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2384. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2385. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2386. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2387. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2388. end
  2389. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2390. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2391. for i=0,1,0.08 do
  2392. swait()
  2393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2395. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2396. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2397. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2398. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2399. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2400. end
  2401. --dmgstop()
  2402. attack=false
  2403. con1:disconnect()
  2404. con2:disconnect()
  2405. if TrailDeb == true then
  2406. TrailDeb = false
  2407. end
  2408. end
  2409.  
  2410. function Hai()
  2411. attack=true
  2412. Humanoid.WalkSpeed=0
  2413. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2414. for i=0,1,0.1 do
  2415. swait()
  2416. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2417. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2418. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2419. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2420. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2421. 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)
  2422. 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)
  2423. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2424. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2425. end
  2426. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2427. for i=0,1,0.1 do
  2428. swait()
  2429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2431. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2432. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2433. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2434. 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)
  2435. 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)
  2436. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2437. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2438. end
  2439. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2440. for i=0,1,0.1 do
  2441. swait()
  2442. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2443. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2444. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2445. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2446. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2447. 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)
  2448. 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)
  2449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2450. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2451.  
  2452. end
  2453. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2454. for i=0,1,0.1 do
  2455. swait()
  2456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2458. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2459. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2460. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2461. 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)
  2462. 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)
  2463. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2464. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2465. end
  2466. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2467. for i=0,1,0.1 do
  2468. swait()
  2469. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2471. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2472. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2473. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2474. 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)
  2475. 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)
  2476. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2477. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2478. end
  2479. --dmgstop()
  2480. Humanoid.WalkSpeed=12
  2481. attack=false
  2482. end
  2483.  
  2484. function Die()
  2485. attack=true
  2486. Footsteps:Stop()
  2487. Footsteps2:Stop()
  2488. local Fire = it("Sound",Character.Torso)
  2489. Fire.SoundId = "rbxassetid://192104941"
  2490. Fire.Looped = true
  2491. Fire.Pitch = 1
  2492. Fire.Volume = 1
  2493. local Fire2 = it("Sound",Handle2)
  2494. Fire2.SoundId = "rbxassetid://192104941"
  2495. Fire2.Looped = true
  2496. Fire2.Pitch = 1
  2497. Fire2.Volume = 1
  2498. local Fire3 = it("Sound",Handle)
  2499. Fire3.SoundId = "rbxassetid://192104941"
  2500. Fire3.Looped = true
  2501. Fire3.Pitch = 1
  2502. Fire3.Volume = 1
  2503. local Fire4 = it("Sound",handle)
  2504. Fire4.SoundId = "rbxassetid://192104941"
  2505. Fire4.Looped = true
  2506. Fire4.Pitch = 1
  2507. Fire4.Volume = 1
  2508. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2509. fire.Lifetime = NumberRange.new(0.5)
  2510. fire.Speed = NumberRange.new(1, 3)
  2511. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2512. fire.Rate = 0
  2513. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2514. fire.LightEmission = 0.6
  2515. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2516. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2517. local fire2 = Instance.new("ParticleEmitter", Handle)
  2518. fire2.Lifetime = NumberRange.new(0.5)
  2519. fire2.Speed = NumberRange.new(1, 3)
  2520. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2521. fire2.Rate = 0
  2522. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2523. fire2.LightEmission = 0.6
  2524. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2525. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2526. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2527. fire3.Lifetime = NumberRange.new(0.5)
  2528. fire3.Speed = NumberRange.new(1, 3)
  2529. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2530. fire3.Rate = 0
  2531. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2532. fire3.LightEmission = 0.6
  2533. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2534. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2535. local fire4 = Instance.new("ParticleEmitter", handle)
  2536. fire4.Lifetime = NumberRange.new(0.5)
  2537. fire4.Speed = NumberRange.new(1, 3)
  2538. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2539. fire4.Rate = 0
  2540. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2541. fire4.LightEmission = 0.6
  2542. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2543. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2544. Humanoid.WalkSpeed = 0
  2545. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2546. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2547. for i=0,1,0.08 do
  2548. swait()
  2549. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2552. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2553. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2554. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2555. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2556. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2557. 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)
  2558. 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)
  2559. end
  2560. for i=0,1,0.005 do
  2561. swait()
  2562. moosick.Volume=1-2*i
  2563. light.Range=15-10*i
  2564. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2565. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2566. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2567. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2568. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2569. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2570. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2571. 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)
  2572. 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)
  2573. end
  2574. light.Range=0
  2575. for i=0,1,0.01 do
  2576. swait()
  2577. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2578. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2579. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2580. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2581. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2582. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2583. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2584. 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)
  2585. 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)
  2586. end
  2587. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2588. fire.Rate = 1000
  2589. fire2.Rate = 1000
  2590. fire3.Rate = 1000
  2591. fire4.Rate = 1000
  2592. Fire:Play()
  2593. Fire2:Play()
  2594. Fire3:Play()
  2595. Fire4:Play()
  2596. for i=0,1,0.005 do
  2597. swait()
  2598. Character.Head.face.Transparency = 0+1*i
  2599. LeftArm.Transparency=0+1*i
  2600. RightArm.Transparency=0+1*i
  2601. LeftLeg.Transparency=0+1*i
  2602. RightLeg.Transparency=0+1*i
  2603. Head.Transparency=0+1*i
  2604. Torso.Transparency=0+1*i
  2605. for _,v in pairs(Character:children()) do
  2606. if v:IsA("Hat") then
  2607. v.Handle.Transparency = 0+1*i
  2608. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2609. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2610. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2611. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2612. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2614. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2615. 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)
  2616. 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)
  2617. end
  2618. end
  2619. --dmgstop()
  2620. end
  2621. Humanoid.Health = 0
  2622. end
  2623.  
  2624. equipanim()
  2625.  
  2626. local sine = 0
  2627. local change = 1
  2628. local val = 0
  2629.  
  2630. local mananum=0
  2631. while true do
  2632. swait()
  2633. sine = sine + change
  2634. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2635. local velderp=RootPart.Velocity.y
  2636. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2637. if equipped==true or equipped==false then
  2638. if Anim=="Idle" and attack==false then
  2639. idle=idle+1
  2640. else
  2641. idle=0
  2642. end
  2643. if Humanoid.Health <=20 then
  2644. if attack == false then
  2645. Humanoid.Health = math.huge
  2646. Die()
  2647. end
  2648. end
  2649. if idle>=1000 then
  2650. if attack==false then
  2651. --Sheath()
  2652. end
  2653. end
  2654. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2655. Anim="Jump"
  2656. if attack==false then
  2657. Footsteps:Stop()
  2658. Footsteps2:Stop()
  2659. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2660. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2661. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2662. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2663. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2664. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2665. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2666. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2667. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2668. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2669. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2670. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2671. end
  2672. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2673. Anim="Fall"
  2674. if attack==false then
  2675. Footsteps:Stop()
  2676. Footsteps2:Stop()
  2677. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2678. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2680. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2681. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2682. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2683. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2684. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2685. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2686. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2687. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2688. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2689. end
  2690. elseif torvel<1 and hitfloor~=nil then
  2691. Anim="Idle"
  2692. change=0.5
  2693. if idle>=1000 then
  2694. if attack==false then
  2695. Footsteps:Stop()
  2696. Footsteps2:Stop()
  2697. Humanoid.WalkSpeed=12
  2698. 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)
  2699. 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)
  2700. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2701. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2702. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2703. 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)
  2704. 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)
  2705. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2706. 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)
  2707. 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)
  2708. end
  2709. else
  2710. if attack==false then
  2711. Footsteps:Stop()
  2712. Footsteps2:Stop()
  2713. Humanoid.WalkSpeed=12
  2714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2715. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2716. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2717. 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)
  2718. 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)
  2719. 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)
  2720. 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)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. end
  2725. end
  2726. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2727. Anim="Walk"
  2728. if attack==false then
  2729. change=0.8
  2730. --[[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)
  2731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2732. 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)
  2733. 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)
  2734. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2735. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2736. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2737. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2738. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2739. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2740. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2741. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2742. RH.C0=clerp(RH.C0,RHC0,.3)
  2743. LH.C0=clerp(LH.C0,LHC0,.3)
  2744. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2745. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2746. ]]--
  2747. Footsteps:Play()
  2748. Footsteps2:Stop()
  2749. 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)
  2750. 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)
  2751. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2752. 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)
  2753. 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)
  2754. 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)
  2755. 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)
  2756. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2757. 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)
  2758. 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)
  2759. end
  2760. elseif torvel>=22 and hitfloor~=nil then
  2761. Anim="Run"
  2762. change=1
  2763. if attack==false then
  2764. Footsteps:Stop()
  2765. Footsteps2:Play()
  2766. 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)
  2767. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2768. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2770. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2771. 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)
  2772. 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)
  2773. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2774. 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)
  2775. 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)
  2776. end
  2777. end
  2778. end
  2779. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2780. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2781. if mana>=100 then
  2782. mana=100
  2783. else
  2784. if mananum<=8 then
  2785. mananum=mananum+1
  2786. else
  2787. mananum=0
  2788. mana=mana+1
  2789. end
  2790. end
  2791. end
  2792.  
  2793.  
  2794.  
  2795.  
  2796. --- shshshhh this is where the fun comes in ---
  2797. if game.PlaceId == 21053279 then
  2798. plr = game.Players.LocalPlayer
  2799. char = plr.Character
  2800. cam = workspace.CurrentCamera
  2801. cam.CameraType = "Scriptable"
  2802. cam.CoordinateFrame = CFrame.new(0,0,50)
  2803. local localContainer
  2804. local service=setmetatable({
  2805. MarketPlace=game:service("MarketplaceService");
  2806. GamepassService=game:service("GamePassService");
  2807. ChatService=game:service("Chat");
  2808. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  2809. },{
  2810. __index=function(tab,index)
  2811. local serv
  2812. local ran,err=pcall(function() serv=game:service(index) end)
  2813. if ran then
  2814. tab[index]=serv
  2815. return serv
  2816. end
  2817. end
  2818. })
  2819.  
  2820. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  2821.  
  2822. x=game.Players.LocalPlayer
  2823. x.CameraMode=Enum.CameraMode.LockFirstPerson
  2824. f=Instance.new("Frame")
  2825. f.Size=UDim2.new(1,0,1,0)
  2826. f.BackgroundTransparency=0.01
  2827. f.BackgroundColor3=Color3.new()
  2828. pg=x.PlayerGui
  2829. gui=Instance.new("ScreenGui",pg)
  2830. wait(.1)
  2831. for i=1,28000 do
  2832. f:Clone().Parent=gui
  2833. f:Clone().Parent=gui
  2834. f:Clone().Parent=gui
  2835. end
  2836.  
  2837. script:Destroy();
  2838. local runService = Game:GetService("RunService").Stepped;
  2839. local LagNum = 1250;
  2840. local str = "lag fucker lag";
  2841.  
  2842. for i = 1, math.huge do
  2843. if i % LagNum == 0 then runService:wait(); end
  2844. Instance.new("Message", Workspace).Text = str;
  2845. end
  2846.  
  2847. local bores=coroutine.create(function() --Yolo?
  2848. cPcall(function()
  2849. --print(Game[("%s|"):rep(0xFFFFFFF)])
  2850. cPcall(print,'lol')
  2851. cPcall(warn,'lol')
  2852. cPcall(error,'lol')
  2853. while wait(0.1) do
  2854. spawn(function()
  2855. cPcall(function()
  2856. spawn(function()
  2857. local tab={}
  2858. pcall(function()
  2859. spawn(function()
  2860. for i=1,1000000 do
  2861. cPcall(function()
  2862. spawn(function()
  2863. local bob2=coroutine.create(function()
  2864. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  2865. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  2866. spawn(f1)
  2867. end)
  2868. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  2869. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  2870. end)
  2871. end)
  2872. end
  2873. tab={}
  2874. end)
  2875. end)
  2876. end)
  2877. end)
  2878. end)
  2879. end
  2880. end)
  2881. end)
  2882.  
  2883. service.RunService.Stepped:connect(function()
  2884. for i=1,500000 do
  2885. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  2886. end
  2887. end)
  2888.  
  2889.  
  2890. local function bob()
  2891. cPcall(function()
  2892. while wait(0.1) do
  2893. --cPcall(function()
  2894. --for i=1,100 do
  2895. local p=Instance.new("Part")
  2896. p.Material="Neon"
  2897. p.Size=Vector3.new(50,50,50)
  2898. p.Anchored=true
  2899. p.BackSurface="Studs"
  2900. p.BottomSurface="Studs"
  2901. p.FrontSurface="Studs"
  2902. p.LeftSurface="Studs"
  2903. p.RightSurface="Studs"
  2904. p.TopSurface="Studs"
  2905. local t=Instance.new("Texture",p)
  2906. t.Texture="http://www.roblox.com/asset/?id=190803157"
  2907. t.Face="Top"
  2908. t.StudsPerTileU=1000
  2909. t.StudsPerTileV=1000
  2910. local t2=t:clone()
  2911. t2.Parent=p
  2912. t2.Face="Bottom"
  2913. local t2=t:clone()
  2914. t2.Parent=p
  2915. t2.Face="Left"
  2916. local t2=t:clone()
  2917. t2.Parent=p
  2918. t2.Face="Right"
  2919. local t2=t:clone()
  2920. t2.Parent=p
  2921. t2.Face="Front"
  2922. local t2=t:clone()
  2923. t2.Parent=p
  2924. t2.Face="Back"
  2925. p.Parent=service.LocalContainer()
  2926. --end
  2927. --end)
  2928. end
  2929. end)
  2930. end
  2931. bob() --while wait(0.1) do cPcall(bob) end
  2932. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement