Advertisement
DustyThomas

Holy Ravager

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