Advertisement
CreatorXHands

Xester FE

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