Advertisement
Guest User

Untitled

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