Advertisement
Demonlord27

somethingx2

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