Dudermonman

Mega Sukaira_J

May 5th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.16 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('Mega Sukaira')
  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('Really black')
  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=13070796'
  433. m3.TextureId='http://www.roblox.com/asset/?id=14765363'
  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 Sukaira,Controller of one 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('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 considers himself superior to us and dares call himself "strongest"!')
  676. end
  677. end
  678. end
  679.  
  680.  
  681. chatfunc('I shall obliterate him with your strongest fighters help!')
  682. StageTime=0
  683. Stage=3
  684. while Stage==3 do
  685. for i = 0, 1, 0.7 do
  686. swait()
  687. PlayAnimationFromTable({
  688. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  689. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  690. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  691. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(20, -.5, 0),
  692. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  693. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  694. },.5,false)
  695. end
  696. StageTime=StageTime+.03
  697. if StageTime>1.7 then
  698. Stage=Stage+1
  699. end
  700. end
  701.  
  702. StageTime=0
  703. for i = 0, 1, 0.7 do
  704. swait()
  705. PlayAnimationFromTable({
  706. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  707. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  708. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  709. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 1, 0) * CFrame.Angles(21, -.5, 0),
  710. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  711. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  712. },.5,false)
  713. end
  714. chatfunc('Explosion!')
  715. wait()
  716. Explosion:Play()
  717. HK:Remove()
  718. G=Instance.new('Part',Character)
  719. G.Size=Vector3.new(20,20,20)
  720. G.CanCollide=false
  721. G.Shape='Ball'
  722. G.Position=ms.Hit.p
  723. G.Transparency=.4
  724. G.Material='Neon'
  725. G.Anchored=true
  726. GEK=Instance.new('Explosion',G)
  727. GEK.BlastRadius=20
  728. GEK.BlastPressure=2
  729. GEK.DestroyJointRadiusPercent=2
  730. FF=Instance.new('ForceField',Character)
  731. FF.Visible=false
  732. Beam=Instance.new('Part',Character)
  733. Beam.BrickColor=BrickColor.new('Gold')
  734. Beam.Transparency=.5
  735. Beam.Anchored=true
  736. Beam.Material='Neon'
  737. local distance = (G.Position - Dis.Position).magnitude
  738. Beam.Size = Vector3.new(2, distance, 2)
  739. Beam.CFrame = CFrame.new(Dis.Position) * CFrame.new(0, -distance/2, 0)
  740.  
  741. GEK.Hit:connect(function(h)
  742. if h.Parent~=Character then
  743. h.Velocity=Vector3.new(math.random(-30,30),20,math.random(-30,30))
  744. end
  745. end)
  746. GEK.ExplosionType=Enum.ExplosionType.NoCraters
  747. GEK.Position=G.Position
  748. CFuncs.Sound.Create(539294959,G,1,1)
  749.  
  750. G.BrickColor=BrickColor.new('Gold')
  751. con1=G.Touched:connect(function(h)
  752. if h.Parent~=Character then
  753. h:remove()
  754. end
  755. end)
  756. K=Instance.new('BodyGyro',G)
  757. K.P=Vector3.new(0,100,0)
  758. wait(1)
  759. FF:remove()
  760. Dip:Remove()
  761. wait(1)
  762. G:remove()
  763. Beam:remove()
  764. bbgTl.Text=" "
  765. attack = false
  766. collapse=true
  767. end
  768.  
  769. reload2=false
  770.  
  771. collapse=false
  772. taunt=false
  773. Mouse.Button1Down:connect(function()
  774. if scoobis==true and reload2==false and taunt==false then
  775. reload2=true
  776. Attack()
  777. scoobis=false
  778. KML:stop()
  779. for _,v in pairs(Staff) do
  780. v.Transparency=1
  781. end
  782. hb.Transparency=0
  783. wait(5)
  784. collapse=false
  785. reload2=false
  786.  
  787.  
  788. end
  789. end)
  790. Staff={
  791.  
  792. }
  793.  
  794. Part=Instance.new("Part",Character)
  795. Part.Size= Vector3.new(
  796. 1, 2, 1
  797. )
  798. Part.Shape=
  799. Enum.PartType.Block
  800. Part.Name="Base"
  801. Part.Transparency=1
  802. Part.BrickColor= BrickColor.new("Medium stone grey")
  803. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  804. 0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0
  805. )
  806. AutoWeld(Part,Character["Left Arm"])
  807. Part.CanCollide=false
  808. Part.Material=
  809. Enum.Material.SmoothPlastic
  810.  
  811. -------------------------------------------------------------
  812. Part=Instance.new("Part",Character)
  813. Part.Size= Vector3.new(
  814. 4.88999748, 0.270000011, 0.38500011
  815. )
  816. Part.Shape=
  817. Enum.PartType.Block
  818. Part.Name="Stick"
  819. Part.BrickColor= BrickColor.new("Burnt Sienna")
  820. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  821. 0.0716470033, -1.0380317, 0.778614879, 0, 0, -1, 0, -1, -0, -1, 0, -0
  822. )
  823. AutoWeld(Part,Character["Left Arm"])
  824. Part.CanCollide=false
  825. Part.Material=
  826. Enum.Material.SmoothPlastic
  827. table.insert(Staff,Part)
  828.  
  829. -------------------------------------------------------------
  830. Part=Instance.new("Part",Character)
  831. Part.Size= Vector3.new(
  832. 0.910000563, 0.289999932, 0.38500011
  833. )
  834. Part.Shape=
  835. Enum.PartType.Block
  836. Part.Name="Stick"
  837. Part.BrickColor= BrickColor.new("Burnt Sienna")
  838. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  839. -0.188353002, -1.0380317, -1.88138556, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  840. )
  841. AutoWeld(Part,Character["Left Arm"])
  842. Part.CanCollide=false
  843. Part.Material=
  844. Enum.Material.SmoothPlastic
  845. table.insert(Staff,Part)
  846.  
  847. -------------------------------------------------------------
  848. Part=Instance.new("Part",Character)
  849. Part.Size= Vector3.new(
  850. 0.910000563, 0.289999902, 0.38500011
  851. )
  852. Part.Shape=
  853. Enum.PartType.Block
  854. Part.Name="Stick"
  855. Part.BrickColor= BrickColor.new("Burnt Sienna")
  856. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  857. -0.448352933, -1.0380317, -2.52138495, 0.0150980018, 0, -0.999886096, 0, -1, 0, -0.999886096, 0, -0.0150980027
  858. )
  859. AutoWeld(Part,Character["Left Arm"])
  860. Part.CanCollide=false
  861. Part.Material=
  862. Enum.Material.SmoothPlastic
  863. table.insert(Staff,Part)
  864.  
  865. -------------------------------------------------------------
  866. Part=Instance.new("Part",Character)
  867. Part.Size= Vector3.new(
  868. 0.640000582, 0.269999981, 0.38500011
  869. )
  870. Part.Shape=
  871. Enum.PartType.Block
  872. Part.Name="Stick"
  873. Part.BrickColor= BrickColor.new("Burnt Sienna")
  874. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  875. -0.277138978, -1.02803171, -3.09968996, -0.657677054, 0, -0.75330013, 0, 1, 0, 0.75330013, 0, -0.657677054
  876. )
  877. AutoWeld(Part,Character["Left Arm"])
  878. Part.CanCollide=false
  879. Part.Material=
  880. Enum.Material.SmoothPlastic
  881. table.insert(Staff,Part)
  882.  
  883. -------------------------------------------------------------
  884. Part=Instance.new("Part",Character)
  885. Part.Size= Vector3.new(
  886. 0.840000451, 0.229999989, 0.38500011
  887. )
  888. Part.Shape=
  889. Enum.PartType.Block
  890. Part.Name="Stick"
  891. Part.BrickColor= BrickColor.new("Burnt Sienna")
  892. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  893. 0.15343301, -1.02803171, -3.08046007, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  894. )
  895. AutoWeld(Part,Character["Left Arm"])
  896. Part.CanCollide=false
  897. Part.Material=
  898. Enum.Material.SmoothPlastic
  899. table.insert(Staff,Part)
  900.  
  901. -------------------------------------------------------------
  902. Part=Instance.new("Part",Character)
  903. Part.Size= Vector3.new(
  904. 0.470000386, 0.209999919, 0.935000181
  905. )
  906. Part.Shape=
  907. Enum.PartType.Block
  908. Part.Name="Stick"
  909. Part.BrickColor= BrickColor.new("Burnt Sienna")
  910. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  911. 0.433368087, -1.02803171, -3.25790405, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  912. )
  913. AutoWeld(Part,Character["Left Arm"])
  914. Part.CanCollide=false
  915. Part.Material=
  916. Enum.Material.SmoothPlastic
  917. table.insert(Staff,Part)
  918.  
  919. -------------------------------------------------------------
  920. Part=Instance.new("Part",Character)
  921. Part.Size= Vector3.new(
  922. 0.470000386, 0.189999968, 0.535000205
  923. )
  924. Part.Shape=
  925. Enum.PartType.Block
  926. Part.Name="Stick"
  927. Part.BrickColor= BrickColor.new("Burnt Sienna")
  928. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  929. 0.588867128, -1.02803171, -3.81795764, -0.99974674, 0, -0.0225039944, 0, -1, 0, -0.0225039944, 0, 0.99974674
  930. )
  931. AutoWeld(Part,Character["Left Arm"])
  932. Part.CanCollide=false
  933. Part.Material=
  934. Enum.Material.SmoothPlastic
  935. table.insert(Staff,Part)
  936.  
  937. -------------------------------------------------------------
  938. Part=Instance.new("Part",Character)
  939. Part.Size= Vector3.new(
  940. 0.22999993, 0.578461468, 0.473846316
  941. )
  942. Part.Shape=
  943. Enum.PartType.Block
  944. Part.Name="Ring"
  945. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  946. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  947. -0.298082978, -1.0380317, -2.00398445, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  948. )
  949. AutoWeld(Part,Character["Left Arm"])
  950. Part.CanCollide=false
  951. Part.Material=
  952. Enum.Material.Glass
  953. table.insert(Staff,Part)
  954.  
  955. -------------------------------------------------------------
  956. Part=Instance.new("Part",Character)
  957. Part.Size= Vector3.new(
  958. 0.22999993, 0.578461468, 0.473846316
  959. )
  960. Part.Shape=
  961. Enum.PartType.Block
  962. Part.Name="Ring"
  963. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  964. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  965. -0.118083, -1.0380317, -1.77398527, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  966. )
  967. AutoWeld(Part,Character["Left Arm"])
  968. Part.CanCollide=false
  969. Part.Material=
  970. Enum.Material.Glass
  971. table.insert(Staff,Part)
  972.  
  973. -------------------------------------------------------------
  974. Part=Instance.new("Part",Character)
  975. Part.Size= Vector3.new(
  976. 2.91999722, 0.340163469, 0.458857328
  977. )
  978. Part.Shape=
  979. Enum.PartType.Block
  980. Part.Name="Bandage"
  981. Part.BrickColor= BrickColor.new("Lily white")
  982. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  983. 0.0716470033, -1.0380317, 0.543615103, 0, 0, -1, 0, -1, -0, -1, 0, -0
  984. )
  985. AutoWeld(Part,Character["Left Arm"])
  986. Part.CanCollide=false
  987. Part.Material=
  988. Enum.Material.SmoothPlastic
  989. table.insert(Staff,Part)
  990.  
  991. -------------------------------------------------------------
  992. Part=Instance.new("Part",Character)
  993. Part.Size= Vector3.new(
  994. 0.669999778, 0.669999778, 0.669999778
  995. )
  996. Part.Shape=
  997. Enum.PartType.Ball
  998. Part.Name="Ball"
  999. Part.BrickColor= BrickColor.new("Really red")
  1000. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1001. 0.141646966, -1.0380317, -2.46138406, 0, 0, -1, 0, -1, -0, -1, 0, -0
  1002. )
  1003. AutoWeld(Part,Character["Left Arm"])
  1004. Part.CanCollide=false
  1005. Part.Material=
  1006. Enum.Material.Glass
  1007. table.insert(Staff,Part)
  1008. -------------------------------------------------------------
  1009. for _,v in pairs(Staff) do
  1010. v.Transparency=1
  1011. end
  1012.  
  1013. function rayCast(Position, Direction, Range, Ignore)
  1014. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1015. end
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1023. sref.Anchored = true
  1024.  
  1025. local m = Create("Model"){
  1026. Parent = Character,
  1027. Name = "WeaponModel",
  1028. }
  1029. local shield=false
  1030.  
  1031. function chatfunc(text)
  1032. local chat = coroutine.wrap(function()
  1033. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1034. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1035. end
  1036. local naeeym2 = Instance.new("BillboardGui",Character)
  1037. naeeym2.Size = UDim2.new(0,100,0,40)
  1038. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1039. naeeym2.Adornee = Character.Head
  1040. naeeym2.Name = "TalkingBillBoard"
  1041. local tecks2 = Instance.new("TextLabel",naeeym2)
  1042. tecks2.BackgroundTransparency = 1
  1043. tecks2.BorderSizePixel = 0
  1044. tecks2.Text = ""
  1045. tecks2.Font = "Fantasy"
  1046. tecks2.FontSize = "Size32"
  1047. tecks2.TextStrokeTransparency = 0
  1048. tecks2.TextColor3 = Color3.new(.6,0,0)
  1049. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1050. tecks2.Size = UDim2.new(1,0,0.5,0)
  1051. local shk = coroutine.wrap(function()
  1052. while tecks2 ~= nil do
  1053. wait(.05)
  1054. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  1055. end
  1056. end)
  1057. shk()
  1058. for i = 1,string.len(text),1 do
  1059. tecks2.Text = string.sub(text,1,i)
  1060. wait(0.01)
  1061. end
  1062. wait(1)
  1063. for i = 1, 5 do
  1064. wait(.01)
  1065. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1066. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1067. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1068. end
  1069. naeeym2:Destroy()
  1070. end)
  1071. chat()
  1072. end
  1073.  
  1074. Player.Chatted:connect(function(msg)
  1075. if attack==false then
  1076. chatfunc(msg)
  1077. end
  1078. end)
  1079.  
  1080.  
  1081.  
  1082. Dis=Instance.new('Part',Character)
  1083. Dis.Transparency=1
  1084. Dis.Size=Vector3.new(20,1,20)
  1085. Dis.Anchored=true
  1086. Dis.CanCollide=false
  1087. dek=Instance.new('Decal',Dis)
  1088. dek.Face='Bottom'
  1089. dek.Texture='http://www.roblox.com/asset/?id=352764483'
  1090. dek.Transparency=1
  1091. AC=Instance.new('Attachment',Dis)
  1092. Dis.Name='Dis'
  1093. light=Instance.new('SurfaceLight',Character.Torso)
  1094. lightp=0
  1095. light.Face='Top'
  1096. while true do
  1097. light.Color=Color3.new(lightp,lightp,lightp)
  1098.  
  1099. if taunt==true then
  1100. lightp=TauntS.PlaybackLoudness/500
  1101. light.Enabled=true
  1102. else
  1103. lightp=0
  1104. light.Enabled=false
  1105. end
  1106. if attack==false then
  1107. dek.Transparency=1
  1108. else
  1109. dek.Transparency=0
  1110. end
  1111. 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)
  1112. swait()
  1113. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1114. Character['Left Arm'].LocalTransparencyModifier=0
  1115. Character['Right Arm'].LocalTransparencyModifier=0
  1116. Character['Right Leg'].LocalTransparencyModifier=0
  1117. Character['Left Leg'].LocalTransparencyModifier=0
  1118. Character['Torso'].LocalTransparencyModifier=0
  1119.  
  1120. wait()
  1121. sine=sine+change
  1122. change=.1
  1123. if taunt==true and collapse==false then
  1124. if attack == false then
  1125. change = 2
  1126. PlayAnimationFromTable({
  1127. 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),
  1128. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(15 * math.cos(sine/4)), 0),
  1129. 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)),
  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(.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)),
  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. ---root.RotVelocity.Y /20
  1134. }, .2, false)
  1135.  
  1136. end
  1137. end
  1138. if collapse==false then
  1139. if taunt==false then
  1140. Character.Humanoid.WalkSpeed=20
  1141. local speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1142.  
  1143.  
  1144. local TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1145. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1146. velocity = RootPart.Velocity.y
  1147. sine = sine + change
  1148. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1149. if RootPart.Velocity.y > 1 and hit == nil then
  1150. Anim = "Jump"
  1151. if attack == false then
  1152. PlayAnimationFromTable({
  1153. 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),
  1154. 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),
  1155. 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),
  1156. 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),
  1157. 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),
  1158. 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),
  1159. }, .3, false)
  1160. end
  1161. elseif RootPart.Velocity.y < -1 and hit == nil then
  1162. Anim = "Fall"
  1163. if attack == false then
  1164. PlayAnimationFromTable({
  1165. 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),
  1166. 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),
  1167. 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),
  1168. 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),
  1169. 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),
  1170. 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),
  1171. }, .3, false)
  1172. end
  1173. elseif Torsovelocity < 1 and hit ~= nil then
  1174. Anim = "Idle"
  1175. if attack == false then
  1176. change = 1
  1177. PlayAnimationFromTable({
  1178. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, .5, 0),
  1179. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  1180. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. CFrame.new(0.5,-1.8, 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. }, .3, false)
  1185. end
  1186. elseif Torsovelocity > 2 and hit ~= nil then
  1187. Anim = "Walk"
  1188. if attack == false then
  1189. change = 2
  1190. PlayAnimationFromTable({
  1191. 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),
  1192. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(.2, math.rad(15 * math.cos(sine / 8)), 0),
  1193. 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)),
  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(.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)),
  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. ---root.RotVelocity.Y /20
  1198. }, .2, false)
  1199. end
  1200. end
  1201. end
  1202. elseif collapse==true then
  1203. Character.Humanoid.WalkSpeed=0
  1204. PlayAnimationFromTable({
  1205. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, -3, 0) * CFrame.Angles(-1.5, 0, 0),
  1206. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1207. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.5),
  1208. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -.5),
  1209. CFrame.new(0.5,-1.8, 0) * CFrame.new(0.4, 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. }, .2, false)
  1212. elseif attack==true then
  1213. Character.Humanoid.WalkSpeed=0
  1214.  
  1215. end
  1216. end
  1217. --https://www.hastebin.com/raw/fahamuqecu
Add Comment
Please, Sign In to add comment