Advertisement
PasterXIV

Untitled

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