aaaay63746

Xester

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