Advertisement
basbas1234

Xester The Card || Loadstring Version

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