Advertisement
Guest User

Untitled

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