Dark_EccentricYT

Untitled

May 5th, 2018
5,602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.18 KB | None | 0 0
  1. wait(1/60)
  2. print('Made by Slenercat5')-- yo m8 this is old but i figured why not re upload sense the old link broke
  3. print('Megumin')
  4. print('F for Hero Mode')
  5. print('Click to Use Explosion Magic')
  6.  
  7.  
  8. lerp = function(a, b, t)
  9.  
  10. return a + (b - a) * t
  11. end
  12. Lerp = function(c1, c2, al)
  13.  
  14. local com1 = {c1.X, c1.Y, c1.Z, c1:toEulerAnglesXYZ()}
  15. local com2 = {c2.X, c2.Y, c2.Z, c2:toEulerAnglesXYZ()}
  16. for i,v in pairs(com1) do
  17. com1[i] = v + (com2[i] - v) * al
  18. end
  19. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  20. end
  21.  
  22. sine=0
  23. change=0
  24.  
  25. -- this is my secound script using character animations based on lerping
  26. -- if you found this i hope you enjoy :)
  27. -- attacks
  28. --click[hold] for punching
  29. --q for teleport(within 100 studs)
  30. --f for super jump(Temporarily down)
  31. wait(1 / 60)
  32. local jklmaoR=0
  33. Effects = { }
  34. local Player = game.Players.localPlayer
  35. local Character = Player.Character
  36. local Humanoid = Character.Humanoid
  37. Humanoid.WalkSpeed = 30
  38. local Mouse = Player:GetMouse()
  39. local LeftArm = Character["Left Arm"]
  40. local RightArm = Character["Right Arm"]
  41. local LeftLeg = Character["Left Leg"]
  42. local RightLeg = Character["Right Leg"]
  43. local Head = Character.Head
  44. local Torso = Character.Torso
  45. local Camera = game.Workspace.CurrentCamera
  46. local RootPart = Character.HumanoidRootPart
  47. local RootJoint = RootPart.RootJoint
  48. local attack = false
  49. local Anim = 'Idle'
  50. local Create = LoadLibrary("RbxUtility").Create
  51. local velocity = RootPart.Velocity.y
  52. Character.Animate.Disabled=false
  53. local sine = 0
  54. local change = 1
  55. local ms=Player:GetMouse()
  56. local DORARA=false
  57. local sforce=false
  58. local fcount=0
  59.  
  60. Character.Humanoid.Health=10000000000000000000000000000000000000000000000000000000000000
  61.  
  62. torso=Character:findFirstChild('Torso')
  63. root=Character:FindFirstChild('HumanoidRootPart')
  64. function clerp(a, b, t)
  65. return a:lerp(b, t)
  66. end
  67.  
  68. Humanoid.Animator.Parent = nil
  69. Character.Animate.Parent = nil
  70.  
  71. local newMotor = function(part0, part1, c0, c1)
  72. local w = Create('Motor'){
  73. Parent = part0,
  74. Part0 = part0,
  75. Part1 = part1,
  76. C0 = c0,
  77. C1 = c1,
  78. }
  79. return w
  80. end
  81.  
  82.  
  83. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  84. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  85.  
  86. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  87. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  88. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  89. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  90. RootJoint.C1 = CFrame.new(0, 0, 0)
  91. RootJoint.C0 = CFrame.new(0, 0, 0)
  92. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  93. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  94.  
  95. local rarmc1 = RW.C1
  96. local larmc1 = LW.C1
  97. local rlegc1 = RH.C1
  98. local llegc1 = LH.C1
  99.  
  100. local resetc1 = false
  101.  
  102.  
  103.  
  104.  
  105.  
  106. function PlayAnimationFromTable(table, speed, bool)
  107. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  108. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  109. RW.C0 = clerp(RW.C0, table[3], speed)
  110. LW.C0 = clerp(LW.C0, table[4], speed)
  111. RH.C0 = clerp(RH.C0, table[5], speed)
  112. LH.C0 = clerp(LH.C0, table[6], speed)
  113. if bool == true then
  114. if resetc1 == false then
  115. resetc1 = true
  116. RootJoint.C1 = RootJoint.C1
  117. Torso.Neck.C1 = Torso.Neck.C1
  118. RW.C1 = rarmc1
  119. LW.C1 = larmc1
  120. RH.C1 = rlegc1
  121. LH.C1 = llegc1
  122. end
  123. end
  124. end
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. ArtificialHB = Create("BindableEvent", script){
  134. Parent = script,
  135. Name = "Heartbeat",
  136. }
  137.  
  138. script:WaitForChild("Heartbeat")
  139.  
  140. frame = 1 / 35
  141. tf = 0
  142. allowframeloss = false
  143. tossremainder = false
  144. lastframe = tick()
  145. script.Heartbeat:Fire()
  146.  
  147.  
  148.  
  149.  
  150.  
  151. game:GetService("RunService").Heartbeat:connect(function(s, p)
  152. tf = tf + s
  153. if tf >= frame then
  154. if allowframeloss then
  155. script.Heartbeat:Fire()
  156. lastframe = tick()
  157. else
  158. for i = 1, math.floor(tf / frame) do
  159. script.Heartbeat:Fire()
  160. end
  161. lastframe = tick()
  162. end
  163. if tossremainder then
  164. tf = 0
  165. else
  166. tf = tf - frame * math.floor(tf / frame)
  167. end
  168. end
  169. end)
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176. function swait(num)
  177. if num == 0 or num == nil then
  178. ArtificialHB.Event:wait()
  179. else
  180. for i = 0, num do
  181. ArtificialHB.Event:wait()
  182. end
  183. end
  184. end
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191. function RemoveOutlines(part)
  192. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  193. end
  194. function ShowDamage(Pos, Text, Time, Color)
  195. local Rate = (1 / 30)
  196. local Pos = (Pos or Vector3.new(0, 0, 0))
  197. local Text = (Text or "")
  198. local Time = (Time or 2)
  199. local Color = (Color or Color3.new(1, 0, 1))
  200. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  201. EffectPart.Anchored = true
  202. local BillboardGui = Create("BillboardGui"){
  203. Size = UDim2.new(3, 0, 3, 0),
  204. Adornee = EffectPart,
  205. Parent = EffectPart,
  206. }
  207. local TextLabel = Create("TextLabel"){
  208. BackgroundTransparency = 1,
  209. Size = UDim2.new(1, 0, 1, 0),
  210. Text = Text,
  211. Font = "SciFi",
  212. TextColor3 = Color,
  213. TextScaled = true,
  214. Parent = BillboardGui,
  215. }
  216. game.Debris:AddItem(EffectPart, (Time))
  217. EffectPart.Parent = game:GetService("Workspace")
  218. delay(0, function()
  219. local Frames = (Time / Rate)
  220. for Frame = 1, Frames do
  221. wait(Rate)
  222. local Percent = (Frame / Frames)
  223. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  224. TextLabel.TextTransparency = Percent
  225. end
  226. if EffectPart and EffectPart.Parent then
  227. EffectPart:Destroy()
  228. end
  229. end)
  230. end
  231. Sound=false
  232. function Damage(hit,Dag)
  233. if hit.Parent==Character or hit.Parent==workspace or hit.Parent.ClassName=='Asseccory' then
  234. return
  235. else
  236. wait(.1)
  237. local Hum=hit.Parent:FindFirstChild('Humanoid')
  238. wait(.1)
  239. if Hum~=nil then
  240. -- print(hit.Parent.name..' is getting hurt')
  241. if Nock==true then
  242. hit.Parent.Torso.Velocity=Character.HumanoidRootPart.CFrame.lookVector*100
  243. end
  244. ShowDamage(hit.Position,Dag)
  245. local DORA = CFuncs.Sound.Create("383548205", hit, 1, 1)
  246. Sound=true
  247. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-Dag
  248. wait(.1)
  249. else
  250. return
  251. end
  252.  
  253. end
  254. end
  255.  
  256. CFuncs = {
  257. Part = {
  258. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  259. local Part = Create("Part"){
  260. Parent = Parent,
  261. Reflectance = Reflectance,
  262. Transparency = Transparency,
  263. CanCollide = false,
  264. Locked = true,
  265. BrickColor = BrickColor.new(tostring(BColor)),
  266. Name = Name,
  267. Size = Size,
  268. Material = Material,
  269. }
  270. RemoveOutlines(Part)
  271. return Part
  272. end;
  273. };
  274.  
  275. Mesh = {
  276. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  277. local Msh = Create(Mesh){
  278. Parent = Part,
  279. Offset = OffSet,
  280. Scale = Scale,
  281. }
  282. if Mesh == "SpecialMesh" then
  283. Msh.MeshType = MeshType
  284. Msh.MeshId = MeshId
  285. end
  286. return Msh
  287. end;
  288. };
  289.  
  290. Weld = {
  291. Create = function(Parent, Part0, Part1, C0, C1)
  292. local Weld = Create("Weld"){
  293. Parent = Parent,
  294. Part0 = Part0,
  295. Part1 = Part1,
  296. C0 = C0,
  297. C1 = C1,
  298. }
  299. return Weld
  300. end;
  301. };
  302.  
  303. Sound = {
  304. Create = function(id, par, vol, pit)
  305. local Sound = Create("Sound"){
  306. Volume = vol,
  307. Pitch = pit or 1,
  308. SoundId = "rbxassetid://" .. id,
  309. Parent = par or workspace,
  310. }
  311. Sound:play()
  312. return Sound
  313. end;
  314. };
  315.  
  316. Decal = {
  317. Create = function(Color, Texture, Transparency, Name, Parent)
  318. local Decal = Create("Decal"){
  319. Color3 = Color,
  320. Texture = "rbxassetid://" .. Texture,
  321. Transparency = Transparency,
  322. Name = Name,
  323. Parent = Parent,
  324. }
  325. return Decal
  326. end;
  327. };
  328.  
  329. BillboardGui = {
  330. Create = function(Parent, Image, Position, Size)
  331. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  332. BillPar.CFrame = CFrame.new(Position)
  333. local Bill = Create("BillboardGui"){
  334. Parent = BillPar,
  335. Adornee = BillPar,
  336. Size = UDim2.new(1, 0, 1, 0),
  337. SizeOffset = Vector2.new(Size, Size),
  338. }
  339. local d = Create("ImageLabel", Bill){
  340. Parent = Bill,
  341. BackgroundTransparency = 1,
  342. Size = UDim2.new(1, 0, 1, 0),
  343. Image = "rbxassetid://" .. Image,
  344. }
  345. return BillPar
  346. end
  347. };
  348.  
  349. ParticleEmitter = {
  350. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  351. local Particle = Create("ParticleEmitter"){
  352. Parent = Parent,
  353. Color = ColorSequence.new(Color1, Color2),
  354. LightEmission = LightEmission,
  355. Size = Size,
  356. Texture = Texture,
  357. Transparency = Transparency,
  358. ZOffset = ZOffset,
  359. Acceleration = Accel,
  360. Drag = Drag,
  361. LockedToPart = LockedToPart,
  362. VelocityInheritance = VelocityInheritance,
  363. EmissionDirection = EmissionDirection,
  364. Enabled = Enabled,
  365. Lifetime = LifeTime,
  366. Rate = Rate,
  367. Rotation = Rotation,
  368. RotSpeed = RotSpeed,
  369. Speed = Speed,
  370. VelocitySpread = VelocitySpread,
  371. }
  372. return Particle
  373. end;
  374.  
  375.  
  376.  
  377.  
  378.  
  379. };
  380.  
  381. CreateTemplate = {
  382.  
  383. };
  384. }
  385.  
  386. lp=Player
  387.  
  388.  
  389. for _,v in pairs(lp.Character:GetChildren()) do
  390. if v.className=='Shirt' or v.className=='Pants' or v.className=='Accessory' then
  391. v:remove()
  392. end
  393. if v.className=='Part' then
  394. v.BrickColor=BrickColor.new('Pastel brown')
  395. end
  396. end
  397. function AutoWeld(Foop, OOF)
  398. local W = Instance.new("Weld")
  399. W.Part0 = Foop
  400. W.Part1 = OOF
  401. local CJ = CFrame.new(Foop.Position)
  402. local C0 = Foop.CFrame:inverse()*CJ
  403. local C1 = OOF.CFrame:inverse()*CJ
  404. W.C0 = C0
  405. W.C1 = C1
  406. W.Name='o0o'
  407. W.Parent = Foop
  408. end
  409.  
  410.  
  411. Shirt=Instance.new("Shirt",lp.Character)
  412. Shirt.ShirtTemplate='rbxassetid://692946861'
  413. Pants=Instance.new("Pants",lp.Character)
  414. Pants.PantsTemplate='rbxassetid://692946962'
  415.  
  416. lp.Character.Head.face.Texture='http://www.roblox.com/asset/?id=1190881618'
  417. D2=Instance.new('Decal',lp.Character.Head)
  418. D2.Texture='http://www.roblox.com/asset/?id=26926115'
  419.  
  420. mec=Instance.new('CharacterMesh',lp.Character)
  421. mec.BodyPart='Torso'
  422. mec.MeshId='48112070'
  423.  
  424.  
  425.  
  426.  
  427. h2=Instance.new('Part',lp.Character)
  428. h2.CanCollide=false
  429. h2.BrickColor=BrickColor.new('Dark stone grey')
  430. h2.CFrame=lp.Character.Head.CFrame*CFrame.new(0,-.3,0.1)
  431. m3=Instance.new('SpecialMesh',h2)
  432. m3.MeshId='http://www.roblox.com/asset/?id=283714534'
  433. m3.TextureId='http://www.roblox.com/asset/?id=398616339'
  434.  
  435.  
  436.  
  437. hb=Instance.new('Part',lp.Character)
  438. hb.CFrame=lp.Character.Head.CFrame*CFrame.new(0,0.3,-0.1)
  439. hb.CanCollide=false
  440. mb=Instance.new('SpecialMesh',hb)
  441. mb.MeshId='rbxassetid://74969506'
  442. mb.TextureId='rbxassetid://74226311'
  443.  
  444. h5=Instance.new('Part',lp.Character)
  445. h5.CFrame=lp.Character.Head.CFrame*CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0)
  446. h5.CanCollide=false
  447. m6=Instance.new('SpecialMesh',h5)
  448. m6.Scale=Vector3.new(1.2,1.2,1.2)
  449. m6.MeshId='rbxassetid://110214262'
  450. m6.TextureId='http://www.roblox.com/asset/?id=110212521'
  451.  
  452.  
  453. AutoWeld(hb,lp.Character.Head)
  454.  
  455. AutoWeld(h2,lp.Character.Head)
  456. AutoWeld(h5,lp.Character.Head)
  457.  
  458. base = Instance.new("ScreenGui",Player.PlayerGui)
  459. bbg = Instance.new("BillboardGui",Player.Character.Head)
  460. bbg.Size = UDim2.new(0,200,0,50)
  461. bbg.StudsOffset = Vector3.new(0,3,0)
  462.  
  463. bbgTl = Instance.new("TextLabel",bbg)
  464. bbgTl.BackgroundTransparency = 1
  465. bbgTl.Size = UDim2.new(10,0,1,0)
  466. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  467. bbgTl.Font = "Code"
  468. bbgTl.Text = " "
  469. bbgTl.TextSize = 25
  470. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  471. bbgTl.TextColor3 = Color3.new(0,0,0)
  472. bbgTl.TextStrokeTransparency = 0
  473. bbgTl.TextWrapped = true
  474.  
  475. function Chat(msg)
  476. bbgTl.Text = msg
  477. wait(1)
  478. if bbgTl.Text == msg then
  479. bbgTl.Text = " "
  480. end
  481. end
  482. Chat('Megumin by slenercat5')
  483.  
  484.  
  485. KML=CFuncs.Sound.Create(167135038,Character.Head,1,1)-- secret-->1108274211
  486. KML.Looped=true
  487. KML:stop()
  488. Explosion=CFuncs.Sound.Create(762570073,Character.Head,1,1)
  489. Explosion:stop()
  490. reload=false
  491. scoobis=false
  492. scoobismesh='rbxassetid://1107996700'
  493. scoobistexture='rbxassetid://1107996710'
  494. Nock=true
  495. ms.KeyDown:connect(function(k)
  496. k=k:lower()
  497. if k=='f' then
  498. if scoobis==false and reload==false and taunt==false and attack==false then
  499. scoobis=true
  500. KML:Play()
  501. hb.Transparency=1
  502. for _,v in pairs(Staff) do
  503. v.Transparency=0
  504. end
  505. reload=true
  506. wait(1)
  507. reload=false
  508. elseif scoobis==true and reload==false then
  509. KML:stop()
  510. hb.Transparency=0
  511. for _,v in pairs(Staff) do
  512. v.Transparency=1
  513. end
  514. scoobis=false
  515. Character.Head.Mesh.MeshType='Head'
  516. Character.Head.Mesh.Scale=Vector3.new(1.25, 1.25, 1.25)
  517.  
  518. reload=true
  519. wait(1)
  520. reload=false
  521.  
  522. end
  523. elseif k=='g' then
  524. if scoobis==false then
  525. if attack==false then
  526. if taunt then
  527. taunt=false
  528. TauntS:Stop()
  529. else
  530. taunt=true
  531. TauntS:Play()
  532. end
  533. print(taunt)
  534. end
  535. end
  536. end
  537.  
  538.  
  539. end)
  540.  
  541. --Particles--
  542.  
  543.  
  544.  
  545.  
  546. ----------
  547.  
  548.  
  549.  
  550.  
  551.  
  552. TauntS=Instance.new('Sound',Character.Head)
  553. TauntS.SoundId='rbxassetid://665015838'
  554. TauntS.Looped=true
  555. KML.Volume=.3
  556. Lead=CFuncs.Sound.Create(530138502,Character.Head,1,1)
  557. Lead:Stop()
  558. function Attack()
  559. Lead:Play()
  560. KML:Stop()
  561.  
  562. Dip=Instance.new('Part',Character)
  563. Dip.Transparency=1
  564. Dip.Size=Vector3.new(20,1,20)
  565. Dip.Anchored=true
  566. deo=Instance.new('Decal',Dip)
  567. deo.Texture='http://www.roblox.com/asset/?id=352764483'
  568. deo.Transparency=0
  569. deo.Face='Top'
  570. Dip.CFrame=Character.HumanoidRootPart.CFrame*CFrame.new(0,-2,0)
  571. Bp=Instance.new('Part',Dip)
  572. Bp.Name='BP'
  573. Bp.Anchored=true
  574. Bp.Transparency=1
  575. Bp.CFrame=Dip.CFrame*CFrame.new(-10,0,0)
  576. Bp2=Instance.new('Part',Dip)
  577. Bp2.Anchored=true
  578. Bp2.Name='BP2'
  579. Bp2.Transparency=1
  580. Bp2.CFrame=Dip.CFrame*CFrame.new(10,0,0)
  581. ac=Instance.new('Attachment',Bp)
  582. ac2=Instance.new('Attachment',Bp2)
  583.  
  584. local keypoints = {}
  585.  
  586. for i = 0,1,0.1 do
  587. local color = Color3.fromHSV(i,1,1)
  588. local keypoint = ColorSequenceKeypoint.new(i,color)
  589. table.insert(keypoints,keypoint)
  590. end
  591.  
  592. local particle = Instance.new('Beam',Bp)
  593. particle.Color = ColorSequence.new(keypoints)
  594. particle.Texture='rbxassetid://1135136643'
  595. particle.Attachment0=ac
  596. particle.Attachment1=AC
  597. particle.Width0=6
  598. particle.Width1=9
  599. particle.CurveSize0=-10
  600. particle.CurveSize1=10
  601. particle.LightEmission=1
  602.  
  603. local particle2 = Instance.new('Beam',Bp2)
  604. particle2.Color = ColorSequence.new(keypoints)
  605. particle2.LightEmission=1
  606. particle2.Texture='rbxassetid://1135136643'
  607. particle2.Attachment0=ac2
  608. particle2.Attachment1=AC
  609. particle2.CurveSize0=10
  610. particle2.CurveSize1=10
  611. particle2.Width0=6
  612. particle2.Width1=9
  613.  
  614. particle3=Instance.new('ParticleEmitter',Dip)
  615. particle3.Color = ColorSequence.new(keypoints)
  616. particle3.LightEmission=1
  617. particle3.Texture='rbxassetid://187012669'
  618. particle3.Size=NumberSequence.new(.2)
  619. particle3.Acceleration=Vector3.new(0,10,0)
  620. particle3.EmissionDirection='Bottom'
  621. particle3.SpreadAngle=Vector2.new(90,90)
  622. HK=Instance.new('Part',Character)
  623. HK.CanCollide=false
  624. HK.Shape='Ball'
  625. HK.Size=Vector3.new(2,2,2)
  626. HK.Material='Neon'
  627. HK.BrickColor=BrickColor.new('Gold')
  628. HK.Transparency=.5
  629. HK.CFrame=Character['Left Arm'].CFrame*CFrame.new(0,-1,-2)
  630. AutoWeld(HK,Character['Left Arm'])
  631. attack = true
  632. -- RootPart.CFrame = clerp(RootPart.CFrame,stand.HumanoidRootPart.CFrame*CFrame.new(0,0,-5), .1)
  633. StageTime=0
  634. Stage=1
  635. chatfunc('I am Megumin,Controller of the finest power Crimson Demons posses,')
  636. while Stage==1 do
  637. for i = 0, 1, 0.7 do
  638. swait()
  639. PlayAnimationFromTable({
  640. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  641. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  642. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  643. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(20, -.5, 0),
  644. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  645. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  646. },.5,false)
  647. StageTime=StageTime+.02
  648. if StageTime>3.5 then
  649. Stage=Stage+1
  650. end
  651. end
  652. end
  653. Stage=2
  654. -- wait(4)
  655. StageTime=0
  656. chatfunc(', and I command explosion magic!')
  657.  
  658.  
  659. while Stage==2 do
  660. for i = 0, 1, 0.7 do
  661. swait()
  662. PlayAnimationFromTable({
  663. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  664. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(-.5, 0.5, 0),
  665. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  666. CFrame.new(-1.5, 0, -0) * CFrame.new(0, .5, 0) * CFrame.Angles(20.5, -.5, 0),
  667. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  668. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  669. },.5,false)
  670. StageTime=StageTime+.02
  671. if StageTime>3.5 then
  672. Stage=Stage+1
  673. end
  674. if StageTime>1 and StageTime<1.1 then
  675. chatfunc('The Devil King fancies himself superior to us and dares call himself "strongest"!')
  676. end
  677. end
  678. end
  679.  
  680.  
  681. chatfunc('I shall obliterate his vile presence with our strongest of magics!')
  682.  
  683. StageTime=0
  684. Stage=3
  685. while Stage==3 do
  686. for i = 0, 1, 0.7 do
  687. swait()
  688. PlayAnimationFromTable({
  689. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  690. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  691. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  692. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(20, -.5, 0),
  693. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  694. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  695. },.5,false)
  696. end
  697. StageTime=StageTime+.03
  698. if StageTime>1.7 then
  699. Stage=Stage+1
  700. end
  701. end
  702.  
  703. StageTime=0
  704. for i = 0, 1, 0.7 do
  705. swait()
  706. PlayAnimationFromTable({
  707. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  708. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  709. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  710. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 1, 0) * CFrame.Angles(21, -.5, 0),
  711. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  712. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  713. },.5,false)
  714. end
  715. chatfunc('Explosion!')
  716. wait()
  717. Explosion:Play()
  718. HK:Remove()
  719. G=Instance.new('Part',Character)
  720. G.Size=Vector3.new(20,20,20)
  721. G.CanCollide=false
  722. G.Shape='Ball'
  723. G.Position=ms.Hit.p
  724. G.Transparency=.4
  725. G.Material='Neon'
  726. G.Anchored=true
  727. GEK=Instance.new('Explosion',G)
  728. GEK.BlastRadius=20
  729. GEK.BlastPressure=2
  730. GEK.DestroyJointRadiusPercent=2
  731. FF=Instance.new('ForceField',Character)
  732. FF.Visible=false
  733. Beam=Instance.new('Part',Character)
  734. Beam.BrickColor=BrickColor.new('Gold')
  735. Beam.Transparency=.5
  736. Beam.Anchored=true
  737. Beam.Material='Neon'
  738. local distance = (G.Position - Dis.Position).magnitude
  739. Beam.Size = Vector3.new(2, distance, 2)
  740. Beam.CFrame = CFrame.new(Dis.Position) * CFrame.new(0, -distance/2, 0)
  741.  
  742. GEK.Hit:connect(function(h)
  743. if h.Parent~=Character then
  744. h.Velocity=Vector3.new(math.random(-30,30),20,math.random(-30,30))
  745. end
  746. end)
  747. GEK.ExplosionType=Enum.ExplosionType.NoCraters
  748. GEK.Position=G.Position
  749. CFuncs.Sound.Create(539294959,G,1,1)
  750.  
  751. G.BrickColor=BrickColor.new('Gold')
  752. con1=G.Touched:connect(function(h)
  753. if h.Parent~=Character then
  754. h:remove()
  755. end
  756. end)
  757. K=Instance.new('BodyGyro',G)
  758. K.P=Vector3.new(0,100,0)
  759. wait(1)
  760. FF:remove()
  761. Dip:Remove()
  762. wait(1)
  763. G:remove()
  764. Beam:remove()
  765. bbgTl.Text=" "
  766. attack = false
  767. collapse=true
  768. end
  769.  
  770. reload2=false
  771.  
  772. collapse=false
  773. taunt=false
  774. Mouse.Button1Down:connect(function()
  775. if scoobis==true and reload2==false and taunt==false then
  776. reload2=true
  777. Attack()
  778. scoobis=false
  779. KML:stop()
  780. for _,v in pairs(Staff) do
  781. v.Transparency=1
  782. end
  783. hb.Transparency=0
  784. wait(5)
  785. collapse=false
  786. reload2=false
  787.  
  788.  
  789. end
  790. end)
  791. Staff={
  792.  
  793. }
  794.  
  795. Part=Instance.new("Part",Character)
  796. Part.Size= Vector3.new(
  797. 1, 2, 1
  798. )
  799. Part.Shape=
  800. Enum.PartType.Block
  801. Part.Name="Base"
  802. Part.Transparency=1
  803. Part.BrickColor= BrickColor.new("Medium stone grey")
  804. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  805. 0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0
  806. )
  807. AutoWeld(Part,Character["Left Arm"])
  808. Part.CanCollide=false
  809. Part.Material=
  810. Enum.Material.SmoothPlastic
  811.  
  812. -------------------------------------------------------------
  813. Part=Instance.new("Part",Character)
  814. Part.Size= Vector3.new(
  815. 4.88999748, 0.270000011, 0.38500011
  816. )
  817. Part.Shape=
  818. Enum.PartType.Block
  819. Part.Name="Stick"
  820. Part.BrickColor= BrickColor.new("Burnt Sienna")
  821. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  822. 0.0716470033, -1.0380317, 0.778614879, 0, 0, -1, 0, -1, -0, -1, 0, -0
  823. )
  824. AutoWeld(Part,Character["Left Arm"])
  825. Part.CanCollide=false
  826. Part.Material=
  827. Enum.Material.SmoothPlastic
  828. table.insert(Staff,Part)
  829.  
  830. -------------------------------------------------------------
  831. Part=Instance.new("Part",Character)
  832. Part.Size= Vector3.new(
  833. 0.910000563, 0.289999932, 0.38500011
  834. )
  835. Part.Shape=
  836. Enum.PartType.Block
  837. Part.Name="Stick"
  838. Part.BrickColor= BrickColor.new("Burnt Sienna")
  839. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  840. -0.188353002, -1.0380317, -1.88138556, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  841. )
  842. AutoWeld(Part,Character["Left Arm"])
  843. Part.CanCollide=false
  844. Part.Material=
  845. Enum.Material.SmoothPlastic
  846. table.insert(Staff,Part)
  847.  
  848. -------------------------------------------------------------
  849. Part=Instance.new("Part",Character)
  850. Part.Size= Vector3.new(
  851. 0.910000563, 0.289999902, 0.38500011
  852. )
  853. Part.Shape=
  854. Enum.PartType.Block
  855. Part.Name="Stick"
  856. Part.BrickColor= BrickColor.new("Burnt Sienna")
  857. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  858. -0.448352933, -1.0380317, -2.52138495, 0.0150980018, 0, -0.999886096, 0, -1, 0, -0.999886096, 0, -0.0150980027
  859. )
  860. AutoWeld(Part,Character["Left Arm"])
  861. Part.CanCollide=false
  862. Part.Material=
  863. Enum.Material.SmoothPlastic
  864. table.insert(Staff,Part)
  865.  
  866. -------------------------------------------------------------
  867. Part=Instance.new("Part",Character)
  868. Part.Size= Vector3.new(
  869. 0.640000582, 0.269999981, 0.38500011
  870. )
  871. Part.Shape=
  872. Enum.PartType.Block
  873. Part.Name="Stick"
  874. Part.BrickColor= BrickColor.new("Burnt Sienna")
  875. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  876. -0.277138978, -1.02803171, -3.09968996, -0.657677054, 0, -0.75330013, 0, 1, 0, 0.75330013, 0, -0.657677054
  877. )
  878. AutoWeld(Part,Character["Left Arm"])
  879. Part.CanCollide=false
  880. Part.Material=
  881. Enum.Material.SmoothPlastic
  882. table.insert(Staff,Part)
  883.  
  884. -------------------------------------------------------------
  885. Part=Instance.new("Part",Character)
  886. Part.Size= Vector3.new(
  887. 0.840000451, 0.229999989, 0.38500011
  888. )
  889. Part.Shape=
  890. Enum.PartType.Block
  891. Part.Name="Stick"
  892. Part.BrickColor= BrickColor.new("Burnt Sienna")
  893. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  894. 0.15343301, -1.02803171, -3.08046007, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  895. )
  896. AutoWeld(Part,Character["Left Arm"])
  897. Part.CanCollide=false
  898. Part.Material=
  899. Enum.Material.SmoothPlastic
  900. table.insert(Staff,Part)
  901.  
  902. -------------------------------------------------------------
  903. Part=Instance.new("Part",Character)
  904. Part.Size= Vector3.new(
  905. 0.470000386, 0.209999919, 0.935000181
  906. )
  907. Part.Shape=
  908. Enum.PartType.Block
  909. Part.Name="Stick"
  910. Part.BrickColor= BrickColor.new("Burnt Sienna")
  911. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  912. 0.433368087, -1.02803171, -3.25790405, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  913. )
  914. AutoWeld(Part,Character["Left Arm"])
  915. Part.CanCollide=false
  916. Part.Material=
  917. Enum.Material.SmoothPlastic
  918. table.insert(Staff,Part)
  919.  
  920. -------------------------------------------------------------
  921. Part=Instance.new("Part",Character)
  922. Part.Size= Vector3.new(
  923. 0.470000386, 0.189999968, 0.535000205
  924. )
  925. Part.Shape=
  926. Enum.PartType.Block
  927. Part.Name="Stick"
  928. Part.BrickColor= BrickColor.new("Burnt Sienna")
  929. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  930. 0.588867128, -1.02803171, -3.81795764, -0.99974674, 0, -0.0225039944, 0, -1, 0, -0.0225039944, 0, 0.99974674
  931. )
  932. AutoWeld(Part,Character["Left Arm"])
  933. Part.CanCollide=false
  934. Part.Material=
  935. Enum.Material.SmoothPlastic
  936. table.insert(Staff,Part)
  937.  
  938. -------------------------------------------------------------
  939. Part=Instance.new("Part",Character)
  940. Part.Size= Vector3.new(
  941. 0.22999993, 0.578461468, 0.473846316
  942. )
  943. Part.Shape=
  944. Enum.PartType.Block
  945. Part.Name="Ring"
  946. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  947. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  948. -0.298082978, -1.0380317, -2.00398445, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  949. )
  950. AutoWeld(Part,Character["Left Arm"])
  951. Part.CanCollide=false
  952. Part.Material=
  953. Enum.Material.Glass
  954. table.insert(Staff,Part)
  955.  
  956. -------------------------------------------------------------
  957. Part=Instance.new("Part",Character)
  958. Part.Size= Vector3.new(
  959. 0.22999993, 0.578461468, 0.473846316
  960. )
  961. Part.Shape=
  962. Enum.PartType.Block
  963. Part.Name="Ring"
  964. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  965. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  966. -0.118083, -1.0380317, -1.77398527, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  967. )
  968. AutoWeld(Part,Character["Left Arm"])
  969. Part.CanCollide=false
  970. Part.Material=
  971. Enum.Material.Glass
  972. table.insert(Staff,Part)
  973.  
  974. -------------------------------------------------------------
  975. Part=Instance.new("Part",Character)
  976. Part.Size= Vector3.new(
  977. 2.91999722, 0.340163469, 0.458857328
  978. )
  979. Part.Shape=
  980. Enum.PartType.Block
  981. Part.Name="Bandage"
  982. Part.BrickColor= BrickColor.new("Lily white")
  983. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  984. 0.0716470033, -1.0380317, 0.543615103, 0, 0, -1, 0, -1, -0, -1, 0, -0
  985. )
  986. AutoWeld(Part,Character["Left Arm"])
  987. Part.CanCollide=false
  988. Part.Material=
  989. Enum.Material.SmoothPlastic
  990. table.insert(Staff,Part)
  991.  
  992. -------------------------------------------------------------
  993. Part=Instance.new("Part",Character)
  994. Part.Size= Vector3.new(
  995. 0.669999778, 0.669999778, 0.669999778
  996. )
  997. Part.Shape=
  998. Enum.PartType.Ball
  999. Part.Name="Ball"
  1000. Part.BrickColor= BrickColor.new("Really red")
  1001. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1002. 0.141646966, -1.0380317, -2.46138406, 0, 0, -1, 0, -1, -0, -1, 0, -0
  1003. )
  1004. AutoWeld(Part,Character["Left Arm"])
  1005. Part.CanCollide=false
  1006. Part.Material=
  1007. Enum.Material.Glass
  1008. table.insert(Staff,Part)
  1009. -------------------------------------------------------------
  1010. for _,v in pairs(Staff) do
  1011. v.Transparency=1
  1012. end
  1013.  
  1014. function rayCast(Position, Direction, Range, Ignore)
  1015. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1016. end
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1024. sref.Anchored = true
  1025.  
  1026. local m = Create("Model"){
  1027. Parent = Character,
  1028. Name = "WeaponModel",
  1029. }
  1030. local shield=false
  1031.  
  1032. function chatfunc(text)
  1033. local chat = coroutine.wrap(function()
  1034. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1035. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1036. end
  1037. local naeeym2 = Instance.new("BillboardGui",Character)
  1038. naeeym2.Size = UDim2.new(0,100,0,40)
  1039. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1040. naeeym2.Adornee = Character.Head
  1041. naeeym2.Name = "TalkingBillBoard"
  1042. local tecks2 = Instance.new("TextLabel",naeeym2)
  1043. tecks2.BackgroundTransparency = 1
  1044. tecks2.BorderSizePixel = 0
  1045. tecks2.Text = ""
  1046. tecks2.Font = "Fantasy"
  1047. tecks2.FontSize = "Size32"
  1048. tecks2.TextStrokeTransparency = 0
  1049. tecks2.TextColor3 = Color3.new(.6,0,0)
  1050. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1051. tecks2.Size = UDim2.new(1,0,0.5,0)
  1052. local shk = coroutine.wrap(function()
  1053. while tecks2 ~= nil do
  1054. wait(.05)
  1055. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  1056. end
  1057. end)
  1058. shk()
  1059. for i = 1,string.len(text),1 do
  1060. tecks2.Text = string.sub(text,1,i)
  1061. wait(0.01)
  1062. end
  1063. wait(1)
  1064. for i = 1, 5 do
  1065. wait(.01)
  1066. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1067. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1068. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1069. end
  1070. naeeym2:Destroy()
  1071. end)
  1072. chat()
  1073. end
  1074.  
  1075. Player.Chatted:connect(function(msg)
  1076. if attack==false then
  1077. chatfunc(msg)
  1078. end
  1079. end)
  1080.  
  1081.  
  1082.  
  1083. Dis=Instance.new('Part',Character)
  1084. Dis.Transparency=1
  1085. Dis.Size=Vector3.new(20,1,20)
  1086. Dis.Anchored=true
  1087. Dis.CanCollide=false
  1088. dek=Instance.new('Decal',Dis)
  1089. dek.Face='Bottom'
  1090. dek.Texture='http://www.roblox.com/asset/?id=352764483'
  1091. dek.Transparency=1
  1092. AC=Instance.new('Attachment',Dis)
  1093. Dis.Name='Dis'
  1094. light=Instance.new('SurfaceLight',Character.Torso)
  1095. lightp=0
  1096. light.Face='Top'
  1097. while true do
  1098. light.Color=Color3.new(lightp,lightp,lightp)
  1099.  
  1100. if taunt==true then
  1101. lightp=TauntS.PlaybackLoudness/500
  1102. light.Enabled=true
  1103. else
  1104. lightp=0
  1105. light.Enabled=false
  1106. end
  1107. if attack==false then
  1108. dek.Transparency=1
  1109. else
  1110. dek.Transparency=0
  1111. end
  1112. Dis.CFrame=CFrame.new(ms.Hit.p.X,ms.Hit.p.Y,ms.Hit.p.Z)*CFrame.new(0,20,0)*CFrame.Angles(0,sine/2,0)
  1113. swait()
  1114. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1115. Character['Left Arm'].LocalTransparencyModifier=0
  1116. Character['Right Arm'].LocalTransparencyModifier=0
  1117. Character['Right Leg'].LocalTransparencyModifier=0
  1118. Character['Left Leg'].LocalTransparencyModifier=0
  1119. Character['Torso'].LocalTransparencyModifier=0
  1120.  
  1121. wait()
  1122. sine=sine+change
  1123. change=.1
  1124. if taunt==true and collapse==false then
  1125. if attack == false then
  1126. change = 2
  1127. PlayAnimationFromTable({
  1128. CFrame.new(-0, -0.331043243, -0.246173918) * CFrame.new(0,0+ math.cos(sine/2)*3, 0) * CFrame.Angles(0, math.rad(15 * math.cos(sine / 4)), 0),
  1129. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(15 * math.cos(sine/4)), 0),
  1130. CFrame.new(1.5 , 0 + .2 * math.cos(sine / 4 ) / 2, 0 - 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 4)), math.rad(3), math.rad(0)),
  1131. CFrame.new(-1.5 , 0 - .2 * math.cos(sine / 4) / 2, 0 + 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 4)), math.rad(-3), math.rad(0)),
  1132. CFrame.new(.5 , -1.64 - 1 * math.cos(sine / 4) / 2, 0 + 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 4)), math.rad(-3), math.rad(0)),
  1133. CFrame.new(-.5 , -1.64 + 1 * math.cos(sine / 4 ) / 2, 0 - 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 4)), math.rad(3), math.rad(0)),
  1134. ---root.RotVelocity.Y /20
  1135. }, .2, false)
  1136.  
  1137. end
  1138. end
  1139. if collapse==false then
  1140. if taunt==false then
  1141. Character.Humanoid.WalkSpeed=20
  1142. local speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1143.  
  1144.  
  1145. local TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1146. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1147. velocity = RootPart.Velocity.y
  1148. sine = sine + change
  1149. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1150. if RootPart.Velocity.y > 1 and hit == nil then
  1151. Anim = "Jump"
  1152. if attack == false then
  1153. PlayAnimationFromTable({
  1154. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1155. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1156. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1157. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1160. }, .3, false)
  1161. end
  1162. elseif RootPart.Velocity.y < -1 and hit == nil then
  1163. Anim = "Fall"
  1164. if attack == false then
  1165. PlayAnimationFromTable({
  1166. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1167. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1168. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1169. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1170. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1171. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1172. }, .3, false)
  1173. end
  1174. elseif Torsovelocity < 1 and hit ~= nil then
  1175. Anim = "Idle"
  1176. if attack == false then
  1177. change = 1
  1178. PlayAnimationFromTable({
  1179. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, .5, 0),
  1180. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  1181. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1183. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1184. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1185. }, .3, false)
  1186. end
  1187. elseif Torsovelocity > 2 and hit ~= nil then
  1188. Anim = "Walk"
  1189. if attack == false then
  1190. change = 2
  1191. PlayAnimationFromTable({
  1192. CFrame.new(-0, -0.331043243, -0.246173918) * CFrame.new(0, .1, 0) * CFrame.Angles(-.2, math.rad(-15 * math.cos(sine / 8)), 0+root.RotVelocity.Y/15),
  1193. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(.2, math.rad(15 * math.cos(sine / 8)), 0),
  1194. CFrame.new(1.5 , 0 + .2 * math.cos(sine / 8 ) / 2, 0 - 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1195. CFrame.new(-1.5 , 0 - .2 * math.cos(sine / 8) / 2, 0 + 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1196. CFrame.new(.5 , -1.64 - 1 * math.cos(sine / 8) / 2, 0 + 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1197. CFrame.new(-.5 , -1.64 + 1 * math.cos(sine / 8 ) / 2, 0 - 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1198. ---root.RotVelocity.Y /20
  1199. }, .2, false)
  1200. end
  1201. end
  1202. end
  1203. elseif collapse==true then
  1204. Character.Humanoid.WalkSpeed=0
  1205. PlayAnimationFromTable({
  1206. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, -3, 0) * CFrame.Angles(-1.5, 0, 0),
  1207. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1208. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.5),
  1209. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -.5),
  1210. CFrame.new(0.5,-1.8, 0) * CFrame.new(0.4, 0, 0) * CFrame.Angles(0, 0, .5),
  1211. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(-0.4, 0, 0) * CFrame.Angles(0, 0, -.5),
  1212. }, .2, false)
  1213. elseif attack==true then
  1214. Character.Humanoid.WalkSpeed=0
  1215.  
  1216. end
  1217. end
  1218. --https://www.hastebin.com/raw/fahamuqecu
Add Comment
Please, Sign In to add comment