Advertisement
Axelpuff

Sinny Boi FE

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