Explosin59

saiyan

Jul 19th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 46.92 KB | None | 0 0
  1. ---------------------------------- Saiyan ---------------------------------
  2.  
  3.  
  4. Player = game:GetService("Players").LocalPlayer
  5. Character = Player.Character
  6. PlayerGui = Player.PlayerGui
  7. Backpack = Player.Backpack
  8. Torso = Character.Torso
  9. Head = Character.Head
  10. Humanoid = Character.Humanoid
  11. LeftArm = Character["Left Arm"]
  12. LeftLeg = Character["Left Leg"]
  13. RightArm = Character["Right Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19. Neck = Torso.Neck
  20. it = Instance.new
  21. vt = Vector3.new
  22. cf = CFrame.new
  23. euler = CFrame.fromEulerAnglesXYZ
  24. angles = CFrame.Angles
  25. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  26. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  27. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  28. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  29. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  30. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  31. RootPart = Character.HumanoidRootPart
  32. RootJoint = RootPart.RootJoint
  33. RootCF = euler(-1.57, 0, 3.14)
  34. attack = false
  35. attackdebounce = false
  36. MMouse = nil
  37. combo = 0
  38. local hitfloor, posfloor = nil, nil
  39. local idle = 0
  40. local Anim = "Idle"
  41. local Effects = {}
  42. local Weapon = {}
  43. local Welds = {}
  44. local arcorb = false
  45. local decreaseatk = 0
  46. local decreasedef = 0
  47. local decreasemvmt = 0
  48. local Obelisks = {}
  49. local maxobelisks = 1
  50. local manaregain = 8
  51. local passivenum = 30
  52. local p = game.Players.LocalPlayer
  53. --if p.Name~='UniversalDespair' and p.Name~='hasang1' then p.Character:Destroy() script:Destroy() return end
  54. local char = p.Character
  55. local mouse = p:GetMouse()
  56. local larm = char["Left Arm"]
  57. local rarm = char["Right Arm"]
  58. local lleg = char["Left Leg"]
  59. local rleg = char["Right Leg"]
  60. local hed = char.Head
  61. local torso = char.Torso
  62. local hum = char.Humanoid
  63. local cam = game.Workspace.CurrentCamera
  64. local root = char.HumanoidRootPart
  65. local deb = false
  66. local shot = 0
  67. local debris=game:service"Debris"
  68. local l = game:GetService("Lighting")
  69. local rs = game:GetService("RunService").RenderStepped
  70. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  71. math.randomseed(os.time())
  72. local eColors={'New Yeller','Mulberry'}
  73.  hum.WalkSpeed = 5
  74.  
  75.  
  76. CV="Really black"
  77.  
  78. local txt = Instance.new("BillboardGui", Character)
  79. txt.Adornee = Character .Head
  80. txt.Name = "_status"
  81. txt.Size = UDim2.new(2, 0, 1.2, 0)
  82. txt.StudsOffset = Vector3.new(-9, 8, 0)
  83. local text = Instance.new("TextLabel", txt)
  84. text.Size = UDim2.new(10, 0, 7, 0)
  85. text.FontSize = "Size24"
  86. text.TextScaled = true
  87. text.TextTransparency = 0
  88. text.BackgroundTransparency = 1
  89. text.TextTransparency = 0
  90. text.TextStrokeTransparency = 0
  91. text.Font = "SciFi"
  92. text.TextStrokeColor3 = Color3.new(eColors[math.random(1,#eColors)])
  93.  
  94. B=Instance.new("Part")
  95. B.Name = "ColorBrick"
  96. B.Parent=Player.Character
  97. B.FormFactor="Symmetric"
  98. B.Anchored=true
  99. B.CanCollide=false
  100. B.BottomSurface="Smooth"
  101. B.TopSurface="Smooth"
  102. B.Size=Vector3.new(10,5,3)
  103. B.Transparency=1
  104. B.CFrame=Character.Torso.CFrame
  105. B.BrickColor=BrickColor.new(CV)
  106. B.Transparency=1
  107. text.TextColor3 = Color3.new(0,0,0)
  108. B.Shape="Block"
  109. text.Text = "Saiyan"
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120. USSJG = Instance.new("Sound", char)
  121. USSJG.SoundId = "rbxassetid://180348469"
  122. USSJG.Looped = true
  123. USSJG.Pitch = 1
  124. USSJG.Volume = 1
  125. USSJG.Looped=true
  126. -------------------
  127. GDSSGJ = Instance.new("Sound", char)
  128. GDSSGJ.SoundId = "rbxassetid://170825871"
  129. GDSSGJ.Looped = true
  130. GDSSGJ.Pitch = .9
  131. GDSSGJ.Volume = 1
  132. GDSSGJ.Looped=true
  133. -------------------
  134. FSSJ = Instance.new("Sound", char)
  135. FSSJ.SoundId = "rbxassetid://389735710"
  136. FSSJ.Looped = true
  137. FSSJ.Pitch = .9
  138. FSSJ.Volume = 1
  139. FSSJ.Looped=true
  140. -----------
  141. LSSJ3 = Instance.new("Sound", char)
  142. LSSJ3.SoundId = "rbxassetid://318618562"
  143. LSSJ3.Looped = true
  144. LSSJ3.Pitch = 1
  145. LSSJ3.Volume = 1
  146. LSSJ3.Looped=true
  147. -----------
  148. SSJP = Instance.new("Sound", char)
  149. SSJP.SoundId = "rbxassetid://167569694"
  150. SSJP.Looped = true
  151. SSJP.Pitch = .9
  152. SSJP.Volume = 1
  153. SSJP.Looped=true
  154. -----------
  155. ssj100 = Instance.new("Sound", char)
  156. ssj100.SoundId = "rbxassetid://407426418"
  157. ssj100.Looped = true
  158. ssj100.Pitch = .9
  159. ssj100.Volume = 1
  160. ssj100.Looped=true
  161. -----------
  162. ssj15 = Instance.new("Sound", char)
  163. ssj15.SoundId = "rbxassetid://566504907"
  164. ssj15.Looped = true
  165. ssj15.Pitch = .9
  166. ssj15.Volume = 1     --155166013
  167. ssj15.Looped=true
  168. -------------------
  169. ssj10 = Instance.new("Sound", char)
  170. ssj10.SoundId = "rbxassetid://411368002"
  171. ssj10.Looped = true
  172. ssj10.Pitch = .55
  173. ssj10.Volume = 1
  174. ssj10.Looped=true
  175. -----------
  176. ssj8 = Instance.new("Sound", char)
  177. ssj8.SoundId = "rbxassetid://363150145"
  178. ssj8.Looped = true
  179. ssj8.Pitch = .9
  180. ssj8.Volume = 1
  181. ssj8.Looped=true
  182. -------------
  183. starter = Instance.new("Sound", char)
  184. starter.SoundId = "rbxassetid://318618562"
  185. starter.Looped = false
  186. starter.Pitch = 1
  187. starter.Volume = 1
  188. starter.Looped=true
  189. local forms={
  190.     normie={
  191.     Face=Head:FindFirstChild'face'.Texture,
  192.     HairCol='Mulberry',
  193.     AttacksCol={'New Yeller','Mulberry'},
  194.     DamageMultiplier=.05
  195.     },
  196.     ssj={
  197.     Shirt = "http://www.roblox.com/asset/?id=384893377",
  198.     Pants = "http://www.roblox.com/asset/?id=385699645",
  199.     Music = starter ,
  200.     Face = "rbxassetid://105701482",
  201.     HairCol = 'Gold',
  202.     AttacksCol = {'Really blue','Really black'},
  203.     DamageMultiplier=.5,
  204.         skincol='Pastel brown' 
  205.     },
  206.     ssj8={
  207.     Shirt = "http://www.roblox.com/asset/?id=343093063",
  208.     Pants = "http://www.roblox.com/asset/?id=343093096",
  209.     Music = ssj8,
  210.     Face = "rbxassetid://471767295",
  211.     HairCol = 'Mid gray',
  212.     AttacksCol = {'Really red','Really black'},
  213.     DamageMultiplier=8,
  214.             skincol='Pastel brown'     
  215.     },
  216.     ssj10={
  217.     Shirt = "http://www.roblox.com/asset/?id=324383273",
  218.     Pants = "http://www.roblox.com/asset/?id=324580114",
  219.     Music = ssj10,
  220.     Face = "rbxassetid://439123648",
  221.     HairCol = 'Dark stone gray',
  222.     AttacksCol = {'Mid gray'},
  223.     DamageMultiplier=10,   
  224.     skincol='Sand blue'    
  225.     },
  226.     ssj15={
  227.     Shirt = "http://www.roblox.com/asset/?id=321673204",
  228.     Pants = "http://www.roblox.com/asset/?id=321975908",
  229.     Music = ssj15,
  230.     Face= 'rbxassetid://471767258',
  231.     HairCol = 'Cyan',
  232.     AttacksCol = {'Cyan'},
  233.     skincol='Pastel brown',
  234.     DamageMultiplier=25,
  235.             skincol='Pastel brown'                 
  236.     },
  237.     ssj100={
  238.     Shirt = "http://www.roblox.com/asset/?id=365942224",
  239.     Pants = "http://www.roblox.com/asset/?id=365942308",
  240.     Music = ssj100,
  241.     Face= 'rbxassetid://105702096',
  242.     HairCol = 'Really black',
  243.     AttacksCol = {'Earth green','Black'},
  244.     DamageMultiplier=100,  
  245.             skincol='Pastel brown'             
  246.     },
  247.         ssjp={
  248.     Shirt = "http://www.roblox.com/asset/?id=410058249",
  249.     Pants = "http://www.roblox.com/asset/?id=410058287",
  250.     Music = SSJP,
  251.     Face= 'rbxassetid://105701707',
  252.     HairCol = 'Hot pink',
  253.     AttacksCol = {'Hot pink','Teal'},
  254.     DamageMultiplier=125,  
  255.             skincol='Pastel brown'             
  256.         },
  257.                 lssj3={
  258.     Shirt = "http://www.roblox.com/asset/?id=281168326",
  259.     Pants = "http://www.roblox.com/asset/?id=281836003",
  260.     Music = LSSJ3,
  261.     Face= 'rbxassetid://365335647',
  262.     HairCol = 'Lime green',
  263.     AttacksCol = {'Lime green','Really black'},
  264.     DamageMultiplier=125,  
  265.                 skincol='Pastel yellow'
  266.                
  267.         },
  268.                 fssj={
  269.     Shirt = "http://www.roblox.com/asset/?id=446353886",
  270.     Pants = "http://www.roblox.com/asset/?id=445832561",
  271.     Music = FSSJ,
  272.     Face= 'rbxassetid://105701828',
  273.     HairCol = 'Maroon',
  274.     AttacksCol = {'Buttermilk','Maroon'},
  275.     DamageMultiplier=150,  
  276.             skincol='Pastel brown'             
  277.     },
  278.    
  279.     gdssgj={
  280.     Shirt = "http://www.roblox.com/asset/?id=309379549", --363749654
  281.     Pants = "http://www.roblox.com/asset/?id=309379744", --343069229
  282.     Music = GDSSGJ,
  283.     Face= 'rbxassetid://471907208',
  284.     HairCol = 'Pastel yellow',
  285.     AttacksCol = {'Institutional white','Really black'},
  286.     DamageMultiplier=200,  
  287.             skincol='Pastel brown'             
  288.     },
  289.     ussjg={
  290.     Shirt = "http://www.roblox.com/asset/?id=317264886", --363749654
  291.     Pants = "http://www.roblox.com/asset/?id=317265125", --343069229
  292.     Music = USSJG,
  293.     Face= 'rbxassetid://434456664',
  294.     HairCol = 'Bright violet',
  295.     AttacksCol = {'Royal purple','Alder'},
  296.     DamageMultiplier=math.huge,        
  297.             skincol='Light orange'         
  298.     },
  299. }
  300. mode='normie'
  301. local bc=char:WaitForChild'Body Colors'
  302. local morph=function(mo)
  303.     local to=forms[mo]
  304.     local shirt=char:FindFirstChild'Shirt'
  305.     local pants=char:FindFirstChild'Pants'
  306.     local face=hed:FindFirstChild'face'
  307.     if not shirt then shirt=Instance.new('Shirt',char) end
  308.     if not pants then pants=Instance.new('Pants',char) end
  309.     if not face then face=Instance.new('Decal',hed) end
  310.     if to.Shirt and to.Pants and to.Face then
  311.     shirt.ShirtTemplate=to.Shirt
  312.     pants.PantsTemplate=to.Pants
  313.     face.Texture = to.Face
  314.     end
  315.     if to.skincol then
  316.     bc.HeadColor = BrickColor.new(to.skincol)
  317.     bc.TorsoColor = BrickColor.new(to.skincol)
  318.     bc.LeftArmColor = BrickColor.new(to.skincol)
  319.     bc.RightArmColor = BrickColor.new(to.skincol)
  320.     bc.LeftLegColor = BrickColor.new(to.skincol)
  321.     bc.RightLegColor = BrickColor.new(to.skincol)
  322.     end
  323.     if char:FindFirstChild'Hair' then
  324.     if to.HairCol~='nil' then
  325.     for _,v in pairs(char.Hair:GetChildren()) do
  326.         if v:IsA'BasePart' and v.Name=='Part' then
  327.             v.Transparency=0
  328.             v.BrickColor=BrickColor.new(to.HairCol)
  329.         end
  330.     end
  331.     else
  332.     for _,v in pairs(char.Hair:GetChildren()) do
  333.         if v:IsA'BasePart' and v.Name=='Part' then
  334.             v.Transparency=1
  335.         end
  336.     end
  337.     end
  338.     end
  339.     for _,v in pairs(char:GetChildren()) do
  340.         if v:IsA'Sound' then
  341.             v:Stop()
  342.         end
  343.     end
  344.     if to.Music then
  345.     to.Music:Play()
  346.     end
  347. end
  348. spawn(function()
  349.     while true do
  350.         wait()
  351.         eColors=forms[mode].AttacksCol
  352.     end
  353. end)
  354. morph(mode)
  355.  
  356.  
  357. Debounces = {
  358. CanAttack = true;
  359. NoIdl = false;
  360. Slashing = false;
  361. Slashed = false;
  362. RPunch = false;
  363. RPunched = false;
  364. LPunch = false;
  365. LPunched = false;
  366. }
  367. local Touche = {char.Name, }
  368.  
  369. function NoOutline(Part)
  370. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  371. end
  372. function lerp(a, b, t) -- Linear interpolation
  373.         return a + (b - a)*t
  374. end
  375.  
  376. function slerp(a, b, t) --Spherical interpolation
  377.         dot = a:Dot(b)
  378.         if dot > 0.99999 or dot < -0.99999 then
  379.                 return t <= 0.5 and a or b
  380.         else
  381.                 r = math.acos(dot)
  382.                 return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  383.         end
  384. end
  385.  
  386. function matrixInterpolate(a, b, t)
  387.         local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  388.         local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  389.         local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  390.         local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
  391.         local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
  392.         local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
  393.         local t = v1:Dot(v2)
  394.         if not (t < 0 or t == 0 or t > 0) then         -- Failsafe
  395.                 return CFrame.new()
  396.         end
  397.         return CFrame.new(
  398.         v0.x, v0.y, v0.z,
  399.         v1.x, v1.y, v1.z,
  400.         v2.x, v2.y, v2.z,
  401.         v3.x, v3.y, v3.z)
  402. end
  403. ----------------------------------------------------
  404. function genWeld(a,b)
  405.     local w = Instance.new("Weld",a)
  406.     w.Part0 = a
  407.     w.Part1 = b
  408.     return w
  409. end
  410. function weld(a, b)
  411.     local weld = Instance.new("Weld")
  412.     weld.Name = "W"
  413.     weld.Part0 = a
  414.     weld.Part1 = b
  415.     weld.C0 = a.CFrame:inverse() * b.CFrame
  416.     weld.Parent = a
  417.     return weld;
  418. end
  419. ----------------------------------------------------
  420. function Lerp(c1,c2,al)
  421. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  422. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  423. for i,v in pairs(com1) do
  424. com1[i] = v+(com2[i]-v)*al
  425. end
  426. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  427. end
  428. ----------------------------------------------------
  429. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  430. local wld = Instance.new("Weld", wp1)
  431. wld.Part0 = wp0
  432. wld.Part1 = wp1
  433. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  434. end
  435. ----------------------------------------------------
  436. function weld5(part0, part1, c0, c1)
  437.     weeld=Instance.new("Weld", part0)
  438.     weeld.Part0=part0
  439.     weeld.Part1=part1
  440.     weeld.C0=c0
  441.     weeld.C1=c1
  442.     return weeld
  443. end
  444. ----------------------------------------------------
  445. function HasntTouched(plrname)
  446. local ret = true
  447. for _, v in pairs(Touche) do
  448. if v == plrname then
  449. ret = false
  450. end
  451. end
  452. return ret
  453. end
  454. ----------------------------------------------------
  455. newWeld(torso, larm, -1.5, 0.5, 0)
  456. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  457. newWeld(torso, rarm, 1.5, 0.5, 0)
  458. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  459. newWeld(torso, hed, 0, 1.5, 0)
  460. newWeld(torso, lleg, -0.5, -1, 0)
  461. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  462. newWeld(torso, rleg, 0.5, -1, 0)
  463. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  464. newWeld(root, torso, 0, -1, 0)
  465. torso.Weld.C1 = CFrame.new(0, -1, 0)
  466. ----------------------------------------------------
  467.  
  468. Charging = false
  469. chargewait = false
  470. holy=false 
  471. so = function(id,par,vol,pit)
  472. coroutine.resume(coroutine.create(function()
  473. local sou = Instance.new("Sound",par or workspace)
  474. sou.Volume=vol
  475. sou.Pitch=pit or 1
  476. sou.SoundId=id
  477. sou:play()
  478. game:GetService("Debris"):AddItem(sou,6)
  479. end))
  480. end
  481. mouse.KeyDown:connect(function(key)--_RHas
  482.     if key == "h" or key == 'j' then
  483.         if Charging == false and chargewait == false then
  484.             Charging = true
  485.             chargewait = true
  486.             if Debounces.CanAttack == true then
  487.                 Debounces.CanAttack = false
  488.                 Debounces.NoIdl = true
  489.                 Debounces.on = true
  490.                 for i = 1,20 do
  491.                     rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  492.                     larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  493.                     hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  494.                     torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  495.                     lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  496.                     rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  497.                     if Debounces.on == false then break end
  498.                     rs:wait()
  499.                 end
  500. mode=mode:lower()
  501. if key=='h' then
  502. if mode=='normie' then mode='ssj' elseif mode=='ssj' then mode='ssj8' elseif mode=='ssj8' then mode='ssj10' elseif mode=='ssj10' then mode='ssj15' elseif mode=='ssj15' then mode='ssj100' elseif mode=='ssj100' then mode='ssjp' elseif mode=='ssjp' then mode='lssj3' elseif mode=='lssj3' then mode='fssj' elseif mode=='fssj' then mode='gdssgj' elseif mode=='gdssgj' then mode='ussjg' end
  503. elseif key=='j' then
  504. if mode=='ussjg' then mode='gdssgj' elseif mode=="gdssgj" then mode='fssj' elseif mode=='fssj' then mode='lssj3' elseif mode=='lssj3' then mode='ssjp' elseif mode=='ssjp' then mode='ssj100' elseif mode=='ssj100' then mode='ssj15' elseif mode=='ssj15' then mode='ssj10' elseif mode=='ssj10' then mode='ssj8' elseif mode=='ssj8' then mode='ssj' elseif mode=='ssj' then mode='normie' end
  505. end
  506. print(mode)
  507. morph(mode)
  508. wait(0)
  509. pt=Instance.new('Part',torso)
  510. pt.Anchored=true
  511. pt.CanCollide=false
  512. pt.Locked = true
  513. pt.Material = "Neon"
  514. pt.FormFactor='Custom'
  515. pt.Size=Vector3.new(1,1,1)
  516. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  517. pt.Transparency=.6
  518. pt.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
  519. msh=Instance.new('SpecialMesh',pt)
  520. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  521. msh.Scale=Vector3.new(8,4,8)
  522. pt2=pt:clone()
  523. pt2.Parent = torso
  524. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  525.  
  526. pt2.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
  527.  
  528.  
  529. msh2=msh:clone()
  530. msh2.Parent=pt2
  531. msh2.Scale=Vector3.new(10,5,10)
  532.  
  533. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  534.  
  535. bl = Instance.new("Part", char)
  536. bl.Locked = true
  537. bl.Name = "Shell"
  538.  
  539.  
  540.  
  541. bl.Anchored = true
  542. bl.Material = "Neon"
  543. bl.CanCollide = false
  544. bl.Transparency = 0
  545. bl.Reflectance = 0
  546. bl.BottomSurface = 0
  547. bl.TopSurface = 0
  548. bl.Shape = 0
  549. blm = Instance.new("SpecialMesh",bl)
  550. blm.MeshType = "Sphere"
  551. blm.Scale = Vector3.new(1,1,1)
  552.  
  553.             so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2)
  554.             so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8)
  555.             so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
  556.  
  557.  
  558.  
  559. local shirt=char:FindFirstChild'Shirt'
  560. local pants=char:FindFirstChild'Pants'
  561. local face=hed:FindFirstChild'face'
  562.            
  563.     coroutine.resume(coroutine.create(function()
  564.         for i=1, math.huge, 4 do
  565.             if Charging == true then
  566.                 rs:wait()
  567.                 bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  568.                 blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  569.                 bl.Transparency = bl.Transparency + 0.05
  570.                 pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  571.                 pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  572.                 msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  573.                 msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  574.                 elseif Charging == false then break
  575.             end
  576.         end
  577.     end))
  578.  
  579.  
  580. repeat
  581.     local p = Instance.new('Part',torso)
  582.     p.formFactor = 'Custom'
  583.     p.Size = Vector3.new(1,1,1)
  584.  
  585.     p.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
  586.  
  587.     p.CanCollide = false
  588.     p.Transparency = 0
  589.     p.Anchored = true
  590.     p.Locked=true
  591.     p.Material = "Neon"
  592.     s = math.random(1,40)/10
  593.     local m = Instance.new("BlockMesh",p)
  594.     m.Scale = Vector3.new(s,s,s)
  595.     p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  596.     --[[coroutine.wrap(function()
  597.         wait(2)
  598.         while Charging == true do
  599.         wait(2)
  600.         GroundWave1()
  601.         wait(2)
  602.         end
  603.     end)()]]--
  604.     Spawn(function()
  605.         while rs:wait() do
  606.             if Charging == true then
  607.                 rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  608.                 larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  609.                 hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  610.                 torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  611.                 lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  612.                 rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  613.             elseif Charging == false then break
  614.             end
  615.         end
  616.     end)
  617.     Spawn(function()
  618.         while rs:wait() do
  619.             if p.Transparency >= 1 then p:Destroy() break end
  620.             p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  621.             p.Transparency = p.Transparency+0.01
  622.         end
  623.     end)
  624.     wait(.3)
  625.  
  626.  
  627. until Charging == false
  628.             end
  629.         end
  630.     end
  631. end)
  632.  
  633.  
  634. mouse.KeyDown:connect(function(key)
  635.   if key == "b" then
  636.     hum.WalkSpeed = 0
  637.     if Debounces.CanAttack == true then
  638.       Debounces.CanAttack = false
  639.       Debounces.NoIdl = true
  640.       Debounces.on = true
  641.      
  642.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  643.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  644.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  645.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  646.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1)
  647.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1)
  648.         if Debounces.on == false then
  649.         end
  650.         wait()
  651.       end
  652.       wait(1)
  653.       v = Instance.new("Sound")
  654.       v.SoundId = "http://www.roblox.com/asset/?id=150829983"
  655.       v.Parent = char
  656.       v.Looped = false
  657.       v.Pitch = 0.94
  658.       v.Volume = 5
  659.       v.MaxDistance = 45
  660.       wait(0.01)
  661.       v:Play()
  662.       if Daytime == true then
  663.         Daytime = false
  664.       else
  665.         Daytime = true
  666.       end
  667.       local function Shockwave()
  668.         local rng1 = Instance.new("Part", char)
  669.         rng1.Anchored = true
  670.         rng1.BrickColor = BrickColor.new("Really black")
  671.         rng1.CanCollide = false
  672.         rng1.FormFactor = 3
  673.         rng1.Name = "Ring"
  674.         rng1.Size = Vector3.new(1, 1, 1)
  675.         rng1.Transparency = 0.35
  676.         rng1.TopSurface = 0
  677.         rng1.BottomSurface = 0
  678.         local rngm1 = Instance.new("SpecialMesh", rng)
  679.         rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  680.         rngm1.Scale = Vector3.new(10, 10, 1)
  681.         rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  682.         local Wave = Instance.new("Part", char)
  683.         Wave.Name = "Shockwave"
  684.         Wave.BrickColor = BrickColor.new("Really black")
  685.         Wave.Size = Vector3.new(1, 1, 1)
  686.         Wave.Shape = "Ball"
  687.         Wave.CanCollide = false
  688.         Wave.Anchored = true
  689.         Wave.TopSurface = 0
  690.         Wave.BottomSurface = 0
  691.         Wave.Touched:connect(function(hit)
  692.           if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") and hit:FindFirstChild("Armed") ~= nil then
  693.             local Occlude = true
  694.             local NotOccludes = {
  695.               char.Name,
  696.               "Wings",
  697.               "Scythe",
  698.               "Thingy",
  699.               "Thingy2"
  700.             }
  701.             for i, v in pairs(NotOccludes) do
  702.               if hit.Parent.Name == v then
  703.                 Occlude = false
  704.               end
  705.             end
  706.             if Occlude then
  707.               hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  708.               hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  709.             end
  710.           end
  711.         end)
  712.         Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  713.         coroutine.wrap(function()
  714.           for i = 1, 20, 0.2 do
  715.             rngm1.Scale = Vector3.new(10 + i * 2, 10 + i * 2, 1)
  716.             rng1.Transparency = i / 20
  717.             wait()
  718.           end
  719.           wait()
  720.           rng1:Destroy()
  721.         end)()
  722.         Delay(0, function()
  723.           if Daytime == false then
  724.             for i = 1, 50 do
  725.               Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  726.               Wave.CFrame = char.Torso.CFrame
  727.               local t = i / 50
  728.               Wave.Transparency = t
  729.               wait()
  730.             end
  731.           else
  732.             for i = 1, 50 do
  733.               Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  734.               Wave.CFrame = char.Torso.CFrame
  735.               local t = i / 50
  736.               Wave.Transparency = t
  737.               wait()
  738.             end
  739.           end
  740.           Wave:Destroy()
  741.         end)
  742.         Delay(0, function()
  743.           while true do
  744.             if wait() and Wave ~= nil then
  745.               Wave.CFrame = char.Torso.CFrame
  746.               break
  747.             end
  748.           end
  749.         end)
  750.       end
  751.       Shockwave()
  752.       for i = 1, 15 do
  753.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  754.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  755.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  756.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  757.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  758.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  759.         if Debounces.on == false then
  760.           break
  761.         end
  762.         wait()
  763.       end
  764.       for i = 1, 15 do
  765.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  766.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  767.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  768.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  769.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  770.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  771.         if Debounces.on == false then
  772.           break
  773.         end
  774.         wait()
  775.       end
  776.       for i = 1, 15 do
  777.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  778.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  779.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  780.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  781.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  782.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  783.         if Debounces.on == false then
  784.           break
  785.         end
  786.         wait()
  787.       end
  788.       for i = 1, 15 do
  789.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  790.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  791.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  792.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  793.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  794.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  795.         if Debounces.on == false then
  796.           break
  797.         end
  798.         wait()
  799.       end
  800.       for i = 1, 15 do
  801.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  802.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  803.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  804.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  805.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  806.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  807.         if Debounces.on == false then
  808.           break
  809.         end
  810.         wait()
  811.       end
  812.       for i = 1, 10 do
  813.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  814.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  815.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  816.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  817.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  818.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  819.         if Debounces.on == false then
  820.           break
  821.         end
  822.         wait()
  823.       end
  824.       wait(1.4)
  825.       Debounces.NoIdl = false
  826.       hum.WalkSpeed = 5
  827.       Debounces.on = false
  828.       wait()
  829.       if Debounces.CanAttack == false then
  830.         Debounces.CanAttack = true
  831.         v:Destroy()
  832.       end
  833.     end
  834.   end)
  835.  
  836. mouse.KeyDown:connect(function(key)
  837.     if key == "q" then
  838.        
  839.     doingmoves(true)
  840.     resetwelds()
  841.     ER = char.Torso.CFrame
  842.     Humanoid.WalkSpeed = 16
  843.     for i = 1, 10 do
  844.         swait()
  845.         RW.C1 = clerp(RW.C1, cf(0, 0.6, 0) * euler(math.rad(-90), 0, 0), 0.3)
  846.         RootJoint.C0 = RootCF * cf(0, 0, -0.2) * euler(0, 0, math.rad(9 * i))
  847.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, math.rad(-90)) * euler(0, 0, 0), 0.7)
  848.         LW.C1 = clerp(LW.C1, cf(0.5, 1.5, 0) * euler(math.rad(-90), math.rad(70), 0), 0.5)
  849.     end
  850.     Torso.Velocity = vt(0, 1, 0) * 150
  851.     Humanoid.Jump = true
  852.     Humanoid.JumpPower = 16
  853.     local spin = coroutine.create(function()
  854.        
  855.         for i = 1, 4.5 do
  856.             so("203691447", char, 1, 1.1)
  857.             wait(0.2)
  858.         end
  859.     end
  860. )
  861.     coroutine.resume(spin)
  862.     for i = 1, 30 do
  863.         swait()
  864.         local es = 27
  865.         RootJoint.C0 = RootCF * cf(0, 0, -0.2) * euler(math.rad(es * i), 0, math.rad(90))
  866.     end
  867.     hit = nil
  868.     while hit == nil do
  869.         swait()
  870.         hit = rayCast(LeftLeg.Position, CFrame.new(LeftLeg.Position, LeftLeg.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  871.     end
  872.     dist = 10
  873.     ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  874.     ref.Anchored = true
  875.     ref.CFrame = cf(Torso.Position)
  876.     game.Debris:AddItem(ref, 8)
  877.     so("178452217", RightArm, 0.5, 0.4)
  878.     so("168586586", RightArm, 0.5, 0.6)
  879.     so("160740121", RightArm, 1, 0.8)
  880.     so("168586621", RightArm, 1, 0.5)
  881.     so("160867463", RightArm, 1, 0.8)
  882.     er = Instance.new("Part")
  883.     er.Anchored = true
  884.     er.Transparency = 1
  885.     er.CanCollide = false
  886.     er.Position = char.Torso.Position
  887.     er.Parent = EffectMo
  888.     game.Debris:AddItem(er, 3)
  889.     er.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0)
  890.     local p = Instance.new("Part")
  891.     p.TopSurface = 0
  892.     p.BottomSurface = 0
  893.     p.CanCollide = false
  894.     p.Anchored = true
  895.     p.BrickColor = BrickColor.new("White")
  896.     p.formFactor = "Symmetric"
  897.     p.Size = Vector3.new(1, 1, 1)
  898.     p.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0) * CFrame.fromEulerAnglesXYZ(math.rad(50), 0, 0)
  899.     p.Parent = EffectMo
  900.     m = MeshFolder.RingMesh:clone()
  901.     p.Material = "SmoothPlastic"
  902.     m.Scale = Vector3.new(60, 60, 0)
  903.     m.Parent = p
  904.     m.Name = "Triangle"
  905.     coroutine.resume(coroutine.create(function(p)
  906.        
  907.         for i = 1, 30 do
  908.             p.Transparency = i / 30
  909.             p.Triangle.Scale = p.Triangle.Scale + Vector3.new(0.3, 0.3, 0)
  910.             swait()
  911.         end
  912.         p.Parent = nil
  913.     end
  914. ), p)
  915.     local p = Instance.new("Part")
  916.     p.TopSurface = 0
  917.     p.BottomSurface = 0
  918.     p.CanCollide = false
  919.     p.Anchored = true
  920.     p.BrickColor = BrickColor.new("White")
  921.     p.formFactor = "Symmetric"
  922.     p.Size = Vector3.new(1, 1, 1)
  923.     p.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), 0, 0)
  924.     p.Parent = EffectMo
  925.     m = MeshFolder.RingMesh:clone()
  926.     p.Material = "SmoothPlastic"
  927.     m.Scale = Vector3.new(60, 60, 0)
  928.     m.Parent = p
  929.     m.Name = "Triangle"
  930.     coroutine.resume(coroutine.create(function(p)
  931.        
  932.         for i = 1, 30 do
  933.             p.Transparency = i / 30
  934.             p.Triangle.Scale = p.Triangle.Scale + Vector3.new(0.3, 0.3, 0)
  935.             swait()
  936.         end
  937.         p.Parent = nil
  938.     end
  939. ), p)
  940.     for i = 1, 4 do
  941.         MagniDamage(char.Torso, 32, 20, 40, 20, "Normal", RootPart, 2, 2, (math.random(4, 7)), nil, true)
  942.         swait()
  943.         local p = Instance.new("Part", er.Parent)
  944.         p.Name = "Effect"
  945.         p.formFactor = "Symmetric"
  946.         p.TopSurface = 0
  947.         p.BottomSurface = 0
  948.         p.Material = "SmoothPlastic"
  949.         p.BrickColor = BrickColor.new("Black")
  950.         p.Anchored = true
  951.         p.CanCollide = false
  952.         p.Size = Vector3.new(1, 1, 1)
  953.         p.CFrame = er.CFrame * CFrame.Angles(math.pi / 2, 0, 0) * CFrame.new(0, 0, 1.5)
  954.         game:GetService("Debris"):AddItem(p, 8)
  955.         local m = Instance.new("SpecialMesh", p)
  956.         m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  957.         m.Scale = Vector3.new(2, 2, 1)
  958.         coroutine.resume(coroutine.create(function(p, s)
  959.        
  960.         for i = 1, 30 do
  961.             p.Transparency = i / 30
  962.             p.Mesh.Scale = p.Mesh.Scale + Vector3.new(4, 4, -0.05)
  963.             swait()
  964.         end
  965.     end
  966. ), p, 8)
  967.         xdir = er.CFrame.lookVector
  968.         local p = Instance.new("Part")
  969.         p.TopSurface = 0
  970.         p.BottomSurface = 0
  971.         p.CanCollide = false
  972.         p.Anchored = true
  973.         p.BrickColor = BrickColor.new("Institutional white")
  974.         p.CFrame = er.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.random(-10, 10) / 100, 0)
  975.         p.formFactor = "Symmetric"
  976.         p.Size = Vector3.new(1, 1, 1)
  977.         p.Parent = EffectMo
  978.         m = MeshFolder.BlastMesh:clone()
  979.         p.Material = "SmoothPlastic"
  980.         m.Parent = p
  981.         m.Scale = Vector3.new(1, 3, 1)
  982.         m.Name = "Triangle"
  983.         game:GetService("Debris"):AddItem(p, 5)
  984.         coroutine.resume(coroutine.create(function(p)
  985.        
  986.         for i = 1, 25 do
  987.             p.Transparency = i / 25
  988.             p.Triangle.Scale = p.Triangle.Scale + Vector3.new(2.3, 0, 2.3)
  989.             p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(15), 0)
  990.             swait()
  991.         end
  992.         p.Parent = nil
  993.     end
  994. ), p)
  995.         for i = 1, 5 do
  996.             ref.CFrame = cf(RootPart.Position) * cf(math.random(-dist * 300, dist * 200) / 100, 0, math.random(-dist * 300, dist * 300) / 100)
  997.             hitfloor2a, posfloor2a = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  998.             if hitfloor2a ~= nil then
  999.                 local groundpart = part(3, workspace, 0, 0, hitfloor2a.BrickColor, "Ground", vt(math.random(500, 1000) / 100, math.random(500, 1000) / 100, math.random(500, 1000) / 100))
  1000.                 groundpart.Anchored = true
  1001.                 groundpart.Material = hitfloor2a.Material
  1002.                 groundpart.CanCollide = false
  1003.                 groundpart.CFrame = cf(posfloor2a) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1004.                 game:GetService("Debris"):AddItem(groundpart, 10)
  1005.                 groundpart.Parent = EffectMo
  1006.                 coroutine.resume(coroutine.create(function(groundpart)
  1007.        
  1008.         for i = 1, 300 do
  1009.             groundpart.Transparency = i / 300
  1010.             swait()
  1011.         end
  1012.         groundpart:Destroy()
  1013.     end
  1014. ), groundpart)
  1015.             end
  1016.         end
  1017.     end
  1018.     swait()
  1019.     resetwelds()
  1020.     doingmoves(false)
  1021.     end
  1022. end)
  1023. ----------------------------------------------------
  1024. mouse.KeyDown:connect(function(key)
  1025.     if string.byte(key) == 52 then
  1026.         char.Humanoid.WalkSpeed = 60
  1027.     end
  1028. end)
  1029. mouse.KeyUp:connect(function(key)
  1030.     if string.byte(key) == 52 then
  1031.         char.Humanoid.WalkSpeed = 8
  1032.     elseif key:lower() == 'h' or key:lower() == 'j' then
  1033.         if Charging == true and chargewait == true then
  1034.             chargewait = false
  1035.             wait(1)
  1036.             Charging = false
  1037.  
  1038. --[[for i,v in pairs (torso:GetChildren()) do
  1039.     if v:IsA("Sound") then
  1040.         v:Destroy()
  1041.     end
  1042. end]]
  1043.  
  1044.  
  1045.             --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
  1046.  
  1047.                 pt:Destroy()
  1048.                 pt2:Destroy()
  1049.                 bl:Destroy()
  1050.             if Debounces.CanAttack == false then
  1051.                 Debounces.CanAttack = true
  1052.                 Debounces.NoIdl = false
  1053.                 Debounces.on = false
  1054.                 Debounces.grab = false
  1055.  
  1056.             end
  1057.         end
  1058.     end
  1059. end)
  1060.  
  1061.  
  1062. local stanceToggle = "Landed"
  1063. local animpose = "Landed"
  1064. local lastanimpose = "Landed"
  1065.  
  1066. local animpose = "Idle"
  1067. local lastanimpose = "Idle"
  1068. local sine = 0
  1069. local change = 1
  1070. local val = 0
  1071. local ffing = false
  1072. local player = p
  1073. local pchar = player.Character
  1074. local mouse = player:GetMouse()
  1075. local cam = workspace.CurrentCamera
  1076. local rad = math.rad
  1077. local keysDown = {}
  1078. local flySpeed = 0
  1079. local MAX_FLY_SPEED = 50
  1080. local canFly = false
  1081. local flyToggled = false
  1082. local forward, side = 0, 0
  1083. local lastForward, lastSide = 0, 0
  1084. local floatBP = Instance.new("BodyPosition")
  1085. x = Instance.new("Sound", char)
  1086. x.SoundId = "http://www.roblox.com/asset/?id=198360408"
  1087. x.Looped = true
  1088. x.Volume = 9
  1089. local footsteps = false
  1090. game:GetService("RunService").RenderStepped:connect(function()
  1091.   if char.Humanoid.Health > 0 then
  1092.     if char.Humanoid.Jump == true then
  1093.       jumpn = true
  1094.     else
  1095.       jumpn = false
  1096.     end
  1097.     char.Humanoid.FreeFalling:connect(function(f)
  1098.       if f then
  1099.         ffing = true
  1100.       else
  1101.         ffing = false
  1102.       end
  1103.     end)
  1104.     sine = sine + change
  1105.     if jumpn == true then
  1106.       animpose = "Jumping"
  1107.     elseif ffing == true then
  1108.       animpose = "Freefalling"
  1109.     elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1110.       animpose = "Idle"
  1111.     elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
  1112.       animpose = "Walking"
  1113.     elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
  1114.       animpose = "Running"
  1115.     end
  1116.     if animpose ~= lastanimpose then
  1117.       sine = 0
  1118.       if Debounces.NoIdl == false then
  1119.         if stanceToggle == "Floating" then
  1120.           change = 1
  1121.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-10)), 0.6)
  1122.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30)), 0.2)
  1123.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-8)), 0.6)
  1124.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(8)), 0.6)
  1125.         end
  1126.       elseif stanceToggle == "Landed" then
  1127.         change = 1
  1128.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1129.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1130.       elseif stanceToggle == "Sitting" then
  1131.         change = 1
  1132.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1133.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1134.         wait()
  1135.       end
  1136.     else
  1137.     end
  1138.     lastanimpose = animpose
  1139.     if Debounces.NoIdl == false then
  1140.       if animpose == "Idle" then
  1141.         if stanceToggle == "Floating" then
  1142.           change = 0.5
  1143.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.16 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-20 - 1 * math.cos(sine / 14)), math.rad(0), 0), 0.05)
  1144.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30 + 1 * math.cos(sine / 14))), 0.2)
  1145.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10 - 1.5 * math.cos(sine / 14))), 0.2)
  1146.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-20 + 2 * math.cos(sine / 14)), math.rad(0), math.rad(0)), 0.2)
  1147.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(-8 - 1.5 * math.cos(sine / 14))), 0.2)
  1148.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(8 + 1.5 * math.cos(sine / 14))), 0.2)
  1149.         elseif stanceToggle == "Landed" then
  1150.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(22 + 2 * math.cos(sine / 14))), 0.2)
  1151.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 14), -0.5) * CFrame.Angles(math.rad(70), math.rad(-10), math.rad(26 - 2 * math.cos(sine / 14))), 0.2)
  1152.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10 + 2 * math.cos(sine / 14)), math.rad(36), math.rad(0)), 0.2)
  1153.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10 + 1 * math.cos(sine / 14)), math.rad(-36), math.rad(0)), 0.2)
  1154.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -1, 0) * CFrame.Angles(math.rad(30 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(-30)), 0.2)
  1155.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(20)), 0.2)
  1156.         elseif stanceToggle == "Sitting" then
  1157.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.3, -0.1) * CFrame.Angles(math.rad(45 - 2 * math.cos(sine / 14)), math.rad(0), math.rad(32)), 0.2)
  1158.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20 + 1 * math.cos(sine / 14))), 0.2)
  1159.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(14 + 2 * math.cos(sine / 14)), math.rad(-40), math.rad(14)), 0.2)
  1160.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50 + 1 * math.cos(sine / 14)), math.rad(40), math.rad(0)), 0.2)
  1161.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, 0.2, -0.8) * CFrame.Angles(math.rad(30 - 1 * math.cos(sine / 14)), 0, math.rad(20)), 0.2)
  1162.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.8, -1, 0) * CFrame.Angles(math.rad(-10 - 1 * math.cos(sine / 14)), math.rad(-40), math.rad(0)), 0.2)
  1163.         end
  1164.       elseif animpose == "Walking" then
  1165.         if stanceToggle == "Landed" then
  1166.           change = 0.5
  1167.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
  1168.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
  1169.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
  1170.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  1171.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  1172.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
  1173.         elseif stanceToggle == "Sitting" then
  1174.           stanceToggle = "Landed"
  1175.         elseif stanceToggle == "Floating" then
  1176.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.1 * math.cos(sine / 16), 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.6)
  1177.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(30 + 2 * math.cos(sine / 16))), 0.3)
  1178.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3)
  1179.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-18 + 2 * math.cos(sine / 16)), math.rad(0), math.rad(0)), 0.3)
  1180.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(13 + 4 * math.cos(sine / 16)), 0, 0), 0.3)
  1181.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3)
  1182.         end
  1183.       elseif animpose == "Running" then
  1184.         change = 1
  1185.         if stanceToggle == "Landed" then
  1186.           larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 + 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 - 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(20 - 40 * math.cos(sine / 6))), 0.2)
  1187.           rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 - 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 + 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(-20 - 40 * math.cos(sine / 6))), 0.2)
  1188.           hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 3) / 1.8), math.rad(0 - 8 * math.cos(sine / 6)), math.rad(0)), 0.2)
  1189.           torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 - 0.1 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-14 + 15 * math.cos(sine / 3) / 2), math.rad(0 + 12 * math.cos(sine / 6)), math.rad(0)), 0.2)
  1190.           lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 + 0.1 * math.cos(sine / 6) / 3, -0.15 + -math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8)
  1191.           rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 - 0.1 * math.cos(sine / 6) / 3, -0.15 + math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + -math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8)
  1192.         end
  1193. end
  1194. end
  1195. end
  1196. end)
  1197.  
  1198.  
  1199. hum.MaxHealth = math.huge
  1200.   wait(3)
  1201.   hum.Health = math.huge
  1202.   -- LATF2 Lightning, Enjoy...
  1203. LocalPlayer = game:GetService("Players").LocalPlayer
  1204. char = player.Character
  1205. local lastCF=char.Torso.Position
  1206. local x1=Instance.new("Part",game.Workspace)
  1207. x1.Name="Lightning"
  1208. x1.Size=Vector3.new(1,1,1)
  1209. x1.CanCollide=false
  1210. x1.Anchored=true
  1211. x1.Transparency=1
  1212. Spawn(function()
  1213.         while true do
  1214.                 wait(-1)
  1215.                 x1.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(50,360)))*CFrame.new(0,0,2.6)
  1216.         end
  1217. end)
  1218. for i = 1,math.huge do
  1219.         local dist2 = (lastCF-x1.Position).magnitude
  1220.         local x2=Instance.new("Part",game.Workspace)
  1221.         x2.Name="Lightning2"
  1222.         x2.Size=Vector3.new(1,1,1)
  1223.         x2.Material="Neon"
  1224.         x2.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
  1225.         x2.CFrame=CFrame.new(lastCF,x1.Position)*CFrame.new(0,0,-dist2/2)
  1226.         x2.CanCollide=false
  1227.         x2.Anchored=true
  1228.         local m = Instance.new("BlockMesh",x2)
  1229.         m.Scale = Vector3.new(0.5,0.5,dist2)
  1230.         lastCF=x1.Position
  1231.         spawn(function()
  1232.                 for i = 1,20 do
  1233.                         xx=m.Scale.x/2
  1234.                         y=m.Scale.x/2
  1235.                         m.Scale=m.Scale-Vector3.new(xx,y,0)
  1236.                         wait()
  1237.                 end
  1238.         end)
  1239.         game.Debris:AddItem(x2,1.5)
  1240.         wait()
  1241. end
  1242. x1:Destroy()
Add Comment
Please, Sign In to add comment