Advertisement
5sdfsadgaq5465

xester editv4

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