Advertisement
SkidScripts

Untitled

Feb 27th, 2022
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Protected_by_MoonSecV2 Discord = https://discord.gg/Werjnku2Wh
  2.  
  3.  
  4. -----------/XESTER THE CARD MASTER\\-----------
  5. --[[Movelist
  6. Q = The disappearing act.
  7. E = Full house
  8. R = Cardnado
  9. T = Teleport
  10. Y = Big card(Click to smash.)
  11. U = Black hole
  12. P = Card shield(Click to bounce people off, press p again to shred.)
  13. F = Transform(You can switch between modes any time.)
  14. -----------/SECOND FORM MOVES\-----------
  15. T = Laugh
  16. G = Fire ball
  17. H = Huge fire ball
  18. J = Dragon's breath(The longer you hold, the more insaner it gets.)
  19. K = Beam(The longer you hold down the key, the stronger it gets/longer it lasts.)
  20. ]]
  21. Bypass = "death"
  22. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  23.  
  24. local Player=game:GetService("Players").LocalPlayer
  25. local Character=workspace.non
  26. local hum = Character.Humanoid
  27. local LeftArm=Character["Left Arm"]
  28. local LeftLeg=Character["Left Leg"]
  29. local RightArm=Character["Right Arm"]
  30. local RightLeg=Character["Right Leg"]
  31. local Root=Character["HumanoidRootPart"]
  32. local Head=Character["Head"]
  33. local Torso=Character["Torso"]
  34. local Neck=Torso["Neck"]
  35. local walking = false
  36. local jumping = false
  37. local allowgrassy = false
  38. local zxc = false
  39. local matte = nil
  40. local colori = nil
  41. local bigball = false
  42. local attacking = false
  43. local laughing = false
  44. local running = false
  45. local downpress = false
  46. local taim = nil
  47. local change = 0
  48. local ws = 10
  49. local appi = false
  50. local tauntdebounce = false
  51. local position = nil
  52. local staybooming = false
  53. local MseGuide = true
  54. local levitate = false
  55. local firsttime5 = false
  56. local notallowedtransform = false
  57. local settime = 0
  58. local firsttime2 = false
  59. local sine = 0
  60. local t = 0
  61. local combo1 = true
  62. local dgs = 75
  63. local combo2 = false
  64. local firsttime3 = false
  65. local combo3 = false
  66. local bl = {907530553,907527750,907527912}
  67. local colortable = {"Really black","Really red"}
  68. local colors = #colortable
  69. local blz = #bl
  70. local aces = {1880203893,1881287656,1881287420,1881288034}
  71. local ace = #aces
  72. local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
  73. local laugh = #laughs
  74. local mouse = Player:GetMouse()
  75. local RunSrv = game:GetService("RunService")
  76. local RenderStepped = game:GetService("RunService").RenderStepped
  77. local removeuseless = game:GetService("Debris")
  78. local damageall={}
  79. local Repeater={}
  80. local Repeater2={}
  81. local magictable={}
  82. local nonmeshRepeater={}
  83. local nonmeshRepeater2={}
  84. local dmgii={}
  85. local DamageAll2={}
  86. local SlowlyFade={}
  87. local th1={}
  88. local lolzor={}
  89. local lolzor2={}
  90. local th2={}
  91. local keyYsize={}
  92. local blocktrail={}
  93. local keyYtransparency={}
  94. local th3={}
  95. local laughingtable={}
  96. local Extreme={}
  97. local ExtremeM={}
  98. local ExtremeM2={}
  99. local m3={}
  100. local th4={}
  101. local th5={}
  102. local UpMover={}
  103. local openshocktable={}
  104. local LessSize={}
  105. local ForwardMover={}
  106. local FadeIn={}
  107. local signtransparency={}
  108. local signmover={}
  109. local signrotator={}
  110.  
  111. local FireBall = Instance.new("Sound",LeftArm)
  112. FireBall.SoundId = "rbxassetid://842332424"
  113. FireBall.Volume = 5
  114. FireBall.Pitch = 2.5
  115.  
  116. local BigFireBall = Instance.new("Sound",LeftArm)
  117. BigFireBall.SoundId = "rbxassetid://842332424"
  118. BigFireBall.Volume = 8
  119. BigFireBall.Pitch = 1.5
  120.  
  121. local HEADLERP = Instance.new("ManualWeld")
  122. HEADLERP.Parent = Head
  123. HEADLERP.Part0 = Head
  124. HEADLERP.Part1 = Head
  125. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  126.  
  127. local TORSOLERP = Instance.new("ManualWeld")
  128. TORSOLERP.Parent = Root
  129. TORSOLERP.Part0 = Torso
  130. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  131.  
  132. local ROOTLERP = Instance.new("ManualWeld")
  133. ROOTLERP.Parent = Root
  134. ROOTLERP.Part0 = Root
  135. ROOTLERP.Part1 = Torso
  136. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  137.  
  138. local RIGHTARMLERP = Instance.new("ManualWeld")
  139. RIGHTARMLERP.Parent = RightArm
  140. RIGHTARMLERP.Part0 = RightArm
  141. RIGHTARMLERP.Part1 = Torso
  142. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  143.  
  144. local LEFTARMLERP = Instance.new("ManualWeld")
  145. LEFTARMLERP.Parent = LeftArm
  146. LEFTARMLERP.Part0 = LeftArm
  147. LEFTARMLERP.Part1 = Torso
  148. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  149.  
  150. local RIGHTLEGLERP = Instance.new("ManualWeld")
  151. RIGHTLEGLERP.Parent = RightLeg
  152. RIGHTLEGLERP.Part0 = RightLeg
  153. RIGHTLEGLERP.Part1 = Torso
  154. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  155.  
  156. local LEFTLEGLERP = Instance.new("ManualWeld")
  157. LEFTLEGLERP.Parent = LeftLeg
  158. LEFTLEGLERP.Part0 = LeftLeg
  159. LEFTLEGLERP.Part1 = Torso
  160. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  161.  
  162. local function weldBetween(a, b)
  163.    local weld = Instance.new("ManualWeld", a)
  164.    weld.Part0 = a
  165.    weld.Part1 = b
  166.    weld.C0 = a.CFrame:inverse() * b.CFrame
  167.    return weld
  168. end
  169.  
  170. function makeblockytrail()
  171. coroutine.wrap(function()
  172. while true do
  173. if IsDead then break end
  174. for i,v in pairs(blocktrail) do
  175. smke = Instance.new("Part",v)
  176. smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  177. smke.Material = "Neon"
  178. smke.Anchored = true
  179. smke.CanCollide = false
  180. removeuseless:AddItem(smke,2)
  181. end
  182. swait()
  183. end
  184. end)()
  185. end
  186.  
  187. local function ci(x, c, y, n)
  188. so = Instance.new("Sound", x)
  189. so.SoundId = c
  190. so.Volume = y
  191. so.Looped = n
  192. end
  193.  
  194. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  195. A = Instance.new("Attachment", PARENT)
  196. A.Position = POSITION1
  197. A.Name = "A"
  198. B = Instance.new("Attachment", PARENT)
  199. B.Position = POSITION2
  200. B.Name = "B"
  201. tr1 = Instance.new("Trail", PARENT)
  202. tr1.Attachment0 = A
  203. tr1.Attachment1 = B
  204. tr1.Enabled = true
  205. tr1.Lifetime = LIFETIME
  206. tr1.TextureMode = "Static"
  207. tr1.LightInfluence = 0
  208. tr1.Color = COLOR
  209. tr1.Transparency = NumberSequence.new(0, 1)
  210. end
  211.  
  212. function clean()
  213. damageall={}
  214. Repeater={}
  215. Repeater2={}
  216. nonmeshRepeater={}
  217. nonmeshRepeater2={}
  218. dmgii={}
  219. DamageAll2={}
  220. SlowlyFade={}
  221. th1={}
  222. th2={}
  223. th3={}
  224. Extreme={}
  225. ExtremeM={}
  226. ExtremeM2={}
  227. m3={}
  228. th4={}
  229. th5={}
  230. UpMover={}
  231. openshocktable={}
  232. LessSize={}
  233. ForwardMover={}
  234. FadeIn={}
  235. signtransparency={}
  236. signmover={}
  237. signrotator={}
  238. end
  239.  
  240.  
  241. function damagealll(Radius,Position)       
  242.     local Returning = {}       
  243.     for _,v in pairs(workspace:GetChildren()) do       
  244.         if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  245. if v:FindFirstChild("Torso") then      
  246.             local Mag = (v.Torso.Position - Position).magnitude    
  247.             if Mag < Radius then       
  248.                 table.insert(Returning,v)      
  249.             end
  250. elseif v:FindFirstChild("UpperTorso") then 
  251.             local Mag = (v.UpperTorso.Position - Position).magnitude       
  252.             if Mag < Radius then       
  253.                 table.insert(Returning,v)      
  254.             end
  255. end
  256.         end    
  257.     end    
  258.     return Returning       
  259. end
  260.  
  261.  
  262. function swait(num)
  263.     if num == 0 or num == nil then
  264.         game:service("RunService").Stepped:wait(0)
  265.     else
  266.         for i = 0, num do
  267.             game:service("RunService").Stepped:wait(0)
  268.         end
  269.     end
  270. end
  271.  
  272. doomtheme = Instance.new("Sound", Torso)
  273. doomtheme.Volume = 3
  274. doomtheme.Name = "doomtheme"
  275. doomtheme.Looped = true
  276. doomtheme.SoundId = "rbxassetid://1843358057"
  277. doomtheme:Play()
  278.  
  279. Torso.ChildRemoved:connect(function(removed)
  280. if removed.Name == "doomtheme" then
  281. if levitate then
  282. doomtheme = Instance.new("Sound", Torso)
  283. doomtheme.Volume = 3
  284. doomtheme.Name = "doomtheme"
  285. doomtheme.Looped = true
  286. doomtheme.SoundId = "rbxassetid://1382488262"
  287. doomtheme:Play()
  288. doomtheme.TimePosition = 20.7
  289. else
  290. doomtheme = Instance.new("Sound", Torso)
  291. doomtheme.Volume = 3
  292. doomtheme.Name = "doomtheme"
  293. doomtheme.Looped = true
  294. doomtheme.SoundId = "rbxassetid://1843358057"
  295. doomtheme:Play()
  296. end
  297. end
  298. end)
  299.  
  300. leftlocation = Instance.new("Part",LeftArm)
  301. leftlocation.Size = Vector3.new(1,1,1)
  302. leftlocation.Transparency = 1
  303. leftlocationweld = weldBetween(leftlocation,LeftArm)
  304. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  305. rightlocation = Instance.new("Part",RightArm)
  306. rightlocation.Size = Vector3.new(1,1,1)
  307. rightlocation.Transparency = 1
  308. rightlocationweld = weldBetween(rightlocation,RightArm)
  309. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  310.  
  311. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  312. so = Instance.new("Sound")
  313. so.Parent = PARENT
  314. so.SoundId = "rbxassetid://"..ID
  315. so.Volume = VOL
  316. so.Looped = LOOP
  317. so:Play()
  318. removeuseless:AddItem(so,REMOVE)
  319. end
  320.  
  321.  
  322. mouse.KeyDown:connect(function(Press)
  323. Press=Press:lower()
  324. if Press=='r' then
  325. if levitate then return end
  326. if debounce then return end
  327. debounce = true
  328. attacking = true
  329. appi = true
  330. ws = 0
  331. coroutine.wrap(function()
  332. while appi do
  333. if IsDead then break end
  334. wait()
  335. if Root.Velocity.Magnitude < 2 and attacking == true then
  336. position = "Idle2"
  337. end
  338. end
  339. end)()
  340. coroutine.wrap(function()
  341. while appi do
  342. if IsDead then break end
  343. wait()
  344. settime = 0.05
  345. sine = sine + change
  346. if position == "Idle2" and attacking == true and appi == true then
  347. change = .4
  348. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  349. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  350. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
  351. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  352. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  353. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  354. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  355. end
  356. end
  357. end)()
  358. for i = 1, 20 do
  359. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  360. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  361. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  362. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
  363. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
  364. swait()
  365. end
  366. SOUND(RightArm,342337569,6,false,1)
  367. coroutine.wrap(function()
  368. for i = 1, 9 do
  369. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.1,1.6,-.1),.5)
  370. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(15)),.3)
  371. swait()
  372. end
  373. for i = 1, 9 do
  374. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
  375. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
  376. swait()
  377. end
  378. end)()
  379. shockwave = Instance.new("Part",Torso)
  380. shockwave.Shape = "Ball"
  381. shockwave.Size = Vector3.new(1,1,1)
  382. shockwave.BrickColor = BrickColor.new("White")
  383. shockwave.Material = "Neon"
  384. shockwave.CFrame = Torso.CFrame
  385. shockwave.CanCollide = false
  386. shockwave.Anchored = true
  387. coroutine.wrap(function()
  388. for i = 1, 20 do
  389. shockwave.Size = shockwave.Size + Vector3.new(1.8,1.8,1.8)
  390. shockwave.Transparency = shockwave.Transparency + 0.05
  391. wait()
  392. end
  393. end)()
  394. SOUND(Torso,1072606965,0,false,10)
  395. coroutine.wrap(function()
  396. for i = 1, 10 do
  397. so.Volume = so.Volume + 0.3
  398. wait()
  399. end
  400. end)()
  401. for i = 1, 35 do
  402. local Hit = damagealll(22,Torso.Position)  
  403. for _,v in pairs(Hit) do           
  404. DamageFling(v)
  405. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  406. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  407. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  408. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
  409. removeuseless:AddItem(vel,.1)
  410. end
  411. wave = Instance.new("Part", Torso)
  412. wave.Size = Vector3.new(1, 1, 1)
  413. wave.Transparency = 0
  414. wave.BrickColor = BrickColor.new("White")
  415. wave.Anchored = true
  416. wave.CanCollide = false
  417. wave.CFrame = Root.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  418. wavemesh = Instance.new("SpecialMesh", wave)
  419. wavemesh.MeshId = "rbxassetid://20329976"
  420. wavemesh.Scale = Vector3.new(1, 1, 1)
  421. table.insert(th2,wave)
  422. table.insert(SlowlyFade,wave)
  423. table.insert(th5,wavemesh)
  424. removeuseless:AddItem(wave,2)
  425. CardStorm = Instance.new("Part",Torso)
  426. CardStorm.Size = Vector3.new(.1,.1,.1)
  427. CardStorm.CFrame = Root.CFrame * CFrame.new(0,3.2,0)
  428. CardStorm.Anchored = true
  429. CardStormMesh = Instance.new("SpecialMesh", CardStorm)
  430. CardStormMesh.Scale = Vector3.new(1,1,1)
  431. CardStormMesh.MeshId = "rbxassetid://6512150"
  432. CardStormMesh.TextureId = "rbxassetid://55364685"
  433. table.insert(SlowlyFade,CardStorm)
  434. table.insert(m3,CardStormMesh)
  435. table.insert(th1,CardStorm)
  436. removeuseless:AddItem(CardStorm,3)
  437. wait(.1)
  438. end
  439. coroutine.wrap(function()
  440. for i = 1, 10 do
  441. so.Volume = so.Volume - 0.3
  442. wait()
  443. end
  444. end)()
  445. wait(1)
  446. ws = 10
  447. clean()
  448. attacking = false
  449. debounce = false
  450. appi = false
  451. end
  452. end)
  453.  
  454. mouse.KeyDown:connect(function(Press)
  455. Press=Press:lower()
  456. if Press=='e' then
  457. if levitate then return end
  458. if debounce then return end
  459. attacking = true
  460. debounce = true
  461. damagedebounce = false
  462. clickdisallowance = true
  463. clickdebounce = false
  464. notallowed = true
  465. appi = true
  466. ws = 0
  467. coroutine.wrap(function()
  468. while appi do
  469. if IsDead then break end
  470. wait()
  471. if Root.Velocity.y > 1 and attacking == true then
  472. position = "Jump2"
  473. elseif Root.Velocity.y < -1 and attacking == true then
  474. position = "Falling2"
  475. elseif Root.Velocity.Magnitude < 2 and attacking == true then
  476. position = "Idle2"
  477. elseif Root.Velocity.Magnitude > 2 and attacking == true then
  478. position = "Walking2"
  479. end
  480. end
  481. end)()
  482. coroutine.wrap(function()
  483. while appi do
  484. if IsDead then break end
  485. wait()
  486. settime = 0.05
  487. sine = sine + change
  488. if position == "Jump2" and attacking == true and appi == true then
  489. change = 1
  490. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  491. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  492. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  493. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  494. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
  495. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  496. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  497. elseif position == "Falling2" and attacking == true and appi == true then
  498. change = 1
  499. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  500. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  501. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  502. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  503. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  504. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
  505. elseif position == "Idle2" and attacking == true and appi == true then
  506. change = .4
  507. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  508. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  509. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  510. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  511. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  512. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  513. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  514. elseif position == "Walking2" and attacking == true and appi == true then
  515. change = .8
  516. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  517. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  518. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  519. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  520. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.sin(25*math.sin(sine/8))),.3)
  521. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.sin(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0)  + RightLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3)
  522. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.sin(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0)  + LeftLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3)
  523. end
  524. end
  525. end)()
  526. coroutine.wrap(function()
  527. for i = 1, 40 do
  528. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0),.5)
  529. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/6)),math.rad(7 * math.sin(sine/6)),math.rad(7*math.sin(sine/6))), 0.5)
  530. swait()
  531. end
  532. end)()
  533. haloh = Instance.new("Part", Torso)
  534. haloh.Size = Vector3.new(1,1,1)
  535. haloh.Anchored = false
  536. haloh.Transparency = 1
  537. haloh.CanCollide = false
  538. halohweld = weldBetween(haloh,Torso)
  539. halohweld.C0 = CFrame.new(0,0,0)
  540. n = 0
  541. x = 0
  542. tab={}
  543. tab2={}
  544. SOUND(Torso,1882057730,6,false,2)
  545. for i = 1, 20 do
  546. n = n + 20
  547. x = x + 5
  548. halo = Instance.new("Part", Torso)
  549. halo.Size = Vector3.new(0.71, 0.07, 0.99)
  550. halo.Transparency = 1
  551. halo.CanCollide = false
  552. halo.Material = "Neon"
  553. halo.BrickColor = BrickColor.new("White")
  554. halow = weldBetween(halo,haloh)
  555. halow.C0 = CFrame.new(-4,0,0) * CFrame.Angles(math.rad(90),math.rad(n),math.rad(0))
  556. table.insert(FadeIn,halo)
  557. table.insert(tab,halow)
  558. table.insert(tab2,halo)
  559. wait()
  560. end
  561. ws = 10
  562. clickdisallowance = false
  563. coroutine.wrap(function()
  564. g1 = Instance.new("BodyGyro", Root)
  565. g1.D = 175
  566. g1.P = 20000
  567. g1.MaxTorque = Vector3.new(0,9000,0)
  568. while notallowed do
  569. if IsDead then break end
  570. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  571. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  572. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  573. swait()
  574. end
  575. end)()
  576. coroutine.wrap(function()
  577. mouse.Button1Down:connect(function()
  578. if clickdisallowance then return end
  579. if clickdebounce then return end
  580. wait(.2)
  581. clickdebounce = true
  582. notallowed = false
  583. end)
  584. end)()
  585. while notallowed do
  586. if IsDead then break end
  587. for i,v in pairs(tab) do
  588. v.C0 = v.C0 * CFrame.Angles(math.rad(0),math.rad(0 + 1.2),math.rad(0))
  589. end
  590. swait()
  591. end
  592. appi = false
  593. ws = 0
  594. for i = 1, 15 do
  595. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  596. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  597. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  598. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
  599. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
  600. swait()
  601. end
  602. for i,v in pairs(tab) do
  603. v:Remove()
  604. end
  605. for i,v in pairs(tab2) do
  606. removeuseless:AddItem(v,6)
  607. MAKETRAIL(v,Vector3.new(.1,0,0),Vector3.new(-.1,0,0),.8,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color))
  608. BodyGyro=Instance.new('BodyGyro',v)
  609. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  610. BodyGyro.P=2e4
  611. removeuseless:AddItem(BodyGyro,.1)
  612. PB2 = Instance.new("BodyVelocity", v)
  613. PB2.MaxForce = Vector3.new(999999, 999999, 999999)
  614. v.CFrame = CFrame.new(v.Position,mouse.Hit.p)
  615. PB2.Velocity = v.CFrame.lookVector * 80
  616. end
  617. SOUND(Torso,1499747506,3,false,1)
  618. for i,v in pairs(tab2) do
  619. v.Touched:connect(function(hit)
  620. if hit.Parent:IsA("Part") then
  621. elseif hit.Parent:IsA("SpecialMesh") then
  622. elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
  623. elseif hit.Parent:findFirstChildOfClass("Humanoid") then
  624. if damagedebounce == true then return end
  625. damagedebounce = true
  626. Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
  627. tor = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  628. DamageFling(hit.Parent)
  629. SOUND(tor,694703797,6,false,1)
  630. wait(.1)
  631. damagedebounce = false
  632. end
  633. end)
  634. end
  635. for i = 1, 20 do
  636. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  637. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  638. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)), 0.3)
  639. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  640. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-15), math.rad(4)), 0.3)
  641. swait()
  642. end
  643. clean()
  644. g1:Remove()
  645. haloh:Remove()
  646. attacking = false
  647. debounce = false
  648. damagedebounce = false
  649. clickdebounce = false
  650. appi = false
  651. ws = 10
  652. end
  653. end)
  654.  
  655. mouse.KeyDown:connect(function(Press)
  656. Press=Press:lower()
  657. if Press=='y' then
  658. if levitate then return end
  659. if debounce then return end
  660. clickdisallowance = true
  661. clickdebounce = false
  662. debounce = true
  663. attacking = true
  664. appi = true
  665. ws = 0
  666. coroutine.wrap(function()
  667. while appi do
  668. if IsDead then break end
  669. wait()
  670. if Root.Velocity.y > 1 and attacking == true then
  671. position = "Jump2"
  672. elseif Root.Velocity.y < -1 and attacking == true then
  673. position = "Falling2"
  674. elseif Root.Velocity.Magnitude < 2 and attacking == true then
  675. position = "Idle2"
  676. elseif Root.Velocity.Magnitude > 2 and attacking == true then
  677. position = "Walking2"
  678. end
  679. end
  680. end)()
  681. coroutine.wrap(function()
  682. while appi do
  683. if IsDead then break end
  684. wait()
  685. settime = 0.05
  686. sine = sine + change
  687. if position == "Jump2" and attacking == true and appi == true then
  688. change = 1
  689. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  690. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  691. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  692. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  693. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  694. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  695. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  696. elseif position == "Falling2" and attacking == true and appi == true then
  697. change = 1
  698. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  699. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  700. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  701. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  702. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  703. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  704. elseif position == "Idle2" and attacking == true and appi == true then
  705. change = .4
  706. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  707. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  708. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
  709. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  710. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  711. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  712. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  713. elseif position == "Walking2" and attacking == true and appi == true then
  714. change = .8
  715. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  716. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  717. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
  718. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  719. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
  720. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  721. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  722. end
  723. end
  724. end)()
  725. bigcard = Instance.new("Part",Torso)
  726. bigcard.Material = "Neon"
  727. bigcard.Transparency = 1
  728. bigcard.BrickColor = BrickColor.new("White")
  729. bigcard.Size = Vector3.new(15.65, 23.84, 0.3)
  730. bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0)
  731. bigcard.Anchored = true
  732. SOUND(bigcard,236989198,6,false,1)
  733. ace = aces[math.random(1,#aces)]
  734. acer = Instance.new("Decal",bigcard)
  735. acer.Texture = "rbxassetid://"..ace
  736. acer.Transparency = 1
  737. acer.Face = "Front"
  738. ace2 = acer:Clone()
  739. ace2.Parent = bigcard
  740. ace2.Face = "Back"
  741. table.insert(FadeIn,acer)
  742. table.insert(FadeIn,ace2)
  743. table.insert(FadeIn,bigcard)
  744. for i = 1, 30 do
  745. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
  746. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
  747. swait()
  748. end
  749. ws = 10
  750. g1 = Instance.new("BodyGyro", Root)
  751. g1.D = 175
  752. g1.P = 20000
  753. g1.MaxTorque = Vector3.new(0,9000,0)
  754. clickdisallowance = false
  755. coroutine.wrap(function()
  756. mouse.Button1Down:connect(function()
  757. if clickdisallowance then return end
  758. if clickdebounce then return end
  759. wait(.2)
  760. clickdebounce = true
  761. end)
  762. end)()
  763. while not clickdebounce do
  764. if IsDead then break end
  765. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  766. bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0)
  767. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10 + 2 *math.sin(sine/12)),math.rad(10 - 2*math.sin(sine/12))),.3)
  768. swait()
  769. end
  770. g1:Remove()
  771. ws = 0
  772. for i = 1, 13 do
  773. bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,18,3) * CFrame.Angles(math.rad(10),0,0),.3)
  774. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0.2) * CFrame.Angles(math.rad(160),math.rad(10),math.rad(10)),.3)
  775. swait()
  776. end
  777. locationpart = Instance.new("Part",bigcard)
  778. locationpart.Size = Vector3.new(1,1,1)
  779. locationpart.Transparency = 1
  780. locationpart.CanCollide = false
  781. locationpart.Anchored = true
  782. locationpart.CFrame = Root.CFrame * CFrame.new(0,-3,-21)
  783. shockwave = Instance.new("Part", Torso)
  784. shockwave.Size = Vector3.new(1,1,1)
  785. shockwave.CanCollide = false
  786. shockwave.Anchored = true
  787. shockwave.Transparency = 0
  788. shockwave.BrickColor = BrickColor.new("White")
  789. shockwave.CFrame = CFrame.new(locationpart.Position)
  790. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  791. shockwavemesh.Scale = Vector3.new(5,2,5)
  792. shockwavemesh.MeshId = "rbxassetid://20329976"
  793. removeuseless:AddItem(shockwave,4)
  794. shockwave2 = Instance.new("Part", Torso)
  795. shockwave2.Size = Vector3.new(1,1,1)
  796. shockwave2.CanCollide = false
  797. shockwave2.Anchored = true
  798. shockwave2.Transparency = 0
  799. shockwave2.BrickColor = BrickColor.new("White")
  800. shockwave2.CFrame = CFrame.new(locationpart.Position)
  801. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  802. shockwavemesh2.Scale = Vector3.new(5,2,5)
  803. shockwavemesh2.MeshId = "rbxassetid://20329976"
  804. removeuseless:AddItem(shockwave2,4)
  805. shockwave3 = Instance.new("Part", Torso)
  806. shockwave3.Size = Vector3.new(1,1,1)
  807. shockwave3.CanCollide = false
  808. shockwave3.Anchored = true
  809. shockwave3.Transparency = 0
  810. shockwave3.BrickColor = BrickColor.new("White")
  811. shockwave3.CFrame = CFrame.new(locationpart.Position)
  812. shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  813. shockwavemesh3.Scale = Vector3.new(5,2,5)
  814. shockwavemesh3.MeshId = "rbxassetid://20329976"
  815. removeuseless:AddItem(shockwave3,4)
  816. shockwave4 = Instance.new("Part", Torso)
  817. shockwave4.Size = Vector3.new(1,1,1)
  818. shockwave4.CanCollide = false
  819. shockwave4.Anchored = true
  820. shockwave4.Transparency = 0
  821. shockwave4.BrickColor = BrickColor.new("White")
  822. shockwave4.CFrame = CFrame.new(locationpart.Position)
  823. shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  824. shockwavemesh4.Scale = Vector3.new(5,2,5)
  825. shockwavemesh4.MeshId = "rbxassetid://20329976"
  826. removeuseless:AddItem(shockwave4,4)
  827. Hit = damagealll(20,locationpart.Position)
  828. for _,v in pairs(Hit) do           
  829. DamageFling(v)
  830. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  831. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  832. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  833. vel.velocity = CFrame.new(locationpart.Position,torso.Position).lookVector*110
  834. removeuseless:AddItem(vel,.1)
  835. end
  836. coroutine.wrap(function()
  837. for i = 1, 90 do
  838. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0)
  839. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1.5,.1,1.5)
  840. shockwave.Transparency = shockwave.Transparency + 0.025
  841. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+6),0)
  842. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1.25,.25,1.25)
  843. shockwave2.Transparency = shockwave2.Transparency + 0.04
  844. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+12),0)
  845. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(.75,.75,.75)
  846. shockwave3.Transparency = shockwave3.Transparency + 0.035
  847. shockwave4.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+5),0)
  848. shockwavemesh4.Scale = shockwavemesh3.Scale + Vector3.new(2.5,.5,2.5)
  849. shockwave4.Transparency = shockwave3.Transparency + 0.03
  850. swait()
  851. end
  852. end)()
  853. SOUND(locationpart,765590102,6,false,2)
  854. for i = 1, 24 do
  855. bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,-3,-21) * CFrame.Angles(math.rad(90),0,0),.25)
  856. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5)
  857. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5)
  858. swait()
  859. end
  860. for i = 1, 40 do
  861. bigcard.Transparency = bigcard.Transparency + 0.2
  862. acer.Transparency = acer.Transparency + .2
  863. ace2.Transparency = ace2.Transparency + .2
  864. swait()
  865. end
  866. attacking = false
  867. debounce = false
  868. appi = false
  869. clickdisallowance = false
  870. clickdebounce = false
  871. ws = 10
  872. bigcard:Remove()
  873. clean()
  874. end
  875. end)
  876.  
  877. mouse.KeyDown:connect(function(Press)
  878. Press=Press:lower()
  879. if Press=='u' then
  880. if levitate then return end
  881. if mouse.Target ~= nil then end
  882. if debounce then return end
  883. debounce = true
  884. attacking = true
  885. appi = true
  886. ws = 0
  887. appi = true
  888. coroutine.wrap(function()
  889. while appi do
  890. if IsDead then break end
  891. wait()
  892. if Root.Velocity.y > 1 and attacking == true then
  893. position = "Jump2"
  894. elseif Root.Velocity.y < -1 and attacking == true then
  895. position = "Falling2"
  896. elseif Root.Velocity.Magnitude < 2 and attacking == true then
  897. position = "Idle2"
  898. elseif Root.Velocity.Magnitude > 2 and attacking == true then
  899. position = "Walking2"
  900. end
  901. end
  902. end)()
  903. coroutine.wrap(function()
  904. while appi do
  905. if IsDead then break end
  906. wait()
  907. settime = 0.05
  908. sine = sine + change
  909. if position == "Jump2" and attacking == true and appi == true then
  910. change = 1
  911. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  912. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  913. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  914. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  915. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  916. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  917. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  918. elseif position == "Falling2" and attacking == true and appi == true then
  919. change = 1
  920. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  921. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  922. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  923. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  924. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  925. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  926. elseif position == "Idle2" and attacking == true and appi == true then
  927. change = .4
  928. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  929. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  930. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
  931. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  932. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  933. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  934. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  935. elseif position == "Walking2" and attacking == true and appi == true then
  936. change = .8
  937. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  938. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  939. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
  940. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  941. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
  942. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  943. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  944. end
  945. end
  946. end)()
  947. g1 = Instance.new("BodyGyro", Root)
  948. g1.D = 175
  949. g1.P = 20000
  950. g1.MaxTorque = Vector3.new(0,9000,0)
  951. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  952. for i = 1, 15 do
  953. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  954. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
  955. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
  956. swait()
  957. end
  958. cardportal = Instance.new("Part", Torso)
  959. cardportal.Size = Vector3.new(0.5, 0.5, 0.5)
  960. cardportal.Material = "Neon"
  961. cardportal.BrickColor = BrickColor.new("White")
  962. cardportal.Transparency = 0
  963. cardportal.Anchored = true
  964. cardportal.CanCollide = false
  965. cardportalMESH = Instance.new("SpecialMesh", cardportal)
  966. cardportalMESH.MeshType = "Cylinder"
  967. cardportalMESH.Scale = Vector3.new(.2,0.01,0.01)
  968. cardportal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  969. for i = 1, 10 do
  970. cardportalMESH.Scale = cardportalMESH.Scale + Vector3.new(0,4,4)
  971. swait()
  972. end
  973. bigzcard = Instance.new("Part",Torso)
  974. bigzcard.Material = "Neon"
  975. bigzcard.Transparency = 0
  976. bigzcard.BrickColor = BrickColor.new("White")
  977. bigzcard.Size = Vector3.new(10, 15, 0.3)
  978. bigzcard.CFrame = cardportal.CFrame * CFrame.new(-8,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  979. bigzcard.Anchored = true
  980. SOUND(bigzcard,1888686669,6,false,1)
  981. acer = Instance.new("Decal",bigzcard)
  982. acer.Texture = "rbxassetid://1881287656"
  983. acer.Transparency = 0
  984. acer.Face = "Front"
  985. ace2 = acer:Clone()
  986. ace2.Parent = bigzcard
  987. ace2.Face = "Back"
  988. spinning = true
  989. coroutine.wrap(function()
  990. while spinning do
  991. if IsDead then break end
  992. bigzcard.CFrame = bigzcard.CFrame * CFrame.Angles(0,math.rad(0+5),0)
  993. swait()
  994. end
  995. end)()
  996. for i = 1, 20 do
  997. bigzcard.CFrame = bigzcard.CFrame * CFrame.new(0,-.9,0)
  998. swait()
  999. end
  1000. coroutine.wrap(function()
  1001. for i = 1, 10 do
  1002. cardportalMESH.Scale = cardportalMESH.Scale - Vector3.new(0,4,4)
  1003. swait()
  1004. end
  1005. cardportal:Remove()
  1006. end)()
  1007. wait(.7)
  1008. ace3 = Instance.new("Decal",bigzcard)
  1009. ace3.Texture = "rbxassetid://1880203893"
  1010. ace3.Transparency = 1
  1011. ace3.Face = "Front"
  1012. ace4 = ace3:Clone()
  1013. ace4.Parent = bigzcard
  1014. ace4.Face = "Back"
  1015. bigzcard2 = Instance.new("Part",Torso)
  1016. bigzcard2.Material = "Neon"
  1017. bigzcard2.Transparency = 1
  1018. bigzcard2.BrickColor = BrickColor.new("Really black")
  1019. bigzcard2.Size = Vector3.new(10, 15, 0.29)
  1020. bigzcard2.CFrame = bigzcard.CFrame
  1021. bigzcard2.CanCollide = false
  1022. bigzcard2.Anchored = true
  1023. coroutine.wrap(function()
  1024. while spinning do
  1025. if IsDead then break end
  1026. bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+5),0)
  1027. swait()
  1028. end
  1029. end)()
  1030. blz = bl[math.random(1,#bl)]
  1031. woos = Instance.new("Sound",Torso)
  1032. woos.SoundId = "rbxassetid://"..blz
  1033. woos.Volume = 4
  1034. woos:Play()
  1035. for i = 1, 20 do
  1036. bigzcard2.Transparency = bigzcard2.Transparency - .05
  1037. bigzcard.Transparency = bigzcard.Transparency + .05
  1038. ace3.Transparency = ace3.Transparency - 0.05
  1039. ace4.Transparency = ace4.Transparency - 0.05
  1040. acer.Transparency = acer.Transparency + 0.05
  1041. ace2.Transparency = ace2.Transparency + 0.05
  1042. wait()
  1043. end
  1044. ace3.Parent = bigzcard2
  1045. ace3.Face = "Front"
  1046. ace4.Parent = bigzcard2
  1047. ace4.Face = "Back"
  1048. bigzcard:Remove()
  1049. spinning = false
  1050. blackholeactive = true
  1051. coroutine.wrap(function()
  1052. blackhole={}
  1053. orbzfade={}
  1054. for i = 1, 100 do
  1055. orbz = Instance.new("Part", Torso)
  1056. orbz.Shape = "Ball"
  1057. orbz.Material = "Neon"
  1058. orbz.BrickColor = BrickColor.new("Really black")
  1059. orbz.Size = Vector3.new(2,2,2)
  1060. orbz.Anchored = true
  1061. orbz.CanCollide = false
  1062. removeuseless:AddItem(orbz,1)
  1063. orbz.CFrame = bigzcard2.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180))
  1064. table.insert(blackhole,orbz)
  1065. table.insert(orbzfade,orbz)
  1066. for i,v in pairs(blackhole) do
  1067. v.CFrame = v.CFrame:lerp(CFrame.new(bigzcard2.Position),.05)
  1068. end
  1069. for i,v in pairs(orbzfade) do
  1070. v.Transparency = v.Transparency + 0.025
  1071. end
  1072. swait()
  1073. end
  1074. end)()
  1075. coroutine.wrap(function()
  1076. while blackholeactive do
  1077. if IsDead then break end
  1078. local Hit = damagealll(45,bigzcard2.Position)      
  1079. for _,v in pairs(Hit) do
  1080. coroutine.wrap(function()
  1081. wait(.15)
  1082. if blackholeactive == false then return end
  1083. DamageFling(v)
  1084. end)()     
  1085. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1086. torso.CFrame = torso.CFrame:lerp(CFrame.new(bigzcard2.Position),.1)
  1087. end
  1088. wait()
  1089. end
  1090. end)()
  1091. for i = 1, 100 do
  1092. bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  1093. cataclysmics = Instance.new("Part", Torso)
  1094. cataclysmics.Shape = "Ball"
  1095. cataclysmics.Material = "Neon"
  1096. cataclysmics.BrickColor = BrickColor.new("Really black")
  1097. cataclysmics.Size = Vector3.new(11,11,11)
  1098. cataclysmics.Transparency = .3
  1099. cataclysmics.Anchored = true
  1100. cataclysmics.CanCollide = false
  1101. cataclysmics.CFrame = CFrame.new(bigzcard2.Position)
  1102. table.insert(LessSize,cataclysmics)
  1103. table.insert(keyYtransparency,cataclysmics)
  1104. removeuseless:AddItem(cataclysmics,1)
  1105. swait()
  1106. end
  1107. coroutine.wrap(function()
  1108. for i = 1, 20 do
  1109. for i,v in pairs(orbzfade) do
  1110. v.Transparency = v.Transparency + 0.05
  1111. end
  1112. swait()
  1113. end
  1114. end)()
  1115. explosiontable={}
  1116. ringtable={}
  1117. ringtable2={}
  1118. soundboks = Instance.new("Part",Torso)
  1119. soundboks.CanCollide = false
  1120. soundboks.Anchored = true
  1121. soundboks.Transparency = 1
  1122. soundboks.CFrame = bigzcard2.CFrame
  1123. removeuseless:AddItem(soundboks,6)
  1124. SOUND(soundboks,472579737,6,false,1)
  1125. blackholeactive = false
  1126. bigzcard2:Remove()
  1127. Hit = damagealll(60,soundboks.Position)
  1128. for _,v in pairs(Hit) do           
  1129. DamageFling(v)
  1130. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1131. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1132. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1133. vel.velocity = CFrame.new(soundboks.Position,torso.Position).lookVector*200
  1134. removeuseless:AddItem(vel,.1)
  1135. end
  1136. coroutine.wrap(function()
  1137. shockwave = Instance.new("Part", Torso)
  1138. shockwave.Size = Vector3.new(1,1,1)
  1139. shockwave.CanCollide = false
  1140. shockwave.Anchored = true
  1141. shockwave.Transparency = 0
  1142. shockwave.BrickColor = BrickColor.new("Really black")
  1143. shockwave.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0)
  1144. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1145. shockwavemesh.Scale = Vector3.new(5,2,5)
  1146. shockwavemesh.MeshId = "rbxassetid://20329976"
  1147. shockwave2 = Instance.new("Part", Torso)
  1148. shockwave2.Size = Vector3.new(1,1,1)
  1149. shockwave2.CanCollide = false
  1150. shockwave2.Anchored = true
  1151. shockwave2.Transparency = 0
  1152. shockwave2.BrickColor = BrickColor.new("Really black")
  1153. shockwave2.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0)
  1154. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1155. shockwavemesh2.Scale = Vector3.new(5,2,5)
  1156. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1157. for i = 1, 40 do
  1158. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0)
  1159. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+8),0)
  1160. shockwave.Transparency = shockwave.Transparency + 0.025
  1161. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1162. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,.9,9)
  1163. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,.8,8)
  1164. swait()
  1165. end
  1166. shockwave:Remove()
  1167. shockwave2:Remove()
  1168. end)() 
  1169. for i = 1, 4 do
  1170. explosion = Instance.new("Part", Torso)
  1171. explosion.Shape = "Ball"
  1172. explosion.Size = Vector3.new(1,1,1)
  1173. explosion.Transparency = 0
  1174. explosion.CanCollide = false
  1175. explosion.Anchored = true
  1176. explosion.BrickColor = BrickColor.new("Really black")
  1177. explosion.Material = "Neon"
  1178. explosion.CFrame = CFrame.new(bigzcard2.Position)
  1179. table.insert(ExtremeM,explosion)
  1180. table.insert(SlowlyFade,explosion)
  1181. removeuseless:AddItem(explosion,4)
  1182. ring = Instance.new("Part", Torso)
  1183. ring.Size = Vector3.new(5, 5, 5)
  1184. ring.Transparency = 0
  1185. ring.BrickColor = BrickColor.new("Really black")
  1186. ring.Anchored = true
  1187. ring.CanCollide = false
  1188. ring.CFrame = bigzcard2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  1189. ringh = Instance.new("SpecialMesh", ring)
  1190. ringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1191. ringh.Scale = Vector3.new(2, 2, .1)
  1192. table.insert(keyYsize,ringh)
  1193. table.insert(keyYtransparency,ring)
  1194. removeuseless:AddItem(ring,4)
  1195. swait()
  1196. end
  1197. wait(1.2)
  1198. clean()
  1199. keyYsize={}
  1200. keyYtransparency={}
  1201. blackholev = false
  1202. appi = false
  1203. g1:Remove()
  1204. ws = 10
  1205. attacking = false
  1206. debounce = false
  1207. end
  1208. end)
  1209.  
  1210. mouse.KeyDown:connect(function(Press)
  1211. Press=Press:lower()
  1212. if Press=='t' then
  1213. if levitate then
  1214. if tauntdebounce then return end
  1215. tauntdebounce = true
  1216. laughing = true
  1217. coroutine.wrap(function()
  1218. while laughing do
  1219. if IsDead then break end
  1220. local b1 = Instance.new("BillboardGui",Head)
  1221. b1.Size = UDim2.new(0,4,0,1.6)
  1222. b1.StudsOffset = Vector3.new(0,0,0)
  1223. b1.Name = "laff"
  1224. b1.AlwaysOnTop = true
  1225. b1.Adornee = Head
  1226. removeuseless:AddItem(b1,3)
  1227. local b2 = Instance.new("TextLabel",b1)
  1228. b2.BackgroundTransparency = 1
  1229. b2.Text = "HaHaHaHaHaHa..."
  1230. b2.Font = "Garamond"
  1231. b2.TextSize = 0
  1232. b2.Name = "lafftext"
  1233. b2.TextStrokeTransparency = 0
  1234. b2.TextColor3 = BrickColor.new("Really red").Color
  1235. b2.TextStrokeColor3 = Color3.new(0,0,0)
  1236. b2.Size = UDim2.new(1,0,.5,0)
  1237. table.insert(laughingtable,b2)
  1238. removeuseless:AddItem(b1,2)
  1239. coroutine.wrap(function()
  1240. if zxc then return end
  1241. zxc = true
  1242. while true do
  1243. if IsDead then break end
  1244. swait()
  1245. for i,v in pairs(Head:GetChildren()) do
  1246. if v.Name == "laff" then
  1247. v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
  1248. end
  1249. end
  1250. for i,v in pairs(laughingtable) do
  1251. v.TextTransparency = v.TextTransparency + .025
  1252. v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25
  1253. v.TextSize = v.TextSize + 2
  1254. v.Rotation = v.Rotation + .1
  1255. end
  1256. end
  1257. end)()
  1258. swait(10)
  1259. end
  1260. end)()
  1261. laugh = laughs[math.random(1,#laughs)]
  1262. laughy = Instance.new("Sound",Head)
  1263. laughy.SoundId = "rbxassetid://"..laugh
  1264. laughy.Volume = 10
  1265. laughy:Play()
  1266. wait(1)
  1267. wait(laughy.TimeLength)
  1268. laughing = false
  1269. laughy:Remove()
  1270. tauntdebounce = false
  1271. else
  1272. if mouse.Target ~= nil then
  1273. if debounce then return end
  1274. attacking = true
  1275. tps = Instance.new("Sound", Torso)
  1276. tps.Volume = 5
  1277. tps.SoundId = "rbxassetid://1894958339"
  1278. tps:Play()
  1279. removeuseless:AddItem(tps,2)
  1280. g1 = Instance.new("BodyGyro", Root)
  1281. g1.D = 175
  1282. g1.P = 20000
  1283. g1.MaxTorque = Vector3.new(0,9000,0)
  1284. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  1285. removeuseless:AddItem(g1,.05)
  1286. Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0)
  1287. wait(.1)
  1288. attacking = false
  1289. debounce = false
  1290. end
  1291. end
  1292. end
  1293. end)
  1294.  
  1295. mouse.KeyDown:connect(function(Press)
  1296. Press=Press:lower()
  1297. if Press=='q' then
  1298. if levitate then return end
  1299. if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health ~= 0 then
  1300. if debounce then return end
  1301. debounce = true
  1302. attacking = true
  1303. appi = true
  1304. ws = 0
  1305. coroutine.wrap(function()
  1306. while appi do
  1307. if IsDead then break end
  1308. wait()
  1309. if Root.Velocity.y > 1 and attacking == true then
  1310. position = "Jump2"
  1311. elseif Root.Velocity.y < -1 and attacking == true then
  1312. position = "Falling2"
  1313. elseif Root.Velocity.Magnitude < 2 and attacking == true then
  1314. position = "Idle2"
  1315. elseif Root.Velocity.Magnitude > 2 and attacking == true then
  1316. position = "Walking2"
  1317. end
  1318. end
  1319. end)()
  1320. coroutine.wrap(function()
  1321. while appi do
  1322. if IsDead then break end
  1323. wait()
  1324. settime = 0.05
  1325. sine = sine + change
  1326. if position == "Jump2" and attacking == true and appi == true then
  1327. change = 1
  1328. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1329. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1330. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1331. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1332. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
  1333. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  1334. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1335. elseif position == "Falling2" and attacking == true and appi == true then
  1336. change = 1
  1337. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1338. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1339. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1340. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1341. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  1342. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
  1343. elseif position == "Idle2" and attacking == true and appi == true then
  1344. change = .4
  1345. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1346. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1347. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  1348. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  1349. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1350. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1351. elseif position == "Walking2" and attacking == true and appi == true then
  1352. change = .8
  1353. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1354. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1355. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  1356. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  1357. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
  1358. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  1359. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  1360. end
  1361. end
  1362. end)()
  1363. enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1364. ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  1365. EHead = enemyhum.Parent:FindFirstChild("Head")
  1366. g1 = Instance.new("BodyGyro", Root)
  1367. g1.D = 175
  1368. g1.P = 20000
  1369. g1.MaxTorque = Vector3.new(0,9000,0)
  1370. brick = Instance.new("Part",Torso)
  1371. brick.Anchored = true
  1372. brick.CanCollide = false
  1373. brick.Material = "Neon"
  1374. brick.Transparency = 1
  1375. brick.BrickColor = BrickColor.new("White")
  1376. brick.Size = Vector3.new(8,.3,12)
  1377. brick.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),-3,math.random(-15,15))
  1378. SOUND(brick,1888686669,6,false,1.5)
  1379. ace = aces[math.random(1,#aces)]
  1380. acer = Instance.new("Decal",brick)
  1381. acer.Texture = "rbxassetid://1898092341"
  1382. acer.Transparency = 1
  1383. acer.Face = "Top"
  1384. coroutine.wrap(function()
  1385. for i = 1, 20 do
  1386. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
  1387. brick.Transparency = brick.Transparency - .05
  1388. acer.Transparency = acer.Transparency - .1
  1389. swait()
  1390. end
  1391. end)()
  1392. ETorso.Anchored = true
  1393. EHead.Anchored = true
  1394. for i = 1, 25 do
  1395. swait()
  1396. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
  1397. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(0,0,0),.3)
  1398. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1399. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  1400. brick.CFrame = brick.CFrame:lerp(CFrame.new(ETorso.Position) * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(0+10),0),.2)
  1401. end
  1402. SOUND(brick,472214107,6,false,2)
  1403. coroutine.wrap(function()
  1404. for i = 1, 10 do
  1405. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
  1406. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  1407. swait()
  1408. end
  1409. end)()
  1410. shockwave = Instance.new("Part", Torso)
  1411. shockwave.Size = Vector3.new(1,1,1)
  1412. shockwave.CanCollide = false
  1413. shockwave.Anchored = true
  1414. shockwave.Transparency = 0
  1415. shockwave.BrickColor = BrickColor.new("White")
  1416. shockwave.CFrame = CFrame.new(brick.Position)
  1417. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1418. shockwavemesh.Scale = Vector3.new(1,1,1)
  1419. shockwavemesh.MeshId = "rbxassetid://20329976"
  1420. removeuseless:AddItem(shockwave,4)
  1421. shockwave2 = Instance.new("Part", Torso)
  1422. shockwave2.Size = Vector3.new(1,1,1)
  1423. shockwave2.CanCollide = false
  1424. shockwave2.Anchored = true
  1425. shockwave2.Transparency = 0
  1426. shockwave2.BrickColor = BrickColor.new("White")
  1427. shockwave2.CFrame = CFrame.new(brick.Position)
  1428. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1429. shockwavemesh2.Scale = Vector3.new(1,1,1)
  1430. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1431. removeuseless:AddItem(shockwave2,4)
  1432. for i = 1, 35 do
  1433. swait()
  1434. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.1,2)
  1435. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0)
  1436. shockwave.Transparency = shockwave.Transparency + .05
  1437. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.5,.1,.5)
  1438. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
  1439. shockwave2.Transparency = shockwave2.Transparency + .03
  1440. EHead.CFrame = EHead.CFrame * CFrame.new(0,-.20,0)
  1441. ETorso.CFrame = ETorso.CFrame * CFrame.new(0,-.25,0)
  1442. end
  1443. for i = 1, 8 do
  1444. brick.Size = brick.Size + Vector3.new(1.5,0,2.5)
  1445. swait()
  1446. end
  1447. n = 0
  1448. SOUND(brick,54111471,6,false,1)
  1449. for i = 1, 40 do
  1450. n = n + 6
  1451. brick.Transparency = brick.Transparency + .025
  1452. acer.Transparency = acer.Transparency + .075
  1453. brick.CFrame = brick.CFrame * CFrame.Angles(0,math.rad(n),0)
  1454. brick.Size = brick.Size - Vector3.new(1.5,.025,2.5)
  1455. swait()
  1456. end
  1457. ws = 10
  1458. brick:Remove()
  1459. enemyhum.Parent:Remove()
  1460. attacking = false
  1461. removeuseless:AddItem(g1,0.001)
  1462. debounce = false
  1463. appi = false
  1464. end
  1465. end
  1466. end)
  1467.  
  1468. mouse.KeyDown:connect(function(Press)
  1469. Press=Press:lower()
  1470. if Press=='p' then
  1471. if levitate then return end
  1472. if blocking then
  1473. if blockedoff then return end
  1474. clickallowance = false
  1475. appi = false
  1476. attacking = true
  1477. blocking = false
  1478. throwing = true
  1479. ws = 0
  1480. n = 0
  1481. blockcard.CanCollide = false
  1482. for i = 1, 35 do
  1483. n = n + 20
  1484. blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) * CFrame.Angles(0,math.rad(n),0)
  1485. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3)
  1486. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
  1487. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
  1488. swait()
  1489. end
  1490. blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5 + -1) * CFrame.Angles(0,0,0)
  1491. blockcard.CanCollide = false
  1492. locater1 = Instance.new("Part",blockcard)
  1493. locater1.Size = Vector3.new(1,1,1)
  1494. locater1.CanCollide = false
  1495. locater1.Anchored = true
  1496. locater1.Transparency = 1
  1497. locater2 = Instance.new("Part",blockcard)
  1498. locater2.Size = Vector3.new(1,1,1)
  1499. locater2.CanCollide = false
  1500. locater2.Transparency = 1
  1501. locater2.Anchored = true
  1502. locater3 = Instance.new("Part",blockcard)
  1503. locater3.Size = Vector3.new(1,1,1)
  1504. locater3.Transparency = 1
  1505. locater3.CFrame = blockcard.CFrame * CFrame.Angles(math.rad(90),0,0)
  1506. locater3.CanCollide = false
  1507. locater3.Anchored = true
  1508. fushfush = Instance.new("Sound",blockcard)
  1509. fushfush.SoundId = "rbxassetid://288641686"
  1510. fushfush.Volume = 8
  1511. fushfush:Play()
  1512. boosh:Play()
  1513. coroutine.wrap(function()
  1514. n = 0
  1515. for i = 1, 35 do
  1516. n = n + 10
  1517. shockwave = Instance.new("Part", Torso)
  1518. shockwave.Size = Vector3.new(1,1,1)
  1519. shockwave.CanCollide = false
  1520. shockwave.Anchored = true
  1521. shockwave.Transparency = .5
  1522. shockwave.BrickColor = BrickColor.new("White")
  1523. shockwave.CFrame = locater3.CFrame
  1524. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1525. shockwavemesh.Scale = Vector3.new(15,.7,15)
  1526. shockwavemesh.MeshId = "rbxassetid://20329976"
  1527. shockwave.CFrame = locater3.CFrame * CFrame.Angles(math.rad(0),math.rad(1),0)
  1528. removeuseless:AddItem(shockwave,1)
  1529. table.insert(lolzor2,shockwave)
  1530. for i,v in pairs(lolzor2) do
  1531. v.Transparency = v.Transparency + .1
  1532. v.CFrame = v.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
  1533. end
  1534. swait()
  1535. end
  1536. end)()
  1537. for i = 1, 35 do
  1538. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1539. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1540. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3)
  1541. fushfush.Volume = fushfush.Volume - .2
  1542. Hit = damagealll(20,blockcard.Position)
  1543. for _,v in pairs(Hit) do           
  1544. DamageFling(v)
  1545. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1546. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1547. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1548. vel.velocity = CFrame.new(blockcard.Position,torso.Position).lookVector*120
  1549. removeuseless:AddItem(vel,.1)
  1550. end
  1551. locater1.CFrame = blockcard.CFrame * CFrame.new(-5,-6,0)
  1552. locater3.CFrame = blockcard.CFrame * CFrame.new(0,0,-1) * CFrame.Angles(math.rad(90),0,0)
  1553. locater2.CFrame = blockcard.CFrame * CFrame.new(5,-6,0)
  1554. grassblocks = Instance.new("Part",Torso)
  1555. grassblocks.Size = Vector3.new(4,4,4)
  1556. grassblocks.Material = "Grass"
  1557. grassblocks.Anchored = true
  1558. grassblocks.BrickColor = BrickColor.new("Bright green")
  1559. grassblocks.CFrame = locater1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1560. removeuseless:AddItem(grassblocks,5)
  1561. grassblocks2 = Instance.new("Part",Torso)
  1562. grassblocks2.Size = Vector3.new(4,4,4)
  1563. grassblocks2.Material = "Grass"
  1564. grassblocks2.Anchored = true
  1565. grassblocks2.BrickColor = BrickColor.new("Bright green")
  1566. grassblocks2.CFrame = locater2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1567. removeuseless:AddItem(grassblocks2,5)
  1568. blockcardshadow = Instance.new("Part",Torso)
  1569. blockcardshadow.Transparency = .5
  1570. blockcardshadow.Anchored = true
  1571. blockcardshadow.Material = "Neon"
  1572. blockcardshadow.BrickColor = BrickColor.new("White")
  1573. blockcardshadow.Size = Vector3.new(8, 13, 0.3)
  1574. blockcardshadow.CanCollide = false
  1575. blockcardshadow.CFrame = blockcard.CFrame
  1576. removeuseless:AddItem(blockcardshadow,2)
  1577. table.insert(lolzor,blockcardshadow)
  1578. for i,v in pairs(lolzor) do
  1579. v.Transparency = v.Transparency + 0.05
  1580. end
  1581. blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-4)
  1582. swait()
  1583. end
  1584. blockcard.Name = "Getthisshitoutofhere"
  1585. for i = 1, 10 do
  1586. blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-2)
  1587. blockcard.Transparency = blockcard.Transparency + .1
  1588. acer.Transparency = blockcard.Transparency
  1589. ace2.Transparency = blockcard.Transparency
  1590. for i,v in pairs(lolzor) do
  1591. v.Transparency = v.Transparency + .05
  1592. end
  1593. for i,v in pairs(lolzor2) do
  1594. v.Transparency = v.Transparency + .1
  1595. end
  1596. swait()
  1597. end
  1598. lolzor={}
  1599. lolzor2={}
  1600. attacking = false
  1601. debounce = false
  1602. blocking = false
  1603. throwing = false
  1604. fushfush:Remove()
  1605. clickallowance = false
  1606. appi = false
  1607. blockcard:Remove()
  1608. g1:Remove()
  1609. ws = 10
  1610. else
  1611. if debounce then return end
  1612. if throwing then return end
  1613. debounce = true
  1614. ws = 10
  1615. attacking = true
  1616. blocking = true
  1617. boosh = Instance.new("Sound",nil)
  1618. boosh.SoundId = "rbxassetid://413682983"
  1619. boosh.Volume = 6
  1620. appi = true
  1621. coroutine.wrap(function()
  1622. while appi do
  1623. if IsDead then break end
  1624. wait()
  1625. if Root.Velocity.y > 1 and attacking == true then
  1626. position = "Jump2"
  1627. elseif Root.Velocity.y < -1 and attacking == true then
  1628. position = "Falling2"
  1629. elseif Root.Velocity.Magnitude < 2 and attacking == true then
  1630. position = "Idle2"
  1631. elseif Root.Velocity.Magnitude > 2 and attacking == true then
  1632. position = "Walking2"
  1633. end
  1634. end
  1635. end)()
  1636. coroutine.wrap(function()
  1637. while appi do
  1638. if IsDead then break end
  1639. wait()
  1640. settime = 0.05
  1641. sine = sine + change
  1642. if position == "Jump2" and attacking == true and appi == true then
  1643. change = 1
  1644. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1645. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1646. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1647. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1648. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
  1649. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  1650. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1651. elseif position == "Falling2" and attacking == true and appi == true then
  1652. change = 1
  1653. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1654. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1655. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1656. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1657. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  1658. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
  1659. elseif position == "Idle2" and attacking == true and appi == true then
  1660. change = .4
  1661. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1662. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1663. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  1664. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  1665. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1666. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1667. elseif position == "Walking2" and attacking == true and appi == true then
  1668. change = .8
  1669. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1670. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1671. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
  1672. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  1673. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
  1674. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3)
  1675. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3)
  1676. end
  1677. end
  1678. end)()
  1679. blockcard = Instance.new("Part",Torso)
  1680. blockcard.Material = "Neon"
  1681. blockcard.Transparency = 1
  1682. blockcard.BrickColor = BrickColor.new("White")
  1683. blockcard.Size = Vector3.new(8, 13, 0.3)
  1684. blockcard.CFrame = Root.CFrame * CFrame.new(0,2,-5)
  1685. blockcard.Anchored = true
  1686. boosh.Parent = blockcard
  1687. SOUND(blockcard,236989198,6,false,1)
  1688. ace = aces[math.random(1,#aces)]
  1689. acer = Instance.new("Decal",blockcard)
  1690. acer.Texture = "rbxassetid://"..ace
  1691. acer.Transparency = 1
  1692. acer.Face = "Front"
  1693. ace2 = acer:Clone()
  1694. ace2.Parent = blockcard
  1695. ace2.Face = "Back"
  1696. coroutine.wrap(function()
  1697. for i = 1, 20 do
  1698. blockcard.Transparency = blockcard.Transparency - 0.05
  1699. acer.Transparency = blockcard.Transparency
  1700. ace2.Transparency = blockcard.Transparency
  1701. swait()
  1702. end
  1703. clickallowance = true
  1704. end)()
  1705. g1 = Instance.new("BodyGyro", Root)
  1706. g1.D = 175
  1707. g1.P = 20000
  1708. g1.MaxTorque = Vector3.new(0,9000,0)
  1709. coroutine.wrap(function()
  1710. while blocking do
  1711. if IsDead then break end
  1712. if not blockedoff then
  1713. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1714. blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5)
  1715. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1716. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  1717. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  1718. end
  1719. swait()
  1720. end
  1721. end)()
  1722. wait(1)
  1723. mouse.Button1Down:connect(function()
  1724. if throwing then return end
  1725. if not clickallowance then return end
  1726. clickallowance = false
  1727. blockedoff = true
  1728. ws = 0
  1729. for i = 1, 15 do
  1730. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3)
  1731. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
  1732. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
  1733. swait()
  1734. end
  1735. boosh:Play()
  1736. hitdebounce = false
  1737. blockcard.Touched:connect(function(hit)
  1738. if hit.Parent:IsA("Part") then
  1739. elseif hit.Parent:IsA("SpecialMesh") then
  1740. elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
  1741. elseif hit.Parent:findFirstChildOfClass("Humanoid") then
  1742. for i,v in pairs(hit.Parent:GetChildren()) do
  1743. Slachtoffer = v.Parent:FindFirstChildOfClass("Humanoid")
  1744. if hitdebounce then return end
  1745. hitdebounce = true
  1746. vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
  1747. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1748. if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  1749. tors = hit.Parent:FindFirstChild("UpperTorso")
  1750. else
  1751. tors = hit.Parent:FindFirstChild("Torso")
  1752. end
  1753. vel.velocity = CFrame.new(Root.Position,tors.Position).lookVector*120
  1754. removeuseless:AddItem(vel,.1)
  1755. DamageFling(v.Parent)
  1756. end
  1757. end
  1758. end)
  1759. for i = 1, 10 do
  1760. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1761. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1762. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3)
  1763. blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0-1)
  1764. swait()
  1765. end
  1766. for i = 1, 10 do
  1767. blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0+1)
  1768. swait()
  1769. end
  1770. hitdebounce = true
  1771. ws = 10
  1772. clickallowance = true
  1773. blockedoff = false
  1774. end)
  1775. end
  1776. end
  1777. end)
  1778.  
  1779.  
  1780. mouse.KeyDown:connect(function(Press)
  1781. Press=Press:lower()
  1782. if Press=='f' then
  1783. if debounce then return end
  1784. if notallowedtransform then return end
  1785. debounce = true
  1786. if levitate then
  1787. levitate = false
  1788. blastwave = Instance.new("Part",Torso)
  1789. blastwave.CFrame = Torso.CFrame
  1790. blastwave.Anchored = true
  1791. blastwave.Material = "Neon"
  1792. blastwave.CanCollide = false
  1793. blastwave.Shape = "Ball"
  1794. blastwave.Size = Vector3.new(3,3,3)
  1795. coroutine.wrap(function()
  1796. for i = 1, 20 do
  1797. levitatewave.Transparency = levitatewave.Transparency + 0.05
  1798. levitatewave2.Transparency = levitatewave2.Transparency + 0.05
  1799. blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
  1800. blastwave.Transparency = blastwave.Transparency + 0.05
  1801. swait()
  1802. end
  1803. blastwave:Remove()
  1804. levitatewave2:Remove()
  1805. levitatewave:Remove()
  1806. end)()
  1807. ws = 10
  1808. notallowedtransform = true
  1809. attacking = true
  1810. coroutine.wrap(function()
  1811. for i = 1, 10 do
  1812. for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
  1813. v.Transparency = v.Transparency + 0.1
  1814. end
  1815. end
  1816. for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
  1817. v.Transparency = v.Transparency + 0.1
  1818. end
  1819. end
  1820. wait()
  1821. end
  1822. end)()
  1823. doomtheme.SoundId = "rbxassetid://1843358057"
  1824.  
  1825. hum.HipHeight = 0
  1826. ws = 10
  1827. debounce = false
  1828. attacking = false
  1829. coroutine.wrap(function()
  1830. wait(3)
  1831. notallowedtransform = false
  1832. end)()
  1833. else
  1834. ws = 50
  1835. notallowedtransform = true
  1836. levitate = true
  1837. ws = 50
  1838. mnb = 0
  1839. levitatewave = Instance.new("Part", Torso)
  1840. levitatewave.Size = Vector3.new(1,1,1)
  1841. levitatewave.CanCollide = false
  1842. levitatewave.Anchored = true
  1843. levitatewave.Transparency = .5
  1844. levitatewave.BrickColor = BrickColor.new("Really black")
  1845. levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  1846. levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
  1847. levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5)
  1848. levitatewavemesh.MeshId = "rbxassetid://20329976"
  1849. levitatewave2 = Instance.new("Part", Torso)
  1850. levitatewave2.Size = Vector3.new(1,1,1)
  1851. levitatewave2.CanCollide = false
  1852. levitatewave2.Anchored = true
  1853. levitatewave2.Transparency = .5
  1854. levitatewave2.BrickColor = BrickColor.new("Really red")
  1855. levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  1856. levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
  1857. levitatewavemesh2.Scale = Vector3.new(2,.4,2)
  1858. levitatewavemesh2.MeshId = "rbxassetid://20329976"
  1859. blastwave = Instance.new("Part",Torso)
  1860. blastwave.CFrame = Torso.CFrame
  1861. blastwave.Anchored = true
  1862. blastwave.Material = "Neon"
  1863. blastwave.CanCollide = false
  1864. blastwave.Shape = "Ball"
  1865. blastwave.Size = Vector3.new(3,3,3)
  1866. coroutine.wrap(function()
  1867. for i = 1, 20 do
  1868. blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
  1869. blastwave.Transparency = blastwave.Transparency + 0.05
  1870. swait()
  1871. end
  1872. blastwave:Remove()
  1873. end)()
  1874. coroutine.wrap(function()
  1875. while levitate do
  1876. if IsDead then break end
  1877. mnb = mnb + 15
  1878. levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
  1879. levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
  1880. colors = colortable[math.random(1,#colortable)]
  1881. lmagic = Instance.new("Part",LeftArm)
  1882. lmagic.Material = "Neon"
  1883. lmagic.CanCollide = false
  1884. lmagic.Anchored = true
  1885. lmagic.BrickColor = BrickColor.new(colors)
  1886. lmagic.Size = Vector3.new(1,1,1)
  1887. lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1888. removeuseless:AddItem(lmagic,2)
  1889. rmagic = Instance.new("Part",RightArm)
  1890. rmagic.Material = "Neon"
  1891. rmagic.CanCollide = false
  1892. rmagic.Anchored = true
  1893. rmagic.BrickColor = BrickColor.new(colors)
  1894. rmagic.Size = Vector3.new(1,1,1)
  1895. rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1896. removeuseless:AddItem(rmagic,2)
  1897. for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
  1898. v.Transparency = v.Transparency + 0.05
  1899. end
  1900. end
  1901. for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
  1902. v.Transparency = v.Transparency + 0.05
  1903. end
  1904. end
  1905. swait()
  1906. end
  1907. end)()
  1908. doomtheme.SoundId = "rbxassetid://1382488262"
  1909. doomtheme:Play()
  1910. doomtheme.Volume = 2
  1911. doomtheme.TimePosition = 20.7
  1912.  
  1913. coroutine.wrap(function()
  1914. while levitate do
  1915. if IsDead then break end
  1916. hum.HipHeight = 3 - .5 * math.sin(sine/9)
  1917. swait()
  1918. end
  1919. end)()
  1920. attacking = false
  1921. debounce = false
  1922. coroutine.wrap(function()
  1923. wait(3)
  1924. notallowedtransform = false
  1925. end)()
  1926. end
  1927. end
  1928. end)
  1929.  
  1930. mouse.KeyDown:connect(function(Press)
  1931. Press=Press:lower()
  1932. if Press=='.' then
  1933. hum.Parent:BreakJoints()
  1934. end
  1935. end)
  1936.  
  1937. checks1 = coroutine.wrap(function() -------Checks
  1938. while true do
  1939. if IsDead then break end
  1940. if Root.Velocity.y > 1 and levitate == false then
  1941. position = "Jump"
  1942. elseif Root.Velocity.y < -1 and levitate == false then
  1943. position = "Falling"
  1944. elseif Root.Velocity.Magnitude < 2 and running == false and not levitate then
  1945. position = "Idle"
  1946. elseif Root.Velocity.Magnitude < 2 and running == false then
  1947. position = "Idle2"
  1948. elseif Root.Velocity.Magnitude < 20 and running == false and levitate == false then
  1949. position = "Walking"
  1950. elseif Root.Velocity.Magnitude > 20 and running == false and levitate then
  1951. position = "Walking2"
  1952. elseif Root.Velocity.Magnitude > 20 and levitate == false then
  1953. position = "Running"
  1954. else
  1955. end
  1956. wait()
  1957. end
  1958. end)
  1959. checks1()
  1960.  
  1961. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1962.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1963. end
  1964.  
  1965. function ray2(StartPos, EndPos, Distance, Ignore)
  1966. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1967. return ray(StartPos, DIRECTION, Distance, Ignore)
  1968. end
  1969.  
  1970. OrgnC0 = Neck.C0
  1971. local movelimbs = coroutine.wrap(function()
  1972. while RunSrv.RenderStepped:wait() do
  1973. if IsDead then break end
  1974. TrsoLV = Torso.CFrame.lookVector
  1975. Dist = nil
  1976. Diff = nil
  1977. if not MseGuide then
  1978. print("Failed to recognize")
  1979. else
  1980. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1981. Dist = (Head.CFrame.p-Point).magnitude
  1982. Diff = Head.CFrame.Y-Point.Y
  1983. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1984. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1985. Diff2 = LeftArm.CFrame.Y-Point.Y
  1986. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1987. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1988. end
  1989. end
  1990. end)
  1991. movelimbs()
  1992.  
  1993. coroutine.wrap(function()
  1994. while true do
  1995. if IsDead then break end
  1996. if hum.Health < .1 then
  1997. deadsound = Instance.new("Sound", Torso)
  1998. deadsound.Volume = 6
  1999. deadsound.SoundId = "rbxassetid://1411352723"
  2000. deadsound:Play()
  2001. end
  2002. wait()
  2003. end
  2004. end)()
  2005.  
  2006. mouse.KeyDown:connect(function(Press)
  2007. Press=Press:lower()
  2008. if Press=='g' then
  2009. if not levitate then return end
  2010. if debounce then return end
  2011. debounce = true
  2012. attacking = true
  2013. FireBall:Play()
  2014. ws = 15
  2015. g1 = Instance.new("BodyGyro", Root)
  2016. g1.D = 175
  2017. g1.P = 20000
  2018. g1.MaxTorque = Vector3.new(0,9000,0)
  2019. for i = 1, 15 do
  2020. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2021. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2022. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2023. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2024. swait()
  2025. end
  2026. local swoosh = Instance.new("Part",Torso)
  2027. swoosh.Name = "swoosh"
  2028. swoosh.CFrame = rightlocation.CFrame * CFrame.new(0,0,0)
  2029. swoosh.Size = Vector3.new(1.7,1.7,1.7)
  2030. swoosh.Shape = "Ball"
  2031. swoosh.Material = "Neon"
  2032. swoosh.BrickColor = BrickColor.new("Really black")
  2033. swoosh.CanCollide = false
  2034. swoosh.Touched:connect(function(hit)
  2035. if hit.Parent:IsA("Part") then
  2036. elseif hit.Parent:IsA("SpecialMesh") then
  2037. elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
  2038. elseif hit.Parent:findFirstChildOfClass("Humanoid") then
  2039. Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
  2040. if Slachtoffer.Health < 1 then return end
  2041. if damagedebounce == true then return end
  2042. damagedebounce = true
  2043. swoosh:Remove()
  2044. explosion = Instance.new("Part",LeftArm)
  2045. explosion.CFrame = hit.CFrame
  2046. explosion.Anchored = true
  2047. explosion.CanCollide = false
  2048. explosion.Name = "explo"
  2049. explosion.Shape = "Ball"
  2050. explosion.BrickColor = BrickColor.new("Really black")
  2051. explosion.Material = "Neon"
  2052. removeuseless:AddItem(explosion,1.5)
  2053. vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
  2054. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2055. torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2056. vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*60
  2057. removeuseless:AddItem(vel,.1)
  2058. SOUND(explosion,472579737,6,false,3)
  2059. coroutine.wrap(function()
  2060. if firsttime2 then return end
  2061. firsttime2 = true
  2062. while true do
  2063. if IsDead then break end
  2064. for i,v in pairs(LeftArm:GetChildren()) do
  2065. if v.Name == "explo" then
  2066. v.Size = v.Size + Vector3.new(2.5,2.5,2.5)
  2067. v.Transparency = v.Transparency + .05
  2068. end
  2069. end
  2070. for i,v in pairs(LeftArm:GetChildren()) do
  2071. if v.Name == "shock" then
  2072. v.Transparency = v.Transparency + .05
  2073. end
  2074. end
  2075. for i,v in pairs(LeftArm:GetChildren()) do
  2076. if v.Name == "shock2" then
  2077. v.Transparency = v.Transparency + .05
  2078. end
  2079. end
  2080. swait()
  2081. end
  2082. end)()
  2083. DamageFling(hit.Parent)
  2084. wait(.1)
  2085. damagedebounce = false
  2086. end
  2087. end)
  2088. coroutine.wrap(function()
  2089. if firsttime then return end
  2090. firsttime = true
  2091. while wait() do
  2092. if IsDead then break end
  2093. for i,v in pairs(Torso:GetChildren()) do
  2094. if v.Name == "swoosh" then
  2095. magiccc = Instance.new("Part",RightArm)
  2096. magiccc.Material = "Neon"
  2097. magiccc.CanCollide = false
  2098. magiccc.Anchored = true
  2099. magiccc.BrickColor = BrickColor.new(colors)
  2100. magiccc.Size = Vector3.new(1.5,1.5,1.5)
  2101. magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2102. removeuseless:AddItem(magiccc,2)
  2103. end
  2104. end
  2105. end
  2106. end)()
  2107. bov = Instance.new("BodyVelocity",swoosh)
  2108. bov.maxForce = Vector3.new(99999,99999,99999)
  2109. swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p)
  2110. bov.velocity = swoosh.CFrame.lookVector*120
  2111. removeuseless:AddItem(swoosh,4)
  2112. for i = 1, 15 do
  2113. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  2114. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  2115. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  2116. swait()
  2117. end
  2118. ws = 50
  2119. removeuseless:AddItem(g1,0.01)
  2120. debounce = false
  2121. attacking = false
  2122. end
  2123. end)
  2124.  
  2125. mouse.KeyDown:connect(function(Press)
  2126. Press=Press:lower()
  2127. if Press=='h' then
  2128. if not levitate then return end
  2129. if debounce then return end
  2130. debounce = true
  2131. attacking = true
  2132. ws = 0
  2133. appi = true
  2134. coroutine.wrap(function()
  2135. while appi do
  2136. if IsDead then break end
  2137. swait()
  2138. if Root.Velocity.Magnitude < 2 and attacking == true then
  2139. position = "Idle3"
  2140. end
  2141. end
  2142. end)()
  2143. coroutine.wrap(function()
  2144. while appi do
  2145. if IsDead then break end
  2146. swait()
  2147. settime = 0.05
  2148. sine = sine + change
  2149. if position == "Idle3" and attacking == true and appi == true then
  2150. change = .4
  2151. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2152. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  2153. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2154. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  2155. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  2156. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  2157. end
  2158. end
  2159. end)()
  2160. coroutine.wrap(function()
  2161. for i = 1, 20 do
  2162. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2163. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.3)
  2164. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.1,1.3,1.1) * CFrame.Angles(math.rad(180),math.rad(-50),math.rad(0)), 0.3)
  2165. swait()
  2166. end
  2167. end)()
  2168. SOUND(LeftArm,1982011510,8,false,15)
  2169. blackhole={}
  2170. orbzfade={}
  2171. xz = 0
  2172. for i = 1, 220 do
  2173. xz = xz + .009
  2174. bigrmagic = Instance.new("Part",RightArm)
  2175. bigrmagic.Material = "Neon"
  2176. bigrmagic.CanCollide = false
  2177. bigrmagic.Anchored = true
  2178. bigrmagic.BrickColor = BrickColor.new(colors)
  2179. bigrmagic.Size = Vector3.new(xz,xz,xz)
  2180. bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2181. removeuseless:AddItem(bigrmagic,1)
  2182. orbz = Instance.new("Part", Torso)
  2183. orbz.Material = "Neon"
  2184. orbz.BrickColor = BrickColor.new(colors)
  2185. orbz.Size = Vector3.new(2,2,2)
  2186. orbz.Anchored = true
  2187. orbz.CanCollide = false
  2188. removeuseless:AddItem(orbz,1)
  2189. orbz.CFrame = rightlocation.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180))
  2190. table.insert(blackhole,orbz)
  2191. table.insert(orbzfade,orbz)
  2192. for i,v in pairs(blackhole) do
  2193. v.Size = v.Size - Vector3.new(.1,.1,.1)
  2194. v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position),.09)
  2195. end
  2196. for i,v in pairs(orbzfade) do
  2197. v.Transparency = v.Transparency + 0.025
  2198. end
  2199. swait()
  2200. end
  2201. coroutine.wrap(function()
  2202. for i = 1, 10 do
  2203. for i,v in pairs(blackhole) do
  2204. v.Size = v.Size + Vector3.new(.5,.5,.5)
  2205. v.Transparency = v.Transparency + .1
  2206. end
  2207. swait()
  2208. end
  2209. for i,v in pairs(blackhole) do
  2210. v:Remove()
  2211. end
  2212. clean()
  2213. end)()
  2214. charging = true
  2215. coroutine.wrap(function()
  2216. while charging do
  2217. if IsDead then break end
  2218. bigrmagic = Instance.new("Part",RightArm)
  2219. bigrmagic.Material = "Neon"
  2220. bigrmagic.CanCollide = false
  2221. bigrmagic.Anchored = true
  2222. bigrmagic.BrickColor = BrickColor.new(colors)
  2223. bigrmagic.Size = Vector3.new(xz,xz,xz)
  2224. bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2225. removeuseless:AddItem(bigrmagic,.2)
  2226. swait()
  2227. end
  2228. end)()
  2229. g1 = Instance.new("BodyGyro", Root)
  2230. g1.D = 175
  2231. g1.P = 20000
  2232. g1.MaxTorque = Vector3.new(0,9000,0)
  2233. BigFireBall:Play()
  2234. for i = 1, 15 do
  2235. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2236. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2237. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2238. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2239. swait()
  2240. end
  2241. coroutine.wrap(function()
  2242. for i = 1, 15 do
  2243. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  2244. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  2245. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  2246. swait()
  2247. end
  2248. end)()
  2249. charging = false
  2250. local ballzor = Instance.new("Part",Torso)
  2251. ballzor.Name = "ballzor"
  2252. ballzor.Material = "Neon"
  2253. ballzor.BrickColor = BrickColor.new("Really black")
  2254. ballzor.CanCollide = false
  2255. ballzor.Size = Vector3.new(xz,xz,xz)
  2256. ballzor.Anchored = false
  2257. ballzor.CFrame = Root.CFrame * CFrame.new(1,0,-5)
  2258. ballzor.Shape = "Ball"
  2259. removeuseless:AddItem(g1,.0001)
  2260. zx = xz + .05
  2261. coroutine.wrap(function()
  2262. if firsttime5 then return end
  2263. firsttime5 = true
  2264. while true do
  2265. if IsDead then break end
  2266. swait()
  2267. for i,v in pairs(Torso:GetChildren()) do
  2268. if v.Name == "ballzor" then
  2269. magicccc = Instance.new("Part",RightArm)
  2270. magicccc.Material = "Neon"
  2271. magicccc.CanCollide = false
  2272. magicccc.Name = "magicccc"
  2273. magicccc.Anchored = true
  2274. magicccc.Transparency = 0
  2275. magicccc.BrickColor = BrickColor.new(colors)
  2276. magicccc.Size = Vector3.new(zx,zx,zx)
  2277. magicccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2278. removeuseless:AddItem(magicccc,2)
  2279. end
  2280. end
  2281. for i,v in pairs(RightArm:GetChildren()) do
  2282. if v.Name == "magicccc" then
  2283. v.Transparency = v.Transparency + 0.025
  2284. end
  2285. end
  2286. end
  2287. end)()
  2288. ballzor.Touched:connect(function(hit)
  2289. if hit.Name ~= "magicccc" then
  2290. if bigball then return end
  2291. bigball = true
  2292. local explosionwave = Instance.new("Part",Torso)
  2293. explosionwave.Shape = "Ball"
  2294. explosionwave.BrickColor = BrickColor.new("Really black")
  2295. explosionwave.Anchored = true
  2296. explosionwave.CanCollide = false
  2297. explosionwave.Transparency = .2
  2298. explosionwave.Material = "Neon"
  2299. explosionwave.Size = Vector3.new(1,1,1)
  2300. explosionwave.CFrame = ballzor.CFrame
  2301. render = Instance.new("Sound",explosionwave)
  2302. render.SoundId = "rbxassetid://2006635781"
  2303. render.Volume = 10 * 10
  2304. render:Play()
  2305. local explosionwave2 = Instance.new("Part",Torso)
  2306. explosionwave2.Shape = "Ball"
  2307. explosionwave2.BrickColor = BrickColor.new("Really red")
  2308. explosionwave2.Anchored = true
  2309. explosionwave2.CanCollide = false
  2310. explosionwave2.Material = "Neon"
  2311. explosionwave2.Size = Vector3.new(.8,.8,.8)
  2312. explosionwave2.CFrame = ballzor.CFrame
  2313. deadlywave = Instance.new("Part", explosionwave)
  2314. deadlywave.Size = Vector3.new(1,1,1)
  2315. deadlywave.CanCollide = false
  2316. deadlywave.Anchored = true
  2317. deadlywave.Transparency = .5
  2318. deadlywave.BrickColor = BrickColor.new("Really red")
  2319. deadlywave.CFrame = CFrame.new(explosionwave.Position)
  2320. deadlywavemesh = Instance.new("SpecialMesh", deadlywave)
  2321. deadlywavemesh.Scale = Vector3.new(1,2,1)
  2322. deadlywavemesh.MeshId = "rbxassetid://20329976"
  2323. deadlywave2 = Instance.new("Part", explosionwave)
  2324. deadlywave2.Size = Vector3.new(1,1,1)
  2325. deadlywave2.CanCollide = false
  2326. deadlywave2.Anchored = true
  2327. deadlywave2.Transparency = .5
  2328. deadlywave2.BrickColor = BrickColor.new("Really black")
  2329. deadlywave2.CFrame = CFrame.new(explosionwave.Position)
  2330. deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2)
  2331. deadlywave2mesh.Scale = Vector3.new(3,2,3)
  2332. deadlywave2mesh.MeshId = "rbxassetid://20329976"
  2333. deadlyring = Instance.new("Part", Torso)
  2334. deadlyring.Size = Vector3.new(5, 5, 5)
  2335. deadlyring.Transparency = 0.5
  2336. deadlyring.BrickColor = BrickColor.new("Really black")
  2337. deadlyring.Anchored = true
  2338. deadlyring.CanCollide = false
  2339. deadlyring.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2340. deadlyringh = Instance.new("SpecialMesh", deadlyring)
  2341. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2342. deadlyringh.Scale = Vector3.new(8, 8, .1)
  2343. deadlyring2 = Instance.new("Part", Torso)
  2344. deadlyring2.Size = Vector3.new(5, 5, 5)
  2345. deadlyring2.Transparency = 0.5
  2346. deadlyring2.BrickColor = BrickColor.new("Really black")
  2347. deadlyring2.Anchored = true
  2348. deadlyring2.CanCollide = false
  2349. deadlyring2.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2350. deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
  2351. deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2352. deadlyringh2.Scale = Vector3.new(8, 8, .1)
  2353. ballzor:Remove()
  2354. bigball = false
  2355. staybooming = true
  2356. d = 5
  2357. coroutine.wrap(function()
  2358. while staybooming do
  2359. if IsDead then break end
  2360. Hit = damagealll(d,deadlywave.Position)
  2361. for _,v in pairs(Hit) do           
  2362. DamageFling(v)
  2363. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2364. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2365. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2366. vel.velocity = CFrame.new(deadlywave.Position,torso.Position).lookVector*50
  2367. removeuseless:AddItem(vel,.1)
  2368. end
  2369. wait(.1)
  2370. end
  2371. end)()
  2372. for i = 1, 70 do
  2373. d = d + 1
  2374. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(.5, .5, .1)
  2375. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(.5, .5, .1)
  2376. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
  2377. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
  2378. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  2379. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
  2380. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4)
  2381. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5)
  2382. explosionwave.Size = explosionwave.Size + Vector3.new(.5,.5,.5)
  2383. explosionwave2.Size = explosionwave2.Size + Vector3.new(.5,.5,.5)
  2384. swait()
  2385. end
  2386. for i = 1, 80 do
  2387. d = d + 3
  2388. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  2389. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
  2390. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
  2391. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
  2392. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
  2393. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  2394. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  2395. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,2,3)
  2396. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,1,4)
  2397. explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
  2398. explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
  2399. swait()
  2400. end
  2401. staybooming = false
  2402. for i = 1, 20 do
  2403. d = d + 3
  2404. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  2405. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
  2406. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
  2407. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
  2408. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
  2409. deadlyring.Transparency = deadlyring.Transparency + .25
  2410. deadlyring2.Transparency = deadlyring2.Transparency + .25
  2411. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  2412. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  2413. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,0,3)
  2414. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,0,4)
  2415. deadlywave.Transparency = deadlywave.Transparency + .25
  2416. deadlywave2.Transparency = deadlywave2.Transparency + .25
  2417. explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
  2418. explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
  2419. explosionwave.Transparency = explosionwave.Transparency + 0.25
  2420. explosionwave2.Transparency = explosionwave2.Transparency + 0.05
  2421. swait()
  2422. end
  2423. hum.CameraOffset = Vector3.new(0,0,0)
  2424. explosionwave:Remove()
  2425. explosionwave2:Remove()
  2426. end
  2427. end)
  2428. bov = Instance.new("BodyVelocity",ballzor)
  2429. bov.maxForce = Vector3.new(99999,99999,99999)
  2430. ballzor.CFrame = CFrame.new(ballzor.Position,mouse.Hit.p)
  2431. bov.velocity = ballzor.CFrame.lookVector*200
  2432. removeuseless:AddItem(ballzor,4)
  2433. ws = 50
  2434. attacking = false
  2435. debounce = false
  2436. appi = false
  2437. end
  2438. end)
  2439.  
  2440. mouse.KeyDown:connect(function(Press)
  2441. Press=Press:lower()
  2442. if Press=='j' then
  2443. if not levitate then return end
  2444. if debounce then return end
  2445. debounce = true
  2446. charging = true
  2447. attacking = true
  2448. downpress = false
  2449. x = 1
  2450. ws = 0
  2451. g1 = Instance.new("BodyGyro", Root)
  2452. g1.D = 175
  2453. g1.P = 20000
  2454. g1.MaxTorque = Vector3.new(0,9000,0)
  2455. SOUND(RightArm,2014087015,8,false,3)
  2456. coroutine.wrap(function()
  2457. Charge = Instance.new("Sound",RightArm)
  2458. Charge.SoundId = "rbxassetid://101153932"
  2459. Charge.Looped = false
  2460. Charge.Volume = 8
  2461. Charge:Play()
  2462. end)()
  2463. appi = true
  2464. coroutine.wrap(function()
  2465. while appi do
  2466. if IsDead then break end
  2467. swait()
  2468. if Root.Velocity.Magnitude < 2 and attacking == true then
  2469. position = "Idle3"
  2470. end
  2471. end
  2472. end)()
  2473. coroutine.wrap(function()
  2474. while appi do
  2475. if IsDead then break end
  2476. swait()
  2477. settime = 0.05
  2478. sine = sine + change
  2479. if position == "Idle3" and attacking == true and appi == true then
  2480. change = .4
  2481. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2482. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  2483. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2484. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  2485. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  2486. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  2487. end
  2488. end
  2489. end)()
  2490. for i = 1, 15 do
  2491. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2492. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2493. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2494. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2495. swait()
  2496. end
  2497. for i = 1, 3 do
  2498. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2499. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2500. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2501. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2502. x = x + .1
  2503. blastborb = Instance.new("Part",Torso)
  2504. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2505. blastborb.BrickColor = BrickColor.new(colors)
  2506. blastborb.Anchored = true
  2507. blastborb.Size = Vector3.new(10,10,10)
  2508. blastborb.CanCollide = false
  2509. blastborb.Material = "Neon"
  2510. for i = 1, 5 do
  2511. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2512. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  2513. swait()
  2514. end
  2515. blastborb:Remove()
  2516. swait()
  2517. end
  2518. downpress = true
  2519. while charging and x < 5  do
  2520. if IsDead then break end
  2521. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2522. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2523. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2524. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2525. x = x + .1
  2526. blastborb = Instance.new("Part",Torso)
  2527. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2528. blastborb.BrickColor = BrickColor.new(colors)
  2529. blastborb.Anchored = true
  2530. blastborb.Size = Vector3.new(10,10,10)
  2531. blastborb.CanCollide = false
  2532. blastborb.Material = "Neon"
  2533. for i = 1, 5 do
  2534. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2535. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  2536. swait()
  2537. end
  2538. blastborb:Remove()
  2539. swait()
  2540. end
  2541. coroutine.wrap(function()
  2542. for i = 1, 20 do
  2543. Charge.Volume = Charge.Volume - .5
  2544. swait()
  2545. end
  2546. end)()
  2547. local bigswoosh = Instance.new("Part",Torso)
  2548. bigswoosh.Name = "bigswoosh"
  2549. bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5)
  2550. bigswoosh.Size = Vector3.new(1,1,1)
  2551. bigswoosh.Material = "Neon"
  2552. bigswoosh.Anchored = true
  2553. bigswoosh.Transparency = 1
  2554. bigswoosh.BrickColor = BrickColor.new("Really red")
  2555. bigswoosh.CanCollide = false
  2556. SOUND(bigswoosh,842332424,10,false,6)
  2557. SOUND(bigswoosh,2017948224,10,false,6)
  2558. SOUND(bigswoosh,138677306,10,false,4)
  2559. coroutine.wrap(function()
  2560. local loc1 = Instance.new("Part",bigswoosh)
  2561. loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0)
  2562. loc1.Size = Vector3.new(2,2,2)
  2563. loc1.Anchored = true
  2564. loc1.Transparency = 1
  2565. loc1.CanCollide = false
  2566. local loc2 = Instance.new("Part",bigswoosh)
  2567. loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0)
  2568. loc2.Size = Vector3.new(2,2,2)
  2569. loc2.Anchored = true
  2570. loc2.Transparency = 1
  2571. loc2.CanCollide = false
  2572. n = 0
  2573. nb = 0
  2574. for i = 1, 125 do
  2575. n = n + x
  2576. nb = nb - x
  2577. Hit = damagealll(n,bigswoosh.Position)
  2578. for _,v in pairs(Hit) do
  2579. if x > 4.5 then    
  2580. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  2581. else   
  2582. DamageFling(v)
  2583. end
  2584. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2585. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2586. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2587. vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150
  2588. removeuseless:AddItem(vel,.1)
  2589. end
  2590. local bigtrail = Instance.new("Part",LeftArm)
  2591. bigtrail.Size = bigswoosh.Size
  2592. bigtrail.BrickColor = BrickColor.new(colors)
  2593. bigtrail.Anchored = true
  2594. bigtrail.Material = "Neon"
  2595. bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2596. bigtrail.CanCollide = false
  2597. removeuseless:AddItem(bigtrail,2)
  2598. local irritatedground = Instance.new("Part",Torso)
  2599. irritatedground.Size = Vector3.new(n*1.5,1,3*x)
  2600. irritatedground.BrickColor = BrickColor.new(colors)
  2601. irritatedground.Material = "Neon"
  2602. irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0)
  2603. irritatedground.CanCollide = false
  2604. irritatedground.Anchored = true
  2605. removeuseless:AddItem(irritatedground,10)
  2606. local grassblocks = Instance.new("Part",Torso)
  2607. grassblocks.Size = Vector3.new(n/2,n/2,n/2)
  2608. grassblocks.Material = "Grass"
  2609. grassblocks.Anchored = true
  2610. grassblocks.Name = "grassblocks"
  2611. grassblocks.BrickColor = BrickColor.new("Bright green")
  2612. grassblocks.CFrame = loc1.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2613. removeuseless:AddItem(grassblocks,10)
  2614. local grassblocks2 = Instance.new("Part",Torso)
  2615. grassblocks2.Size = Vector3.new(n/2,n/2,n/2)
  2616. grassblocks2.Material = "Grass"
  2617. grassblocks2.Anchored = true
  2618. grassblocks2.Name = "grassblocks2"
  2619. grassblocks2.BrickColor = BrickColor.new("Bright green")
  2620. grassblocks2.CFrame = loc2.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2621. removeuseless:AddItem(grassblocks2,10)
  2622. bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x)
  2623. loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0)
  2624. loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0)
  2625. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x)
  2626. swait()
  2627. end
  2628. for i = 1, 20 do
  2629. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3)
  2630. bigswoosh.Transparency = bigswoosh.Transparency + 0.05
  2631. swait()
  2632. end
  2633. bigswoosh:Remove()
  2634. end)()
  2635. for i = 1, 50 do
  2636. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  2637. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  2638. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  2639. swait()
  2640. end
  2641. ws = 50
  2642. attacking = false
  2643. debounce = false
  2644. appi = false
  2645. g1:Remove()
  2646. end
  2647. end)
  2648.  
  2649. mouse.KeyDown:connect(function(Press)
  2650. Press=Press:lower()
  2651. if Press=='k' then
  2652. if not levitate then return end
  2653. if debounce then return end
  2654. debounce = true
  2655. attacking = true
  2656. charging = true
  2657. appi = true
  2658. coroutine.wrap(function()
  2659. while appi do
  2660. if IsDead then break end
  2661. swait()
  2662. if Root.Velocity.Magnitude < 2 and attacking == true then
  2663. position = "Idle3"
  2664. end
  2665. end
  2666. end)()
  2667. coroutine.wrap(function()
  2668. while appi do
  2669. if IsDead then break end
  2670. swait()
  2671. settime = 0.05
  2672. sine = sine + change
  2673. if position == "Idle3" and attacking == true and appi == true then
  2674. change = .4
  2675. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2676. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  2677. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2678. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  2679. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  2680. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  2681. end
  2682. end
  2683. end)()
  2684. ws = 0
  2685. g1 = Instance.new("BodyGyro", Root)
  2686. g1.D = 175
  2687. g1.P = 20000
  2688. g1.MaxTorque = Vector3.new(0,9000,0)
  2689. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  2690. for i = 1, 15 do
  2691. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  2692. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2693. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2694. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2695. swait()
  2696. end
  2697. r = 0
  2698. for i = 1, 10 do
  2699. r = r + .1
  2700. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  2701. blass = Instance.new("Part",RightArm)
  2702. blass.Size = Vector3.new(r,r,r)
  2703. blass.Material = "Neon"
  2704. blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2705. blass.Anchored = true
  2706. blass.CanCollide = false
  2707. blass.BrickColor = BrickColor.new(colors)
  2708. removeuseless:AddItem(blass,2)
  2709. swait()
  2710. end
  2711. while r < 16 and charging == true do
  2712. if IsDead then break end
  2713. r = r + .1
  2714. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  2715. blass = Instance.new("Part",RightArm)
  2716. blass.Size = Vector3.new(r,r,r)
  2717. blass.Material = "Neon"
  2718. blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2719. blass.Anchored = true
  2720. blass.CanCollide = false
  2721. blass.BrickColor = BrickColor.new(colors)
  2722. removeuseless:AddItem(blass,2)
  2723. swait()
  2724. end
  2725. local TheBeam = Instance.new("Part",RightArm)
  2726. TheBeam.Name = "zebeam"
  2727. TheBeam.Size = Vector3.new(1,1,1)
  2728. TheBeam.Material = "Neon"
  2729. TheBeam.Shape = "Cylinder"
  2730. TheBeam.BrickColor = BrickColor.new("Really red")
  2731. TheBeam.Anchored = true
  2732. TheBeam.CanCollide = false
  2733. ws = 12
  2734. bemmo = Instance.new("Sound",RightArm)
  2735. bemmo.SoundId = "rbxassetid://1910988873"
  2736. bemmo.Volume = 8
  2737. bemmo.Looped = false
  2738. bemmo:Play()
  2739. bemmo.TimePosition = 2
  2740. for i = 1, 100 * r/3 do
  2741. if r > 15 then
  2742. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
  2743. end
  2744. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  2745. local blass = Instance.new("Part",RightArm)
  2746. blass.Size = Vector3.new(r,r,r)
  2747. blass.Material = "Neon"
  2748. blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2749. blass.Anchored = true
  2750. blass.CanCollide = false
  2751. blass.BrickColor = BrickColor.new(colors)
  2752. removeuseless:AddItem(blass,2)
  2753. local STARTPOS = blass.CFrame*CFrame.new(0,0,0).p
  2754. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  2755. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  2756. TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  2757. TheBeam.Size = Vector3.new(DISTANCE,r/math.random(1,2),r/math.random(1,2))
  2758. boom = Instance.new("Part",RightArm)
  2759. boom.Size = Vector3.new(r,r,r)
  2760. boom.BrickColor = BrickColor.new(colors)
  2761. boom.Anchored = true
  2762. boom.CanCollide = false
  2763. boom.Material = "Neon"
  2764. boom.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2765. removeuseless:AddItem(boom,3)
  2766. boom.Touched:connect(function(getbase)
  2767. if hitdebounce then return end
  2768. hitdebounce = true
  2769. if getbase:IsA("Part") then
  2770. damagedground = Instance.new("Part",RightArm)
  2771. damagedground.Size = Vector3.new(.1,5+r,.1)
  2772. damagedground.Material = "Neon"
  2773. damagedground.CanCollide = false
  2774. damagedground.BrickColor = BrickColor.new(colors)
  2775. damagedground.Anchored = true
  2776. damagedground.CFrame = boom.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2777. removeuseless:AddItem(damagedground,2)
  2778. wait(.1)
  2779. hitdebounce = false
  2780. end
  2781. end)
  2782. Hit = damagealll(r+3,boom.Position)
  2783. for _,v in pairs(Hit) do   
  2784. DamageFling(v)
  2785. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2786. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2787. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2788. vel.velocity = CFrame.new(boom.Position,torso.Position).lookVector*r
  2789. removeuseless:AddItem(vel,.1)
  2790. end
  2791. swait()
  2792. end
  2793. removeuseless:AddItem(g1,.001)
  2794. coroutine.wrap(function()
  2795. for i = 1, 20 do
  2796. bemmo.Volume = bemmo.Volume - 0.5
  2797. blass.Transparency = blass.Transparency + 0.05
  2798. TheBeam.Transparency = TheBeam.Transparency + 0.05
  2799. swait()
  2800. end
  2801. bemmo:Remove()
  2802. if r > 15 then
  2803. hum.CameraOffset = Vector3.new(0,0,0)
  2804. end
  2805. blass:Remove()
  2806. TheBeam:Remove()
  2807. end)()
  2808. ws = 50
  2809. appi = false
  2810. attacking = false
  2811. debounce = false
  2812. end
  2813. end)
  2814.  
  2815. mouse.KeyUp:connect(function(Press)
  2816. Press=Press:lower()
  2817. if Press=='j' then
  2818. charging = false
  2819. end
  2820. end)
  2821.  
  2822. mouse.KeyUp:connect(function(Press)
  2823. Press=Press:lower()
  2824. if Press=='k' then
  2825. charging = false
  2826. end
  2827. end)
  2828.  
  2829. doit = coroutine.wrap(function()
  2830. while true do
  2831. if IsDead then break end
  2832. for _,v in pairs(Repeater) do
  2833. v.Scale =  v.Scale + Vector3.new(1, 1, 1)
  2834. end
  2835.  
  2836. for _,v in pairs(openshocktable) do
  2837. v.Scale =  v.Scale + Vector3.new(3, 3, 3)
  2838. end
  2839.  
  2840. for _,v in pairs(nonmeshRepeater) do
  2841. v.Size =  v.Size + Vector3.new(2, 2, 2)
  2842. end
  2843.  
  2844. for _,v in pairs(Extreme) do
  2845. v.Size =  v.Size + Vector3.new(6, 6, 6)
  2846. end
  2847.  
  2848. for _,v in pairs(LessSize) do
  2849. v.Size = v.Size - Vector3.new(1, 1, 1)
  2850. end
  2851.  
  2852. for _,v in pairs(nonmeshRepeater2) do
  2853. v.Transparency = v.Transparency + 0.05
  2854. end
  2855.  
  2856. for _,v in pairs(Repeater2) do
  2857. v.Transparency = v.Transparency - 0.05
  2858. end
  2859.  
  2860. for _,v in pairs(th1) do
  2861. v.CFrame = v.CFrame * CFrame.new(0,0+.3,0) * CFrame.Angles(0,math.rad(0+8),0)
  2862. end
  2863.  
  2864. for _,v in pairs(th2) do
  2865. v.CFrame = v.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+15),0)
  2866. end
  2867.  
  2868. for _,v in pairs(th3) do
  2869. v.Scale = v.Scale + Vector3.new(2, 2, 2)
  2870. end
  2871.  
  2872. for _,v in pairs(th5) do
  2873. v.Scale = v.Scale + Vector3.new(1, .1, 1)
  2874. end
  2875.  
  2876. for _,v in pairs(ExtremeM) do
  2877. v.Size = v.Size + Vector3.new(8, 8, 8)
  2878. end
  2879.  
  2880. for _,v in pairs(m3) do
  2881. v.Scale = v.Scale + Vector3.new(.2,.2,.2)
  2882. end
  2883.  
  2884. for _,v in pairs(ExtremeM2) do
  2885. v.Size = v.Size - Vector3.new(2,2,2)
  2886. end
  2887.  
  2888. for _,v in pairs(keyYsize) do
  2889. v.Scale = v.Scale + Vector3.new(8, 8, 1)
  2890. end
  2891.  
  2892. for _,v in pairs(th4) do
  2893. v.Transparency = v.Transparency + 0.009
  2894. v.Rotation = v.Rotation + Vector3.new(3,0,0)
  2895. end
  2896.  
  2897. for _,v in pairs(SlowlyFade) do
  2898. v.Transparency = v.Transparency + 0.05
  2899. end
  2900.  
  2901. for _,v in pairs(keyYtransparency) do
  2902. v.Transparency = v.Transparency + 0.05
  2903. end
  2904.  
  2905. for _,v in pairs(UpMover) do
  2906. v.Position = v.Position + Vector3.new(0, 3, 0)
  2907. end
  2908.  
  2909. for _,v in pairs(ForwardMover) do
  2910. v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0))
  2911. end
  2912.  
  2913. for _,v in pairs(FadeIn) do
  2914. v.Transparency = v.Transparency - .05
  2915. end
  2916.  
  2917. for _,v in pairs(signtransparency) do
  2918. v.TextTransparency = v.TextTransparency + 0.025
  2919. end
  2920.  
  2921. for _,v in pairs(signmover) do
  2922. v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
  2923. end
  2924.  
  2925. for _,v in pairs(signrotator) do
  2926. v.Rotation = v.Rotation + 2
  2927. end
  2928. swait()
  2929. end
  2930. end)
  2931. doit()
  2932. t = 0
  2933.  
  2934. mouse.KeyDown:connect(function(Press)
  2935. Press=Press:lower()
  2936. if Press=='0' then
  2937. if levitate then return end
  2938. shoov = true
  2939. if debounce then return end
  2940. ws = 50
  2941. end
  2942. end)
  2943.  
  2944. mouse.KeyUp:connect(function(Press)
  2945. Press=Press:lower()
  2946. if Press=='0' then
  2947. if levitate then return end
  2948. shoov = false
  2949. if debounce then return end
  2950. ws = 10
  2951. end
  2952. end)
  2953.  
  2954.  
  2955. local anims = coroutine.wrap(function()
  2956. while true do
  2957. if IsDead then break end
  2958. settime = 0.05
  2959. sine = sine + change
  2960. if position == "Jump" and attacking == false then
  2961. change = 1
  2962. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2963. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2964. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2965. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2966. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2967. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  2968. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
  2969. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2970. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  2971. elseif position == "Jump2" and attacking == false and levitate then
  2972. change = 1
  2973. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  2974. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  2975. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  2976. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  2977. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  2978. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  2979. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  2980. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  2981. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  2982. elseif position == "Falling" and attacking == false and levitate == false then
  2983. change = 1
  2984. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2985. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2986. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2987. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2988. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  2989. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  2990. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  2991. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
  2992. elseif position == "Falling2" and attacking == false and levitate then
  2993. change = 1
  2994. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  2995. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  2996. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  2997. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  2998. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  2999. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  3000. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3001. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  3002. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  3003. elseif position == "Walking" and attacking == false and running == false then
  3004. change = 1
  3005. walking = true
  3006. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3007. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3008. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  3009. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3010. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  3011. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3012. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
  3013. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  3014. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)  + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
  3015. elseif position == "Idle" and attacking == false and running == false and not levitate then
  3016. change = .5
  3017. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
  3018. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.1)
  3019. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.1)
  3020. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.1)
  3021. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.1)
  3022. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3023. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  3024. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3025. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  3026. elseif position == "Idle2" and attacking == false and running == false then
  3027. change = .75
  3028. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  3029. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3030. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  3031. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3032. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3033. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  3034. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4)
  3035. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  3036. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  3037. elseif position == "Walking2" and attacking == false and running == false then
  3038. ws = 50
  3039. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  3040. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  3041. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  3042. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  3043. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3044. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  3045. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3046. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  3047. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  3048. elseif position == "Running" and attacking == false then
  3049. change = 1
  3050. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(1.24+.6*math.sin(sine/4)/1.4, 0.54, 0+0.8*math.sin(sine/4)) * CFrame.Angles(math.rad(6-140*math.sin(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.sin(sine/4))), 0.3)
  3051. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  3052. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
  3053. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3054. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
  3055. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  3056. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
  3057. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  3058. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
  3059. end
  3060. swait()
  3061. end
  3062. end)
  3063. anims()
  3064. warn("Prepare for a magic trick full of pain and regret. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement