Advertisement
Aaronremmers14

Green ravager

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