Fuckmypussy12

Untitled

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