vibrantsinger423

Revenge2

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