Advertisement
derekiscool423

giant hands

Dec 20th, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.55 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.random()
  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()
  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()
  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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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,"Teal","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. local light = Instance.new("PointLight", Character.Torso)
  971. light.Color = Color3.new(255,255,255)
  972. light.Brightness = 5
  973. light.Range = 15
  974.  
  975. particleemitter.Enabled = true
  976.  
  977. local Footsteps = it("Sound",Character.Torso)
  978. Footsteps.SoundId = "rbxassetid://142665235"
  979. Footsteps.Looped = true
  980. Footsteps.Pitch = 0.8
  981. Footsteps.Volume = 0.3
  982.  
  983. local Footsteps2 = it("Sound",Character.Torso)
  984. Footsteps2.SoundId = "rbxassetid://142665235"
  985. Footsteps2.Looped = true
  986. Footsteps2.Pitch = 1
  987. Footsteps2.Volume = 0.4
  988.  
  989. local cam = game.Workspace.CurrentCamera
  990.  
  991. --cam.CameraSubject = Character
  992.  
  993. for i,v in pairs(Head:children()) do
  994. if v:IsA("Sound") then
  995. v:Destroy()
  996. end
  997. end
  998.  
  999. mouse.Button1Down:connect(function()
  1000. if attack==false and attacktype==1 then
  1001. attacktype=2
  1002. attackone()
  1003. elseif attack==false and attacktype==2 then
  1004. attacktype=3
  1005. attacktwo()
  1006. elseif attack==false and attacktype==3 then
  1007. attacktype=4
  1008. attackthree()
  1009. elseif attack==false and attacktype==4 then
  1010. attacktype=1
  1011. attackfour()
  1012. end
  1013. end)
  1014.  
  1015. mouse.KeyDown:connect(function(k)
  1016. k=k:lower()
  1017. if k=='e' then
  1018. if attack==false and mana>=20 then
  1019. Push()
  1020. end
  1021. elseif k=='g' then
  1022. if attack==false and mana>=50 then
  1023. Twirl()
  1024. end
  1025. elseif k=='v' then
  1026. if attack==false and mana>=25 then
  1027. MagicJump()
  1028. end
  1029. elseif k=='q' then
  1030. if attack==false then
  1031. idle=1000
  1032. end
  1033. elseif k=='h' then
  1034. if attack==false then
  1035. mana=100
  1036. end
  1037. elseif k=='y' then
  1038. if attack==false and mana>=100 then
  1039. Shred()
  1040. end
  1041. elseif k=='f' then
  1042. if attack==false and mana>=40 then
  1043. Spin()
  1044. end
  1045. elseif k=='r' then
  1046. if attack==false and mana>=20 then
  1047. Clap()
  1048. end
  1049. elseif k=='t' then
  1050. if attack==false then
  1051. Hai()
  1052. end
  1053. elseif k=='0' then
  1054. if attack==false then
  1055. Humanoid.WalkSpeed=(240)
  1056. end
  1057. elseif k=='j' then
  1058. if attack==false then
  1059. Humanoid.Health = 10
  1060. print("Congrats, you commited suicide.")
  1061. end
  1062. end
  1063. end)
  1064.  
  1065. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1066. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1067. prt.Anchored=true
  1068. prt.CFrame=cframe
  1069. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1070. game:GetService("Debris"):AddItem(prt,2)
  1071. coroutine.resume(coroutine.create(function(Part,Mesh)
  1072. for i=0,1,delay do
  1073. wait()
  1074. Part.CFrame=Part.CFrame
  1075. Part.Transparency=i
  1076. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1077. end
  1078. Part.Parent=nil
  1079. end),prt,msh)
  1080. end
  1081.  
  1082. TrailDeb = false
  1083.  
  1084. function equipanim()
  1085. attack=true
  1086. Humanoid.WalkSpeed = 0
  1087. if TrailDeb == false then
  1088. TrailDeb = true
  1089. end
  1090.  
  1091.  
  1092. coroutine.wrap(function()
  1093. local Old = handle.CFrame.p
  1094. while wait()do
  1095. if not TrailDeb then break end
  1096. local New = handle.CFrame.p
  1097. local Mag =(Old -New).magnitude
  1098. local Dis =(Old +New)/2
  1099. local Trail = Instance.new("Part",Character)
  1100. Trail.Material = "Neon"
  1101. Trail.Anchored = true
  1102. Trail.CanCollide = false
  1103. Trail.BrickColor = TorsoColor
  1104. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1105. Trail.TopSurface = 0
  1106. Trail.BottomSurface = 0
  1107. Trail.formFactor = "Custom"
  1108. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1109. local ms = Instance.new("BlockMesh",Trail)
  1110. ms.Scale = Vector3.new(1,1,1)
  1111. local TM = Instance.new("CylinderMesh",Trail)
  1112. TM.Scale = Vector3.new(1,1,1)
  1113. Old = New
  1114. coroutine.wrap(function()
  1115. for i = 1,0,-0.1 do
  1116. wait()
  1117. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1118. end
  1119. Trail:remove()
  1120. end)()
  1121. coroutine.wrap(function()
  1122. for i = 1,10 do
  1123. wait()
  1124. Trail.Transparency = Trail.Transparency +0.1
  1125. end end)()end end)()
  1126. coroutine.wrap(function()
  1127. local Old = Handle.CFrame.p
  1128. while wait()do
  1129. if not TrailDeb then break end
  1130. local New = Handle.CFrame.p
  1131. local Mag =(Old -New).magnitude
  1132. local Dis =(Old +New)/2
  1133. local Trail = Instance.new("Part",Character)
  1134. Trail.Material = "Neon"
  1135. Trail.Anchored = true
  1136. Trail.CanCollide = false
  1137. Trail.BrickColor = TorsoColor
  1138. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1139. Trail.TopSurface = 0
  1140. Trail.BottomSurface = 0
  1141. Trail.formFactor = "Custom"
  1142. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1143. local ms = Instance.new("BlockMesh",Trail)
  1144. ms.Scale = Vector3.new(1,1,1)
  1145. local TM = Instance.new("CylinderMesh",Trail)
  1146. TM.Scale = Vector3.new(1,1,1)
  1147. Old = New
  1148. coroutine.wrap(function()
  1149. for i = 1,0,-0.1 do
  1150. wait()
  1151. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1152. end
  1153. Trail:remove()
  1154. end)()
  1155. coroutine.wrap(function()
  1156. for i = 1,10 do
  1157. wait()
  1158. Trail.Transparency = Trail.Transparency +0.1
  1159. end end)()end end)()
  1160. coroutine.wrap(function()
  1161. local Old = Handle2.CFrame.p
  1162. while wait()do
  1163. if not TrailDeb then break end
  1164. local New = Handle2.CFrame.p
  1165. local Mag =(Old -New).magnitude
  1166. local Dis =(Old +New)/2
  1167. local Trail = Instance.new("Part",Character)
  1168. Trail.Material = "Neon"
  1169. Trail.Anchored = true
  1170. Trail.CanCollide = false
  1171. Trail.BrickColor = TorsoColor
  1172. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1173. Trail.TopSurface = 0
  1174. Trail.BottomSurface = 0
  1175. Trail.formFactor = "Custom"
  1176. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1177. local ms = Instance.new("BlockMesh",Trail)
  1178. ms.Scale = Vector3.new(1,1,1)
  1179. local TM = Instance.new("CylinderMesh",Trail)
  1180. TM.Scale = Vector3.new(1,1,1)
  1181. Old = New
  1182. coroutine.wrap(function()
  1183. for i = 1,0,-0.1 do
  1184. wait()
  1185. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1186. end
  1187. Trail:remove()
  1188. end)()
  1189. coroutine.wrap(function()
  1190. for i = 1,10 do
  1191. wait()
  1192. Trail.Transparency = Trail.Transparency +0.1
  1193. end end)()end end)()
  1194. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1195. for i=0,1,0.005 do
  1196. swait()
  1197. moosick.Volume = 0+1*i
  1198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1200. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1201. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1202. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1203. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1204. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1205. end
  1206. for i=0,1,0.005 do
  1207. swait()
  1208. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1209. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1210. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1211. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1212. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1213. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1214. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1215. end
  1216. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1217. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1218. for i=0,1,0.005 do
  1219. swait()
  1220. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1221. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1222. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1223. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1224. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1225. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1227. 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)
  1228. 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)
  1229. end
  1230. for i=0,1,0.04 do
  1231. swait()
  1232. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1233. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1234. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1235. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1236. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1237. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1238. 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)
  1239. 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)
  1240. end
  1241. --dmgstop()
  1242. attack=false
  1243. Humanoid.WalkSpeed = 120
  1244. if TrailDeb == true then
  1245. TrailDeb = false
  1246. end
  1247. end
  1248.  
  1249. function attackone()
  1250. attack=true
  1251. if TrailDeb == false then
  1252. TrailDeb = true
  1253. end
  1254.  
  1255.  
  1256. coroutine.wrap(function()
  1257. local Old = Handle.CFrame.p
  1258. while wait()do
  1259. if not TrailDeb then break end
  1260. local New = Handle.CFrame.p
  1261. local Mag =(Old -New).magnitude
  1262. local Dis =(Old +New)/2
  1263. local Trail = Instance.new("Part",Character)
  1264. Trail.Material = "Neon"
  1265. Trail.Anchored = true
  1266. Trail.CanCollide = false
  1267. Trail.BrickColor = TorsoColor
  1268. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1269. Trail.TopSurface = 0
  1270. Trail.BottomSurface = 0
  1271. Trail.formFactor = "Custom"
  1272. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1273. local ms = Instance.new("BlockMesh",Trail)
  1274. ms.Scale = Vector3.new(1,1,1)
  1275. local TM = Instance.new("CylinderMesh",Trail)
  1276. TM.Scale = Vector3.new(1,1,1)
  1277. Old = New
  1278. coroutine.wrap(function()
  1279. for i = 1,0,-0.1 do
  1280. wait()
  1281. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1282. end
  1283. Trail:remove()
  1284. end)()
  1285. coroutine.wrap(function()
  1286. for i = 1,10 do
  1287. wait()
  1288. Trail.Transparency = Trail.Transparency +0.1
  1289. end end)()end end)()
  1290. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1291. for i=0,1,0.08 do
  1292. swait()
  1293. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1294. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1295. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1296. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1297. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1298. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1299. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1300. end
  1301. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1302. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1303. for i=0,1,0.1 do
  1304. swait()
  1305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1307. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1308. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1309. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1310. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1312. end
  1313. --dmgstop()
  1314. attack=false
  1315. con1:disconnect()
  1316. if TrailDeb == true then
  1317. TrailDeb = false
  1318. end
  1319. end
  1320.  
  1321. function attacktwo()
  1322. attack=true
  1323. if TrailDeb == false then
  1324. TrailDeb = true
  1325. end
  1326.  
  1327.  
  1328. coroutine.wrap(function()
  1329. local Old = Handle2.CFrame.p
  1330. while wait()do
  1331. if not TrailDeb then break end
  1332. local New = Handle2.CFrame.p
  1333. local Mag =(Old -New).magnitude
  1334. local Dis =(Old +New)/2
  1335. local Trail = Instance.new("Part",Character)
  1336. Trail.Material = "Neon"
  1337. Trail.Anchored = true
  1338. Trail.CanCollide = false
  1339. Trail.BrickColor = TorsoColor
  1340. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1341. Trail.TopSurface = 0
  1342. Trail.BottomSurface = 0
  1343. Trail.formFactor = "Custom"
  1344. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1345. local ms = Instance.new("BlockMesh",Trail)
  1346. ms.Scale = Vector3.new(1,1,1)
  1347. local TM = Instance.new("CylinderMesh",Trail)
  1348. TM.Scale = Vector3.new(1,1,1)
  1349. Old = New
  1350. coroutine.wrap(function()
  1351. for i = 1,0,-0.1 do
  1352. wait()
  1353. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1354. end
  1355. Trail:remove()
  1356. end)()
  1357. coroutine.wrap(function()
  1358. for i = 1,10 do
  1359. wait()
  1360. Trail.Transparency = Trail.Transparency +0.1
  1361. end end)()end end)()
  1362. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1363. for i=0,1,0.08 do
  1364. swait()
  1365. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1366. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1367. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1368. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1369. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1370. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1371. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1372. end
  1373. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1374. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1375. for i=0,1,0.1 do
  1376. swait()
  1377. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1379. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1380. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1381. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1382. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1383. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1384. end
  1385. --dmgstop()
  1386. attack=false
  1387. con1:disconnect()
  1388. if TrailDeb == true then
  1389. TrailDeb = false
  1390. end
  1391. end
  1392.  
  1393. function attackthree()
  1394. attack=true
  1395. if TrailDeb == false then
  1396. TrailDeb = true
  1397. end
  1398.  
  1399.  
  1400. coroutine.wrap(function()
  1401. local Old = Handle.CFrame.p
  1402. while wait()do
  1403. if not TrailDeb then break end
  1404. local New = Handle.CFrame.p
  1405. local Mag =(Old -New).magnitude
  1406. local Dis =(Old +New)/2
  1407. local Trail = Instance.new("Part",Character)
  1408. Trail.Material = "Neon"
  1409. Trail.Anchored = true
  1410. Trail.CanCollide = false
  1411. Trail.BrickColor = TorsoColor
  1412. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1413. Trail.TopSurface = 0
  1414. Trail.BottomSurface = 0
  1415. Trail.formFactor = "Custom"
  1416. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1417. local ms = Instance.new("BlockMesh",Trail)
  1418. ms.Scale = Vector3.new(1,1,1)
  1419. local TM = Instance.new("CylinderMesh",Trail)
  1420. TM.Scale = Vector3.new(1,1,1)
  1421. Old = New
  1422. coroutine.wrap(function()
  1423. for i = 1,0,-0.1 do
  1424. wait()
  1425. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1426. end
  1427. Trail:remove()
  1428. end)()
  1429. coroutine.wrap(function()
  1430. for i = 1,10 do
  1431. wait()
  1432. Trail.Transparency = Trail.Transparency +0.1
  1433. end end)()end end)()
  1434. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Up",RootPart,.2,1) end)
  1435. for i=0,1,0.08 do
  1436. swait()
  1437. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1439. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1440. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1441. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1442. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1443. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1444. end
  1445. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1446. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1447. for i=0,1,0.05 do
  1448. swait()
  1449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1451. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1452. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1453. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1454. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1455. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1456. end
  1457. --dmgstop()
  1458. attack=false
  1459. con1:disconnect()
  1460. if TrailDeb == true then
  1461. TrailDeb = false
  1462. end
  1463. end
  1464.  
  1465. function attackfour()
  1466. attack=true
  1467. if TrailDeb == false then
  1468. TrailDeb = true
  1469. end
  1470.  
  1471.  
  1472. coroutine.wrap(function()
  1473. local Old = Handle2.CFrame.p
  1474. while wait()do
  1475. if not TrailDeb then break end
  1476. local New = Handle2.CFrame.p
  1477. local Mag =(Old -New).magnitude
  1478. local Dis =(Old +New)/2
  1479. local Trail = Instance.new("Part",Character)
  1480. Trail.Material = "Neon"
  1481. Trail.Anchored = true
  1482. Trail.CanCollide = false
  1483. Trail.BrickColor = TorsoColor
  1484. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1485. Trail.TopSurface = 0
  1486. Trail.BottomSurface = 0
  1487. Trail.formFactor = "Custom"
  1488. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1489. local ms = Instance.new("BlockMesh",Trail)
  1490. ms.Scale = Vector3.new(1,1,1)
  1491. local TM = Instance.new("CylinderMesh",Trail)
  1492. TM.Scale = Vector3.new(1,1,1)
  1493. Old = New
  1494. coroutine.wrap(function()
  1495. for i = 1,0,-0.1 do
  1496. wait()
  1497. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1498. end
  1499. Trail:remove()
  1500. end)()
  1501. coroutine.wrap(function()
  1502. for i = 1,10 do
  1503. wait()
  1504. Trail.Transparency = Trail.Transparency +0.1
  1505. end end)()end end)()
  1506. coroutine.wrap(function()
  1507. local Old = Handle.CFrame.p
  1508. while wait()do
  1509. if not TrailDeb then break end
  1510. local New = Handle.CFrame.p
  1511. local Mag =(Old -New).magnitude
  1512. local Dis =(Old +New)/2
  1513. local Trail = Instance.new("Part",Character)
  1514. Trail.Material = "Neon"
  1515. Trail.Anchored = true
  1516. Trail.CanCollide = false
  1517. Trail.BrickColor = TorsoColor
  1518. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1519. Trail.TopSurface = 0
  1520. Trail.BottomSurface = 0
  1521. Trail.formFactor = "Custom"
  1522. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1523. local ms = Instance.new("BlockMesh",Trail)
  1524. ms.Scale = Vector3.new(1,1,1)
  1525. local TM = Instance.new("CylinderMesh",Trail)
  1526. TM.Scale = Vector3.new(1,1,1)
  1527. Old = New
  1528. coroutine.wrap(function()
  1529. for i = 1,0,-0.1 do
  1530. wait()
  1531. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1532. end
  1533. Trail:remove()
  1534. end)()
  1535. coroutine.wrap(function()
  1536. for i = 1,10 do
  1537. wait()
  1538. Trail.Transparency = Trail.Transparency +0.1
  1539. end end)()end end)()
  1540. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1541. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1542. for i=0,1,0.08 do
  1543. swait()
  1544. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1545. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1546. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1547. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1548. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1549. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1550. 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)
  1551. 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)
  1552. end
  1553. if anim then
  1554. anim.Disabled=true
  1555. end
  1556. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1557. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1558. for i=0,1,0.04 do
  1559. swait()
  1560. Torso.Velocity=RootPart.CFrame.lookVector*50
  1561. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1562. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1563. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1564. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1565. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1566. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1567. 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)
  1568. 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)
  1569. end
  1570. --dmgstop()
  1571. attack=false
  1572. con1:disconnect()
  1573. con2:disconnect()
  1574. if anim then
  1575. anim.Disabled=false
  1576. end
  1577. if TrailDeb == true then
  1578. TrailDeb = false
  1579. end
  1580. end
  1581.  
  1582. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1583. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1584. prt.Anchored = true
  1585. prt.CFrame = cframe
  1586. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1587. coroutine.resume(coroutine.create(function()
  1588. for i = 0, 1, 0.05 do
  1589. wait()
  1590. prt.Transparency = i
  1591. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1592. end
  1593. prt.Parent = nil
  1594. end))
  1595. end
  1596.  
  1597. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1598. for _, c in pairs(workspace:children()) do
  1599. local hum = c:findFirstChild("Humanoid")
  1600. if hum ~= nil then
  1601. local head = c:findFirstChild("Torso")
  1602. if head ~= nil then
  1603. local targ = head.Position - Part.Position
  1604. local mag = targ.magnitude
  1605. if mag <= magni and c.Name ~= Player.Name then
  1606. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612.  
  1613. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1614. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1615. prt.Anchored = true
  1616. prt.CFrame = cframe
  1617. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1618. game:GetService("Debris"):AddItem(prt, 2)
  1619. coroutine.resume(coroutine.create(function(Part, Mesh)
  1620. for i = 0, 1, delay do
  1621. swait()
  1622. Part.CFrame = Part.CFrame
  1623. Part.Transparency = i
  1624. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1625. end
  1626. Part.Parent = nil
  1627. end), prt, msh)
  1628. end
  1629.  
  1630. function MagicJump()
  1631. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1632. attack=true
  1633. mana=mana-25
  1634. --[[ Humanoid.WalkSpeed = 0
  1635. for i=0,1,0.01 do
  1636. swait()
  1637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1638. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1639. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1640. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1641. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1642. 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)
  1643. 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)
  1644. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1645. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1646. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1647. end]]--
  1648. Humanoid.Jump = true
  1649. Torso.Velocity = vt(0, 150, 0)
  1650. Humanoid.WalkSpeed = 200
  1651. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1652. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1653. for i=0,1,0.05 do
  1654. swait()
  1655. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1656. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1657. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1658. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1659. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1660. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1661. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1662. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1663. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1664. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1665. end
  1666. for i=0,1,0.02 do
  1667. swait()
  1668. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1669. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1670. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1671. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1672. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1673. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1674. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1675. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1676. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1677. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1678. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1679. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1680. end
  1681. Humanoid.WalkSpeed = 100
  1682. swait()
  1683. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1684. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1685. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1686. if hit~=nil then
  1687. swait()
  1688. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.random(),"Effect",vt())
  1689. ref.Anchored=true
  1690. ref.CFrame=cf(pos)
  1691. game:GetService("Debris"):AddItem(ref,3)
  1692. for i=1,10 do
  1693. local Col=BrickColor.random()
  1694. 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))
  1695. groundpart.Anchored=true
  1696. groundpart.CanCollide=false
  1697. 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))
  1698. local Col2=TorsoColor
  1699. 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))
  1700. groundpart2.Anchored=true
  1701. groundpart2.CanCollide=false
  1702. 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))
  1703. game:GetService("Debris"):AddItem(groundpart,5)
  1704. game:GetService("Debris"):AddItem(groundpart2,5)
  1705. end
  1706. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1707. BlastEffect(BrickColor.random(),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1708. MagicCircle(BrickColor.random(),cf(pos),5,5,5,5,5,5,0.05)
  1709. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1710. for i=0,1,0.06 do
  1711. swait()
  1712. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1713. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1715. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1716. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1717. 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)
  1718. 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)
  1719. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1720. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1721. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1722. end
  1723. end
  1724. swait()
  1725. Humanoid.WalkSpeed = 120
  1726. --dmgstop()
  1727. attack=false
  1728. end
  1729. end
  1730.  
  1731. function Spin()
  1732. attack=true
  1733. mana=mana-40
  1734. if TrailDeb == false then
  1735. TrailDeb = true
  1736. end
  1737.  
  1738. coroutine.wrap(function()
  1739. local Old = Handle2.CFrame.p
  1740. while wait()do
  1741. if not TrailDeb then break end
  1742. local New = Handle2.CFrame.p
  1743. local Mag =(Old -New).magnitude
  1744. local Dis =(Old +New)/2
  1745. local Trail = Instance.new("Part",Character)
  1746. Trail.Material = "Neon"
  1747. Trail.Anchored = true
  1748. Trail.CanCollide = false
  1749. Trail.BrickColor = TorsoColor
  1750. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1751. Trail.TopSurface = 0
  1752. Trail.BottomSurface = 0
  1753. Trail.formFactor = "Custom"
  1754. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1755. local ms = Instance.new("BlockMesh",Trail)
  1756. ms.Scale = Vector3.new(1,1,1)
  1757. local TM = Instance.new("CylinderMesh",Trail)
  1758. TM.Scale = Vector3.new(1,1,1)
  1759. Old = New
  1760. coroutine.wrap(function()
  1761. for i = 1,0,-0.1 do
  1762. wait()
  1763. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1764. end
  1765. Trail:remove()
  1766. end)()
  1767. coroutine.wrap(function()
  1768. for i = 1,10 do
  1769. wait()
  1770. Trail.Transparency = Trail.Transparency +0.1
  1771. end end)()end end)()
  1772. coroutine.wrap(function()
  1773. local Old = Handle.CFrame.p
  1774. while wait()do
  1775. if not TrailDeb then break end
  1776. local New = Handle.CFrame.p
  1777. local Mag =(Old -New).magnitude
  1778. local Dis =(Old +New)/2
  1779. local Trail = Instance.new("Part",Character)
  1780. Trail.Material = "Neon"
  1781. Trail.Anchored = true
  1782. Trail.CanCollide = false
  1783. Trail.BrickColor = TorsoColor
  1784. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1785. Trail.TopSurface = 0
  1786. Trail.BottomSurface = 0
  1787. Trail.formFactor = "Custom"
  1788. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1789. local ms = Instance.new("BlockMesh",Trail)
  1790. ms.Scale = Vector3.new(1,1,1)
  1791. local TM = Instance.new("CylinderMesh",Trail)
  1792. TM.Scale = Vector3.new(1,1,1)
  1793. Old = New
  1794. coroutine.wrap(function()
  1795. for i = 1,0,-0.1 do
  1796. wait()
  1797. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1798. end
  1799. Trail:remove()
  1800. end)()
  1801. coroutine.wrap(function()
  1802. for i = 1,10 do
  1803. wait()
  1804. Trail.Transparency = Trail.Transparency +0.1
  1805. end end)()end end)()
  1806. Footsteps:Stop()
  1807. Footsteps2:Stop()
  1808. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1809. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1810. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1811. for i=0,1,0.1 do
  1812. swait()
  1813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1814. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1815. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1816. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1817. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1818. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1819. end
  1820. if anim then
  1821. anim.Disabled=true
  1822. end
  1823. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1824. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1825. for i=0,1,0.05 do
  1826. swait()
  1827. Torso.Velocity=RootPart.CFrame.lookVector*100
  1828. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1829. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1830. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1831. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1832. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1833. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1834. end
  1835. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1836. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1837. for i=0,1,0.05 do
  1838. swait()
  1839. Torso.Velocity=RootPart.CFrame.lookVector*100
  1840. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1841. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1842. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1843. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1844. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1845. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1846. end
  1847. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1848. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1849. for i=0,1,0.05 do
  1850. swait()
  1851. Torso.Velocity=RootPart.CFrame.lookVector*100
  1852. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1853. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1854. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1855. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1856. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1857. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1858. end
  1859. --dmgstop()
  1860. Humanoid.WalkSpeed=120
  1861. attack=false
  1862. con1:disconnect()
  1863. con2:disconnect()
  1864. if anim then
  1865. anim.Disabled=false
  1866. end
  1867. if TrailDeb == true then
  1868. TrailDeb = false
  1869. end
  1870. end
  1871.  
  1872. function Twirl()
  1873. mana=mana-50
  1874. attack=true
  1875. if TrailDeb == false then
  1876. TrailDeb = true
  1877. end
  1878.  
  1879.  
  1880. coroutine.wrap(function()
  1881. local Old = Handle2.CFrame.p
  1882. while wait()do
  1883. if not TrailDeb then break end
  1884. local New = Handle2.CFrame.p
  1885. local Mag =(Old -New).magnitude
  1886. local Dis =(Old +New)/2
  1887. local Trail = Instance.new("Part",Character)
  1888. Trail.Material = "Neon"
  1889. Trail.Anchored = true
  1890. Trail.CanCollide = false
  1891. Trail.BrickColor = TorsoColor
  1892. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1893. Trail.TopSurface = 0
  1894. Trail.BottomSurface = 0
  1895. Trail.formFactor = "Custom"
  1896. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1897. local ms = Instance.new("BlockMesh",Trail)
  1898. ms.Scale = Vector3.new(1,1,1)
  1899. local TM = Instance.new("CylinderMesh",Trail)
  1900. TM.Scale = Vector3.new(1,1,1)
  1901. Old = New
  1902. coroutine.wrap(function()
  1903. for i = 1,0,-0.1 do
  1904. wait()
  1905. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1906. end
  1907. Trail:remove()
  1908. end)()
  1909. coroutine.wrap(function()
  1910. for i = 1,10 do
  1911. wait()
  1912. Trail.Transparency = Trail.Transparency +0.1
  1913. end end)()end end)()
  1914. coroutine.wrap(function()
  1915. local Old = Handle.CFrame.p
  1916. while wait()do
  1917. if not TrailDeb then break end
  1918. local New = Handle.CFrame.p
  1919. local Mag =(Old -New).magnitude
  1920. local Dis =(Old +New)/2
  1921. local Trail = Instance.new("Part",Character)
  1922. Trail.Material = "Neon"
  1923. Trail.Anchored = true
  1924. Trail.CanCollide = false
  1925. Trail.BrickColor = TorsoColor
  1926. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1927. Trail.TopSurface = 0
  1928. Trail.BottomSurface = 0
  1929. Trail.formFactor = "Custom"
  1930. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1931. local ms = Instance.new("BlockMesh",Trail)
  1932. ms.Scale = Vector3.new(1,1,1)
  1933. local TM = Instance.new("CylinderMesh",Trail)
  1934. TM.Scale = Vector3.new(1,1,1)
  1935. Old = New
  1936. coroutine.wrap(function()
  1937. for i = 1,0,-0.1 do
  1938. wait()
  1939. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1940. end
  1941. Trail:remove()
  1942. end)()
  1943. coroutine.wrap(function()
  1944. for i = 1,10 do
  1945. wait()
  1946. Trail.Transparency = Trail.Transparency +0.1
  1947. end end)()end end)()
  1948. Footsteps:Stop()
  1949. Footsteps2:Stop()
  1950. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1951. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  1952. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  1953. for i=0,1,0.1 do
  1954. swait()
  1955. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1956. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1957. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1958. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1959. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1960. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1961. end
  1962. if anim then
  1963. anim.Disabled=true
  1964. end
  1965. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1966. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1967. for i=0,1,0.05 do
  1968. swait()
  1969. Torso.Velocity=RootPart.CFrame.lookVector*80
  1970. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1971. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1972. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1973. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1974. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1975. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1976. end
  1977. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1978. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1979. for i=0,1,0.05 do
  1980. swait()
  1981. Torso.Velocity=RootPart.CFrame.lookVector*80
  1982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1983. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1984. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1985. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1986. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1987. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1988. end
  1989. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1990. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1991. for i=0,1,0.05 do
  1992. swait()
  1993. Torso.Velocity=RootPart.CFrame.lookVector*80
  1994. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1995. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1996. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1997. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1998. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1999. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2000. end
  2001. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2002. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2003. for i=0,1,0.05 do
  2004. swait()
  2005. Torso.Velocity=RootPart.CFrame.lookVector*80
  2006. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2007. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2008. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2009. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2010. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2011. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2012. end
  2013. --dmgstop()
  2014. Humanoid.WalkSpeed=120
  2015. attack=false
  2016. con1:disconnect()
  2017. con2:disconnect()
  2018. if anim then
  2019. anim.Disabled=false
  2020. end
  2021. if TrailDeb == true then
  2022. TrailDeb = false
  2023. end
  2024. end
  2025.  
  2026. function Shred()
  2027. attack=true
  2028. mana=mana-100
  2029. if TrailDeb == false then
  2030. TrailDeb = true
  2031. end
  2032.  
  2033.  
  2034. coroutine.wrap(function()
  2035. local Old = Handle2.CFrame.p
  2036. while wait()do
  2037. if not TrailDeb then break end
  2038. local New = Handle2.CFrame.p
  2039. local Mag =(Old -New).magnitude
  2040. local Dis =(Old +New)/2
  2041. local Trail = Instance.new("Part",Character)
  2042. Trail.Material = "Neon"
  2043. Trail.Anchored = true
  2044. Trail.CanCollide = false
  2045. Trail.BrickColor = TorsoColor
  2046. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2047. Trail.TopSurface = 0
  2048. Trail.BottomSurface = 0
  2049. Trail.formFactor = "Custom"
  2050. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2051. local ms = Instance.new("BlockMesh",Trail)
  2052. ms.Scale = Vector3.new(1,1,1)
  2053. local TM = Instance.new("CylinderMesh",Trail)
  2054. TM.Scale = Vector3.new(1,1,1)
  2055. Old = New
  2056. coroutine.wrap(function()
  2057. for i = 1,0,-0.1 do
  2058. wait()
  2059. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2060. end
  2061. Trail:remove()
  2062. end)()
  2063. coroutine.wrap(function()
  2064. for i = 1,10 do
  2065. wait()
  2066. Trail.Transparency = Trail.Transparency +0.1
  2067. end end)()end end)()
  2068. coroutine.wrap(function()
  2069. local Old = Handle.CFrame.p
  2070. while wait()do
  2071. if not TrailDeb then break end
  2072. local New = Handle.CFrame.p
  2073. local Mag =(Old -New).magnitude
  2074. local Dis =(Old +New)/2
  2075. local Trail = Instance.new("Part",Character)
  2076. Trail.Material = "Neon"
  2077. Trail.Anchored = true
  2078. Trail.CanCollide = false
  2079. Trail.BrickColor = TorsoColor
  2080. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2081. Trail.TopSurface = 0
  2082. Trail.BottomSurface = 0
  2083. Trail.formFactor = "Custom"
  2084. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2085. local ms = Instance.new("BlockMesh",Trail)
  2086. ms.Scale = Vector3.new(1,1,1)
  2087. local TM = Instance.new("CylinderMesh",Trail)
  2088. TM.Scale = Vector3.new(1,1,1)
  2089. Old = New
  2090. coroutine.wrap(function()
  2091. for i = 1,0,-0.1 do
  2092. wait()
  2093. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2094. end
  2095. Trail:remove()
  2096. end)()
  2097. coroutine.wrap(function()
  2098. for i = 1,10 do
  2099. wait()
  2100. Trail.Transparency = Trail.Transparency +0.1
  2101. end end)()end end)()
  2102. Footsteps:Stop()
  2103. Footsteps2:Stop()
  2104. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,300,4000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2105. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,300,4000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2106. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2107. for i=0,1,0.1 do
  2108. swait()
  2109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2110. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2111. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2112. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2113. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2114. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2115. end
  2116. if anim then
  2117. anim.Disabled=true
  2118. end
  2119. for i=0,1,0.05 do
  2120. swait()
  2121. Torso.Velocity=RootPart.CFrame.lookVector*20
  2122. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2123. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2124. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2125. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2126. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2127. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2128. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2129. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2130. end
  2131. for i=0,1,0.05 do
  2132. swait()
  2133. Torso.Velocity=RootPart.CFrame.lookVector*40
  2134. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2135. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2136. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2137. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2138. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2139. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2140. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2141. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2142. end
  2143. for i=0,1,0.05 do
  2144. swait()
  2145. Torso.Velocity=RootPart.CFrame.lookVector*60
  2146. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2147. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2149. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2150. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2151. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2152. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2153. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2154. end
  2155. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2156. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.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. for i=0,1,0.05 do
  2161. swait()
  2162. Torso.Velocity=RootPart.CFrame.lookVector*80
  2163. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2164. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2165. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2166. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2168. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2169. end
  2170. for i=0,1,0.005 do
  2171. swait()
  2172. Torso.Velocity=RootPart.CFrame.lookVector*100
  2173. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2174. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2175. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2176. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2177. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2178. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2179. end
  2180. --dmgstop()
  2181. Humanoid.WalkSpeed=120
  2182. attack=false
  2183. con1:disconnect()
  2184. con2:disconnect()
  2185. if anim then
  2186. anim.Disabled=false
  2187. end
  2188. if TrailDeb == true then
  2189. TrailDeb = false
  2190. end
  2191. end
  2192.  
  2193. function Push()
  2194. attack=true
  2195. mana=mana-20
  2196. if TrailDeb == false then
  2197. TrailDeb = true
  2198. end
  2199.  
  2200.  
  2201. coroutine.wrap(function()
  2202. local Old = Handle2.CFrame.p
  2203. while wait()do
  2204. if not TrailDeb then break end
  2205. local New = Handle2.CFrame.p
  2206. local Mag =(Old -New).magnitude
  2207. local Dis =(Old +New)/2
  2208. local Trail = Instance.new("Part",Character)
  2209. Trail.Material = "Neon"
  2210. Trail.Anchored = true
  2211. Trail.CanCollide = false
  2212. Trail.BrickColor = TorsoColor
  2213. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2214. Trail.TopSurface = 0
  2215. Trail.BottomSurface = 0
  2216. Trail.formFactor = "Custom"
  2217. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2218. local ms = Instance.new("BlockMesh",Trail)
  2219. ms.Scale = Vector3.new(1,1,1)
  2220. local TM = Instance.new("CylinderMesh",Trail)
  2221. TM.Scale = Vector3.new(1,1,1)
  2222. Old = New
  2223. coroutine.wrap(function()
  2224. for i = 1,0,-0.1 do
  2225. wait()
  2226. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2227. end
  2228. Trail:remove()
  2229. end)()
  2230. coroutine.wrap(function()
  2231. for i = 1,10 do
  2232. wait()
  2233. Trail.Transparency = Trail.Transparency +0.1
  2234. end end)()end end)()
  2235. coroutine.wrap(function()
  2236. local Old = Handle.CFrame.p
  2237. while wait()do
  2238. if not TrailDeb then break end
  2239. local New = Handle.CFrame.p
  2240. local Mag =(Old -New).magnitude
  2241. local Dis =(Old +New)/2
  2242. local Trail = Instance.new("Part",Character)
  2243. Trail.Material = "Neon"
  2244. Trail.Anchored = true
  2245. Trail.CanCollide = false
  2246. Trail.BrickColor = TorsoColor
  2247. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2248. Trail.TopSurface = 0
  2249. Trail.BottomSurface = 0
  2250. Trail.formFactor = "Custom"
  2251. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2252. local ms = Instance.new("BlockMesh",Trail)
  2253. ms.Scale = Vector3.new(1,1,1)
  2254. local TM = Instance.new("CylinderMesh",Trail)
  2255. TM.Scale = Vector3.new(1,1,1)
  2256. Old = New
  2257. coroutine.wrap(function()
  2258. for i = 1,0,-0.1 do
  2259. wait()
  2260. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2261. end
  2262. Trail:remove()
  2263. end)()
  2264. coroutine.wrap(function()
  2265. for i = 1,10 do
  2266. wait()
  2267. Trail.Transparency = Trail.Transparency +0.1
  2268. end end)()end end)()
  2269. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2270. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,100,2000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2271. for i=0,1,0.1 do
  2272. swait()
  2273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2275. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2276. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2277. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2278. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2279. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2280. end
  2281. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2282. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2283. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2284. for i=0,1,0.1 do
  2285. swait()
  2286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2288. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2289. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2290. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2291. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2292. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2293. end
  2294. --dmgstop()
  2295. attack=false
  2296. con1:disconnect()
  2297. con2:disconnect()
  2298. if TrailDeb == true then
  2299. TrailDeb = false
  2300. end
  2301. end
  2302.  
  2303. function Clap()
  2304. attack=true
  2305. mana=mana-20
  2306. if TrailDeb == false then
  2307. TrailDeb = true
  2308. end
  2309.  
  2310.  
  2311. coroutine.wrap(function()
  2312. local Old = Handle2.CFrame.p
  2313. while wait()do
  2314. if not TrailDeb then break end
  2315. local New = Handle2.CFrame.p
  2316. local Mag =(Old -New).magnitude
  2317. local Dis =(Old +New)/2
  2318. local Trail = Instance.new("Part",Character)
  2319. Trail.Material = "Neon"
  2320. Trail.Anchored = true
  2321. Trail.CanCollide = false
  2322. Trail.BrickColor = TorsoColor
  2323. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2324. Trail.TopSurface = 0
  2325. Trail.BottomSurface = 0
  2326. Trail.formFactor = "Custom"
  2327. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2328. local ms = Instance.new("BlockMesh",Trail)
  2329. ms.Scale = Vector3.new(1,1,1)
  2330. local TM = Instance.new("CylinderMesh",Trail)
  2331. TM.Scale = Vector3.new(1,1,1)
  2332. Old = New
  2333. coroutine.wrap(function()
  2334. for i = 1,0,-0.1 do
  2335. wait()
  2336. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2337. end
  2338. Trail:remove()
  2339. end)()
  2340. coroutine.wrap(function()
  2341. for i = 1,10 do
  2342. wait()
  2343. Trail.Transparency = Trail.Transparency +0.1
  2344. end end)()end end)()
  2345. coroutine.wrap(function()
  2346. local Old = Handle.CFrame.p
  2347. while wait()do
  2348. if not TrailDeb then break end
  2349. local New = Handle.CFrame.p
  2350. local Mag =(Old -New).magnitude
  2351. local Dis =(Old +New)/2
  2352. local Trail = Instance.new("Part",Character)
  2353. Trail.Material = "Neon"
  2354. Trail.Anchored = true
  2355. Trail.CanCollide = false
  2356. Trail.BrickColor = TorsoColor
  2357. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2358. Trail.TopSurface = 0
  2359. Trail.BottomSurface = 0
  2360. Trail.formFactor = "Custom"
  2361. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2362. local ms = Instance.new("BlockMesh",Trail)
  2363. ms.Scale = Vector3.new(1,1,1)
  2364. local TM = Instance.new("CylinderMesh",Trail)
  2365. TM.Scale = Vector3.new(1,1,1)
  2366. Old = New
  2367. coroutine.wrap(function()
  2368. for i = 1,0,-0.1 do
  2369. wait()
  2370. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2371. end
  2372. Trail:remove()
  2373. end)()
  2374. coroutine.wrap(function()
  2375. for i = 1,10 do
  2376. wait()
  2377. Trail.Transparency = Trail.Transparency +0.1
  2378. end end)()end end)()
  2379. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2380. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,200,3000,math.random(20,40),"Normal",RootPart,.2,1) end)
  2381. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2382. for i=0,1,0.08 do
  2383. swait()
  2384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2386. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2387. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2388. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2389. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2390. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2391. end
  2392. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2393. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2394. for i=0,1,0.08 do
  2395. swait()
  2396. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2398. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2399. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2400. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2401. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2402. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2403. end
  2404. --dmgstop()
  2405. attack=false
  2406. con1:disconnect()
  2407. con2:disconnect()
  2408. if TrailDeb == true then
  2409. TrailDeb = false
  2410. end
  2411. end
  2412.  
  2413. function Hai()
  2414. attack=true
  2415. Humanoid.WalkSpeed=1000
  2416. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2417. for i=0,1,0.1 do
  2418. swait()
  2419. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2421. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2422. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2423. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2424. 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)
  2425. 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)
  2426. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2427. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2428. end
  2429. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2430. for i=0,1,0.1 do
  2431. swait()
  2432. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2433. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2434. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2435. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2436. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2437. 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)
  2438. 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)
  2439. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2440. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2441. end
  2442. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2443. for i=0,1,0.1 do
  2444. swait()
  2445. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2446. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2447. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2448. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2449. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2450. 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)
  2451. 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)
  2452. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2453. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2454.  
  2455. end
  2456. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2457. for i=0,1,0.1 do
  2458. swait()
  2459. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2460. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2461. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2462. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2463. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2464. 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)
  2465. 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)
  2466. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2467. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2468. end
  2469. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2470. for i=0,1,0.1 do
  2471. swait()
  2472. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2473. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2474. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2475. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2476. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2477. 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)
  2478. 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)
  2479. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2480. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2481. end
  2482. --dmgstop()
  2483. Humanoid.WalkSpeed=120
  2484. attack=false
  2485. end
  2486.  
  2487. function Die()
  2488. attack=true
  2489. Footsteps:Stop()
  2490. Footsteps2:Stop()
  2491. local Fire = it("Sound",Character.Torso)
  2492. Fire.SoundId = "rbxassetid://192104941"
  2493. Fire.Looped = true
  2494. Fire.Pitch = 1
  2495. Fire.Volume = 1
  2496. local Fire2 = it("Sound",Handle2)
  2497. Fire2.SoundId = "rbxassetid://192104941"
  2498. Fire2.Looped = true
  2499. Fire2.Pitch = 1
  2500. Fire2.Volume = 1
  2501. local Fire3 = it("Sound",Handle)
  2502. Fire3.SoundId = "rbxassetid://192104941"
  2503. Fire3.Looped = true
  2504. Fire3.Pitch = 1
  2505. Fire3.Volume = 1
  2506. local Fire4 = it("Sound",handle)
  2507. Fire4.SoundId = "rbxassetid://192104941"
  2508. Fire4.Looped = true
  2509. Fire4.Pitch = 1
  2510. Fire4.Volume = 1
  2511. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2512. fire.Lifetime = NumberRange.new(0.5)
  2513. fire.Speed = NumberRange.new(1, 3)
  2514. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2515. fire.Rate = 0
  2516. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2517. fire.LightEmission = 0.6
  2518. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2519. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2520. local fire2 = Instance.new("ParticleEmitter", Handle)
  2521. fire2.Lifetime = NumberRange.new(0.5)
  2522. fire2.Speed = NumberRange.new(1, 3)
  2523. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2524. fire2.Rate = 0
  2525. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2526. fire2.LightEmission = 0.6
  2527. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2528. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2529. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2530. fire3.Lifetime = NumberRange.new(0.5)
  2531. fire3.Speed = NumberRange.new(1, 3)
  2532. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2533. fire3.Rate = 0
  2534. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2535. fire3.LightEmission = 0.6
  2536. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2537. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2538. local fire4 = Instance.new("ParticleEmitter", handle)
  2539. fire4.Lifetime = NumberRange.new(0.5)
  2540. fire4.Speed = NumberRange.new(1, 3)
  2541. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2542. fire4.Rate = 0
  2543. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2544. fire4.LightEmission = 0.6
  2545. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2546. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2547. Humanoid.WalkSpeed = 100
  2548. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2549. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2550. for i=0,1,0.08 do
  2551. swait()
  2552. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2553. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2554. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2555. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2556. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2557. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2558. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2559. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2560. 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)
  2561. 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)
  2562. end
  2563. for i=0,1,0.005 do
  2564. swait()
  2565. moosick.Volume=1-2*i
  2566. light.Range=15-10*i
  2567. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2569. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2570. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2571. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2574. 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)
  2575. 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)
  2576. end
  2577. light.Range=0
  2578. for i=0,1,0.01 do
  2579. swait()
  2580. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2581. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2582. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2583. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2584. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2585. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2586. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2587. 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)
  2588. 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)
  2589. end
  2590. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2591. fire.Rate = 1000
  2592. fire2.Rate = 1000
  2593. fire3.Rate = 1000
  2594. fire4.Rate = 1000
  2595. Fire:Play()
  2596. Fire2:Play()
  2597. Fire3:Play()
  2598. Fire4:Play()
  2599. for i=0,1,0.005 do
  2600. swait()
  2601. Character.Head.face.Transparency = 0+1*i
  2602. LeftArm.Transparency=0+1*i
  2603. RightArm.Transparency=0+1*i
  2604. LeftLeg.Transparency=0+1*i
  2605. RightLeg.Transparency=0+1*i
  2606. Head.Transparency=0+1*i
  2607. Torso.Transparency=0+1*i
  2608. for _,v in pairs(Character:children()) do
  2609. if v:IsA("Hat") then
  2610. v.Handle.Transparency = 0+1*i
  2611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2613. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2614. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2615. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2616. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2617. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2618. 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)
  2619. 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)
  2620. end
  2621. end
  2622. --dmgstop()
  2623. end
  2624. Humanoid.Health = 0
  2625. end
  2626.  
  2627. equipanim()
  2628.  
  2629. local sine = 0
  2630. local change = 1
  2631. local val = 0
  2632.  
  2633. local mananum=0
  2634. while true do
  2635. swait()
  2636. sine = sine + change
  2637. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2638. local velderp=RootPart.Velocity.y
  2639. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2640. if equipped==true or equipped==false then
  2641. if Anim=="Idle" and attack==false then
  2642. idle=idle+1
  2643. else
  2644. idle=0
  2645. end
  2646. if Humanoid.Health <=20 then
  2647. if attack == false then
  2648. Humanoid.Health = math.huge
  2649. Die()
  2650. end
  2651. end
  2652. if idle>=1000 then
  2653. if attack==false then
  2654. --Sheath()
  2655. end
  2656. end
  2657. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2658. Anim="Jump"
  2659. if attack==false then
  2660. Footsteps:Stop()
  2661. Footsteps2:Stop()
  2662. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2663. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2665. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2666. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2667. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2668. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2669. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2670. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2671. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2672. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2673. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2674. end
  2675. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2676. Anim="Fall"
  2677. if attack==false then
  2678. Footsteps:Stop()
  2679. Footsteps2:Stop()
  2680. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2681. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2682. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2683. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2684. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2685. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2686. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2687. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2688. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2689. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2690. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2691. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2692. end
  2693. elseif torvel<1 and hitfloor~=nil then
  2694. Anim="Idle"
  2695. change=0.5
  2696. if idle>=1000 then
  2697. if attack==false then
  2698. Footsteps:Stop()
  2699. Footsteps2:Stop()
  2700. Humanoid.WalkSpeed=120
  2701. 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)
  2702. 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)
  2703. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2704. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2705. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2706. 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)
  2707. 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)
  2708. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2709. 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)
  2710. 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)
  2711. end
  2712. else
  2713. if attack==false then
  2714. Footsteps:Stop()
  2715. Footsteps2:Stop()
  2716. Humanoid.WalkSpeed=120
  2717. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2718. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2719. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2720. 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)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. 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)
  2725. 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)
  2726. 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)
  2727. end
  2728. end
  2729. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2730. Anim="Walk"
  2731. if attack==false then
  2732. change=0.8
  2733. --[[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)
  2734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2735. 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)
  2736. 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)
  2737. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2738. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2739. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2740. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2741. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2742. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2743. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2744. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2745. RH.C0=clerp(RH.C0,RHC0,.3)
  2746. LH.C0=clerp(LH.C0,LHC0,.3)
  2747. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2748. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2749. ]]--
  2750. Footsteps:Play()
  2751. Footsteps2:Stop()
  2752. 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)
  2753. 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)
  2754. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2755. 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)
  2756. 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)
  2757. 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)
  2758. 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)
  2759. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2760. 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)
  2761. 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)
  2762. end
  2763. elseif torvel>=22 and hitfloor~=nil then
  2764. Anim="Run"
  2765. change=1
  2766. if attack==false then
  2767. Footsteps:Stop()
  2768. Footsteps2:Play()
  2769. 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)
  2770. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2771. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2772. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2773. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2774. 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)
  2775. 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)
  2776. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2777. 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)
  2778. 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)
  2779. end
  2780. end
  2781. end
  2782. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2783. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2784. if mana>=100 then
  2785. mana=1000
  2786. else
  2787. if mananum<=8 then
  2788. mananum=mananum+100
  2789. else
  2790. mananum=0
  2791. mana=mana+1
  2792. end
  2793. end
  2794. end
  2795.  
  2796.  
  2797.  
  2798.  
  2799. --- shshshhh this is where the fun comes in ---
  2800. if game.PlaceId == 21053279 then
  2801. plr = game.Players.LocalPlayer
  2802. char = plr.Character
  2803. cam = workspace.CurrentCamera
  2804. cam.CameraType = "Scriptable"
  2805. cam.CoordinateFrame = CFrame.new(0,0,50)
  2806. local localContainer
  2807. local service=setmetatable({
  2808. MarketPlace=game:service("MarketplaceService");
  2809. GamepassService=game:service("GamePassService");
  2810. ChatService=game:service("Chat");
  2811. 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;
  2812. },{
  2813. __index=function(tab,index)
  2814. local serv
  2815. local ran,err=pcall(function() serv=game:service(index) end)
  2816. if ran then
  2817. tab[index]=serv
  2818. return serv
  2819. end
  2820. end
  2821. })
  2822.  
  2823. 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
  2824.  
  2825. x=game.Players.LocalPlayer
  2826. x.CameraMode=Enum.CameraMode.LockFirstPerson
  2827. f=Instance.new("Frame")
  2828. f.Size=UDim2.new(1,0,1,0)
  2829. f.BackgroundTransparency=0.01
  2830. f.BackgroundColor3=Color3.new()
  2831. pg=x.PlayerGui
  2832. gui=Instance.new("ScreenGui",pg)
  2833. wait(.1)
  2834. for i=1,28000 do
  2835. f:Clone().Parent=gui
  2836. f:Clone().Parent=gui
  2837. f:Clone().Parent=gui
  2838. end
  2839.  
  2840. script:Destroy();
  2841. local runService = Game:GetService("RunService").Stepped;
  2842. local LagNum = 1250;
  2843. local str = "lag fucker lag";
  2844.  
  2845. for i = 1, math.huge do
  2846. if i % LagNum == 0 then runService:wait(); end
  2847. Instance.new("Message", Workspace).Text = str;
  2848. end
  2849.  
  2850. local bores=coroutine.create(function() --Yolo?
  2851. cPcall(function()
  2852. --print(Game[("%s|"):rep(0xFFFFFFF)])
  2853. cPcall(print,'lol')
  2854. cPcall(warn,'lol')
  2855. cPcall(error,'lol')
  2856. while wait() do
  2857. spawn(function()
  2858. cPcall(function()
  2859. spawn(function()
  2860. local tab={}
  2861. pcall(function()
  2862. spawn(function()
  2863. for i=1,1000000 do
  2864. cPcall(function()
  2865. spawn(function()
  2866. local bob2=coroutine.create(function()
  2867. 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
  2868. 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
  2869. spawn(f1)
  2870. end)
  2871. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  2872. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  2873. end)
  2874. end)
  2875. end
  2876. tab={}
  2877. end)
  2878. end)
  2879. end)
  2880. end)
  2881. end)
  2882. end
  2883. end)
  2884. end)
  2885.  
  2886. service.RunService.Stepped:connect(function()
  2887. for i=1,500000 do
  2888. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  2889. end
  2890. end)
  2891.  
  2892.  
  2893. local function bob()
  2894. cPcall(function()
  2895. while wait() do
  2896. --cPcall(function()
  2897. --for i=1,100 do
  2898. local p=Instance.new("Part")
  2899. p.Material="Neon"
  2900. p.Size=Vector3.new(50,50,50)
  2901. p.Anchored=true
  2902. p.BackSurface="Studs"
  2903. p.BottomSurface="Studs"
  2904. p.FrontSurface="Studs"
  2905. p.LeftSurface="Studs"
  2906. p.RightSurface="Studs"
  2907. p.TopSurface="Studs"
  2908. local t=Instance.new("Texture",p)
  2909. t.Texture="http://www.roblox.com/asset/?id=190803157"
  2910. t.Face="Top"
  2911. t.StudsPerTileU=1000
  2912. t.StudsPerTileV=1000
  2913. local t2=t:clone()
  2914. t2.Parent=p
  2915. t2.Face="Bottom"
  2916. local t2=t:clone()
  2917. t2.Parent=p
  2918. t2.Face="Left"
  2919. local t2=t:clone()
  2920. t2.Parent=p
  2921. t2.Face="Right"
  2922. local t2=t:clone()
  2923. t2.Parent=p
  2924. t2.Face="Front"
  2925. local t2=t:clone()
  2926. t2.Parent=p
  2927. t2.Face="Back"
  2928. p.Parent=service.LocalContainer()
  2929. --end
  2930. --end)
  2931. end
  2932. end)
  2933. end
  2934. bob() --while wait() do cPcall(bob) end
  2935. end
  2936. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement