Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.91 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character:FindFirstChildOfClass("Humanoid")
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. trispeed=1
  43. pathtrans=.7
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. cloak=false
  52. lightcolor='sky blue'
  53. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57. mouse=Player:GetMouse()
  58. --save shoulders
  59. RSH, LSH=nil, nil
  60. --welds
  61. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  62. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  63. LH=Torso["Left Hip"]
  64. RH=Torso["Right Hip"]
  65. TorsoColor=BrickColor.new("sky blue")
  66. function NoOutline(Part)
  67. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  68. end
  69. player=Player
  70. ch=Character
  71. RSH=ch.Torso["Right Shoulder"]
  72. LSH=ch.Torso["Left Shoulder"]
  73. --
  74. RSH.Parent=nil
  75. LSH.Parent=nil
  76. --
  77. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  78. RW.Name="Right Shoulder"
  79. RW.Part0=ch.Torso
  80. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  81. RW.C1=cf(0, 0.5, 0)
  82. RW.Part1=ch["Right Arm"]
  83. RW.Parent=ch.Torso
  84. --
  85. LW.Name="Left Shoulder"
  86. LW.Part0=ch.Torso
  87. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  88. LW.C1=cf(0, 0.5, 0)
  89. LW.Part1=ch["Left Arm"]
  90. LW.Parent=ch.Torso
  91.  
  92. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  93. local fp=it("Part")
  94. fp.formFactor=formfactor
  95. fp.Parent=parent
  96. fp.Reflectance=reflectance
  97. fp.Transparency=transparency
  98. fp.CanCollide=false
  99. fp.Locked=true
  100. fp.BrickColor=brickcolor
  101. fp.Name=name
  102. fp.Size=size
  103. fp.Position=Torso.Position
  104. NoOutline(fp)
  105. fp.Material="Neon"
  106. fp:BreakJoints()
  107. return fp
  108. end
  109. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  110.  
  111. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  112. local mesh=it(Mesh)
  113. mesh.Parent=part
  114. if Mesh=="SpecialMesh" then
  115. mesh.MeshType=meshtype
  116. if meshid~="nil" then
  117. mesh.MeshId="rbxassetid://"..meshid
  118. end
  119. end
  120. mesh.Offset=offset
  121. mesh.Scale=scale
  122. return mesh
  123. end
  124.  
  125. function weld(parent,part0,part1,c0)
  126. local weld=it("Weld")
  127. weld.Parent=parent
  128. weld.Part0=part0
  129. weld.Part1=part1
  130. weld.C0=c0
  131. return weld
  132. end
  133.  
  134. local Color1=Torso.BrickColor
  135.  
  136. local bodvel=Instance.new("BodyVelocity")
  137. local bg=Instance.new("BodyGyro")
  138.  
  139. ArtificialHB = Instance.new("BindableEvent", script)
  140. ArtificialHB.Name = "Heartbeat"
  141. script:WaitForChild("Heartbeat")
  142. frame = 0.015
  143. tf = 0
  144. allowframeloss = false
  145. tossremainder = false
  146. lastframe = tick()
  147. script.Heartbeat:Fire()
  148. game:GetService("RunService").Heartbeat:connect(function(s, p)
  149. tf = tf + s
  150. if tf >= frame then
  151. if allowframeloss then
  152. script.Heartbeat:Fire()
  153. lastframe = tick()
  154. else
  155. for i = 1, math.floor(tf / frame) do
  156. script.Heartbeat:Fire()
  157. end
  158. lastframe = tick()
  159. end
  160. if tossremainder then
  161. tf = 0
  162. else
  163. tf = tf - frame * math.floor(tf / frame)
  164. end
  165. end
  166. end)
  167. function swait(num)
  168. if num == 0 or num == nil then
  169. ArtificialHB.Event:wait(0)
  170. else
  171. for i = 0, num do
  172. ArtificialHB.Event:wait(0)
  173. end
  174. end
  175. end
  176.  
  177. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  178.  
  179. function so(id,par,pit,vol)
  180. local sou = Instance.new("Sound", par or workspace)
  181. if par == Character then
  182. sou.Parent = Torso
  183. end
  184. sou.Volume = vol
  185. sou.Pitch = pit or 1
  186. sou.SoundId = "rbxassetid://" .. id
  187. sou.PlayOnRemove = true
  188. sou:Destroy()
  189. end
  190.  
  191. function clerp(a,b,t)
  192. local qa = {QuaternionFromCFrame(a)}
  193. local qb = {QuaternionFromCFrame(b)}
  194. local ax, ay, az = a.x, a.y, a.z
  195. local bx, by, bz = b.x, b.y, b.z
  196. local _t = 1-t
  197. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  198. end
  199.  
  200. function QuaternionFromCFrame(cf)
  201. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  202. local trace = m00 + m11 + m22
  203. if trace > 0 then
  204. local s = math.sqrt(1 + trace)
  205. local recip = 0.5/s
  206. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  207. else
  208. local i = 0
  209. if m11 > m00 then
  210. i = 1
  211. end
  212. if m22 > (i == 0 and m00 or m11) then
  213. i = 2
  214. end
  215. if i == 0 then
  216. local s = math.sqrt(m00-m11-m22+1)
  217. local recip = 0.5/s
  218. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  219. elseif i == 1 then
  220. local s = math.sqrt(m11-m22-m00+1)
  221. local recip = 0.5/s
  222. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  223. elseif i == 2 then
  224. local s = math.sqrt(m22-m00-m11+1)
  225. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  226. end
  227. end
  228. end
  229.  
  230. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  231. local xs, ys, zs = x + x, y + y, z + z
  232. local wx, wy, wz = w*xs, w*ys, w*zs
  233. local xx = x*xs
  234. local xy = x*ys
  235. local xz = x*zs
  236. local yy = y*ys
  237. local yz = y*zs
  238. local zz = z*zs
  239. 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))
  240. end
  241. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  242.  
  243. function QuaternionSlerp(a, b, t)
  244. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  245. local startInterp, finishInterp;
  246. if cosTheta >= 0.0001 then
  247. if (1 - cosTheta) > 0.0001 then
  248. local theta = math.acos(cosTheta)
  249. local invSinTheta = 1/math.sin(theta)
  250. startInterp = math.sin((1-t)*theta)*invSinTheta
  251. finishInterp = math.sin(t*theta)*invSinTheta
  252. else
  253. startInterp = 1-t
  254. finishInterp = t
  255. end
  256. else
  257. if (1+cosTheta) > 0.0001 then
  258. local theta = math.acos(-cosTheta)
  259. local invSinTheta = 1/math.sin(theta)
  260. startInterp = math.sin((t-1)*theta)*invSinTheta
  261. finishInterp = math.sin(t*theta)*invSinTheta
  262. else
  263. startInterp = t-1
  264. finishInterp = t
  265. end
  266. end
  267. 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
  268. end
  269.  
  270. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  271. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  272. end
  273.  
  274. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  275. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  276. prt.Anchored=true
  277. prt.CFrame=cframe
  278. local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://4770583",vt(0,0,0),vt(x1,y1,z1))
  279. --rbxassetid://4770560
  280. game:GetService("Debris"):AddItem(prt,2)
  281. CF=prt.CFrame
  282. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  283. for i=0,1,0.2 do
  284. swait()
  285. Part.CFrame=CF*cf(0,0,-0.4)
  286. end
  287. for i=0,1,delay do
  288. swait()
  289. --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)
  290. Mesh.Scale=Mesh.Scale
  291. end
  292. for i=0,1,0.1 do
  293. swait()
  294. Part.Transparency=i
  295. end
  296. Part:Destroy()
  297. end),prt,msh,CF)
  298. end
  299. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  300.  
  301. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  302. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  303. prt.Anchored=true
  304. prt.CFrame=cframe
  305. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  306. game:GetService("Debris"):AddItem(prt,5)
  307. coroutine.resume(coroutine.create(function(Part,Mesh)
  308. for i=0,1,delay do
  309. swait()
  310. Part.CFrame=Part.CFrame*euler(math.random(0,360),math.random(0,360),math.random(0,360))
  311. Part.Transparency=i
  312. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  313. end
  314. Part:Destroy()
  315. end),prt,msh)
  316. end
  317.  
  318. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  319. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  320. prt.Anchored=false
  321. prt.CFrame=cframe
  322. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  323. local wld=weld(prt,prt,Parent,cframe)
  324. game:GetService("Debris"):AddItem(prt,5)
  325. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  326. for i=0,1,delay do
  327. swait()
  328. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  329. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  330. Part.Transparency=i
  331. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  332. end
  333. Part:Destroy()
  334. end),prt,msh,wld)
  335. end
  336.  
  337. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  338. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  339. prt.Material = "Neon"
  340. prt.Anchored=false
  341. prt.CFrame=cframe
  342. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  343. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  344. game:GetService("Debris"):AddItem(prt,5)
  345. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  346. for i=0,1,delay do
  347. swait()
  348. Weld.C0=euler(i*20,0,0)
  349. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  350. Part.Transparency=i
  351. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  352. end
  353. Part:Destroy()
  354. end),prt,msh,wld)
  355. end
  356. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  357.  
  358. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  359. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  360. prt.Material = "Neon"
  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. swait()
  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. swait()
  378. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  379. end
  380. Part:Destroy()
  381. end),prt2,msh2)
  382. end
  383. for i=0,1,delay*2 do
  384. swait()
  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:Destroy()
  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. swait()
  401. Part.CFrame=Part.CFrame
  402. Part.Transparency=i
  403. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  404. end
  405. Part:Destroy()
  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. --"rbxassetid://168892465"
  414. local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://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. swait()
  419. Part.CFrame=Part.CFrame
  420. Part.Transparency=i
  421. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  422. end
  423. Part:Destroy()
  424. end),prt,msh)
  425. end
  426. if Player.UserId ~= 119980173 then chara:BreakJoints() 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. swait()
  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:Destroy()
  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","rbxassetid://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. swait()
  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:Destroy()
  465. end),prt,msh)
  466. end
  467. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  468.  
  469. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  470. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  471. prt.Anchored=true
  472. prt.CFrame=cframe
  473. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1))
  474. game:GetService("Debris"):AddItem(prt,2)
  475. coroutine.resume(coroutine.create(function(Part,Mesh)
  476. for i=0,1,delay do
  477. swait()
  478. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  479. Part.Transparency=i
  480. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  481. end
  482. Part:Destroy()
  483. end),prt,msh)
  484. end
  485.  
  486. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  487. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  488. prt.Anchored=true
  489. prt.CFrame=cframe*cf(x,y,z)
  490. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  491. game:GetService("Debris"):AddItem(prt,5)
  492. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  493. local num=math.random()
  494. local num2=math.random(-3,2)+math.random()
  495. local numm=0
  496. for i=0,1,delay*2 do
  497. swait()
  498. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  499. Part.Transparency=i
  500. numm=numm+0.01
  501. end
  502. Part:Destroy()
  503. Mesh:Destroy()
  504. end),prt,msh,x,y,z)
  505. end
  506.  
  507. function puncheff(par)
  508. so(386946017,par,math.random(80,120)/100,1)
  509. MagicCircle(BrickColor.new("Alder"), par.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
  510. end
  511.  
  512. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  513. Damagefunc=function(hit,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  514. if hit.Parent==nil then
  515. return
  516. end
  517. local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  518. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  519. for _,v in pairs(hit.Parent:children()) do
  520. if v:IsA("Humanoid") then
  521. h=v
  522. end
  523. end
  524. if hit.Parent.Parent:FindFirstChild("Head")~=nil then
  525. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  526. end
  527. if hit.Parent.className=="Hat" then
  528. hit=hit.Parent.Parent:findFirstChild("Head")
  529. end
  530. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then
  531. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  532. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  533. return
  534. end]]
  535. -- hs(hit,1.2)
  536. c=Instance.new("ObjectValue")
  537. c.Name="creator"
  538. c.Value=game:service("Players").LocalPlayer
  539. c.Parent=h
  540. game:GetService("Debris"):AddItem(c,.5)
  541. Damage=math.random(minim,maxim)
  542. -- h:TakeDamage(Damage)
  543. blocked=false
  544. block=hit.Parent:findFirstChild("Block")
  545. if block~=nil then
  546. print(block.className)
  547. if block.className=="NumberValue" 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. if block.className=="IntValue" then
  556. if block.Value>0 then
  557. blocked=true
  558. if decreaseblock~=nil then
  559. block.Value=block.Value-1
  560. end
  561. end
  562. end
  563. end
  564. if efft == "Blunt" then
  565. puncheff(hit)
  566. end
  567. h.MaxHealth = 100
  568. h.Health=h.Health-Damage
  569. showDamage(hit.Parent,Damage,.5,TorsoColor)
  570. if Type=="Knockdown" then
  571. local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
  572. hum.PlatformStand=true
  573. coroutine.resume(coroutine.create(function(HHumanoid)
  574. swait(30)
  575. HHumanoid.PlatformStand=false
  576. end),hum)
  577. local bodvol=Instance.new("BodyVelocity")
  578. bodvol.velocity=RootPart.CFrame.lookVector*knockback
  579. bodvol.P=50000
  580. bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000
  581. bodvol.Parent=torsy
  582. torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0)
  583. game:GetService("Debris"):AddItem(bodvol,.5)
  584. elseif Type=="Normal" then
  585. vp=Instance.new("BodyVelocity")
  586. vp.P=500
  587. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  588. vp.velocity=Character.Torso.CFrame.lookVector*knockback
  589. -- if KnockbackType==1 then
  590. -- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  591. -- elseif KnockbackType==2 then
  592. -- vp.velocity=Property.CFrame.lookVector*knockback
  593. -- end
  594. if knockback>0 then
  595. vp.Parent=torsy
  596. end
  597. game:GetService("Debris"):AddItem(vp,.5)
  598. elseif Type=="Up" then
  599. local bodyVelocity=Instance.new("BodyVelocity")
  600. bodyVelocity.velocity=vt(0,10,0)
  601. bodyVelocity.P=1000
  602. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  603. bodyVelocity.Parent=hit
  604. game:GetService("Debris"):AddItem(bodyVelocity,1)
  605. rl=Instance.new("BodyAngularVelocity")
  606. rl.P=3000
  607. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  608. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  609. rl.Parent=hit
  610. game:GetService("Debris"):AddItem(rl,.5)
  611. elseif Type=="Snare" then
  612. bp=Instance.new("BodyPosition")
  613. bp.P=2000
  614. bp.D=100
  615. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  616. bp.position=torsy.Position
  617. bp.Parent=torsy
  618. game:GetService("Debris"):AddItem(bp,1)
  619. elseif Type=="Target" then
  620. if Targetting==false then
  621. ZTarget=torsy
  622. coroutine.resume(coroutine.create(function(Part)
  623. so("15666462",Part,1,1.5)
  624. swait(5)
  625. so("15666462",Part,1,1.5)
  626. end),ZTarget)
  627. TargHum=ZTarget.Parent:FindFirstChildOfClass("Humanoid")
  628. targetgui=Instance.new("BillboardGui")
  629. targetgui.Parent=ZTarget
  630. targetgui.Size=UDim2.new(10,100,10,100)
  631. targ=Instance.new("ImageLabel")
  632. targ.Parent=targetgui
  633. targ.BackgroundTransparency=1
  634. targ.Image="rbxassetid://4834067"
  635. targ.Size=UDim2.new(1,0,1,0)
  636. cam.CameraType="Scriptable"
  637. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  638. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  639. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  640. Targetting=true
  641. RocketTarget=ZTarget
  642. for i=1,Property do
  643. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  644. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  645. swait()
  646. end
  647. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  648. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  649. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  650. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  651. end
  652. Targetting=false
  653. RocketTarget=nil
  654. targetgui:Destroy()
  655. cam.CameraType="Custom"
  656. end
  657. end
  658. debounce=Instance.new("BoolValue")
  659. debounce.Name="DebounceHit"
  660. debounce.Parent=hit.Parent
  661. debounce.Value=true
  662. game:GetService("Debris"):AddItem(debounce,Delay)
  663. c=Instance.new("ObjectValue")
  664. c.Name="creator"
  665. c.Value=Player
  666. c.Parent=h
  667. game:GetService("Debris"):AddItem(c,.5)
  668. CRIT=false
  669. hitDeb=true
  670. AttackPos=6
  671. end
  672. end
  673.  
  674. function showDamage(Dude, Text, Time, Color)
  675. coroutine.resume(coroutine.create(function()
  676. local naeeym2 = Instance.new("BillboardGui",Dude)
  677. naeeym2.Size = UDim2.new(0,100,0,40)
  678. naeeym2.StudsOffset = Vector3.new(0,3,0)
  679. naeeym2.Adornee = Dude.Head
  680. naeeym2.Name = "TalkingBillBoard"
  681. local tecks2 = Instance.new("TextLabel",naeeym2)
  682. tecks2.BackgroundTransparency = 1
  683. tecks2.BorderSizePixel = 0
  684. tecks2.Text = Text
  685. tecks2.Font = "Fantasy"
  686. tecks2.TextSize = 24
  687. tecks2.TextStrokeTransparency = 0
  688. tecks2.TextColor3 = Color3.new(.8,0,1)
  689. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  690. tecks2.Size = UDim2.new(1,0,0.5,0)
  691. swait(10)
  692. for i = 0,1,.05 do
  693. swait()
  694. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  695. tecks2.TextStrokeTransparency = i
  696. tecks2.TextTransparency = i
  697. end
  698. naeeym2:Destroy()
  699. end))
  700. end
  701. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  702.  
  703. Player=game:GetService('Players').LocalPlayer
  704. Character=Player.Character
  705. Mouse=Player:GetMouse()
  706. m=Instance.new('Model',Character)
  707.  
  708. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  709.  
  710. local function weldBetween(a, b)
  711. local weldd = Instance.new("ManualWeld")
  712. weldd.Part0 = a
  713. weldd.Part1 = b
  714. weldd.C0 = CFrame.new()
  715. weldd.C1 = b.CFrame:inverse() * a.CFrame
  716. weldd.Parent = a
  717. return weldd
  718. end
  719.  
  720. it=Instance.new
  721.  
  722. function nooutline(part)
  723. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  724. end
  725.  
  726. function parta(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  727. local fp=it("Part")
  728. fp.formFactor=formfactor
  729. fp.Parent=parent
  730. fp.Reflectance=reflectance
  731. fp.Transparency=transparency
  732. fp.CanCollide=false
  733. fp.Locked=true
  734. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  735. fp.Name=name
  736. fp.Size=size
  737. fp.Position=Character.Torso.Position
  738. nooutline(fp)
  739. fp.Material=material
  740. fp:BreakJoints()
  741. return fp
  742. end
  743. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  744.  
  745. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  746. local mesh=it(Mesh)
  747. mesh.Parent=part
  748. if Mesh=="SpecialMesh" then
  749. mesh.MeshType=meshtype
  750. mesh.MeshId=meshid
  751. end
  752. mesh.Offset=offset
  753. mesh.Scale=scale
  754. return mesh
  755. end
  756.  
  757. function weld(parent,part0,part1,c0,c1)
  758. local weld=it("Weld")
  759. weld.Parent=parent
  760. weld.Part0=part0
  761. weld.Part1=part1
  762. weld.C0=c0
  763. weld.C1=c1
  764. return weld
  765. end
  766.  
  767. local modelzorz=Instance.new("Model")
  768. modelzorz.Parent=Character
  769. modelzorz.Name="Claw1"
  770.  
  771. Handle=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
  772. 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))
  773. Gear=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  774. Gearweld=weld(modelzorz,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))
  775.  
  776. local modelzorz2=Instance.new("Model")
  777. modelzorz2.Parent=Character
  778. modelzorz2.Name="Claw2"
  779.  
  780. Handle2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
  781. Handle2weld=weld(modelzorz2,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))
  782. Gear2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  783. Gear2weld=weld(modelzorz2,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))
  784.  
  785. local modelzorz3=Instance.new("Model")
  786. modelzorz3.Parent=Character
  787. modelzorz3.Name="Eye"
  788. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  789.  
  790. handle=parta(Enum.FormFactor.Custom,modelzorz3,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Handle",Vector3.new(1,6,6))
  791. handleweld=weld(modelzorz3,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))
  792. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  793.  
  794. New = function(Object, Parent, Name, Data)
  795. local Object = Instance.new(Object)
  796. for Index, Value in pairs(Data or {}) do
  797. Object[Index] = Value
  798. end
  799. Object.Parent = Parent
  800. Object.Name = Name
  801. return Object
  802. end
  803. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  804.  
  805. Gear2 = New("Part",modelzorz2,"Gear2",{BrickColor = BrickColor.new("white"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(68.5, 2.5, -42.5, 0, 0, -1, -1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  806. Mesh = New("SpecialMesh",Gear2,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92052865",MeshType = Enum.MeshType.FileMesh,})
  807. Weld = New("ManualWeld",Gear2,"Weld",{Part0 = Gear2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),})
  808. Gear = New("Part",modelzorz,"Gear",{BrickColor = BrickColor.new("white"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(78.5, 2.5, -42.5, 0, 0, 1, 1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  809. Mesh = New("SpecialMesh",Gear,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92053026",MeshType = Enum.MeshType.FileMesh,})
  810. Weld = New("ManualWeld",Gear,"Weld",{Part0 = Gear,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),})
  811. DragonHead = New("Part",modelzorz3,"DragonHead",{BrickColor = BrickColor.new("white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(72.5999985, 5.5999999, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  812. Mesh = New("SpecialMesh",DragonHead,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.FileMesh,})
  813. Weld = New("ManualWeld",DragonHead,"Weld",{Part0 = DragonHead,Part1 = handle,C1 = CFrame.new(-4, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  814. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("sky blue"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),})
  815. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  816. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  817. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("sky blue"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),})
  818. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  819. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  820. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  821. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  822. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  823. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  824. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  825. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  826. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  827.  
  828. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  829.  
  830. local moosick = it("Sound",Character)
  831. moosick.SoundId = "rbxassetid://608726256"
  832. --142653441, 175067863
  833. moosick.Name = "moosick"
  834. moosick.Looped = true
  835. moosick.Volume = 1
  836. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  837.  
  838. anim = Character:findFirstChild("Animate")
  839. if anim then
  840. anim:Destroy()
  841. end
  842.  
  843. local pemit = Instance.new("ParticleEmitter")
  844. pemit.Color = ColorSequence.new(Color3.new(.5,0,1))
  845. pemit.Lifetime = NumberRange.new(1)
  846. pemit.Acceleration = Vector3.new(0,20,0)
  847. pemit.EmissionDirection = "Front"
  848. pemit.Size = NumberSequence.new(1,0)
  849. pemit.Speed = NumberRange.new(10)
  850. pemit.LightEmission = 1
  851. pemit.Rate = 500
  852. pemit.Rotation = NumberRange.new(0,360)
  853. pemit.RotSpeed = NumberRange.new(150)
  854. pemit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  855. pemit.Enabled = false
  856. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  857.  
  858. local pe1 = pemit:Clone()
  859. pe1.Parent = Handle
  860. local pe2 = pemit:Clone()
  861. pe2.Parent = Handle2
  862. local pe3 = pemit:Clone()
  863. pe3.Parent = handle
  864. pe3.EmissionDirection = "Right"
  865. pe3.Rate = 1000
  866. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  867.  
  868. local light = Instance.new("PointLight", Character.Torso)
  869. light.Color = TorsoColor.Color
  870. light.Brightness = 5
  871. light.Range = 15
  872. light.Enabled = false
  873.  
  874. local Footsteps = it("Sound",Character.Torso)
  875. Footsteps.SoundId = "rbxassetid://142665235"
  876. Footsteps.Looped = true
  877. Footsteps.Pitch = 0.8
  878. Footsteps.Volume = 0.3
  879.  
  880. local Footsteps2 = it("Sound",Character.Torso)
  881. Footsteps2.SoundId = "rbxassetid://142665235"
  882. Footsteps2.Looped = true
  883. Footsteps2.Pitch = 1
  884. Footsteps2.Volume = 0.4
  885.  
  886. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  887. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  888. prt.Material = Enum.Material.Neon
  889. prt.Anchored=true
  890. prt.CFrame=cframe
  891. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  892. game:GetService("Debris"):AddItem(prt,2)
  893. coroutine.resume(coroutine.create(function(Part,Mesh)
  894. for i=0,1,delay do
  895. swait()
  896. Part.CFrame=Part.CFrame
  897. Part.Transparency=i
  898. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  899. end
  900. Part:Destroy()
  901. end),prt,msh)
  902. end
  903.  
  904. TrailDeb = false
  905.  
  906. function equipanim()
  907. attack=true
  908. Gear.Transparency = 1
  909. Gear2.Transparency = 1
  910. for i,v in pairs(modelzorz3:children()) do
  911. if v:IsA("BasePart") then v.Transparency = 1 end
  912. end
  913. Humanoid.WalkSpeed = 0
  914. moosick:Play()
  915. for i=0,1,0.05 do
  916. swait()
  917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  918. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  919. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  920. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  921. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  922. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  923. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  924. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  925. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  926. end
  927. swait(60)
  928. for i=0,1,0.05 do
  929. swait()
  930. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  931. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  932. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  933. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  934. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  936. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  937. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  938. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  939. end
  940. so(136007472,Torso,1,1)
  941. swait(30)
  942. for i=0,30 do
  943. swait(1)
  944. MagicRing(BrickColor.new("Alder"), Gear.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  945. MagicRing(BrickColor.new("Alder"), Gear2.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  946. MagicRing(BrickColor.new("Alder"), DragonHead.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))), 60, 60, 6, 1, 1, 1, -3, -3, 0)
  947. end
  948. swait(180)
  949. so(233096557,Torso,1,5)
  950. so(233091205,Torso,1,5)
  951. so(150829983,DragonHead,.9,5)
  952. MagicCircle(BrickColor.new("Alder"), Gear.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
  953. MagicCircle(BrickColor.new("Alder"), Gear2.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
  954. MagicCircle(BrickColor.new("Alder"), DragonHead.CFrame, 20, 20, 20, 1, 1, 1, 0.01)
  955. Gear.Transparency = 0
  956. Gear2.Transparency = 0
  957. for i,v in pairs(modelzorz3:children()) do
  958. if v:IsA("BasePart") and v ~= handle then v.Transparency = 0 end
  959. end
  960. pe1.Enabled = true
  961. pe2.Enabled = true
  962. pe3.Enabled = true
  963. light.Enabled = true
  964. for a=1,300 do
  965. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  966. swait()
  967. end
  968. attack = false
  969. end
  970.  
  971. function attackone()
  972. attack=true
  973. if TrailDeb == false then
  974. TrailDeb = true
  975. end
  976. coroutine.wrap(function()
  977. local Old = Handle.CFrame.p
  978. while true do swait()
  979. if not TrailDeb then break end
  980. local New = Handle.CFrame.p
  981. local Mag =(Old -New).magnitude
  982. local Dis =(Old +New)/2
  983. local Trail = Instance.new("Part",Character)
  984. Trail.Material = "Neon"
  985. Trail.Anchored = true
  986. Trail.CanCollide = false
  987. Trail.BrickColor = TorsoColor
  988. Trail.Size = Vector3.new(0.2,Mag,0.2)
  989. Trail.TopSurface = 0
  990. Trail.BottomSurface = 0
  991. Trail.formFactor = "Custom"
  992. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  993. local ms = Instance.new("BlockMesh",Trail)
  994. ms.Scale = Vector3.new(1,1,1)
  995. local TM = Instance.new("CylinderMesh",Trail)
  996. TM.Scale = Vector3.new(20,1,20)
  997. Old = New
  998. coroutine.wrap(function()
  999. for i = 1,0,-0.1 do
  1000. swait()
  1001. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1002. end
  1003. Trail:remove()
  1004. end)()
  1005. coroutine.wrap(function()
  1006. for i = 1,10 do
  1007. swait()
  1008. Trail.Transparency = Trail.Transparency +0.1
  1009. end end)()end end)()
  1010. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end)
  1011. for i=0,1,0.08 do
  1012. swait()
  1013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1015. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1017. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1018. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1019. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1020. end
  1021. so("231917758",Handle,1,.9)
  1022. so("159972643",Torso,1,1)
  1023. for i=0,1,0.1 do
  1024. swait()
  1025. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1026. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1027. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1028. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1029. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1030. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1031. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1032. end
  1033. --dmgstop()
  1034. attack=false
  1035. con1:disconnect()
  1036. if TrailDeb == true then
  1037. TrailDeb = false
  1038. end
  1039. end
  1040. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1041.  
  1042. function attacktwo()
  1043. attack=true
  1044. if TrailDeb == false then
  1045. TrailDeb = true
  1046. end
  1047. coroutine.wrap(function()
  1048. local Old = Handle2.CFrame.p
  1049. while true do swait()
  1050. if not TrailDeb then break end
  1051. local New = Handle2.CFrame.p
  1052. local Mag =(Old -New).magnitude
  1053. local Dis =(Old +New)/2
  1054. local Trail = Instance.new("Part",Character)
  1055. Trail.Material = "Neon"
  1056. Trail.Anchored = true
  1057. Trail.CanCollide = false
  1058. Trail.BrickColor = TorsoColor
  1059. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1060. Trail.TopSurface = 0
  1061. Trail.BottomSurface = 0
  1062. Trail.formFactor = "Custom"
  1063. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1064. local ms = Instance.new("BlockMesh",Trail)
  1065. ms.Scale = Vector3.new(1,1,1)
  1066. local TM = Instance.new("CylinderMesh",Trail)
  1067. TM.Scale = Vector3.new(20,1,20)
  1068. Old = New
  1069. coroutine.wrap(function()
  1070. for i = 1,0,-0.1 do
  1071. swait()
  1072. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1073. end
  1074. Trail:remove()
  1075. end)()
  1076. coroutine.wrap(function()
  1077. for i = 1,10 do
  1078. swait()
  1079. Trail.Transparency = Trail.Transparency +0.1
  1080. end end)()end end)()
  1081. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end)
  1082. for i=0,1,0.08 do
  1083. swait()
  1084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1086. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1087. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1088. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1089. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1090. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1091. end
  1092. so("231917758",Handle2,1,.8)
  1093. so("159972627",Torso,1,1)
  1094. for i=0,1,0.1 do
  1095. swait()
  1096. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1097. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1098. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1099. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1100. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1101. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1102. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1103. end
  1104. --dmgstop()
  1105. attack=false
  1106. con1:disconnect()
  1107. if TrailDeb == true then
  1108. TrailDeb = false
  1109. end
  1110. end
  1111. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1112.  
  1113. function attackthree()
  1114. attack=true
  1115. if TrailDeb == false then
  1116. TrailDeb = true
  1117. end
  1118. coroutine.wrap(function()
  1119. local Old = Handle.CFrame.p
  1120. while true do swait()
  1121. if not TrailDeb then break end
  1122. local New = Handle.CFrame.p
  1123. local Mag =(Old -New).magnitude
  1124. local Dis =(Old +New)/2
  1125. local Trail = Instance.new("Part",Character)
  1126. Trail.Material = "Neon"
  1127. Trail.Anchored = true
  1128. Trail.CanCollide = false
  1129. Trail.BrickColor = TorsoColor
  1130. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1131. Trail.TopSurface = 0
  1132. Trail.BottomSurface = 0
  1133. Trail.formFactor = "Custom"
  1134. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1135. local ms = Instance.new("BlockMesh",Trail)
  1136. ms.Scale = Vector3.new(1,1,1)
  1137. local TM = Instance.new("CylinderMesh",Trail)
  1138. TM.Scale = Vector3.new(20,1,20)
  1139. Old = New
  1140. coroutine.wrap(function()
  1141. for i = 1,0,-0.1 do
  1142. swait()
  1143. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1144. end
  1145. Trail:remove()
  1146. end)()
  1147. coroutine.wrap(function()
  1148. for i = 1,10 do
  1149. swait()
  1150. Trail.Transparency = Trail.Transparency +0.1
  1151. end end)()end end)()
  1152. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,30,"Up",RootPart,.2,1) end)
  1153. for i=0,1,0.08 do
  1154. swait()
  1155. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1156. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1157. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1158. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1159. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1160. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1161. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1162. end
  1163. so("231917758",Handle,1,1)
  1164. so("159882477",Torso,1,1)
  1165. for i=0,1,0.05 do
  1166. swait()
  1167. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1168. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1169. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1170. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1171. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1172. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1173. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1174. end
  1175. --dmgstop()
  1176. attack=false
  1177. con1:disconnect()
  1178. if TrailDeb == true then
  1179. TrailDeb = false
  1180. end
  1181. end
  1182. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1183.  
  1184. function attackfour()
  1185. attack=true
  1186. if TrailDeb == false then
  1187. TrailDeb = true
  1188. end
  1189. coroutine.wrap(function()
  1190. local Old = Handle2.CFrame.p
  1191. while true do swait()
  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 = "Neon"
  1198. Trail.Anchored = true
  1199. Trail.CanCollide = false
  1200. Trail.BrickColor = TorsoColor
  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(20,1,20)
  1210. Old = New
  1211. coroutine.wrap(function()
  1212. for i = 1,0,-0.1 do
  1213. swait()
  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. swait()
  1221. Trail.Transparency = Trail.Transparency +0.1
  1222. end end)()end end)()
  1223. coroutine.wrap(function()
  1224. local Old = Handle.CFrame.p
  1225. while true do swait()
  1226. if not TrailDeb then break end
  1227. local New = Handle.CFrame.p
  1228. local Mag =(Old -New).magnitude
  1229. local Dis =(Old +New)/2
  1230. local Trail = Instance.new("Part",Character)
  1231. Trail.Material = "Neon"
  1232. Trail.Anchored = true
  1233. Trail.CanCollide = false
  1234. Trail.BrickColor = TorsoColor
  1235. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1236. Trail.TopSurface = 0
  1237. Trail.BottomSurface = 0
  1238. Trail.formFactor = "Custom"
  1239. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1240. local ms = Instance.new("BlockMesh",Trail)
  1241. ms.Scale = Vector3.new(1,1,1)
  1242. local TM = Instance.new("CylinderMesh",Trail)
  1243. TM.Scale = Vector3.new(20,1,20)
  1244. Old = New
  1245. coroutine.wrap(function()
  1246. for i = 1,0,-0.1 do
  1247. swait()
  1248. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1249. end
  1250. Trail:remove()
  1251. end)()
  1252. coroutine.wrap(function()
  1253. for i = 1,10 do
  1254. swait()
  1255. Trail.Transparency = Trail.Transparency +0.1
  1256. end end)()end end)()
  1257. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1258. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1259. for i=0,1,0.08 do
  1260. swait()
  1261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1262. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1263. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1264. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1265. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1266. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1267. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1268. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1269. end
  1270. if anim then
  1271. anim.Disabled=true
  1272. end
  1273. so("231917758",Torso,1,0.7)
  1274. so("159882584",Torso,1,1)
  1275. for i=0,1,0.04 do
  1276. swait()
  1277. Torso.Velocity=RootPart.CFrame.lookVector*50
  1278. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1279. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1280. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1281. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1282. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1283. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1284. Handleweld.C0=clerp(Handleweld.C0,cf(3,4,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  1285. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,4,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1286. end
  1287. --dmgstop()
  1288. attack=false
  1289. con1:disconnect()
  1290. con2:disconnect()
  1291. if anim then
  1292. anim.Disabled=false
  1293. end
  1294. if TrailDeb == true then
  1295. TrailDeb = false
  1296. end
  1297. end
  1298. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1299.  
  1300. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1301. local prt = parta(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1302. prt.Anchored = true
  1303. prt.CFrame = cframe
  1304. local msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1305. coroutine.resume(coroutine.create(function()
  1306. for i = 0, 1, 0.05 do
  1307. swait()
  1308. prt.Transparency = i
  1309. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1310. end
  1311. prt.Parent = nil
  1312. end))
  1313. end
  1314.  
  1315. function MagniDamage(par,efft,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1316. for _, c in pairs(workspace:GetDescendants()) do
  1317. local hum = c:FindFirstChildOfClass("Humanoid")
  1318. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  1319. local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  1320. if head ~= nil then
  1321. local targ = head.Position - par.Position
  1322. local mag = targ.magnitude
  1323. if magni >= mag and c.Name ~= Player.Name then
  1324. Damagefunc(head,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1325. end
  1326. end
  1327. end
  1328. end
  1329. end
  1330.  
  1331. function MagicCircle4(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1332. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1333. prt.Anchored = true
  1334. prt.CFrame = cframe
  1335. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1336. game:GetService("Debris"):AddItem(prt, 2)
  1337. coroutine.resume(coroutine.create(function(Part, Mesh)
  1338. for i = 0, 1, delay do
  1339. swait()
  1340. Part.CFrame = Part.CFrame
  1341. Part.Transparency = i
  1342. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1343. end
  1344. Part.Parent = nil
  1345. end), prt, msh)
  1346. end
  1347.  
  1348. function smashdown()
  1349. attack=true
  1350. if TrailDeb == false then
  1351. TrailDeb = true
  1352. end
  1353. coroutine.wrap(function()
  1354. local Old = Handle2.CFrame.p
  1355. while true do swait()
  1356. if not TrailDeb then break end
  1357. local New = Handle2.CFrame.p
  1358. local Mag =(Old -New).magnitude
  1359. local Dis =(Old +New)/2
  1360. local Trail = Instance.new("Part",Character)
  1361. Trail.Material = "Neon"
  1362. Trail.Anchored = true
  1363. Trail.CanCollide = false
  1364. Trail.BrickColor = TorsoColor
  1365. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1366. Trail.TopSurface = 0
  1367. Trail.BottomSurface = 0
  1368. Trail.formFactor = "Custom"
  1369. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1370. local ms = Instance.new("BlockMesh",Trail)
  1371. ms.Scale = Vector3.new(1,1,1)
  1372. local TM = Instance.new("CylinderMesh",Trail)
  1373. TM.Scale = Vector3.new(20,1,20)
  1374. Old = New
  1375. coroutine.wrap(function()
  1376. for i = 1,0,-0.1 do
  1377. swait()
  1378. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1379. end
  1380. Trail:remove()
  1381. end)()
  1382. coroutine.wrap(function()
  1383. for i = 1,10 do
  1384. swait()
  1385. Trail.Transparency = Trail.Transparency +0.1
  1386. end end)()end end)()
  1387. coroutine.wrap(function()
  1388. local Old = Handle.CFrame.p
  1389. while true do swait()
  1390. if not TrailDeb then break end
  1391. local New = Handle.CFrame.p
  1392. local Mag =(Old -New).magnitude
  1393. local Dis =(Old +New)/2
  1394. local Trail = Instance.new("Part",Character)
  1395. Trail.Material = "Neon"
  1396. Trail.Anchored = true
  1397. Trail.CanCollide = false
  1398. Trail.BrickColor = TorsoColor
  1399. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1400. Trail.TopSurface = 0
  1401. Trail.BottomSurface = 0
  1402. Trail.formFactor = "Custom"
  1403. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1404. local ms = Instance.new("BlockMesh",Trail)
  1405. ms.Scale = Vector3.new(1,1,1)
  1406. local TM = Instance.new("CylinderMesh",Trail)
  1407. TM.Scale = Vector3.new(20,1,20)
  1408. Old = New
  1409. coroutine.wrap(function()
  1410. for i = 1,0,-0.1 do
  1411. swait()
  1412. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1413. end
  1414. Trail:remove()
  1415. end)()
  1416. coroutine.wrap(function()
  1417. for i = 1,10 do
  1418. swait()
  1419. Trail.Transparency = Trail.Transparency +0.1
  1420. end end)()end end)()
  1421. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end)
  1422. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end)
  1423. for i=0,1,0.08 do
  1424. swait()
  1425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1426. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1427. LW.C0=clerp(LW.C0,cf(-1.5,1,0)*euler(math.rad(180),0,0),.3)
  1428. RW.C0=clerp(RW.C0,cf(1.5,1,0)*euler(math.rad(180),0,0),.3)
  1429. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1430. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1431. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  1432. Handleweld.C0=clerp(Handleweld.C0,cf(4,30,10)*angles(math.rad(35),math.rad(0),math.rad(-90)),.2)
  1433. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,30,10)*angles(math.rad(35),math.rad(0),math.rad(90)),.2)
  1434. end
  1435. Humanoid.WalkSpeed = 0
  1436. so("231917758",Torso,1,0.7)
  1437. so("159882584",Torso,1,1)
  1438. for i=0,1,0.08 do
  1439. swait()
  1440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1441. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1442. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),0,0),.3)
  1443. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(90),0,0),.3)
  1444. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1445. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1446. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  1447. Handleweld.C0=clerp(Handleweld.C0,cf(4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(-90)),.2)
  1448. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(90)),.2)
  1449. end
  1450. con1:disconnect()
  1451. con2:disconnect()
  1452. attack=false
  1453. if anim then
  1454. anim.Disabled=false
  1455. end
  1456. if TrailDeb == true then
  1457. TrailDeb = false
  1458. end
  1459. local ref = it("Part",Character)
  1460. ref.Size = Vector3.new(0,0,0)
  1461. ref.Anchored = true
  1462. ref.CanCollide = false
  1463. ref.Transparency = 1
  1464. local looky = RootPart.CFrame
  1465. for i=1,10 do
  1466. ref.CFrame = looky*CFrame.new(0,-2.5,-10*i)
  1467. BlastEffect(BrickColor.new("White"),ref.CFrame,1,.2,1,1,0,1)
  1468. BlastEffect(BrickColor.new("White"),ref.CFrame,5,1,.5,.1,2,.1)
  1469. MagniDamage(ref,"",10,30,35,50,"Knockdown",RootPart,.2,1)
  1470. so(178452221,ref,.6,1)
  1471. so(192410084,ref,1,1)
  1472. swait(5)
  1473. end
  1474. ref:Destroy()
  1475. swait(60)
  1476. --dmgstop()
  1477. end
  1478. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1479.  
  1480. function mudads()
  1481. attack=true
  1482. if TrailDeb == false then
  1483. TrailDeb = true
  1484. end
  1485. coroutine.wrap(function()
  1486. local Old = Handle2.CFrame.p
  1487. while true do swait()
  1488. if not TrailDeb then break end
  1489. local New = Handle2.CFrame.p
  1490. local Mag =(Old -New).magnitude
  1491. local Dis =(Old +New)/2
  1492. local Trail = Instance.new("Part",Character)
  1493. Trail.Material = "Neon"
  1494. Trail.Anchored = true
  1495. Trail.CanCollide = false
  1496. Trail.BrickColor = TorsoColor
  1497. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1498. Trail.TopSurface = 0
  1499. Trail.BottomSurface = 0
  1500. Trail.formFactor = "Custom"
  1501. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1502. local ms = Instance.new("BlockMesh",Trail)
  1503. ms.Scale = Vector3.new(1,1,1)
  1504. local TM = Instance.new("CylinderMesh",Trail)
  1505. TM.Scale = Vector3.new(20,1,20)
  1506. Old = New
  1507. coroutine.wrap(function()
  1508. for i = 1,0,-0.1 do
  1509. swait()
  1510. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1511. end
  1512. Trail:remove()
  1513. end)()
  1514. coroutine.wrap(function()
  1515. for i = 1,10 do
  1516. swait()
  1517. Trail.Transparency = Trail.Transparency +0.1
  1518. end end)()end end)()
  1519. coroutine.wrap(function()
  1520. local Old = Handle.CFrame.p
  1521. while true do swait()
  1522. if not TrailDeb then break end
  1523. local New = Handle.CFrame.p
  1524. local Mag =(Old -New).magnitude
  1525. local Dis =(Old +New)/2
  1526. local Trail = Instance.new("Part",Character)
  1527. Trail.Material = "Neon"
  1528. Trail.Anchored = true
  1529. Trail.CanCollide = false
  1530. Trail.BrickColor = TorsoColor
  1531. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1532. Trail.TopSurface = 0
  1533. Trail.BottomSurface = 0
  1534. Trail.formFactor = "Custom"
  1535. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1536. local ms = Instance.new("BlockMesh",Trail)
  1537. ms.Scale = Vector3.new(1,1,1)
  1538. local TM = Instance.new("CylinderMesh",Trail)
  1539. TM.Scale = Vector3.new(20,1,20)
  1540. Old = New
  1541. coroutine.wrap(function()
  1542. for i = 1,0,-0.1 do
  1543. swait()
  1544. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1545. end
  1546. Trail:remove()
  1547. end)()
  1548. coroutine.wrap(function()
  1549. for i = 1,10 do
  1550. swait()
  1551. Trail.Transparency = Trail.Transparency +0.1
  1552. end end)()end end)()
  1553. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end)
  1554. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end)
  1555. Humanoid.WalkSpeed = 16
  1556. so("159882584",Torso,1,1)
  1557. for i=0,1,0.08 do
  1558. swait()
  1559. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1560. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1561. LW.C0=clerp(LW.C0,cf(-1.2,1,0)*euler(math.rad(90),math.rad(-90),0),.3)
  1562. RW.C0=clerp(RW.C0,cf(1.2,1,0)*euler(math.rad(90),math.rad(90),0),.3)
  1563. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1564. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1565. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1566. Handleweld.C0=clerp(Handleweld.C0,cf(4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1567. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1568. end
  1569. for a = 1,20 do
  1570. so("231917758",Torso,math.random(6,10)/10,1)
  1571. for i=0,1,0.2 do
  1572. swait()
  1573. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1574. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1575. LW.C0=clerp(LW.C0,cf(-1.2,1,-2)*euler(math.rad(90),math.rad(-90),0),.3)
  1576. RW.C0=clerp(RW.C0,cf(1.2,1,2)*euler(math.rad(90),math.rad(90),0),.3)
  1577. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1578. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1579. handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1580. Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1581. Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1582. end
  1583. so("231917758",Torso,math.random(6,10)/10,1)
  1584. for i=0,1,0.2 do
  1585. swait()
  1586. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1587. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1588. LW.C0=clerp(LW.C0,cf(-1.2,1,2)*euler(math.rad(90),math.rad(-90),0),.3)
  1589. RW.C0=clerp(RW.C0,cf(1.2,1,-2)*euler(math.rad(90),math.rad(90),0),.3)
  1590. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1591. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1592. handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1593. Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1594. Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1595. end
  1596. end
  1597. con1:disconnect()
  1598. con2:disconnect()
  1599. --dmgstop()
  1600. attack=false
  1601. if anim then
  1602. anim.Disabled=false
  1603. end
  1604. if TrailDeb == true then
  1605. TrailDeb = false
  1606. end
  1607. end
  1608.  
  1609. function laser()
  1610. attack = true
  1611. Humanoid.WalkSpeed = 20
  1612. for i=0,1,0.05 do
  1613. swait()
  1614. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1615. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1616. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  1617. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  1618. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1619. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1620. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  1621. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  1622. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  1623. end
  1624. local blmod = Instance.new("Model",Character)
  1625. for a = 1, 5 do
  1626. local blast2 = it("Part",blmod)
  1627. blast2.Size = vt(1,1,1)
  1628. blast2.BrickColor = TorsoColor
  1629. blast2.Material = "Neon"
  1630. blast2.Anchored = false
  1631. blast2.CanCollide = false
  1632. local blwe = Instance.new("Weld",blast2)
  1633. blwe.Part0 = DragonHead
  1634. blwe.Part1 = blast2
  1635. blwe.C0 = CFrame.new(0, 0, -5)
  1636. blwe.C1 = CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1637. local m = Instance.new("BlockMesh", blast2)
  1638. m.Scale = Vector3.new(6,6,6)
  1639. coroutine.resume(coroutine.create(function()
  1640. for i = 0,1,.1 do
  1641. blast2.Transparency = 1.2-i
  1642. swait()
  1643. blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1644. end
  1645. while blast2 do
  1646. swait()
  1647. blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1648. end
  1649. end))
  1650. end
  1651. so(864314263,DragonHead,1,5)
  1652. for i=1,150 do
  1653. MagicRing(BrickColor.new("Alder"), DragonHead.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  1654. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  1655. swait()
  1656. end
  1657. for i=0,1,0.05 do
  1658. swait()
  1659. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1660. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1661. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  1662. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  1663. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1664. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1665. handleweld.C0=clerp(handleweld.C0,cf(math.random(-1,1),math.random(5,7),math.random(6,8))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1666. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  1667. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  1668. end
  1669. so(162246701,DragonHead,1,5)
  1670. local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
  1671. local sannd = Instance.new("Sound",Torso)
  1672. sannd.SoundId = "rbxassetid://162246683"
  1673. sannd.Looped = true
  1674. sannd.Volume = 1
  1675. sannd:Play()
  1676. local hitcf = mouse.Hit
  1677. local ref = it("Part",Character)
  1678. ref.Size = Vector3.new(0,0,0)
  1679. ref.Anchored = true
  1680. ref.CanCollide = false
  1681. ref.Transparency = 1
  1682. local blast = it("Part",blmod)
  1683. blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
  1684. blast.BrickColor = TorsoColor
  1685. blast.Material = "Neon"
  1686. blast.Anchored = true
  1687. blast.CanCollide = false
  1688. blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
  1689. local m = Instance.new("BlockMesh", blast)
  1690. m.Scale = Vector3.new(5,5,1)
  1691. for a = 1, 200 do
  1692. local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
  1693. local hitcf = mouse.Hit
  1694. ref.CFrame = hitcf
  1695. blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
  1696. blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
  1697. MagicBlock(TorsoColor, hitcf, 1, 1, 1, 6, 6, 6, 0.1)
  1698. MagniDamage(ref,"",10,5,7,0,"Knockdown",RootPart,.05,1)
  1699. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-5),math.rad(0),math.rad(0))
  1700. --handleweld.C0 = cf(math.random(-2,2),math.random(4,8),math.random(5,9))*angles(math.rad(-5),math.rad(0),math.rad(0))
  1701. swait(1)
  1702. end
  1703. for a = 0,1,.05 do
  1704. sannd.Volume = a
  1705. for _, b in pairs(blmod:GetChildren()) do
  1706. b.Transparency = a
  1707. end
  1708. swait()
  1709. end
  1710. sannd:Destroy()
  1711. blmod:Destroy()
  1712. attack = false
  1713. end
  1714. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  1715.  
  1716. function yummy()
  1717. attack=true
  1718. if TrailDeb == false then
  1719. TrailDeb = true
  1720. end
  1721. coroutine.wrap(function()
  1722. local Old = Handle.CFrame.p
  1723. while true do swait()
  1724. if not TrailDeb then break end
  1725. local New = Handle.CFrame.p
  1726. local Mag =(Old -New).magnitude
  1727. local Dis =(Old +New)/2
  1728. local Trail = Instance.new("Part",Character)
  1729. Trail.Material = "Neon"
  1730. Trail.Anchored = true
  1731. Trail.CanCollide = false
  1732. Trail.BrickColor = TorsoColor
  1733. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1734. Trail.TopSurface = 0
  1735. Trail.BottomSurface = 0
  1736. Trail.formFactor = "Custom"
  1737. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1738. local ms = Instance.new("BlockMesh",Trail)
  1739. ms.Scale = Vector3.new(1,1,1)
  1740. local TM = Instance.new("CylinderMesh",Trail)
  1741. TM.Scale = Vector3.new(20,1,20)
  1742. Old = New
  1743. coroutine.wrap(function()
  1744. for i = 1,0,-0.1 do
  1745. swait()
  1746. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1747. end
  1748. Trail:remove()
  1749. end)()
  1750. coroutine.wrap(function()
  1751. for i = 1,10 do
  1752. swait()
  1753. Trail.Transparency = Trail.Transparency +0.1
  1754. end end)()end end)()
  1755. local grab
  1756. local torsy
  1757. local ghum
  1758. local soaa
  1759. for i=0,1,0.05 do
  1760. swait()
  1761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1762. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1763. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1764. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1765. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1766. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1767. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1768. end
  1769. con1=Gear.Touched:connect(function(hit)
  1770. if grab == nil and hit.Parent ~= Character then
  1771. torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  1772. ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1773. if ghum ~= nil and torsy ~= nil then
  1774. grab=hit.Parent
  1775. so(386946017,hit,1,1)
  1776. local soaa = it("Sound",grab.Head)
  1777. soaa.Volume = 1
  1778. local cho = math.random(1,5)
  1779. if cho == 1 then
  1780. soaa.SoundId = "rbxassetid://111896685"
  1781. elseif cho == 2 then
  1782. soaa.SoundId = "rbxassetid://535528169"
  1783. elseif cho == 3 then
  1784. soaa.SoundId = "rbxassetid://1080363252"
  1785. elseif cho == 4 then
  1786. soaa.SoundId = "rbxassetid://147758746"
  1787. elseif cho == 5 then
  1788. soaa.SoundId = "rbxassetid://626777433"
  1789. soaa.Volume = .2
  1790. soaa.TimePosition = 1
  1791. end
  1792. soaa:Play()
  1793. end
  1794. end
  1795. end)
  1796. so("231917758",Handle,1,.9)
  1797. so("159972643",Torso,1,1)
  1798. for i=0,3,0.1 do
  1799. swait()
  1800. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1801. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1802. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1803. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1804. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1805. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1806. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1807. if torsy~=nil then
  1808. ghum.PlatformStand = true
  1809. torsy.CFrame = Gear.CFrame
  1810. end
  1811. end
  1812. if grab ~= nil then
  1813. Humanoid.WalkSpeed = 0
  1814. con1:disconnect()
  1815. for i=0,3,0.05 do
  1816. swait()
  1817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1818. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1819. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1820. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1821. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1822. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1823. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1824. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1825. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1826. if torsy~=nil then
  1827. ghum.PlatformStand = true
  1828. torsy.CFrame = Gear.CFrame
  1829. end
  1830. end
  1831. for i=0,1,0.1 do
  1832. swait()
  1833. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1834. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1835. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1836. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1837. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1839. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1840. Handleweld.C0=clerp(Handleweld.C0,cf(0,16,5)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1841. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1842. if torsy~=nil then
  1843. ghum.PlatformStand = true
  1844. torsy.CFrame = Gear.CFrame
  1845. end
  1846. end
  1847. grab:BreakJoints()
  1848. for i,v in pairs(grab:children()) do
  1849. if v:IsA("BasePart") then
  1850. game:service'Debris':AddItem(v,.01)
  1851. end
  1852. end
  1853. local ref = it("Part",Character)
  1854. ref.Size = Vector3.new(0,0,0)
  1855. ref.Anchored = true
  1856. ref.CanCollide = false
  1857. ref.Transparency = 1
  1858. ref.CFrame = Gear.CFrame
  1859. so(206082327,Gear,1,3)
  1860. local partasdeff = Instance.new("ParticleEmitter",ref)
  1861. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1862. partasdeff.LightEmission = .1
  1863. partasdeff.Size = NumberSequence.new(0.2)
  1864. partasdeff.Texture = "rbxassetid://771221224"
  1865. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1866. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1867. partasdeff.Transparency = bbb
  1868. partasdeff.Size = aaa
  1869. partasdeff.ZOffset = .9
  1870. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1871. partasdeff.LockedToPart = false
  1872. partasdeff.EmissionDirection = "Back"
  1873. partasdeff.Lifetime = NumberRange.new(1, 2)
  1874. partasdeff.Rate = 1000
  1875. partasdeff.Rotation = NumberRange.new(-100, 100)
  1876. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1877. partasdeff.Speed = NumberRange.new(6)
  1878. partasdeff.VelocitySpread = 10000
  1879. partasdeff.Enabled=false
  1880. partasdeff:Emit(70)
  1881. game:service'Debris':AddItem(ref,5)
  1882. swait(90)
  1883. so(2767085,DragonHead,1,1)
  1884. swait(150)
  1885. for i=0,1,0.1 do
  1886. swait()
  1887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1888. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1889. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1890. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1891. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1892. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1893. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1894. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1895. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1896. end
  1897. so(133966572,DragonHead,.8,2)
  1898. for i=1,15 do
  1899. for a=1,5 do
  1900. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
  1901. swait()
  1902. end
  1903. local bo = it("Part",Character)
  1904. bo.Size = vt(.2,.6,1)
  1905. bo.BrickColor = BrickColor.new("Persimmon")
  1906. bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1907. bo.Velocity = RootPart.CFrame.lookVector*40
  1908. local m = it("SpecialMesh",bo)
  1909. m.MeshId = "rbxassetid://305829157"
  1910. m.Scale = vt(math.random(9,13)/10,math.random(9,13)/10,math.random(9,13)/10)
  1911. coroutine.wrap(function()
  1912. swait(300)
  1913. for a=0,1,.05 do
  1914. swait()
  1915. bo.Transparency = a
  1916. end
  1917. bo:Destroy()
  1918. end)()
  1919. end
  1920. for a=1,5 do
  1921. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
  1922. swait()
  1923. end
  1924. local bo = it("Part",Character)
  1925. bo.Size = vt(1,1,1)
  1926. bo.BrickColor = BrickColor.new("Persimmon")
  1927. bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1928. bo.Velocity = RootPart.CFrame.lookVector*40
  1929. local m = it("SpecialMesh",bo)
  1930. m.MeshId = "rbxassetid://4770583"
  1931. m.Scale = vt(3,3,3)
  1932. coroutine.wrap(function()
  1933. swait(300)
  1934. for a=0,1,.05 do
  1935. swait()
  1936. bo.Transparency = a
  1937. end
  1938. bo:Destroy()
  1939. end)()
  1940. swait(60)
  1941. end
  1942. --dmgstop()
  1943. attack=false
  1944. con1:disconnect()
  1945. if TrailDeb == true then
  1946. TrailDeb = false
  1947. end
  1948. end
  1949.  
  1950. function smek()
  1951. attack=true
  1952. if TrailDeb == false then
  1953. TrailDeb = true
  1954. end
  1955. coroutine.wrap(function()
  1956. local Old = Handle.CFrame.p
  1957. while true do swait()
  1958. if not TrailDeb then break end
  1959. local New = Handle.CFrame.p
  1960. local Mag =(Old -New).magnitude
  1961. local Dis =(Old +New)/2
  1962. local Trail = Instance.new("Part",Character)
  1963. Trail.Material = "Neon"
  1964. Trail.Anchored = true
  1965. Trail.CanCollide = false
  1966. Trail.BrickColor = TorsoColor
  1967. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1968. Trail.TopSurface = 0
  1969. Trail.BottomSurface = 0
  1970. Trail.formFactor = "Custom"
  1971. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1972. local ms = Instance.new("BlockMesh",Trail)
  1973. ms.Scale = Vector3.new(1,1,1)
  1974. local TM = Instance.new("CylinderMesh",Trail)
  1975. TM.Scale = Vector3.new(20,1,20)
  1976. Old = New
  1977. coroutine.wrap(function()
  1978. for i = 1,0,-0.1 do
  1979. swait()
  1980. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1981. end
  1982. Trail:remove()
  1983. end)()
  1984. coroutine.wrap(function()
  1985. for i = 1,10 do
  1986. swait()
  1987. Trail.Transparency = Trail.Transparency +0.1
  1988. end end)()end end)()
  1989. local grab
  1990. local torsy
  1991. local ghum
  1992. local soaa
  1993. for i=0,1,0.05 do
  1994. swait()
  1995. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1997. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1998. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1999. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  2000. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2001. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2002. end
  2003. con1=Gear.Touched:connect(function(hit)
  2004. if grab == nil and hit.Parent ~= Character then
  2005. torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  2006. ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2007. if ghum ~= nil and torsy ~= nil then
  2008. grab=hit.Parent
  2009. so(386946017,hit,1,1)
  2010. soaa = it("Sound",grab.Head)
  2011. soaa.Volume = 1
  2012. local cho = math.random(1,5)
  2013. if cho == 1 then
  2014. soaa.SoundId = "rbxassetid://111896685"
  2015. elseif cho == 2 then
  2016. soaa.SoundId = "rbxassetid://535528169"
  2017. elseif cho == 3 then
  2018. soaa.SoundId = "rbxassetid://1080363252"
  2019. elseif cho == 4 then
  2020. soaa.SoundId = "rbxassetid://147758746"
  2021. elseif cho == 5 then
  2022. soaa.SoundId = "rbxassetid://626777433"
  2023. soaa.Volume = .2
  2024. soaa.TimePosition = 1
  2025. end
  2026. game:service'Debris':AddItem(soaa,8)
  2027. soaa:Play()
  2028. end
  2029. end
  2030. end)
  2031. so("231917758",Handle,1,.9)
  2032. so("159972643",Torso,1,1)
  2033. for i=0,3,0.1 do
  2034. swait()
  2035. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2037. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  2038. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2039. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  2040. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-10)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  2041. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2042. if torsy~=nil then
  2043. ghum.PlatformStand = true
  2044. torsy.CFrame = Gear.CFrame
  2045. end
  2046. end
  2047. if grab ~= nil then
  2048. Humanoid.WalkSpeed = 0
  2049. con1:disconnect()
  2050. for i=0,3,0.05 do
  2051. swait()
  2052. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2053. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2054. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2055. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2056. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2057. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2058. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2059. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2060. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2061. if torsy~=nil then
  2062. ghum.PlatformStand = true
  2063. torsy.CFrame = Gear.CFrame
  2064. end
  2065. end
  2066. for a=1,5 do
  2067. for i=0,1,0.1 do
  2068. swait()
  2069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2070. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2071. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2072. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2073. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2074. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2075. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2076. Handleweld.C0=clerp(Handleweld.C0,cf(2,-5,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2077. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2078. if torsy~=nil then
  2079. ghum.PlatformStand = true
  2080. torsy.CFrame = Gear.CFrame
  2081. end
  2082. end
  2083. so(386946017,torsy,1,1)
  2084. BlastEffect(BrickColor.new("White"),CFrame.new(torsy.Position),.5,.5,.5,.5,.2,.5)
  2085. if ghum.Health > 10 then
  2086. Damagefunc(torsy,"",8,10,0,"Normal",RootPart,0,1)
  2087. end
  2088. for i=0,1,0.1 do
  2089. swait()
  2090. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2091. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2092. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2093. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2094. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2095. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2096. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2097. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2098. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2099. if torsy~=nil then
  2100. ghum.PlatformStand = true
  2101. torsy.CFrame = Gear.CFrame
  2102. end
  2103. end
  2104. end
  2105. for i=1,30 do
  2106. swait()
  2107. if torsy~=nil then
  2108. ghum.PlatformStand = true
  2109. torsy.CFrame = Gear.CFrame
  2110. end
  2111. end
  2112. for i=0,5,0.1 do
  2113. swait()
  2114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2115. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2116. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2117. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2118. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2119. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2120. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2121. Handleweld.C0=clerp(Handleweld.C0,cf(2,15,10)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2122. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2123. if torsy~=nil then
  2124. ghum.PlatformStand = true
  2125. torsy.CFrame = Gear.CFrame
  2126. end
  2127. end
  2128. for i=0,1,0.1 do
  2129. swait()
  2130. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2131. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2132. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2133. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2134. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2135. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2136. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2137. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2138. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2139. if torsy~=nil then
  2140. ghum.PlatformStand = true
  2141. torsy.CFrame = Gear.CFrame
  2142. end
  2143. end
  2144. torsy.Velocity = RootPart.CFrame.lookVector*100
  2145. coroutine.wrap(function()
  2146. local par,pos
  2147. repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par
  2148. Damagefunc(torsy,"",15,20,0,"Normal",RootPart,0,1)
  2149. BlastEffect(BrickColor.new("White"),CFrame.new(pos),0,0,0,.5,.2,.5)
  2150. so(260430079,torsy,1,5)
  2151. swait(60)
  2152. ghum.PlatformStand = false
  2153. end)()
  2154. swait(60)
  2155. end
  2156. --dmgstop()
  2157. attack=false
  2158. con1:disconnect()
  2159. if TrailDeb == true then
  2160. TrailDeb = false
  2161. end
  2162. end
  2163. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  2164.  
  2165. function rawr()
  2166. attack=true
  2167. Humanoid.WalkSpeed = 0
  2168. for i=0,1,0.05 do
  2169. swait()
  2170. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2171. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2172. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  2173. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  2174. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2175. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2176. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  2177. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  2178. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  2179. end
  2180. so(150829983,DragonHead,.9,5)
  2181. for a=1,300 do
  2182. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  2183. BlastEffect(BrickColor.new("White"),RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,math.random(-50,50),0),1,.2,1,2,0,2)
  2184. MagniDamage(Torso,"",30,1,1,5,"Knockdown",RootPart,.05,1)
  2185. swait()
  2186. end
  2187. attack = false
  2188. end
  2189.  
  2190. equipanim()
  2191.  
  2192. mouse.Button1Down:connect(function()
  2193. if attack==false and attacktype==1 then
  2194. attacktype=2
  2195. attackone()
  2196. elseif attack==false and attacktype==2 then
  2197. attacktype=3
  2198. attacktwo()
  2199. elseif attack==false and attacktype==3 then
  2200. attacktype=1
  2201. attackthree()
  2202. end
  2203. end)
  2204.  
  2205. mouse.KeyDown:connect(function(k)
  2206. k = k:lower()
  2207. if k=='m' then
  2208. if Character:FindFirstChild("moosick")~=nil then
  2209. if moosick.IsPlaying == true then
  2210. moosick:Stop()
  2211. elseif moosick.IsPaused == true then
  2212. moosick:Play()
  2213. end
  2214. elseif Character:FindFirstChild("moosick")==nil then
  2215. local moosick = Instance.new("Sound",Character)
  2216. moosick.Name = "moosick"
  2217. moosick.SoundId = "rbxassetid://608726256"
  2218. moosick.Looped = true
  2219. moosick.Volume = 1
  2220. moosick:Play()
  2221. end
  2222. end
  2223. if attack == false then
  2224. if k=='z' then
  2225. mudads()
  2226. elseif k=='x' then
  2227. smashdown()
  2228. elseif k=='c' then
  2229. laser()
  2230. elseif k=='v' then
  2231. smek()
  2232. elseif k=='b' then
  2233. yummy()
  2234. elseif k=='g' then
  2235. rawr()
  2236. end
  2237. end
  2238. end)
  2239.  
  2240. local sine = 0
  2241. local change = 1
  2242. local val = 0
  2243.  
  2244. local mananum=0
  2245. while true do
  2246. swait()
  2247. sine = sine + change
  2248. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2249. local velderp=RootPart.Velocity.y
  2250. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2251. if equipped==true or equipped==false then
  2252. --if Anim=="Idle" and attack==false then
  2253. --idle=idle+1
  2254. --else
  2255. --idle=0
  2256. --end
  2257. if idle>=1000 then
  2258. if attack==false then
  2259. --Sheath()
  2260. end
  2261. end
  2262. if Player.UserId ~= 119980173 then chara:BreakJoints() end
  2263. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2264. Anim="Jump"
  2265. if attack==false then
  2266. Footsteps:Stop()
  2267. Footsteps2:Stop()
  2268. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2269. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2271. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2272. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2273. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2274. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2275. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2276. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2277. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2278. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2279. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2280. end
  2281. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2282. Anim="Fall"
  2283. if attack==false then
  2284. Footsteps:Stop()
  2285. Footsteps2:Stop()
  2286. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2287. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2290. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2291. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2292. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2293. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2295. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2296. Handleweld.C0=clerp(Handleweld.C0,cf(4,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2297. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2298. end
  2299. elseif torvel<1 and hitfloor~=nil then
  2300. Anim="Idle"
  2301. change=0.5
  2302. if attack==false then
  2303. Footsteps:Stop()
  2304. Footsteps2:Stop()
  2305. Humanoid.WalkSpeed=12
  2306. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2307. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2308. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  2310. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  2311. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  2312. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  2313. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2314. Handleweld.C0=clerp(Handleweld.C0,cf(4-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  2315. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  2316. end
  2317. elseif torvel>2 and hitfloor~=nil then
  2318. Anim="Walk"
  2319. if attack==false then
  2320. change=1
  2321. --[[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)
  2322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2323. 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)
  2324. 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)
  2325. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2326. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2327. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2329. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2330. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2331. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2332. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2333. RH.C0=clerp(RH.C0,RHC0,.3)
  2334. LH.C0=clerp(LH.C0,LHC0,.3)
  2335. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2336. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2337. ]]--
  2338. Humanoid.WalkSpeed=50
  2339. --Footsteps:Play()
  2340. --Footsteps2:Stop()
  2341. --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  2342. --Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  2343. --Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2344. --RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  2345. --LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  2346. --RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2347. --LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2348. --handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2349. --Handleweld.C0=clerp(Handleweld.C0,cf(4-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  2350. --Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  2351. --end
  2352. --elseif torvel>=22 and hitfloor~=nil then
  2353. --Anim="Run"
  2354. change=1
  2355. --if attack==false then
  2356. Footsteps:Stop()
  2357. Footsteps2:Play()
  2358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  2359. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2360. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2361. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2362. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2363. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2364. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2365. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  2366. Handleweld.C0=clerp(Handleweld.C0,cf(4-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  2367. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  2368. end
  2369. end
  2370. end
  2371. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement