Advertisement
rubikz

Untitled

Aug 1st, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.43 KB | None | 0 0
  1. --[[Settings]]--
  2. local ClawCanComeBack = true
  3. local ChosenDamage = 25
  4. --[[Dont Touch After This Line]]--
  5. Player=game:GetService("Players").LocalPlayer
  6. local Grabbed = {}
  7. Character=Player.Character
  8. PlayerGui=Player.PlayerGui
  9. Backpack=Player.Backpack
  10. Torso=Character.Torso
  11. Head=Character.Head
  12. Humanoid=Character.Humanoid
  13. local Char = Character
  14. local Plr = Player
  15. LeftArm=Character["Left Arm"]
  16. LeftLeg=Character["Left Leg"]
  17. RightArm=Character["Right Arm"]
  18. RightLeg=Character["Right Leg"]
  19. LS=Torso["Left Shoulder"]
  20. LH=Torso["Left Hip"]
  21. RS=Torso["Right Shoulder"]
  22. RH=Torso["Right Hip"]
  23. Face = Head.face
  24. Humanoid.MaxHealth = 500
  25. wait(0.5)
  26. Humanoid.Health = 500
  27. Neck=Torso.Neck
  28. it=Instance.new
  29. attacktype=1
  30. vt=Vector3.new
  31. cf=CFrame.new
  32. s = false
  33. euler=CFrame.fromEulerAnglesXYZ
  34. angles=CFrame.Angles
  35. cloaked=false
  36. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  37. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  39. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  40. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  41. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  42. RootPart=Character.HumanoidRootPart
  43. RootJoint=RootPart.RootJoint
  44. RootCF=euler(-1.57,0,3.14)
  45. attack = false
  46. attackdebounce = false
  47. deb=false
  48. equipped=true
  49. hand=false
  50. MMouse=nil
  51. combo=0
  52. mana=0
  53. trispeed=1
  54. pathtrans=.7
  55. attackmode='none'
  56. local idle=0
  57. local Anim="Idle"
  58. local Effects={}
  59. local gun=false
  60. local shoot=false
  61. player=nil
  62. cloak=false
  63. lightcolor='Bright blue'
  64. local dmg = Instance.new("NumberValue")
  65. dmg.Value = 0
  66. dmg.Parent = script
  67. dmg.Name = "Damage"
  68.  
  69. mouse=Player:GetMouse()
  70. --save shoulders
  71. RSH, LSH=nil, nil
  72. --welds
  73. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  74. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  75. LH=Torso["Left Hip"]
  76. RH=Torso["Right Hip"]
  77. TorsoColor=Torso.BrickColor
  78. function NoOutline(Part)
  79. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  80. end
  81. player=Player
  82. ch=Character
  83. RSH=ch.Torso["Right Shoulder"]
  84. LSH=ch.Torso["Left Shoulder"]
  85. --
  86. RSH.Parent=nil
  87. LSH.Parent=nil
  88. --
  89. RW.Name="Right Shoulder"
  90. RW.Part0=ch.Torso
  91. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  92. RW.C1=cf(0, 0.5, 0)
  93. RW.Part1=ch["Right Arm"]
  94. RW.Parent=ch.Torso
  95. --
  96. LW.Name="Left Shoulder"
  97. LW.Part0=ch.Torso
  98. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  99. LW.C1=cf(0, 0.5, 0)
  100. LW.Part1=ch["Left Arm"]
  101. LW.Parent=ch.Torso
  102.  
  103. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  104. local fp=it("Part")
  105. fp.formFactor=formfactor
  106. fp.Parent=parent
  107. fp.Reflectance=reflectance
  108. fp.Transparency=transparency
  109. fp.CanCollide=false
  110. fp.Locked=true
  111. fp.BrickColor=brickcolor
  112. fp.Name=name
  113. fp.Size=size
  114. fp.Position=Torso.Position
  115. NoOutline(fp)
  116. fp.Material= "Metal"
  117. fp:BreakJoints()
  118. return fp
  119. end
  120.  
  121. function EffectPortal(Part,WaitOn)
  122. local P = Instance.new("ParticleEmitter",Part)
  123. local Red = Color3.new(221, 0, 0)
  124. local Purple = Color3.new(85, 0, 127)
  125. P.Color = ColorSequence.new(Red,Blue)
  126. P.LightEmission = 0.27
  127. P.Size = NumberSequence.new(3.5)
  128. P.Texture = "http://www.roblox.com/asset/?id=341277531"
  129. P.Transparency = NumberSequence.new(0.6)
  130. P.Acceleration = Vector3.new(0,10,0)
  131. P.LockedToPart = true
  132. P.Lifetime = NumberRange.new(0.1,0.5)
  133. P.Rate = 50
  134. P.Rotation = NumberRange.new(10)
  135. P.RotSpeed = NumberRange.new(1)
  136. P.Speed = NumberRange.new(5)
  137. if WaitOn == true then
  138. wait(5)
  139. if P then
  140. P:remove()
  141. end
  142. end
  143. end
  144.  
  145. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  146. local mesh=it(Mesh)
  147. mesh.Parent=part
  148. if Mesh=="SpecialMesh" then
  149. mesh.MeshType=meshtype
  150. if meshid~="nil" then
  151. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  152. end
  153. end
  154. mesh.Offset=offset
  155. mesh.Scale=scale
  156. return mesh
  157. end
  158.  
  159. function weld(parent,part0,part1,c0)
  160. local weld=it("Weld")
  161. weld.Parent=parent
  162. weld.Part0=part0
  163. weld.Part1=part1
  164. weld.C0=c0
  165. return weld
  166. end
  167.  
  168. local Color1=Torso.BrickColor
  169.  
  170. local bodvel=Instance.new("BodyVelocity")
  171. local bg=Instance.new("BodyGyro")
  172.  
  173. function swait(num)
  174. if num==0 or num==nil then
  175. game:service'RunService'.Stepped:wait(0)
  176. else
  177. for i=0,num do
  178. game:service'RunService'.Stepped:wait(0)
  179. end
  180. end
  181. end
  182.  
  183.  
  184. so = function(id,par,vol,pit)
  185. coroutine.resume(coroutine.create(function()
  186. local sou = Instance.new("Sound",par or workspace)
  187. sou.Volume=vol
  188. sou.Pitch=pit or 1
  189. sou.SoundId=
  190. swait()
  191. sou:play()
  192. game:GetService("Debris"):AddItem(sou,6)
  193. end))
  194. end
  195.  
  196. function clerp(a,b,t)
  197. local qa = {QuaternionFromCFrame(a)}
  198. local qb = {QuaternionFromCFrame(b)}
  199. local ax, ay, az = a.x, a.y, a.z
  200. local bx, by, bz = b.x, b.y, b.z
  201. local _t = 1-t
  202. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  203. end
  204.  
  205. function QuaternionFromCFrame(cf)
  206. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  207. local trace = m00 + m11 + m22
  208. if trace > 0 then
  209. local s = math.sqrt(1 + trace)
  210. local recip = 0.5/s
  211. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  212. else
  213. local i = 0
  214. if m11 > m00 then
  215. i = 1
  216. end
  217. if m22 > (i == 0 and m00 or m11) then
  218. i = 2
  219. end
  220. if i == 0 then
  221. local s = math.sqrt(m00-m11-m22+1)
  222. local recip = 0.5/s
  223. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  224. elseif i == 1 then
  225. local s = math.sqrt(m11-m22-m00+1)
  226. local recip = 0.5/s
  227. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  228. elseif i == 2 then
  229. local s = math.sqrt(m22-m00-m11+1)
  230. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  231. end
  232. end
  233. end
  234.  
  235. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  236. local xs, ys, zs = x + x, y + y, z + z
  237. local wx, wy, wz = w*xs, w*ys, w*zs
  238. local xx = x*xs
  239. local xy = x*ys
  240. local xz = x*zs
  241. local yy = y*ys
  242. local yz = y*zs
  243. local zz = z*zs
  244. 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))
  245. end
  246.  
  247. function QuaternionSlerp(a, b, t)
  248. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  249. local startInterp, finishInterp;
  250. if cosTheta >= 0.0001 then
  251. if (1 - cosTheta) > 0.0001 then
  252. local theta = math.acos(cosTheta)
  253. local invSinTheta = 1/math.sin(theta)
  254. startInterp = math.sin((1-t)*theta)*invSinTheta
  255. finishInterp = math.sin(t*theta)*invSinTheta
  256. else
  257. startInterp = 1-t
  258. finishInterp = t
  259. end
  260. else
  261. if (1+cosTheta) > 0.0001 then
  262. local theta = math.acos(-cosTheta)
  263. local invSinTheta = 1/math.sin(theta)
  264. startInterp = math.sin((t-1)*theta)*invSinTheta
  265. finishInterp = math.sin(t*theta)*invSinTheta
  266. else
  267. startInterp = t-1
  268. finishInterp = t
  269. end
  270. end
  271. 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
  272. end
  273.  
  274. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  275. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  276. end
  277.  
  278. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  279. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  280. prt.Anchored=true
  281. prt.CFrame=cframe
  282. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  283. --http://www.roblox.com/asset/?id=4770560
  284. game:GetService("Debris"):AddItem(prt,2)
  285. CF=prt.CFrame
  286. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  287. for i=0,1,0.2 do
  288. wait()
  289. Part.CFrame=CF*cf(0,0,-0.4)
  290. end
  291. for i=0,1,delay do
  292. wait()
  293. --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)
  294. Mesh.Scale=Mesh.Scale
  295. end
  296. for i=0,1,0.1 do
  297. wait()
  298. Part.Transparency=i
  299. end
  300. Part.Parent=nil
  301. end),prt,msh,CF)
  302. end
  303.  
  304. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  305. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  306. prt.Anchored=true
  307. prt.CFrame=cframe
  308. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  309. game:GetService("Debris"):AddItem(prt,5)
  310. coroutine.resume(coroutine.create(function(Part,Mesh)
  311. for i=0,1,delay do
  312. wait()
  313. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  314. Part.Transparency=i
  315. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  316. end
  317. Part.Parent=nil
  318. end),prt,msh)
  319. end
  320.  
  321. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  322. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  323. prt.Anchored=false
  324. prt.CFrame=cframe
  325. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  326. local wld=weld(prt,prt,Parent,cframe)
  327. game:GetService("Debris"):AddItem(prt,5)
  328. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  329. for i=0,1,delay do
  330. wait()
  331. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  332. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  333. Part.Transparency=i
  334. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  335. end
  336. Part.Parent=nil
  337. end),prt,msh,wld)
  338. end
  339.  
  340. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  341. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  342. prt.Anchored=false
  343. prt.CFrame=cframe
  344. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  345. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  346. game:GetService("Debris"):AddItem(prt,5)
  347. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  348. for i=0,1,delay do
  349. wait()
  350. Weld.C0=euler(i*20,0,0)
  351. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  352. Part.Transparency=i
  353. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  354. end
  355. Part.Parent=nil
  356. end),prt,msh,wld)
  357. end
  358.  
  359. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  360. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  361. prt.Anchored=true
  362. prt.CFrame=cframe
  363. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  364. game:GetService("Debris"):AddItem(prt,2)
  365. coroutine.resume(coroutine.create(function(Part,Mesh)
  366. for i=0,1,delay do
  367. wait()
  368. Part.CFrame=Part.CFrame
  369. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  370. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  371. prt2.Anchored=true
  372. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  373. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  374. game:GetService("Debris"):AddItem(prt2,2)
  375. coroutine.resume(coroutine.create(function(Part,Mesh)
  376. for i=0,1,0.1 do
  377. wait()
  378. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  379. end
  380. Part.Parent=nil
  381. end),prt2,msh2)
  382. end
  383. for i=0,1,delay*2 do
  384. wait()
  385. Part.CFrame=Part.CFrame
  386. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  387. end
  388. Part.Parent=nil
  389. end),prt,msh)
  390. end
  391.  
  392. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  393. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  394. prt.Anchored=true
  395. prt.CFrame=cframe
  396. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  397. game:GetService("Debris"):AddItem(prt,2)
  398. coroutine.resume(coroutine.create(function(Part,Mesh)
  399. for i=0,1,delay do
  400. wait()
  401. Part.CFrame=Part.CFrame
  402. Part.Transparency=i
  403. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  404. end
  405. Part.Parent=nil
  406. end),prt,msh)
  407. end
  408.  
  409. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  410. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  411. prt.Anchored=true
  412. prt.CFrame=cframe*euler(x2,y2,z2)
  413. --"http://www.roblox.com/asset/?id=168892465"
  414. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  415. game:GetService("Debris"):AddItem(prt,2)
  416. coroutine.resume(coroutine.create(function(Part,Mesh)
  417. for i=0,1,0.03 do
  418. wait()
  419. Part.CFrame=Part.CFrame
  420. Part.Transparency=i
  421. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  422. end
  423. Part.Parent=nil
  424. end),prt,msh)
  425. end
  426.  
  427. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  428. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  429. prt.Anchored=true
  430. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  431. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  432. game:GetService("Debris"):AddItem(prt,2)
  433. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  434. CF=Part.CFrame
  435. Numbb=0
  436. randnumb=math.random()/10
  437. rand1=math.random()/10
  438. for i=0,1,rand1 do
  439. wait()
  440. CF=CF*cf(0,math.random()/2,0)
  441. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  442. Part.CFrame=CF*euler(Numbb,0,0)
  443. Part.Transparency=i
  444. Numbb=Numbb+randnumb
  445. end
  446. Part.Parent=nil
  447. end),prt,CF,Numbb,randnumb)
  448. end
  449.  
  450. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  451. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  452. prt.Anchored=true
  453. prt.CFrame=cframe
  454. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  455. game:GetService("Debris"):AddItem(prt,5)
  456. coroutine.resume(coroutine.create(function(Part,Mesh)
  457. for i=0,1,delay do
  458. wait()
  459. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  460. Part.Transparency=i
  461. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  462. end
  463. Part.Parent=nil
  464. end),prt,msh)
  465. end
  466.  
  467. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  468. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  469. prt.Anchored=true
  470. prt.CFrame=cframe
  471. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  472. game:GetService("Debris"):AddItem(prt,2)
  473. coroutine.resume(coroutine.create(function(Part,Mesh)
  474. for i=0,1,delay do
  475. wait()
  476. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  477. Part.Transparency=i
  478. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  479. end
  480. Part.Parent=nil
  481. end),prt,msh)
  482. end
  483.  
  484. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  485. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  486. prt.Anchored=true
  487. prt.CFrame=cframe*cf(x,y,z)
  488. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  489. game:GetService("Debris"):AddItem(prt,5)
  490. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  491. local num=math.random()
  492. local num2=math.random(-3,2)+math.random()
  493. local numm=0
  494. for i=0,1,delay*2 do
  495. swait()
  496. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  497. Part.Transparency=i
  498. numm=numm+0.01
  499. end
  500. Part.Parent=nil
  501. Mesh.Parent=nil
  502. end),prt,msh,x,y,z)
  503. end
  504.  
  505. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  506. if hit.Parent==nil then
  507. return
  508. end
  509. h=hit.Parent:FindFirstChild("Humanoid")
  510. for _,v in pairs(hit.Parent:children()) do
  511. if v:IsA("Humanoid") then
  512. h=v
  513. end
  514. end
  515. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  516. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  517. end
  518. if hit.Parent.className=="Hat" then
  519. hit=hit.Parent.Parent:findFirstChild("Head")
  520. end
  521. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  522. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  523. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  524. return
  525. end]]
  526. -- hs(hit,1.2)
  527. c=Instance.new("ObjectValue")
  528. c.Name="creator"
  529. c.Value=game:service("Players").LocalPlayer
  530. c.Parent=h
  531. game:GetService("Debris"):AddItem(c,.5)
  532. Damage=script.Damage.Value
  533. -- h:TakeDamage(Damage)
  534. blocked=false
  535. block=hit.Parent:findFirstChild("Block")
  536. if block~=nil then
  537. print(block.className)
  538. if block.className=="NumberValue" then
  539. if block.Value>0 then
  540. blocked=true
  541. if decreaseblock==nil then
  542. block.Value=block.Value-1
  543. end
  544. end
  545. end
  546. if block.className=="IntValue" then
  547. if block.Value>0 then
  548. blocked=true
  549. if decreaseblock~=nil then
  550. block.Value=block.Value-1
  551. end
  552. end
  553. end
  554. end
  555. if blocked==false then
  556. -- h:TakeDamage(Damage)
  557. h.Health=h.Health-Damage
  558. else
  559. h.Health=h.Health-(Damage/2)
  560. end
  561. if Type=="Knockdown" then
  562. hum=hit.Parent.Humanoid
  563. hum.PlatformStand=true
  564. coroutine.resume(coroutine.create(function(HHumanoid)
  565. swait(1)
  566. HHumanoid.PlatformStand=false
  567. end),hum)
  568. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  569. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  570. local bodvol=Instance.new("BodyVelocity")
  571. bodvol.velocity=angle*knockback
  572. bodvol.P=5000
  573. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  574. bodvol.Parent=hit
  575. rl=Instance.new("BodyAngularVelocity")
  576. rl.P=3000
  577. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  578. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  579. rl.Parent=hit
  580. game:GetService("Debris"):AddItem(bodvol,.5)
  581. game:GetService("Debris"):AddItem(rl,.5)
  582. elseif Type=="Normal" then
  583. vp=Instance.new("BodyVelocity")
  584. vp.P=500
  585. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  586. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  587. if KnockbackType==1 then
  588. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  589. elseif KnockbackType==2 then
  590. vp.velocity=Property.CFrame.lookVector*knockback
  591. end
  592. if knockback>0 then
  593. vp.Parent=hit.Parent.Torso
  594. end
  595. game:GetService("Debris"):AddItem(vp,.5)
  596. elseif Type=="Up" then
  597. local bodyVelocity=Instance.new("BodyVelocity")
  598. bodyVelocity.velocity=vt(0,60,0)
  599. bodyVelocity.P=5000
  600. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  601. bodyVelocity.Parent=hit
  602. game:GetService("Debris"):AddItem(bodyVelocity,1)
  603. rl=Instance.new("BodyAngularVelocity")
  604. rl.P=3000
  605. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  606. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  607. rl.Parent=hit
  608. game:GetService("Debris"):AddItem(rl,.5)
  609. elseif Type=="Snare" then
  610. bp=Instance.new("BodyPosition")
  611. bp.P=2000
  612. bp.D=100
  613. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  614. bp.position=hit.Parent.Torso.Position
  615. bp.Parent=hit.Parent.Torso
  616. game:GetService("Debris"):AddItem(bp,1)
  617. elseif Type=="Target" then
  618. if Targetting==false then
  619. ZTarget=hit.Parent.Torso
  620. coroutine.resume(coroutine.create(function(Part)
  621. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  622. swait(5)
  623. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  624. end),ZTarget)
  625. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  626. targetgui=Instance.new("BillboardGui")
  627. targetgui.Parent=ZTarget
  628. targetgui.Size=UDim2.new(10,100,10,100)
  629. targ=Instance.new("ImageLabel")
  630. targ.Parent=targetgui
  631. targ.BackgroundTransparency=1
  632. targ.Image="rbxassetid://4834067"
  633. targ.Size=UDim2.new(1,0,1,0)
  634. cam.CameraType="Scriptable"
  635. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  636. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  637. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  638. Targetting=true
  639. RocketTarget=ZTarget
  640. for i=1,Property do
  641. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  642. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  643. swait()
  644. end
  645. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  646. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  647. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  648. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  649. end
  650. Targetting=false
  651. RocketTarget=nil
  652. targetgui.Parent=nil
  653. cam.CameraType="Custom"
  654. end
  655. end
  656. debounce=Instance.new("BoolValue")
  657. debounce.Name="DebounceHit"
  658. debounce.Parent=hit.Parent
  659. debounce.Value=true
  660. game:GetService("Debris"):AddItem(debounce,Delay)
  661. c=Instance.new("ObjectValue")
  662. c.Name="creator"
  663. c.Value=Player
  664. c.Parent=h
  665. game:GetService("Debris"):AddItem(c,.5)
  666. CRIT=false
  667. hitDeb=true
  668. AttackPos=6
  669. end
  670. end
  671.  
  672. showDamage=function(Char,Dealt,du,Color)
  673. m=Instance.new("Model")
  674. m.Name=tostring(Dealt)
  675. h=Instance.new("Humanoid")
  676. h.Health=0
  677. h.MaxHealth=0
  678. h.Parent=m
  679. c=Instance.new("Part")
  680. c.Transparency=0
  681. c.BrickColor=Color
  682. c.Name="Head"
  683. c.TopSurface=0
  684. c.BottomSurface=0
  685. c.formFactor="Plate"
  686. c.Size=Vector3.new(1,.4,1)
  687. ms=Instance.new("CylinderMesh")
  688. ms.Scale=Vector3.new(.8,.8,.8)
  689. if CRIT==true then
  690. ms.Scale=Vector3.new(1,1.25,1)
  691. end
  692. ms.Parent=c
  693. c.Reflectance=0
  694. Instance.new("BodyGyro").Parent=c
  695. c.Parent=m
  696. if Char:findFirstChild("Head")~=nil then
  697. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  698. elseif Char.Parent:findFirstChild("Head")~=nil then
  699. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  700. end
  701. f=Instance.new("BodyPosition")
  702. f.P=2000
  703. f.D=100
  704. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  705. f.position=c.Position+Vector3.new(0,3,0)
  706. f.Parent=c
  707. game:GetService("Debris"):AddItem(m,.5+du)
  708. c.CanCollide=false
  709. m.Parent=workspace
  710. c.CanCollide=false
  711. end
  712.  
  713. Player=game:GetService('Players').LocalPlayer
  714. Character=Player.Character
  715. Mouse=Player:GetMouse()
  716. m=Instance.new('Model',Character)
  717. m.Name = "Claws"
  718.  
  719. local function weldBetween(a, b)
  720. local weldd = Instance.new("ManualWeld")
  721. weldd.Part0 = a
  722. weldd.Part1 = b
  723. weldd.C0 = CFrame.new()
  724. weldd.C1 = b.CFrame:inverse() * a.CFrame
  725. weldd.Parent = a
  726. return weldd
  727. end
  728.  
  729. it=Instance.new
  730.  
  731. function nooutline(part)
  732. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  733. end
  734.  
  735. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  736. local fp=it("Part")
  737. fp.formFactor=formfactor
  738. fp.Parent=parent
  739. fp.Reflectance=reflectance
  740. fp.Transparency=transparency
  741. fp.CanCollide=false
  742. fp.Locked=true
  743. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  744. fp.Name=name
  745. fp.Size=size
  746. fp.Position=Character.Torso.Position
  747. nooutline(fp)
  748. fp.Material=material
  749. fp:BreakJoints()
  750. return fp
  751. end
  752.  
  753. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  754. local mesh=it(Mesh)
  755. mesh.Parent=part
  756. if Mesh=="SpecialMesh" then
  757. mesh.MeshType=meshtype
  758. mesh.MeshId=meshid
  759. end
  760. mesh.Offset=offset
  761. mesh.Scale=scale
  762. return mesh
  763. end
  764.  
  765. function weld(parent,part0,part1,c0,c1)
  766. local weld=it("Weld")
  767. weld.Parent=parent
  768. weld.Part0=part0
  769. weld.Part1=part1
  770. weld.C0=c0
  771. weld.C1=c1
  772. return weld
  773. end
  774.  
  775. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Handle",Vector3.new(1.20000005, 1.20000005, 1))
  776. 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))
  777. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  779. 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))
  780. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  781. 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))
  782. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  783. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  784. 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))
  785. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  786. 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))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  788. 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))
  789. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  790. 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))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  792. 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))
  793. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  794. 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))
  795. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  796. 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))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  798. 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))
  799. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  800. 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))
  801. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  802. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  803. 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))
  804. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  805. 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))
  806. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  807. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(4.29999971, 4.30000019, 1))
  808. 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))
  809. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  811. 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))
  812. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  814. 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))
  815. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  816.  
  817. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Handle",Vector3.new(1.20000005, 1.20000005, 1))
  818. 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))
  819. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  821. 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))
  822. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  823. 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))
  824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  825. 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))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(1, 0.400000006, 1))
  827. 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))
  828. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(1, 0.400000006, 1))
  830. 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))
  831. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  833. 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))
  834. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  835. 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))
  836. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  837. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  838. 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))
  839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  840. 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))
  841. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  843. 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))
  844. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(1, 0.400000006, 1))
  845. 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))
  846. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  847. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  848. 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))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  850. 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))
  851. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  852. 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))
  853. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(4.29999971, 4.30000019, 1))
  854. 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))
  855. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(2.20000005, 1, 1))
  857. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  858.  
  859. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  860. 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))
  861. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  862. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  863. 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))
  864. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  866. 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))
  867. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Part",Vector3.new(3.79999995, 4, 1.39999998))
  869. 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))
  870. 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))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really Red","Part",Vector3.new(3.79999995, 4, 1.39999998))
  872. 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))
  873. 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))
  874. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  875. 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))
  876. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  877. 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))
  878. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  879. 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))
  880. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Crimson","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  881. 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))
  882. mouse.Button1Down:connect(function()
  883. if attack==false and attacktype==1 then
  884. attacktype=2
  885. attackone()
  886. elseif attack==false and attacktype==2 then
  887. attacktype=1
  888. attacktwo()
  889. end
  890. end)
  891. function ShadowVisible()
  892. local ChatService = game:GetService("Chat")
  893. for i,v in pairs(Character:children'') do
  894. if string.find(v.Name,'Left') or string.find(v.Name,'Right') or string.find(v.Name,'Head') or string.find(v.Name,'Head') or string.find(v.Name,'Torso') then
  895. if v.Transparency then
  896. v.Transparency = 0
  897. end
  898. end
  899. if v:IsA'Hat' then v.Handle.Transparency = 0
  900. end
  901. if v.Name == "Head" then
  902. local face = v:findFirstChild('face')
  903. if face~=nil then
  904. face.Transparency = 0
  905. end
  906. end
  907. end
  908. function ShadowVisibility()
  909. local ChatService = game:GetService("Chat")
  910. for i,v in pairs(Character:children'') do
  911. if string.find(v.Name,'Left') or string.find(v.Name,'Right') or string.find(v.Name,'Head') or string.find(v.Name,'Head') or string.find(v.Name,'Torso') then
  912. v.Transparency = 1
  913. end
  914. if v:IsA'Hat' then v.Handle.Transparency = 1
  915. end
  916. end
  917. for i,v in pairs(Head:children'') do
  918. if v.Name == 'face' then
  919. v.Transparency = 1
  920. end
  921. end
  922. end
  923. end
  924. local Claws = game:GetService("Players").LocalPlayer.Character:findFirstChild("Claws")
  925.  
  926. mouse.KeyDown:connect(function(k)
  927. if k == 'p' then
  928.  
  929. Particles()
  930. elseif k == 'x' then
  931. ShadowVisible()
  932. elseif k == 'f' and s then
  933. s = false
  934. Character.Humanoid.WalkSpeed = 16
  935. elseif k == 'f' and not s then
  936. s = true
  937. Character.Humanoid.WalkSpeed = 22
  938. end
  939. end)
  940. function Up(Height)
  941. Char.Torso.CFrame = CFrame.new(Char.Torso.CFrame.X,Char.Torso.CFrame.Y + Height,Char.Torso.CFrame.Z)
  942. end
  943. function Forward(Amount)
  944. Char.Head.Velocity = Char.Head.CFrame.lookVector*Amount
  945. end
  946. local Pad = false
  947. local PadVersion = 0
  948. local CanBlast = true
  949. local Grab = false
  950.  
  951. function weld5(part0, part1, c0, c1)
  952. weeld=Instance.new("Weld", part0)
  953. weeld.Part0=part0
  954. weeld.Part1=part1
  955. weeld.C0=c0
  956. weeld.C1=c1
  957. return weeld
  958. end
  959.  
  960. mouse.KeyDown:connect(function(k)
  961. k=k:lower()
  962. if k=='q' then
  963. if attack==false then
  964. Push()
  965. end
  966. elseif k=='e' then
  967. if attack==false then
  968. Clap()
  969. end
  970. elseif k=="k" then
  971. local H = Claws:findFirstChild("Handle")
  972. if Grab == false and attack == false then
  973. attack = true
  974. attackone()
  975. attack = false
  976. H.Touched:connect(function(hit)
  977. if H:findFirstChild("asd") == nil then
  978. ht = hit.Parent
  979. hum1=ht:FindFirstChild('Humanoid')
  980. if hum1 ~= nil and ht.Name ~= Plr.Name then
  981. hum1.PlatformStand=true
  982. gp = ht
  983. Grab = true
  984. asd=weld5(H,ht:FindFirstChild("Torso"),CFrame.new(0,0,2.5),CFrame.new(0,0,0))
  985. asd.Parent = H
  986. asd.Name = "asd"
  987. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  988. elseif hum1 == nil then
  989. wait() return
  990. end
  991. end
  992. end)
  993. elseif Grab == true and gp ~= nil then
  994. Grab = false
  995. for i,v in pairs(H:GetChildren()) do
  996. if v.Name == "asd" and v:IsA("Weld") then
  997. v:Remove()
  998. end
  999. end
  1000. gp:findFirstChild("Head").Velocity = gp:findFirstChild("Head").CFrame.lookVector*200
  1001. end
  1002. elseif k=="g" then
  1003. Forward(250)
  1004. elseif k == "t" and attack == false then
  1005. if attack == false and Pad == false then
  1006. Particles()
  1007. PadVersion = PadVersion + 1
  1008. Pad = true
  1009. local P = Instance.new("Part",Char)
  1010. P.Name = "Pad"..PadVersion
  1011. P.BrickColor = BrickColor.new("Royal purple")
  1012. P.Transparency = 0.1
  1013. P.Size = Vector3.new(2.5,1,2.5)
  1014. P.Material = "Neon"
  1015. EffectPortal(P)
  1016. P.Locked = true
  1017. P.Anchored = true
  1018. local M = Instance.new("SpecialMesh")
  1019. M.Parent = P
  1020. M.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1021. M.Scale = Vector3.new(2,2.5,2)
  1022. game:GetService("RunService").RenderStepped:connect(function()
  1023. if Char:findFirstChild("Pad"..PadVersion) then
  1024. local P = Char:findFirstChild("Pad"..PadVersion)
  1025. P.CFrame = CFrame.new(Torso.CFrame.X, Torso.CFrame.Y - 3, Torso.CFrame.Z)
  1026. P.CFrame = CFrame.new(P.CFrame.X,P.CFrame.Y - 0.5,P.CFrame.Z)
  1027.  
  1028. local CF = P.CFrame
  1029.  
  1030. local Z = Instance.new("Part",Char)
  1031. Z.Name = "Path"
  1032. Z.Size = Vector3.new(2.5,3.5,2.5)
  1033. Z.Material = "Neon"
  1034. Z.Anchored = false
  1035. Z.CanCollide = false
  1036. Z.CFrame = CF
  1037. Z.BrickColor = BrickColor.new("Really black")
  1038. Z.Transparency = 0.4
  1039. local M = Instance.new("SpecialMesh")
  1040. M.Parent = Z
  1041. M.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1042. M.Scale = Vector3.new(2,2.5,2)
  1043. game:GetService("Debris"):AddItem(Z, 0.3)
  1044. else
  1045. Pad = false
  1046. end
  1047. end)
  1048. end
  1049. elseif k == "u" then
  1050. if attack == false then
  1051. if Pad == true and CanBlast == true then
  1052. CanBlast = false
  1053. local P = Instance.new("Part",Char)
  1054. P.Name = "Crystal"
  1055. P.BrickColor = BrickColor.new("Crimson")
  1056. P.Transparency = 0.1
  1057. P.Size = Vector3.new(2.5,2.5,2.5)
  1058. P.Material = "Neon"
  1059. P.CFrame = Char.Torso.CFrame
  1060. P.CanCollide = false
  1061. P.Anchored = true
  1062. Instance.new("PointLight",P)
  1063. local M = Instance.new("SpecialMesh")
  1064. M.Parent = P
  1065. M.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1066. M.Scale = Vector3.new(2,2.5,2)
  1067. function BLAMO(hit)
  1068. if hit.Parent and hit.Parent.Name ~= Plr.Name and hit.Parent.Name ~= "PointCoded" then
  1069. if hit.Parent:findFirstChild("Humanoid") then
  1070. local H = hit.Parent:findFirstChild("Humanoid")
  1071. H.MaxHealth = 100
  1072. H.Health = H.Health - 20
  1073. H.Sit = true
  1074. H.Name = "Hit"
  1075. wait(1)
  1076. H.Name = "Humanoid"
  1077. EffectPortal(H.Parent:findFirstChild("Torso"),true)
  1078. end
  1079. end
  1080. end
  1081. P.Touched:connect(BLAMO)
  1082. for i = 1,45 do
  1083. wait()
  1084. P.Touched:connect(BLAMO)
  1085. P.CFrame = Char.Torso.CFrame
  1086. P.Size = Vector3.new(P.Size.X + 1,P.Size.Y + 1,P.Size.Z + 1)
  1087. M.Scale = Vector3.new(M.Scale.X + 1,M.Scale.Y + 1,M.Scale.Z + 1)
  1088. P.CFrame = Char.Torso.CFrame
  1089. P.Touched:connect(BLAMO)
  1090. end
  1091. P.Touched:connect(BLAMO)
  1092. wait(1)
  1093. P:remove()
  1094. CanBlast = true
  1095. end
  1096. end
  1097. elseif k == "p" and attack == false then
  1098. Pad = false
  1099. if Char:findFirstChild("Pad"..PadVersion) then
  1100. local P = Char:findFirstChild("Pad"..PadVersion)
  1101. P:remove()
  1102. Pad = false
  1103. end
  1104. elseif k=='r' then
  1105. if attack==false then
  1106. Hai()
  1107. end
  1108. end
  1109. end)
  1110.  
  1111. TrailDeb = false
  1112.  
  1113. function attackone()
  1114. attack=true
  1115. script.Damage.Value = ChosenDamage
  1116. if TrailDeb == false then
  1117. TrailDeb = true
  1118. end
  1119.  
  1120.  
  1121. coroutine.wrap(function()
  1122. local Old = Handle.CFrame.p
  1123. while wait()do
  1124. if not TrailDeb then break end
  1125. local New = Handle.CFrame.p
  1126. local Mag =(Old -New).magnitude
  1127. local Dis =(Old +New)/2
  1128. local Trail = Instance.new("Part",Character)
  1129. Trail.Material = "Metal"
  1130. Trail.Anchored = true
  1131. Trail.CanCollide = false
  1132. Trail.BrickColor = BrickColor.new("Crimson")
  1133. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1134. Trail.TopSurface = 0
  1135. Trail.BottomSurface = 0
  1136. Trail.formFactor = "Custom"
  1137. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1138. local ms = Instance.new("BlockMesh",Trail)
  1139. ms.Scale = Vector3.new(1,1,1)
  1140. local TM = Instance.new("CylinderMesh",Trail)
  1141. TM.Scale = Vector3.new(1,1,1)
  1142. Old = New
  1143. coroutine.wrap(function()
  1144. for i = 1,0,-0.1 do
  1145. wait()
  1146. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1147. end
  1148. Trail:remove()
  1149. end)()
  1150. coroutine.wrap(function()
  1151. for i = 1,10 do
  1152. wait()
  1153. Trail.Transparency = Trail.Transparency +0.1
  1154. end end)()end end)()
  1155. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1156. for i=0,1,0.1 do
  1157. swait()
  1158. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1159. Handleweld.C0=clerp(Handleweld.C0,cf(-5,1,-5)*angles(math.rad(100),math.rad(0),math.rad(0)),.2)
  1160. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1161. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1162. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1163. end
  1164. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1165. for i=0,1,0.1 do
  1166. swait()
  1167. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1168. Handleweld.C0=clerp(Handleweld.C0,cf(-5,1,-5)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1169. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1170. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1171. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1172. end
  1173. --dmgstop()
  1174. attack=false
  1175. con1:disconnect()
  1176. if TrailDeb == true then
  1177. TrailDeb = false
  1178. end
  1179. end
  1180.  
  1181. function attacktwo()
  1182. attack=true
  1183. script.Damage.Value = 25
  1184. if TrailDeb == false then
  1185. TrailDeb = true
  1186. end
  1187.  
  1188.  
  1189. coroutine.wrap(function()
  1190. local Old = Handle2.CFrame.p
  1191. while wait()do
  1192. if not TrailDeb then break end
  1193. local New = Handle2.CFrame.p
  1194. local Mag =(Old -New).magnitude
  1195. local Dis =(Old +New)/2
  1196. local Trail = Instance.new("Part",Character)
  1197. Trail.Material = "Metal"
  1198. Trail.Anchored = true
  1199. Trail.CanCollide = false
  1200. Trail.BrickColor = BrickColor.new("Crimson")
  1201. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1202. Trail.TopSurface = 0
  1203. Trail.BottomSurface = 0
  1204. Trail.formFactor = "Custom"
  1205. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1206. local ms = Instance.new("BlockMesh",Trail)
  1207. ms.Scale = Vector3.new(1,1,1)
  1208. local TM = Instance.new("CylinderMesh",Trail)
  1209. TM.Scale = Vector3.new(1,1,1)
  1210. Old = New
  1211. coroutine.wrap(function()
  1212. for i = 1,0,-0.1 do
  1213. wait()
  1214. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1215. end
  1216. Trail:remove()
  1217. end)()
  1218. coroutine.wrap(function()
  1219. for i = 1,10 do
  1220. wait()
  1221. Trail.Transparency = Trail.Transparency +0.1
  1222. end end)()end end)()
  1223. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1224. for i=0,1,0.1 do
  1225. swait()
  1226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1227. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1228. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1229. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1230. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1231. end
  1232. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1233. for i=0,1,0.1 do
  1234. swait()
  1235. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1236. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1237. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1238. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,20),.3)
  1239. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1240. end
  1241. --dmgstop()
  1242. attack=false
  1243. con1:disconnect()
  1244. if TrailDeb == true then
  1245. TrailDeb = false
  1246. end
  1247. end
  1248.  
  1249. function Push()
  1250. attack=true
  1251. script.Damage.Value = 25
  1252. if TrailDeb == false then
  1253. TrailDeb = true
  1254. end
  1255.  
  1256.  
  1257. coroutine.wrap(function()
  1258. local Old = Handle2.CFrame.p
  1259. while wait()do
  1260. if not TrailDeb then break end
  1261. local New = Handle2.CFrame.p
  1262. local Mag =(Old -New).magnitude
  1263. local Dis =(Old +New)/2
  1264. local Trail = Instance.new("Part",Character)
  1265. Trail.Material = "Metal"
  1266. Trail.Anchored = true
  1267. Trail.CanCollide = false
  1268. Trail.BrickColor = BrickColor.new("Crimson")
  1269. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1270. Trail.TopSurface = 0
  1271. Trail.BottomSurface = 0
  1272. Trail.formFactor = "Custom"
  1273. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1274. local ms = Instance.new("BlockMesh",Trail)
  1275. ms.Scale = Vector3.new(1,1,1)
  1276. local TM = Instance.new("CylinderMesh",Trail)
  1277. TM.Scale = Vector3.new(1,1,1)
  1278. Old = New
  1279. coroutine.wrap(function()
  1280. for i = 1,0,-0.1 do
  1281. wait()
  1282. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1283. end
  1284. Trail:remove()
  1285. end)()
  1286. coroutine.wrap(function()
  1287. for i = 1,10 do
  1288. wait()
  1289. Trail.Transparency = Trail.Transparency +0.1
  1290. end end)()end end)()
  1291. coroutine.wrap(function()
  1292. local Old = Handle.CFrame.p
  1293. while wait()do
  1294. if not TrailDeb then break end
  1295. local New = Handle.CFrame.p
  1296. local Mag =(Old -New).magnitude
  1297. local Dis =(Old +New)/2
  1298. local Trail = Instance.new("Part",Character)
  1299. Trail.Material = "Metal"
  1300. Trail.Anchored = true
  1301. Trail.CanCollide = false
  1302. Trail.BrickColor = BrickColor.new("Crimson")
  1303. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1304. Trail.TopSurface = 0
  1305. Trail.BottomSurface = 0
  1306. Trail.formFactor = "Custom"
  1307. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1308. local ms = Instance.new("BlockMesh",Trail)
  1309. ms.Scale = Vector3.new(1,1,1)
  1310. local TM = Instance.new("CylinderMesh",Trail)
  1311. TM.Scale = Vector3.new(1,1,1)
  1312. Old = New
  1313. coroutine.wrap(function()
  1314. for i = 1,0,-0.1 do
  1315. wait()
  1316. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1317. end
  1318. Trail:remove()
  1319. end)()
  1320. coroutine.wrap(function()
  1321. for i = 1,10 do
  1322. wait()
  1323. Trail.Transparency = Trail.Transparency +0.1
  1324. end end)()end end)()
  1325. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1326. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1327. for i=0,1,0.1 do
  1328. swait()
  1329. Handleweld.C0=clerp(Handleweld.C0,cf(-5,1,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  1330. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  1331. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  1332. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  1333. end
  1334. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1335. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1336. for i=0,1,0.1 do
  1337. swait()
  1338. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  1339. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  1340. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  1341. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  1342. end
  1343. --dmgstop()
  1344. attack=false
  1345. con1:disconnect()
  1346. con2:disconnect()
  1347. if TrailDeb == true then
  1348. TrailDeb = false
  1349. end
  1350. end
  1351.  
  1352. function Clap()
  1353. attack=true
  1354. script.Damage.Value = 25
  1355. if TrailDeb == false then
  1356. TrailDeb = true
  1357. end
  1358.  
  1359.  
  1360. coroutine.wrap(function()
  1361. local Old = Handle2.CFrame.p
  1362. while wait()do
  1363. if not TrailDeb then break end
  1364. local New = Handle2.CFrame.p
  1365. local Mag =(Old -New).magnitude
  1366. local Dis =(Old +New)/2
  1367. local Trail = Instance.new("Part",Character)
  1368. Trail.Material = "Metal"
  1369. Trail.Anchored = true
  1370. Trail.CanCollide = false
  1371. Trail.BrickColor = BrickColor.new("Crimson")
  1372. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1373. Trail.TopSurface = 0
  1374. Trail.BottomSurface = 0
  1375. Trail.formFactor = "Custom"
  1376. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1377. local ms = Instance.new("BlockMesh",Trail)
  1378. ms.Scale = Vector3.new(1,1,1)
  1379. local TM = Instance.new("CylinderMesh",Trail)
  1380. TM.Scale = Vector3.new(1,1,1)
  1381. Old = New
  1382. coroutine.wrap(function()
  1383. for i = 1,0,-0.1 do
  1384. wait()
  1385. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1386. end
  1387. Trail:remove()
  1388. end)()
  1389. coroutine.wrap(function()
  1390. for i = 1,10 do
  1391. wait()
  1392. Trail.Transparency = Trail.Transparency +0.1
  1393. end end)()end end)()
  1394. coroutine.wrap(function()
  1395. local Old = Handle.CFrame.p
  1396. while wait()do
  1397. if not TrailDeb then break end
  1398. local New = Handle.CFrame.p
  1399. local Mag =(Old -New).magnitude
  1400. local Dis =(Old +New)/2
  1401. local Trail = Instance.new("Part",Character)
  1402. Trail.Material = "Metal"
  1403. Trail.Anchored = true
  1404. Trail.CanCollide = false
  1405. Trail.BrickColor = BrickColor.new("Crimson")
  1406. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1407. Trail.TopSurface = 0
  1408. Trail.BottomSurface = 0
  1409. Trail.formFactor = "Custom"
  1410. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1411. local ms = Instance.new("BlockMesh",Trail)
  1412. ms.Scale = Vector3.new(1,1,1)
  1413. local TM = Instance.new("CylinderMesh",Trail)
  1414. TM.Scale = Vector3.new(1,1,1)
  1415. Old = New
  1416. coroutine.wrap(function()
  1417. for i = 1,0,-0.1 do
  1418. wait()
  1419. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1420. end
  1421. Trail:remove()
  1422. end)()
  1423. coroutine.wrap(function()
  1424. for i = 1,10 do
  1425. wait()
  1426. Trail.Transparency = Trail.Transparency +0.1
  1427. end end)()end end)()
  1428. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1429. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Normal",RootPart,.2,1) end)
  1430. for i=0,1,0.1 do
  1431. swait()
  1432. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1433. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1434. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(-20)),.2)
  1435. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1436. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  1437. end
  1438. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1439. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1440. for i=0,1,0.1 do
  1441. swait()
  1442. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1443. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-20),math.rad(20)),.2)
  1444. Handleweld.C0=clerp(Handleweld.C0,cf(-10,1,-5)*angles(math.rad(0),math.rad(20),math.rad(-20)),.2)
  1445. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(-30,0,20),.3)
  1446. RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(-30,0,-20),.3)
  1447. end
  1448. --dmgstop()
  1449. attack=false
  1450. con1:disconnect()
  1451. con2:disconnect()
  1452. if TrailDeb == true then
  1453. TrailDeb = false
  1454. end
  1455. end
  1456.  
  1457. function Hai()
  1458. attack=true
  1459. for i=0,1,0.1 do
  1460. swait()
  1461. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1462. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1463. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1464. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1465. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(0)),.3)
  1466. end
  1467. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  1468. for i=0,1,0.1 do
  1469. swait()
  1470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1471. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  1472. Handle2weld.C0=clerp(Handle2weld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(50)),.5)
  1474. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(-50)),.5)
  1475. end
  1476. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1477. for i=0,1,0.1 do
  1478. swait()
  1479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1480. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1481. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1482. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1483. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(0)),.3)
  1484. end
  1485. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  1486. for i=0,1,0.1 do
  1487. swait()
  1488. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1489. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  1490. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1491. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(50)),.3)
  1492. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(-50)),.3)
  1493. end
  1494. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1495. for i=0,1,0.1 do
  1496. swait()
  1497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1498. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1499. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1500. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1501. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(190),math.rad(0),math.rad(0)),.3)
  1502. end
  1503. --dmgstop()
  1504. attack=false
  1505. end
  1506.  
  1507.  
  1508. local sine = 0
  1509. local change = 1
  1510. local val = 0
  1511.  
  1512.  
  1513. --[[Super Edits]]--
  1514. local Claws = game:GetService("Players").LocalPlayer.Character:findFirstChild("Claws")
  1515.  
  1516. for i,v in pairs(Claws:GetChildren()) do
  1517. if v:IsA("Part") then
  1518. if v.Name == "Handle" and v.Size ~= Vector3.new(1.2, 1.2, 1.2) then
  1519. v.Material = "Neon"
  1520. v.Reflectance = 0.2
  1521. v.BrickColor = BrickColor.new("Crimson")
  1522. v.Transparency = 0.1
  1523. else
  1524. v.Material = "Ice"
  1525. v.Reflectance = 0.3
  1526. v.BrickColor = BrickColor.new("Black")
  1527. v.Transparency = 0.2
  1528. end
  1529. end
  1530. end
  1531.  
  1532. for i,v in pairs(Claws:GetChildren()) do
  1533. if v:IsA("Part") then
  1534. if v:findFirstChild("Mesh") and v.Size == Vector3.new(1.2, 1.2, 1.2) and v.Mesh.MeshId =="http://www.roblox.com/Asset/?id=9756362" and v.Name ~= "Wedge" then
  1535. v.BrickColor = BrickColor.new("Really black")
  1536. v.Material = "Neon"
  1537. end
  1538. end
  1539. end
  1540. for i,v in pairs(Claws:GetChildren()) do
  1541. if v:IsA("Part") then
  1542. if v.Size == Vector3.new(3.8, 4, 1.4) and v.Name ~= "Wedge" then
  1543. v.Material = "Neon"
  1544. v.BrickColor = BrickColor.new("Really black")
  1545. end
  1546. if v.Name == "Wedge" then
  1547. v.BrickColor = BrickColor.new("Blue")
  1548. end
  1549. end
  1550. end
  1551. for i,v in pairs(Claws:GetChildren()) do
  1552. if v:IsA("Part") and v:findFirstChild("Mesh") and v.Mesh.MeshId == "http://www.roblox.com/Asset/?id=9756362" then
  1553. v.BrickColor = BrickColor.new("Red")
  1554. v.Material = "Neon"
  1555. end
  1556. end
  1557. function RecolourWedge()
  1558. --while true do
  1559. for i,v in pairs(Claws:GetChildren()) do
  1560. if v.Name == "Wedge" then
  1561. v.BrickColor = BrickColor.new("Blue")
  1562. end
  1563. end
  1564. wait()
  1565. --end
  1566. end
  1567. function CheckClawBack()
  1568. if ClawCanComeBack == false then
  1569. while true do
  1570. wait()
  1571. end
  1572. end
  1573. end
  1574. RecolourWedge()
  1575.  
  1576. function Particles()
  1577. for i,v in pairs(Claws:GetChildren()) do
  1578. if v:IsA("Part") then
  1579. if v.BrickColor == "Crimson" then
  1580. EffectPortal(v,true)
  1581. end
  1582. end
  1583. end
  1584. end
  1585.  
  1586.  
  1587. --[[Rest Of Script]]--
  1588. while true do
  1589. swait()
  1590. if game.Workspace:findFirstChild("moosick") == nil then
  1591. local moosick = Instance.new("Sound", game.Workspace)
  1592. moosick.SoundId = "rbxassetid://297070890"
  1593. moosick.Looped = true
  1594. moosick.Pitch = 1
  1595. moosick.Volume = 1
  1596. moosick.Name = "moosick"
  1597. moosick:Play()
  1598. elseif game.Workspace:findFirstChild("moosick") and game.Workspace.moosick.IsPlaying == false then
  1599. game.Workspace.moosick:Play()
  1600. end
  1601. if game:GetService("Players").LocalPlayer.Character:findFirstChild("Part") then
  1602. game:GetService("Players").LocalPlayer.Character:findFirstChild("Part").BrickColor = BrickColor.new("Crimson")
  1603. game:GetService("Players").LocalPlayer.Character:findFirstChild("Part").Material = "Neon"
  1604. end
  1605. if ClawCanComeBack == false then
  1606. CheckClawBack()
  1607. end
  1608. sine = sine + change
  1609. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1610. local velderp=RootPart.Velocity.y
  1611. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1612. if equipped==true or equipped==false then
  1613. if attack==false then
  1614. idle=idle+1
  1615. else
  1616. idle=0
  1617. end
  1618. if idle>=500 then
  1619. if attack==false then
  1620. --Sheath()
  1621. end
  1622. end
  1623. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1624. Anim="Jump"
  1625. if attack==false then
  1626. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1627. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1628. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1629. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1630. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1631. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1632. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1633. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  1634. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  1635. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1636. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1637. end
  1638. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1639. Anim="Fall"
  1640. if attack==false then
  1641. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1642. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1643. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1644. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1645. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1646. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1647. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1648. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  1649. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  1650. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1651. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1652. end
  1653. elseif torvel<1 and hitfloor~=nil then
  1654. Anim="Idle"
  1655. if attack==false then
  1656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1659. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1660. 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)
  1661. 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)
  1662. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1663. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1664. end
  1665. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1666. local idleanim=0
  1667. Anim="Walk"
  1668. if attack==false then
  1669. change=3
  1670. --[[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)
  1671. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1672. 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)
  1673. 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)
  1674. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1675. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1676. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)]]--
  1677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1678. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  1679. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  1680. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  1681. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  1682. RH.C0=clerp(RH.C0,RHC0,.3)
  1683. LH.C0=clerp(LH.C0,LHC0,.3)
  1684. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1685. end
  1686. elseif torvel>=22 and hitfloor~=nil then
  1687. Anim="Run"
  1688. if attack==false then
  1689. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  1690. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  1691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1692. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1693. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1694. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1695. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1696. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1697. end
  1698. end
  1699. end
  1700. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement