Advertisement
AirdHeee

Fe Sin Dragon

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