Advertisement
vibrantsinger423

test.lua

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