Advertisement
Guest User

Untitled

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