Upscalefanatic3

(Roblox) [FE] Xester Script

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