zza

Xester Fixed

zza
Jun 18th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 131.15 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. hum.Name = "Humanoid"
  2416. end
  2417. end
  2418. end
  2419. end
  2420. coroutine.wrap(function()
  2421. while true do
  2422. if hum.Health < .1 then
  2423. deadsound = Instance.new("Sound", Torso)
  2424. deadsound.Volume = 6
  2425. deadsound.SoundId = "rbxassetid://1411352723"
  2426. deadsound:Play()
  2427. immortality()
  2428. end
  2429. wait()
  2430. end
  2431. end)()
  2432.  
  2433. mouse.KeyDown:connect(function(Press)
  2434. Press=Press:lower()
  2435. if Press=='g' then
  2436. if not levitate then return end
  2437. if debounce then return end
  2438. debounce = true
  2439. attacking = true
  2440. FireBall:Play()
  2441. ws = 15
  2442. g1 = Instance.new("BodyGyro", Root)
  2443. g1.D = 175
  2444. g1.P = 20000
  2445. g1.MaxTorque = Vector3.new(0,9000,0)
  2446. for i = 1, 15 do
  2447. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2448. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2449. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2450. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2451. swait()
  2452. end
  2453. local swoosh = Instance.new("Part",Torso)
  2454. swoosh.Name = "swoosh"
  2455. swoosh.CFrame = rightlocation.CFrame * CFrame.new(0,0,0)
  2456. swoosh.Size = Vector3.new(1.7,1.7,1.7)
  2457. swoosh.Shape = "Ball"
  2458. swoosh.Material = "Neon"
  2459. swoosh.BrickColor = BrickColor.new("Really black")
  2460. swoosh.CanCollide = false
  2461. swoosh.Touched:connect(function(hit)
  2462. if hit.Parent:IsA("Part") then
  2463. elseif hit.Parent:IsA("SpecialMesh") then
  2464. elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
  2465. elseif hit.Parent:findFirstChildOfClass("Humanoid") then
  2466. Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
  2467. if Slachtoffer.Health < 1 then return end
  2468. if damagedebounce == true then return end
  2469. damagedebounce = true
  2470. swoosh:Remove()
  2471. explosion = Instance.new("Part",LeftArm)
  2472. explosion.CFrame = hit.CFrame
  2473. explosion.Anchored = true
  2474. explosion.CanCollide = false
  2475. explosion.Name = "explo"
  2476. explosion.Shape = "Ball"
  2477. explosion.BrickColor = BrickColor.new("Really black")
  2478. explosion.Material = "Neon"
  2479. removeuseless:AddItem(explosion,1.5)
  2480. vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
  2481. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2482. torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2483. vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*60
  2484. removeuseless:AddItem(vel,.1)
  2485. SOUND(explosion,472579737,6,false,3)
  2486. coroutine.wrap(function()
  2487. if firsttime2 then return end
  2488. firsttime2 = true
  2489. while true do
  2490. for i,v in pairs(LeftArm:GetChildren()) do
  2491. if v.Name == "explo" then
  2492. v.Size = v.Size + Vector3.new(2.5,2.5,2.5)
  2493. v.Transparency = v.Transparency + .05
  2494. end
  2495. end
  2496. for i,v in pairs(LeftArm:GetChildren()) do
  2497. if v.Name == "shock" then
  2498. v.Transparency = v.Transparency + .05
  2499. end
  2500. end
  2501. for i,v in pairs(LeftArm:GetChildren()) do
  2502. if v.Name == "shock2" then
  2503. v.Transparency = v.Transparency + .05
  2504. end
  2505. end
  2506. swait()
  2507. end
  2508. end)()
  2509. Slachtoffer:TakeDamage(math.random(27,48))
  2510. wait(.1)
  2511. damagedebounce = false
  2512. end
  2513. end)
  2514. coroutine.wrap(function()
  2515. if firsttime then return end
  2516. firsttime = true
  2517. while wait() do
  2518. for i,v in pairs(Torso:GetChildren()) do
  2519. if v.Name == "swoosh" then
  2520. magiccc = Instance.new("Part",RightArm)
  2521. magiccc.Material = "Neon"
  2522. magiccc.CanCollide = false
  2523. magiccc.Anchored = true
  2524. magiccc.BrickColor = BrickColor.new(colors)
  2525. magiccc.Size = Vector3.new(1.5,1.5,1.5)
  2526. magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2527. removeuseless:AddItem(magiccc,2)
  2528. end
  2529. end
  2530. end
  2531. end)()
  2532. bov = Instance.new("BodyVelocity",swoosh)
  2533. bov.maxForce = Vector3.new(99999,99999,99999)
  2534. swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p)
  2535. bov.velocity = swoosh.CFrame.lookVector*120
  2536. removeuseless:AddItem(swoosh,4)
  2537. for i = 1, 15 do
  2538. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  2539. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  2540. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  2541. swait()
  2542. end
  2543. ws = 50
  2544. removeuseless:AddItem(g1,0.01)
  2545. debounce = false
  2546. attacking = false
  2547. end
  2548. end)
  2549.  
  2550. mouse.KeyDown:connect(function(Press)
  2551. Press=Press:lower()
  2552. if Press=='h' then
  2553. if not levitate then return end
  2554. if debounce then return end
  2555. debounce = true
  2556. attacking = true
  2557. ws = 0
  2558. appi = true
  2559. coroutine.wrap(function()
  2560. while appi do
  2561. swait()
  2562. if Root.Velocity.Magnitude < 2 and attacking == true then
  2563. position = "Idle3"
  2564. end
  2565. end
  2566. end)()
  2567. coroutine.wrap(function()
  2568. while appi do
  2569. swait()
  2570. settime = 0.05
  2571. sine = sine + change
  2572. if position == "Idle3" and attacking == true and appi == true then
  2573. change = .4
  2574. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2575. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  2576. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2577. 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)
  2578. 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)
  2579. 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)
  2580. end
  2581. end
  2582. end)()
  2583. coroutine.wrap(function()
  2584. for i = 1, 20 do
  2585. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2586. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.3)
  2587. 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)
  2588. swait()
  2589. end
  2590. end)()
  2591. SOUND(LeftArm,1982011510,8,false,15)
  2592. blackhole={}
  2593. orbzfade={}
  2594. xz = 0
  2595. for i = 1, 220 do
  2596. xz = xz + .009
  2597. bigrmagic = Instance.new("Part",RightArm)
  2598. bigrmagic.Material = "Neon"
  2599. bigrmagic.CanCollide = false
  2600. bigrmagic.Anchored = true
  2601. bigrmagic.BrickColor = BrickColor.new(colors)
  2602. bigrmagic.Size = Vector3.new(xz,xz,xz)
  2603. bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2604. removeuseless:AddItem(bigrmagic,1)
  2605. orbz = Instance.new("Part", Torso)
  2606. orbz.Material = "Neon"
  2607. orbz.BrickColor = BrickColor.new(colors)
  2608. orbz.Size = Vector3.new(2,2,2)
  2609. orbz.Anchored = true
  2610. orbz.CanCollide = false
  2611. removeuseless:AddItem(orbz,1)
  2612. 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))
  2613. table.insert(blackhole,orbz)
  2614. table.insert(orbzfade,orbz)
  2615. for i,v in pairs(blackhole) do
  2616. v.Size = v.Size - Vector3.new(.1,.1,.1)
  2617. v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position),.09)
  2618. end
  2619. for i,v in pairs(orbzfade) do
  2620. v.Transparency = v.Transparency + 0.025
  2621. end
  2622. swait()
  2623. end
  2624. coroutine.wrap(function()
  2625. for i = 1, 10 do
  2626. for i,v in pairs(blackhole) do
  2627. v.Size = v.Size + Vector3.new(.5,.5,.5)
  2628. v.Transparency = v.Transparency + .1
  2629. end
  2630. swait()
  2631. end
  2632. for i,v in pairs(blackhole) do
  2633. v:Remove()
  2634. end
  2635. clean()
  2636. end)()
  2637. charging = true
  2638. coroutine.wrap(function()
  2639. while charging do
  2640. bigrmagic = Instance.new("Part",RightArm)
  2641. bigrmagic.Material = "Neon"
  2642. bigrmagic.CanCollide = false
  2643. bigrmagic.Anchored = true
  2644. bigrmagic.BrickColor = BrickColor.new(colors)
  2645. bigrmagic.Size = Vector3.new(xz,xz,xz)
  2646. bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2647. removeuseless:AddItem(bigrmagic,.2)
  2648. swait()
  2649. end
  2650. end)()
  2651. g1 = Instance.new("BodyGyro", Root)
  2652. g1.D = 175
  2653. g1.P = 20000
  2654. g1.MaxTorque = Vector3.new(0,9000,0)
  2655. BigFireBall:Play()
  2656. for i = 1, 15 do
  2657. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2658. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2659. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2660. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2661. swait()
  2662. end
  2663. coroutine.wrap(function()
  2664. for i = 1, 15 do
  2665. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  2666. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  2667. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  2668. swait()
  2669. end
  2670. end)()
  2671. charging = false
  2672. local ballzor = Instance.new("Part",Torso)
  2673. ballzor.Name = "ballzor"
  2674. ballzor.Material = "Neon"
  2675. ballzor.BrickColor = BrickColor.new("Really black")
  2676. ballzor.CanCollide = false
  2677. ballzor.Size = Vector3.new(xz,xz,xz)
  2678. ballzor.Anchored = false
  2679. ballzor.CFrame = Root.CFrame * CFrame.new(1,0,-5)
  2680. ballzor.Shape = "Ball"
  2681. removeuseless:AddItem(g1,.0001)
  2682. zx = xz + .05
  2683. coroutine.wrap(function()
  2684. if firsttime5 then return end
  2685. firsttime5 = true
  2686. while true do
  2687. swait()
  2688. for i,v in pairs(Torso:GetChildren()) do
  2689. if v.Name == "ballzor" then
  2690. magicccc = Instance.new("Part",RightArm)
  2691. magicccc.Material = "Neon"
  2692. magicccc.CanCollide = false
  2693. magicccc.Name = "magicccc"
  2694. magicccc.Anchored = true
  2695. magicccc.Transparency = 0
  2696. magicccc.BrickColor = BrickColor.new(colors)
  2697. magicccc.Size = Vector3.new(zx,zx,zx)
  2698. magicccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2699. removeuseless:AddItem(magicccc,2)
  2700. end
  2701. end
  2702. for i,v in pairs(RightArm:GetChildren()) do
  2703. if v.Name == "magicccc" then
  2704. v.Transparency = v.Transparency + 0.025
  2705. end
  2706. end
  2707. end
  2708. end)()
  2709. ballzor.Touched:connect(function(hit)
  2710. if hit.Name ~= "magicccc" then
  2711. if bigball then return end
  2712. bigball = true
  2713. local explosionwave = Instance.new("Part",Torso)
  2714. explosionwave.Shape = "Ball"
  2715. explosionwave.BrickColor = BrickColor.new("Really black")
  2716. explosionwave.Anchored = true
  2717. explosionwave.CanCollide = false
  2718. explosionwave.Transparency = .2
  2719. explosionwave.Material = "Neon"
  2720. explosionwave.Size = Vector3.new(1,1,1)
  2721. explosionwave.CFrame = ballzor.CFrame
  2722. render = Instance.new("Sound",explosionwave)
  2723. render.SoundId = "rbxassetid://2006635781"
  2724. render.Volume = 10 * 10
  2725. render:Play()
  2726. local explosionwave2 = Instance.new("Part",Torso)
  2727. explosionwave2.Shape = "Ball"
  2728. explosionwave2.BrickColor = BrickColor.new("Really red")
  2729. explosionwave2.Anchored = true
  2730. explosionwave2.CanCollide = false
  2731. explosionwave2.Material = "Neon"
  2732. explosionwave2.Size = Vector3.new(.8,.8,.8)
  2733. explosionwave2.CFrame = ballzor.CFrame
  2734. deadlywave = Instance.new("Part", explosionwave)
  2735. deadlywave.Size = Vector3.new(1,1,1)
  2736. deadlywave.CanCollide = false
  2737. deadlywave.Anchored = true
  2738. deadlywave.Transparency = .5
  2739. deadlywave.BrickColor = BrickColor.new("Really red")
  2740. deadlywave.CFrame = CFrame.new(explosionwave.Position)
  2741. deadlywavemesh = Instance.new("SpecialMesh", deadlywave)
  2742. deadlywavemesh.Scale = Vector3.new(1,2,1)
  2743. deadlywavemesh.MeshId = "rbxassetid://20329976"
  2744. deadlywave2 = Instance.new("Part", explosionwave)
  2745. deadlywave2.Size = Vector3.new(1,1,1)
  2746. deadlywave2.CanCollide = false
  2747. deadlywave2.Anchored = true
  2748. deadlywave2.Transparency = .5
  2749. deadlywave2.BrickColor = BrickColor.new("Really black")
  2750. deadlywave2.CFrame = CFrame.new(explosionwave.Position)
  2751. deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2)
  2752. deadlywave2mesh.Scale = Vector3.new(3,2,3)
  2753. deadlywave2mesh.MeshId = "rbxassetid://20329976"
  2754. deadlyring = Instance.new("Part", Torso)
  2755. deadlyring.Size = Vector3.new(5, 5, 5)
  2756. deadlyring.Transparency = 0.5
  2757. deadlyring.BrickColor = BrickColor.new("Really black")
  2758. deadlyring.Anchored = true
  2759. deadlyring.CanCollide = false
  2760. deadlyring.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2761. deadlyringh = Instance.new("SpecialMesh", deadlyring)
  2762. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2763. deadlyringh.Scale = Vector3.new(8, 8, .1)
  2764. deadlyring2 = Instance.new("Part", Torso)
  2765. deadlyring2.Size = Vector3.new(5, 5, 5)
  2766. deadlyring2.Transparency = 0.5
  2767. deadlyring2.BrickColor = BrickColor.new("Really black")
  2768. deadlyring2.Anchored = true
  2769. deadlyring2.CanCollide = false
  2770. deadlyring2.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2771. deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
  2772. deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2773. deadlyringh2.Scale = Vector3.new(8, 8, .1)
  2774. ballzor:Remove()
  2775. bigball = false
  2776. staybooming = true
  2777. d = 5
  2778. coroutine.wrap(function()
  2779. while staybooming do
  2780. Hit = damagealll(d,deadlywave.Position)
  2781. for _,v in pairs(Hit) do
  2782. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10,20))
  2783. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2784. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2785. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2786. vel.velocity = CFrame.new(deadlywave.Position,torso.Position).lookVector*50
  2787. removeuseless:AddItem(vel,.1)
  2788. end
  2789. wait(.1)
  2790. end
  2791. end)()
  2792. for i = 1, 70 do
  2793. d = d + 1
  2794. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(.5, .5, .1)
  2795. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(.5, .5, .1)
  2796. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
  2797. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
  2798. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  2799. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
  2800. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4)
  2801. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5)
  2802. explosionwave.Size = explosionwave.Size + Vector3.new(.5,.5,.5)
  2803. explosionwave2.Size = explosionwave2.Size + Vector3.new(.5,.5,.5)
  2804. swait()
  2805. end
  2806. for i = 1, 80 do
  2807. d = d + 3
  2808. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  2809. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
  2810. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
  2811. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
  2812. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
  2813. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  2814. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  2815. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,2,3)
  2816. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,1,4)
  2817. explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
  2818. explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
  2819. swait()
  2820. end
  2821. staybooming = false
  2822. for i = 1, 20 do
  2823. d = d + 3
  2824. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  2825. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
  2826. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
  2827. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
  2828. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
  2829. deadlyring.Transparency = deadlyring.Transparency + .25
  2830. deadlyring2.Transparency = deadlyring2.Transparency + .25
  2831. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  2832. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  2833. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,0,3)
  2834. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,0,4)
  2835. deadlywave.Transparency = deadlywave.Transparency + .25
  2836. deadlywave2.Transparency = deadlywave2.Transparency + .25
  2837. explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
  2838. explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
  2839. explosionwave.Transparency = explosionwave.Transparency + 0.25
  2840. explosionwave2.Transparency = explosionwave2.Transparency + 0.05
  2841. swait()
  2842. end
  2843. hum.CameraOffset = Vector3.new(0,0,0)
  2844. explosionwave:Remove()
  2845. explosionwave2:Remove()
  2846. end
  2847. end)
  2848. bov = Instance.new("BodyVelocity",ballzor)
  2849. bov.maxForce = Vector3.new(99999,99999,99999)
  2850. ballzor.CFrame = CFrame.new(ballzor.Position,mouse.Hit.p)
  2851. bov.velocity = ballzor.CFrame.lookVector*200
  2852. removeuseless:AddItem(ballzor,4)
  2853. ws = 50
  2854. attacking = false
  2855. debounce = false
  2856. appi = false
  2857. end
  2858. end)
  2859.  
  2860. mouse.KeyDown:connect(function(Press)
  2861. Press=Press:lower()
  2862. if Press=='j' then
  2863. if not levitate then return end
  2864. if debounce then return end
  2865. debounce = true
  2866. charging = true
  2867. attacking = true
  2868. downpress = false
  2869. x = 1
  2870. ws = 0
  2871. g1 = Instance.new("BodyGyro", Root)
  2872. g1.D = 175
  2873. g1.P = 20000
  2874. g1.MaxTorque = Vector3.new(0,9000,0)
  2875. SOUND(RightArm,2014087015,8,false,3)
  2876. coroutine.wrap(function()
  2877. Charge = Instance.new("Sound",RightArm)
  2878. Charge.SoundId = "rbxassetid://101153932"
  2879. Charge.Looped = false
  2880. Charge.Volume = 8
  2881. Charge:Play()
  2882. end)()
  2883. appi = true
  2884. coroutine.wrap(function()
  2885. while appi do
  2886. swait()
  2887. if Root.Velocity.Magnitude < 2 and attacking == true then
  2888. position = "Idle3"
  2889. end
  2890. end
  2891. end)()
  2892. coroutine.wrap(function()
  2893. while appi do
  2894. swait()
  2895. settime = 0.05
  2896. sine = sine + change
  2897. if position == "Idle3" and attacking == true and appi == true then
  2898. change = .4
  2899. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2900. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  2901. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2902. 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)
  2903. 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)
  2904. 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)
  2905. end
  2906. end
  2907. end)()
  2908. for i = 1, 15 do
  2909. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2910. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2911. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2912. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2913. swait()
  2914. end
  2915. for i = 1, 3 do
  2916. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2917. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2918. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2919. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2920. x = x + .1
  2921. blastborb = Instance.new("Part",Torso)
  2922. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2923. blastborb.BrickColor = BrickColor.new(colors)
  2924. blastborb.Anchored = true
  2925. blastborb.Size = Vector3.new(10,10,10)
  2926. blastborb.CanCollide = false
  2927. blastborb.Material = "Neon"
  2928. for i = 1, 5 do
  2929. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2930. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  2931. swait()
  2932. end
  2933. blastborb:Remove()
  2934. swait()
  2935. end
  2936. downpress = true
  2937. while charging and x < 5 do
  2938. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2939. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  2940. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2941. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  2942. x = x + .1
  2943. blastborb = Instance.new("Part",Torso)
  2944. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2945. blastborb.BrickColor = BrickColor.new(colors)
  2946. blastborb.Anchored = true
  2947. blastborb.Size = Vector3.new(10,10,10)
  2948. blastborb.CanCollide = false
  2949. blastborb.Material = "Neon"
  2950. for i = 1, 5 do
  2951. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2952. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  2953. swait()
  2954. end
  2955. blastborb:Remove()
  2956. swait()
  2957. end
  2958. coroutine.wrap(function()
  2959. for i = 1, 20 do
  2960. Charge.Volume = Charge.Volume - .5
  2961. swait()
  2962. end
  2963. end)()
  2964. local bigswoosh = Instance.new("Part",Torso)
  2965. bigswoosh.Name = "bigswoosh"
  2966. bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5)
  2967. bigswoosh.Size = Vector3.new(1,1,1)
  2968. bigswoosh.Material = "Neon"
  2969. bigswoosh.Anchored = true
  2970. bigswoosh.Transparency = 1
  2971. bigswoosh.BrickColor = BrickColor.new("Really red")
  2972. bigswoosh.CanCollide = false
  2973. SOUND(bigswoosh,842332424,10,false,6)
  2974. SOUND(bigswoosh,2017948224,10,false,6)
  2975. SOUND(bigswoosh,138677306,10,false,4)
  2976. coroutine.wrap(function()
  2977. local loc1 = Instance.new("Part",bigswoosh)
  2978. loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0)
  2979. loc1.Size = Vector3.new(2,2,2)
  2980. loc1.Anchored = true
  2981. loc1.Transparency = 1
  2982. loc1.CanCollide = false
  2983. local loc2 = Instance.new("Part",bigswoosh)
  2984. loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0)
  2985. loc2.Size = Vector3.new(2,2,2)
  2986. loc2.Anchored = true
  2987. loc2.Transparency = 1
  2988. loc2.CanCollide = false
  2989. n = 0
  2990. nb = 0
  2991. for i = 1, 125 do
  2992. n = n + x
  2993. nb = nb - x
  2994. Hit = damagealll(n,bigswoosh.Position)
  2995. for _,v in pairs(Hit) do
  2996. if x > 4.5 then
  2997. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  2998. else
  2999. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x))
  3000. end
  3001. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3002. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3003. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3004. vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150
  3005. removeuseless:AddItem(vel,.1)
  3006. end
  3007. local bigtrail = Instance.new("Part",LeftArm)
  3008. bigtrail.Size = bigswoosh.Size
  3009. bigtrail.BrickColor = BrickColor.new(colors)
  3010. bigtrail.Anchored = true
  3011. bigtrail.Material = "Neon"
  3012. bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3013. bigtrail.CanCollide = false
  3014. removeuseless:AddItem(bigtrail,2)
  3015. local irritatedground = Instance.new("Part",Torso)
  3016. irritatedground.Size = Vector3.new(n*1.5,1,3*x)
  3017. irritatedground.BrickColor = BrickColor.new(colors)
  3018. irritatedground.Material = "Neon"
  3019. irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0)
  3020. irritatedground.CanCollide = false
  3021. irritatedground.Anchored = true
  3022. removeuseless:AddItem(irritatedground,10)
  3023. local grassblocks = Instance.new("Part",Torso)
  3024. grassblocks.Size = Vector3.new(n/2,n/2,n/2)
  3025. grassblocks.Material = "Grass"
  3026. grassblocks.Anchored = true
  3027. grassblocks.Name = "grassblocks"
  3028. grassblocks.BrickColor = BrickColor.new("Bright green")
  3029. 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)))
  3030. removeuseless:AddItem(grassblocks,10)
  3031. local grassblocks2 = Instance.new("Part",Torso)
  3032. grassblocks2.Size = Vector3.new(n/2,n/2,n/2)
  3033. grassblocks2.Material = "Grass"
  3034. grassblocks2.Anchored = true
  3035. grassblocks2.Name = "grassblocks2"
  3036. grassblocks2.BrickColor = BrickColor.new("Bright green")
  3037. 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)))
  3038. removeuseless:AddItem(grassblocks2,10)
  3039. bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x)
  3040. loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0)
  3041. loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0)
  3042. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x)
  3043. swait()
  3044. end
  3045. for i = 1, 20 do
  3046. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3)
  3047. bigswoosh.Transparency = bigswoosh.Transparency + 0.05
  3048. swait()
  3049. end
  3050. bigswoosh:Remove()
  3051. end)()
  3052. for i = 1, 50 do
  3053. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  3054. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  3055. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  3056. swait()
  3057. end
  3058. ws = 50
  3059. attacking = false
  3060. debounce = false
  3061. appi = false
  3062. g1:Remove()
  3063. end
  3064. end)
  3065.  
  3066. mouse.KeyDown:connect(function(Press)
  3067. Press=Press:lower()
  3068. if Press=='k' then
  3069. if not levitate then return end
  3070. if debounce then return end
  3071. debounce = true
  3072. attacking = true
  3073. charging = true
  3074. appi = true
  3075. coroutine.wrap(function()
  3076. while appi do
  3077. swait()
  3078. if Root.Velocity.Magnitude < 2 and attacking == true then
  3079. position = "Idle3"
  3080. end
  3081. end
  3082. end)()
  3083. coroutine.wrap(function()
  3084. while appi do
  3085. swait()
  3086. settime = 0.05
  3087. sine = sine + change
  3088. if position == "Idle3" and attacking == true and appi == true then
  3089. change = .4
  3090. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3091. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  3092. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3093. 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)
  3094. 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)
  3095. 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)
  3096. end
  3097. end
  3098. end)()
  3099. ws = 0
  3100. g1 = Instance.new("BodyGyro", Root)
  3101. g1.D = 175
  3102. g1.P = 20000
  3103. g1.MaxTorque = Vector3.new(0,9000,0)
  3104. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  3105. for i = 1, 15 do
  3106. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  3107. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  3108. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3109. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3110. swait()
  3111. end
  3112. r = 0
  3113. for i = 1, 10 do
  3114. r = r + .1
  3115. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  3116. blass = Instance.new("Part",RightArm)
  3117. blass.Size = Vector3.new(r,r,r)
  3118. blass.Material = "Neon"
  3119. 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)))
  3120. blass.Anchored = true
  3121. blass.CanCollide = false
  3122. blass.BrickColor = BrickColor.new(colors)
  3123. removeuseless:AddItem(blass,2)
  3124. swait()
  3125. end
  3126. while r < 16 and charging == true do
  3127. r = r + .1
  3128. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  3129. blass = Instance.new("Part",RightArm)
  3130. blass.Size = Vector3.new(r,r,r)
  3131. blass.Material = "Neon"
  3132. 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)))
  3133. blass.Anchored = true
  3134. blass.CanCollide = false
  3135. blass.BrickColor = BrickColor.new(colors)
  3136. removeuseless:AddItem(blass,2)
  3137. swait()
  3138. end
  3139. local TheBeam = Instance.new("Part",RightArm)
  3140. TheBeam.Name = "zebeam"
  3141. TheBeam.Size = Vector3.new(1,1,1)
  3142. TheBeam.Material = "Neon"
  3143. TheBeam.Shape = "Cylinder"
  3144. TheBeam.BrickColor = BrickColor.new("Really red")
  3145. TheBeam.Anchored = true
  3146. TheBeam.CanCollide = false
  3147. ws = 12
  3148. bemmo = Instance.new("Sound",RightArm)
  3149. bemmo.SoundId = "rbxassetid://1910988873"
  3150. bemmo.Volume = 8
  3151. bemmo.Looped = false
  3152. bemmo:Play()
  3153. bemmo.TimePosition = 2
  3154. for i = 1, 100 * r/3 do
  3155. if r > 15 then
  3156. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
  3157. end
  3158. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
  3159. local blass = Instance.new("Part",RightArm)
  3160. blass.Size = Vector3.new(r,r,r)
  3161. blass.Material = "Neon"
  3162. 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)))
  3163. blass.Anchored = true
  3164. blass.CanCollide = false
  3165. blass.BrickColor = BrickColor.new(colors)
  3166. removeuseless:AddItem(blass,2)
  3167. local STARTPOS = blass.CFrame*CFrame.new(0,0,0).p
  3168. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  3169. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  3170. TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  3171. TheBeam.Size = Vector3.new(DISTANCE,r/math.random(1,2),r/math.random(1,2))
  3172. boom = Instance.new("Part",RightArm)
  3173. boom.Size = Vector3.new(r,r,r)
  3174. boom.BrickColor = BrickColor.new(colors)
  3175. boom.Anchored = true
  3176. boom.CanCollide = false
  3177. boom.Material = "Neon"
  3178. 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)))
  3179. removeuseless:AddItem(boom,3)
  3180. boom.Touched:connect(function(getbase)
  3181. if hitdebounce then return end
  3182. hitdebounce = true
  3183. if getbase:IsA("Part") then
  3184. damagedground = Instance.new("Part",RightArm)
  3185. damagedground.Size = Vector3.new(.1,5+r,.1)
  3186. damagedground.Material = "Neon"
  3187. damagedground.CanCollide = false
  3188. damagedground.BrickColor = BrickColor.new(colors)
  3189. damagedground.Anchored = true
  3190. damagedground.CFrame = boom.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3191. removeuseless:AddItem(damagedground,2)
  3192. wait(.1)
  3193. hitdebounce = false
  3194. end
  3195. end)
  3196. Hit = damagealll(r+3,boom.Position)
  3197. for _,v in pairs(Hit) do
  3198. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(r/1.1,r))
  3199. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3200. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3201. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3202. vel.velocity = CFrame.new(boom.Position,torso.Position).lookVector*r
  3203. removeuseless:AddItem(vel,.1)
  3204. end
  3205. swait()
  3206. end
  3207. removeuseless:AddItem(g1,.001)
  3208. coroutine.wrap(function()
  3209. for i = 1, 20 do
  3210. bemmo.Volume = bemmo.Volume - 0.5
  3211. blass.Transparency = blass.Transparency + 0.05
  3212. TheBeam.Transparency = TheBeam.Transparency + 0.05
  3213. swait()
  3214. end
  3215. bemmo:Remove()
  3216. if r > 15 then
  3217. hum.CameraOffset = Vector3.new(0,0,0)
  3218. end
  3219. blass:Remove()
  3220. TheBeam:Remove()
  3221. end)()
  3222. ws = 50
  3223. appi = false
  3224. attacking = false
  3225. debounce = false
  3226. end
  3227. end)
  3228.  
  3229. mouse.KeyUp:connect(function(Press)
  3230. Press=Press:lower()
  3231. if Press=='j' then
  3232. charging = false
  3233. end
  3234. end)
  3235.  
  3236. mouse.KeyUp:connect(function(Press)
  3237. Press=Press:lower()
  3238. if Press=='k' then
  3239. charging = false
  3240. end
  3241. end)
  3242.  
  3243. doit = coroutine.wrap(function()
  3244. while true do
  3245. for _,v in pairs(Repeater) do
  3246. v.Scale = v.Scale + Vector3.new(1, 1, 1)
  3247. end
  3248.  
  3249. for _,v in pairs(openshocktable) do
  3250. v.Scale = v.Scale + Vector3.new(3, 3, 3)
  3251. end
  3252.  
  3253. for _,v in pairs(nonmeshRepeater) do
  3254. v.Size = v.Size + Vector3.new(2, 2, 2)
  3255. end
  3256.  
  3257. for _,v in pairs(Extreme) do
  3258. v.Size = v.Size + Vector3.new(6, 6, 6)
  3259. end
  3260.  
  3261. for _,v in pairs(LessSize) do
  3262. v.Size = v.Size - Vector3.new(1, 1, 1)
  3263. end
  3264.  
  3265. for _,v in pairs(nonmeshRepeater2) do
  3266. v.Transparency = v.Transparency + 0.05
  3267. end
  3268.  
  3269. for _,v in pairs(Repeater2) do
  3270. v.Transparency = v.Transparency - 0.05
  3271. end
  3272.  
  3273. for _,v in pairs(th1) do
  3274. v.CFrame = v.CFrame * CFrame.new(0,0+.3,0) * CFrame.Angles(0,math.rad(0+8),0)
  3275. end
  3276.  
  3277. for _,v in pairs(th2) do
  3278. v.CFrame = v.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+15),0)
  3279. end
  3280.  
  3281. for _,v in pairs(th3) do
  3282. v.Scale = v.Scale + Vector3.new(2, 2, 2)
  3283. end
  3284.  
  3285. for _,v in pairs(th5) do
  3286. v.Scale = v.Scale + Vector3.new(1, .1, 1)
  3287. end
  3288.  
  3289. for _,v in pairs(ExtremeM) do
  3290. v.Size = v.Size + Vector3.new(8, 8, 8)
  3291. end
  3292.  
  3293. for _,v in pairs(m3) do
  3294. v.Scale = v.Scale + Vector3.new(.2,.2,.2)
  3295. end
  3296.  
  3297. for _,v in pairs(ExtremeM2) do
  3298. v.Size = v.Size - Vector3.new(2,2,2)
  3299. end
  3300.  
  3301. for _,v in pairs(keyYsize) do
  3302. v.Scale = v.Scale + Vector3.new(8, 8, 1)
  3303. end
  3304.  
  3305. for _,v in pairs(th4) do
  3306. v.Transparency = v.Transparency + 0.009
  3307. v.Rotation = v.Rotation + Vector3.new(3,0,0)
  3308. end
  3309.  
  3310. for _,v in pairs(SlowlyFade) do
  3311. v.Transparency = v.Transparency + 0.05
  3312. end
  3313.  
  3314. for _,v in pairs(keyYtransparency) do
  3315. v.Transparency = v.Transparency + 0.05
  3316. end
  3317.  
  3318. for _,v in pairs(UpMover) do
  3319. v.Position = v.Position + Vector3.new(0, 3, 0)
  3320. end
  3321.  
  3322. for _,v in pairs(ForwardMover) do
  3323. v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0))
  3324. end
  3325.  
  3326. for _,v in pairs(FadeIn) do
  3327. v.Transparency = v.Transparency - .05
  3328. end
  3329.  
  3330. for _,v in pairs(signtransparency) do
  3331. v.TextTransparency = v.TextTransparency + 0.025
  3332. end
  3333.  
  3334. for _,v in pairs(signmover) do
  3335. v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
  3336. end
  3337.  
  3338. for _,v in pairs(signrotator) do
  3339. v.Rotation = v.Rotation + 2
  3340. end
  3341. swait()
  3342. end
  3343. end)
  3344. doit()
  3345. t = 0
  3346.  
  3347. mouse.KeyDown:connect(function(Press)
  3348. Press=Press:lower()
  3349. if Press=='0' then
  3350. if levitate then return end
  3351. shoov = true
  3352. if debounce then return end
  3353. ws = 50
  3354. end
  3355. end)
  3356.  
  3357. mouse.KeyUp:connect(function(Press)
  3358. Press=Press:lower()
  3359. if Press=='0' then
  3360. if levitate then return end
  3361. shoov = false
  3362. if debounce then return end
  3363. ws = 10
  3364. end
  3365. end)
  3366.  
  3367.  
  3368. local anims = coroutine.wrap(function()
  3369. while true do
  3370. settime = 0.05
  3371. sine = sine + change
  3372. if position == "Jump" and attacking == false then
  3373. change = 1
  3374. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3375. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3376. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3377. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3378. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3379. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  3380. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
  3381. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3382. 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)
  3383. elseif position == "Jump2" and attacking == false and levitate then
  3384. change = 1
  3385. 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)
  3386. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  3387. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  3388. 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)
  3389. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3390. 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)
  3391. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3392. 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)
  3393. 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)
  3394. elseif position == "Falling" and attacking == false and levitate == false then
  3395. change = 1
  3396. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3397. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3398. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3399. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3400. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  3401. 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)
  3402. 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)
  3403. 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)
  3404. elseif position == "Falling2" and attacking == false and levitate then
  3405. change = 1
  3406. 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)
  3407. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  3408. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  3409. 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)
  3410. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3411. 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)
  3412. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3413. 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)
  3414. 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)
  3415. elseif position == "Walking" and attacking == false and running == false then
  3416. change = 1
  3417. walking = true
  3418. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3419. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3420. 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)
  3421. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3422. 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)
  3423. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3424. 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)
  3425. 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)
  3426. 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)
  3427. elseif position == "Idle" and attacking == false and running == false and not levitate then
  3428. change = .5
  3429. 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)
  3430. 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)
  3431. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.1)
  3432. 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)
  3433. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.1)
  3434. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3435. 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)
  3436. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3437. 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)
  3438. elseif position == "Idle2" and attacking == false and running == false then
  3439. change = .75
  3440. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  3441. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3442. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  3443. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3444. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3445. 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)
  3446. 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)
  3447. 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)
  3448. 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)
  3449. elseif position == "Walking2" and attacking == false and running == false then
  3450. ws = 50
  3451. 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)
  3452. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  3453. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  3454. 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)
  3455. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  3456. 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)
  3457. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  3458. 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)
  3459. 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)
  3460. elseif position == "Running" and attacking == false then
  3461. change = 1
  3462. 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)
  3463. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  3464. 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)
  3465. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3466. 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)
  3467. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  3468. 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)
  3469. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  3470. 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)
  3471. end
  3472. swait()
  3473. end
  3474. end)
  3475. anims()
  3476. warn("Prepare for a magic trick full of pain and regret. Made by Supr14")
Add Comment
Please, Sign In to add comment