Advertisement
Guest User

I actually don't know...

a guest
Jan 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.78 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. wait(1 / 60)
  88.  
  89. warn("Really old shit from when I had no idea how to animate anything. Pretty much repulse without the gloves and two modes. --SezHu")
  90.  
  91. Effects = { }
  92. local Player = owner
  93. local Character = Player.Character
  94. local Humanoid = Character.Humanoid
  95. Humanoid.WalkSpeed = 16
  96. local LeftArm = Character["Left Arm"]
  97. local RightArm = Character["Right Arm"]
  98. local LeftLeg = Character["Left Leg"]
  99. local RightLeg = Character["Right Leg"]
  100. local Head = Character.Head
  101. local Torso = Character.Torso
  102. local Camera = game.Workspace.CurrentCamera
  103. local RootPart = Character.HumanoidRootPart
  104. local RootJoint = RootPart.RootJoint
  105. local attack = false
  106. local Anim = 'Idle'
  107. local attacktype = 1
  108. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  109. local velocity = RootPart.Velocity.y
  110. local sine = 1
  111. local change = 1
  112. local Create = LoadLibrary("RbxUtility").Create
  113. local gay = false
  114. attack = false
  115. attackmode=1
  116. bruisermode=true
  117. cf=CFrame.new
  118. angles=CFrame.Angles
  119. bloodmode=false
  120. brawlermode=false
  121. currentspeed = 13
  122. flashmode=false
  123. local cn = CFrame.new
  124. beaty = Instance.new("Sound", Player.PlayerGui)
  125. beaty.SoundId = "http://www.roblox.com/asset/?id=1208650519"
  126. beaty.Volume = 1
  127. beaty.Looped = false
  128.  
  129.  
  130.  
  131. local co1 = 5
  132. local co2 = 10
  133. local co3 = 20
  134. local co4 = 0
  135.  
  136. local cooldown1 = 0
  137. local cooldown2 = 0
  138. local cooldown3 = 0
  139. local cooldown4 = 0
  140.  
  141. skillcolorscheme = BrickColor.new(Torso.Color).Color
  142.  
  143. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  144. function makeframe(par, trans, pos, size, color)
  145. local frame = Instance.new('Frame', par)
  146. frame.BackgroundTransparency = trans
  147. frame.BorderSizePixel = 0
  148. frame.Position = pos
  149. frame.Size = size
  150. frame.BackgroundColor3 = color
  151. return frame
  152. end
  153.  
  154. local m = Create("Model"){
  155. Parent = Character,
  156. Name = "WeaponModel",
  157. }
  158.  
  159. Humanoid.Animator.Parent = nil
  160. Character.Animate.Parent = nil
  161.  
  162. local newMotor = function(part0, part1, c0, c1)
  163. local w = Create('Motor'){
  164. Parent = part0,
  165. Part0 = part0,
  166. Part1 = part1,
  167. C0 = c0,
  168. C1 = c1,
  169. }
  170. return w
  171. end
  172.  
  173. function clerp(a, b, t)
  174. return a:lerp(b, t)
  175. end
  176.  
  177.  
  178. framesk1 = makeframe(scrn, .1, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  179. framesk2 = makeframe(scrn, .3, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  180. framesk3 = makeframe(scrn, .3, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  181. framesk4 = makeframe(scrn, .3, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  182.  
  183. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  184. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  185. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  186. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  187. text1 = Instance.new('TextLabel', framesk1)
  188. text1.BackgroundTransparency = 1
  189. text1.Size = UDim2.new(1, 0, 1, 0)
  190. text1.Position = UDim2.new(0, 0, 0, 0)
  191. text1.TextColor3 = Color3.new(255, 255, 255)
  192. text1.TextStrokeTransparency = 0
  193. text1.FontSize = Enum.FontSize.Size18
  194. text1.Font = Enum.Font.Garamond
  195. text1.BorderSizePixel = 0
  196. text1.TextScaled = true
  197. text1.Text = "[Z]\n "
  198. text2 = Instance.new('TextLabel', framesk2)
  199. text2.BackgroundTransparency = 1
  200. text2.Size = UDim2.new(1, 0, 1, 0)
  201. text2.Position = UDim2.new(0, 0, 0, 0)
  202. text2.TextColor3 = Color3.new(255, 255, 255)
  203. text2.TextStrokeTransparency = 0
  204. text2.FontSize = Enum.FontSize.Size18
  205. text2.Font = Enum.Font.Garamond
  206. text2.BorderSizePixel = 0
  207. text2.TextScaled = true
  208. text2.Text = "[X]\n Crushing Grasp"
  209. text3 = Instance.new('TextLabel', framesk3)
  210. text3.BackgroundTransparency = 1
  211. text3.Size = UDim2.new(1, 0, 1, 0)
  212. text3.Position = UDim2.new(0, 0, 0, 0)
  213. text3.TextColor3 = Color3.new(255, 255, 255)
  214. text3.TextStrokeTransparency = 0
  215. text3.FontSize = Enum.FontSize.Size18
  216. text3.Font = Enum.Font.Garamond
  217. text3.BorderSizePixel = 0
  218. text3.TextScaled = false
  219. text3.Text = "[C]\n Shredding Grasp"
  220. text4 = Instance.new('TextLabel', framesk4)
  221. text4.BackgroundTransparency = 1
  222. text4.Size = UDim2.new(1, 0, 1, 0)
  223. text4.Position = UDim2.new(0, 0, 0, 0)
  224. text4.TextColor3 = Color3.new(255, 255, 255)
  225. text4.TextStrokeTransparency = 0
  226. text4.FontSize = Enum.FontSize.Size18
  227. text4.Font = Enum.Font.Garamond
  228. text4.BorderSizePixel = 0
  229. text4.TextScaled = true
  230. text1.Text = "[Z]\n Punishing Fist"
  231. text2.Text = "[X]\n Vault Slam"
  232. text3.Text = "[C]\n Double Time"
  233. text4.Text = "[V]\n Bruiser Mode"
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  241. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  242.  
  243. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  244. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  245. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  246. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  247. RootJoint.C1 = CFrame.new(0, 0, 0)
  248. RootJoint.C0 = CFrame.new(0, 0, 0)
  249. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  250. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  251.  
  252. local rarmc1 = RW.C1
  253. local larmc1 = LW.C1
  254. local rlegc1 = RH.C1
  255. local llegc1 = LH.C1
  256. local resetc1 = false
  257.  
  258.  
  259. function weld5(part0, part1, c0, c1)
  260. local weeld = Instance.new("Weld", part0)
  261. weeld.Part0 = part0
  262. weeld.Part1 = part1
  263. weeld.C0 = c0
  264. weeld.C1 = c1
  265. return weeld
  266. end
  267.  
  268.  
  269. function PlayAnimationFromTable(table, speed, bool)
  270. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  271. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  272. RW.C0 = clerp(RW.C0, table[3], speed)
  273. LW.C0 = clerp(LW.C0, table[4], speed)
  274. RH.C0 = clerp(RH.C0, table[5], speed)
  275. LH.C0 = clerp(LH.C0, table[6], speed)
  276. if bool == true then
  277. if resetc1 == false then
  278. resetc1 = true
  279. RootJoint.C1 = RootJoint.C1
  280. Torso.Neck.C1 = Torso.Neck.C1
  281. RW.C1 = rarmc1
  282. LW.C1 = larmc1
  283. RH.C1 = rlegc1
  284. LH.C1 = llegc1
  285. end
  286. end
  287. end
  288.  
  289. ArtificialHB = Create("BindableEvent", script){
  290. Parent = script,
  291. Name = "Heartbeat",
  292. }
  293.  
  294. script:WaitForChild("Heartbeat")
  295.  
  296. frame = 1 / 30
  297. tf = 0
  298. allowframeloss = false
  299. tossremainder = false
  300. lastframe = tick()
  301. script.Heartbeat:Fire()
  302.  
  303. game:GetService("RunService").Heartbeat:connect(function(s, p)
  304. tf = tf + s
  305. if tf >= frame then
  306. if allowframeloss then
  307. script.Heartbeat:Fire()
  308. lastframe = tick()
  309. else
  310. for i = 1, math.floor(tf / frame) do
  311. script.Heartbeat:Fire()
  312. end
  313. lastframe = tick()
  314. end
  315. if tossremainder then
  316. tf = 0
  317. else
  318. tf = tf - frame * math.floor(tf / frame)
  319. end
  320. end
  321. end)
  322.  
  323. function swait(num)
  324. if num == 0 or num == nil then
  325. ArtificialHB.Event:wait()
  326. else
  327. for i = 0, num do
  328. ArtificialHB.Event:wait()
  329. end
  330. end
  331. end
  332.  
  333. function RemoveOutlines(part)
  334. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  335. end
  336.  
  337. CFuncs = {
  338. Part = {
  339. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  340. local Part = Create("Part"){
  341. Parent = Parent,
  342. Reflectance = Reflectance,
  343. Transparency = Transparency,
  344. CanCollide = false,
  345. Locked = true,
  346. BrickColor = BrickColor.new(tostring(BColor)),
  347. Name = Name,
  348. Size = Size,
  349. Material = Material,
  350. }
  351. RemoveOutlines(Part)
  352. return Part
  353. end;
  354. };
  355.  
  356. Mesh = {
  357. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  358. local Msh = Create(Mesh){
  359. Parent = Part,
  360. Offset = OffSet,
  361. Scale = Scale,
  362. }
  363. if Mesh == "SpecialMesh" then
  364. Msh.MeshType = MeshType
  365. Msh.MeshId = MeshId
  366. end
  367. return Msh
  368. end;
  369. };
  370.  
  371. Weld = {
  372. Create = function(Parent, Part0, Part1, C0, C1)
  373. local Weld = Create("Weld"){
  374. Parent = Parent,
  375. Part0 = Part0,
  376. Part1 = Part1,
  377. C0 = C0,
  378. C1 = C1,
  379. }
  380. return Weld
  381. end;
  382. };
  383.  
  384. Sound = {
  385. Create = function(id, par, vol, pit)
  386. local Sound = Create("Sound"){
  387. Volume = vol,
  388. Pitch = pit or 1,
  389. SoundId = "rbxassetid://" .. id,
  390. Parent = par or workspace,
  391. }
  392. Sound:play()
  393. return Sound
  394. end;
  395. };
  396.  
  397. Decal = {
  398. Create = function(Color, Texture, Transparency, Name, Parent)
  399. local Decal = Create("Decal"){
  400. Color3 = Color,
  401. Texture = "rbxassetid://" .. Texture,
  402. Transparency = Transparency,
  403. Name = Name,
  404. Parent = Parent,
  405. }
  406. return Decal
  407. end;
  408. };
  409.  
  410. BillboardGui = {
  411. Create = function(Parent, Image, Position, Size)
  412. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  413. BillPar.CFrame = CFrame.new(Position)
  414. local Bill = Create("BillboardGui"){
  415. Parent = BillPar,
  416. Adornee = BillPar,
  417. Size = UDim2.new(1, 0, 1, 0),
  418. SizeOffset = Vector2.new(Size, Size),
  419. }
  420. local d = Create("ImageLabel", Bill){
  421. Parent = Bill,
  422. BackgroundTransparency = 1,
  423. Size = UDim2.new(1, 0, 1, 0),
  424. Image = "rbxassetid://" .. Image,
  425. }
  426. return BillPar
  427. end
  428. };
  429.  
  430. ParticleEmitter = {
  431. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  432. local Particle = Create("ParticleEmitter"){
  433. Parent = Parent,
  434. Color = ColorSequence.new(Color1, Color2),
  435. LightEmission = LightEmission,
  436. Size = Size,
  437. Texture = Texture,
  438. Transparency = Transparency,
  439. ZOffset = ZOffset,
  440. Acceleration = Accel,
  441. Drag = Drag,
  442. LockedToPart = LockedToPart,
  443. VelocityInheritance = VelocityInheritance,
  444. EmissionDirection = EmissionDirection,
  445. Enabled = Enabled,
  446. Lifetime = LifeTime,
  447. Rate = Rate,
  448. Rotation = Rotation,
  449. RotSpeed = RotSpeed,
  450. Speed = Speed,
  451. VelocitySpread = VelocitySpread,
  452. }
  453. return Particle
  454. end;
  455. };
  456.  
  457. CreateTemplate = {
  458.  
  459. };
  460. }
  461.  
  462. function rayCast(Position, Direction, Range, Ignore)
  463. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  464. end
  465.  
  466. function FindNearestTorso(Position, Distance, SinglePlayer)
  467. if SinglePlayer then
  468. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  469. end
  470. local List = {}
  471. for i, v in pairs(workspace:GetChildren()) do
  472. if v:IsA("Model") then
  473. if v:findFirstChild("Torso") then
  474. if v ~= Character then
  475. if (v.Torso.Position - Position).magnitude <= Distance then
  476. table.insert(List, v)
  477. end
  478. end
  479. end
  480. end
  481. end
  482. return List
  483. end
  484.  
  485. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  486. if hit.Parent == nil then
  487. return
  488. end
  489. local h = hit.Parent:FindFirstChild("Humanoid")
  490. for _, v in pairs(hit.Parent:children()) do
  491. if v:IsA("Humanoid") then
  492. h = v
  493. if h.Health >= 101 then
  494. h.Health = 0
  495. end
  496. end
  497. end
  498.  
  499. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  500. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  501. if hit.Parent.DebounceHit.Value == true then
  502. return
  503. end
  504. end
  505. local c = Create("ObjectValue"){
  506. Name = "creator",
  507. Value = owner,
  508. Parent = h,
  509. }
  510. game:GetService("Debris"):AddItem(c, .5)
  511. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  512. local Damage = math.random(minim, maxim)
  513. local blocked = false
  514. local block = hit.Parent:findFirstChild("Block")
  515. if block ~= nil then
  516. if block.className == "IntValue" then
  517. if block.Value > 0 then
  518. blocked = true
  519. block.Value = block.Value - 1
  520. print(block.Value)
  521. end
  522. end
  523. end
  524.  
  525. if gay == false then
  526. h.Health = h.Health - Damage
  527. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new(Torso.Color).Color)
  528. elseif gay == true then
  529. repeat wait() until gay == false
  530. h.Health = h.Health - (Damage / 2.5)
  531. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new(Torso.Color).Color)
  532. end
  533. if Type == "Knockdown" then
  534. local hum = hit.Parent.Humanoid
  535. hum.PlatformStand = true
  536. coroutine.resume(coroutine.create(function(HHumanoid)
  537. swait(1)
  538. HHumanoid.PlatformStand = false
  539. end), hum)
  540. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  541. local bodvol = Create("BodyVelocity"){
  542. velocity = angle * knockback,
  543. P = 5000,
  544. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  545. Parent = hit,
  546. }
  547. local rl = Create("BodyAngularVelocity"){
  548. P = 3000,
  549. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  550. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  551. Parent = hit,
  552. }
  553. game:GetService("Debris"):AddItem(bodvol, .5)
  554. game:GetService("Debris"):AddItem(rl, .5)
  555. elseif Type == "Normal" then
  556. local vp = Create("BodyVelocity"){
  557. P = 500,
  558. maxForce = Vector3.new(math.huge, 0, math.huge),
  559. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  560. }
  561. if knockback > 0 then
  562. vp.Parent = hit.Parent.Torso
  563. end
  564. game:GetService("Debris"):AddItem(vp, .5)
  565. elseif Type == "Up" then
  566. local bodyVelocity = Create("BodyVelocity"){
  567. velocity = Vector3.new(0, 40, 0),
  568. P = 5000,
  569. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  570. Parent = hit,
  571. }
  572. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  573. elseif Type == "DarkUp" then
  574. coroutine.resume(coroutine.create(function()
  575. for i = 0, 3, 0.1 do
  576. swait()
  577. Effects.Block.Create(BrickColor.random(), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  578. end
  579. end))
  580. local bodyVelocity = Create("BodyVelocity"){
  581. velocity = Vector3.new(0, 20, 0),
  582. P = 5000,
  583. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  584. Parent = hit,
  585. }
  586. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  587. elseif Type == "Snare" then
  588. local bp = Create("BodyPosition"){
  589. P = 2000,
  590. D = 100,
  591. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  592. position = hit.Parent.Torso.Position,
  593. Parent = hit.Parent.Torso,
  594. }
  595. game:GetService("Debris"):AddItem(bp, 1)
  596. elseif Type == "Freeze" then
  597. local BodPos = Create("BodyPosition"){
  598. P = 50000,
  599. D = 1000,
  600. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  601. position = hit.Parent.Torso.Position,
  602. Parent = hit.Parent.Torso,
  603. }
  604. local BodGy = Create("BodyGyro") {
  605. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  606. P = 20e+003,
  607. Parent = hit.Parent.Torso,
  608. cframe = hit.Parent.Torso.CFrame,
  609. }
  610. hit.Parent.Torso.Anchored = true
  611. coroutine.resume(coroutine.create(function(Part)
  612. swait(1.5)
  613. Part.Anchored = false
  614. end), hit.Parent.Torso)
  615. game:GetService("Debris"):AddItem(BodPos, 3)
  616. game:GetService("Debris"):AddItem(BodGy, 3)
  617. end
  618. local debounce = Create("BoolValue"){
  619. Name = "DebounceHit",
  620. Parent = hit.Parent,
  621. Value = true,
  622. }
  623. game:GetService("Debris"):AddItem(debounce, Delay)
  624. c = Create("ObjectValue"){
  625. Name = "creator",
  626. Value = Player,
  627. Parent = h,
  628. }
  629. game:GetService("Debris"):AddItem(c, .5)
  630. end
  631. end
  632.  
  633. function ShowDamage(Pos, Text, Time, Color)
  634. local Rate = (1 / 30)
  635. local Pos = (Pos or Vector3.new(0, 0, 0))
  636. local Text = (Text or "")
  637. local Time = (Time or 2)
  638. local Color = (Color or Color3.new(1, 0, 1))
  639. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  640. EffectPart.Anchored = true
  641. local BillboardGui = Create("BillboardGui"){
  642. Size = UDim2.new(3, 0, 3, 0),
  643. Adornee = EffectPart,
  644. Parent = EffectPart,
  645. }
  646. local TextLabel = Create("TextLabel"){
  647. BackgroundTransparency = 1,
  648. Size = UDim2.new(1, 0, 1, 0),
  649. Text = Text,
  650. Font = "Garamond",
  651. TextColor3 = Torso.Color,
  652. TextScaled = true,
  653. Parent = BillboardGui,
  654. }
  655. game.Debris:AddItem(EffectPart, (Time))
  656. EffectPart.Parent = game:GetService("Workspace")
  657. delay(0, function()
  658. local Frames = (Time / Rate)
  659. for Frame = 1, Frames do
  660. wait(Rate)
  661. local Percent = (Frame / Frames)
  662. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  663. TextLabel.TextTransparency = Percent
  664. end
  665. if EffectPart and EffectPart.Parent then
  666. EffectPart:Destroy()
  667. end
  668. end)
  669. end
  670.  
  671. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  672. for _, c in pairs(workspace:children()) do
  673. local hum = c:findFirstChild("Humanoid")
  674. if hum ~= nil then
  675. local head = c:findFirstChild("Torso")
  676. if head ~= nil then
  677. local targ = head.Position - Part.Position
  678. local mag = targ.magnitude
  679. if mag <= Magnitude and c.Name ~= Player.Name then
  680. CFuncs.Sound.Create("324867021", head, 1, 1)
  681. Effects.Sphere.Create(BrickColor.new(Torso.Color), head.CFrame, 2, .2, 2, 2, 2, 2, .05)
  682. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  683. end
  684. end
  685. end
  686. end
  687. end
  688.  
  689. HandleL=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HandleL",Vector3.new(0.500000954, 0.399999917, 0.0999997109))
  690. HandleLWeld=CFuncs.Weld.Create(m,Character["Right Arm"],HandleL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.14317143, -0.0999992639, -1.01177216, 3.85463363e-13, -9.23862274e-07, -1, 1.00000525, 4.17232513e-07, 0, 4.17232513e-07, -1.00000525, 9.23857442e-07))
  691. HitboxL=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HitboxL",Vector3.new(1.29999995, 2.4000001, 0.299999684))
  692. HitboxLWeld=CFuncs.Weld.Create(m,HandleL,HitboxL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100003302, 0.150005341, 0.350000858, 1, 0, 0, 0, 4.1721708e-07, 1, 0, -1, 4.1721708e-07))
  693. HandleR=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HandleR",Vector3.new(0.500000954, 0.399999917, 0.0999997109))
  694. HandleRWeld=CFuncs.Weld.Create(m,Character["Left Arm"],HandleR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499970913, -0.0999991372, -0.898292542, -0, 0, 1, -1.00000525, 4.17232513e-07, 0, -4.17232513e-07, -1.00000525, 0))
  695. HitboxR=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HitboxR",Vector3.new(1.29999995, 2.4000001, 0.299999684))
  696. HitboxRWeld=CFuncs.Weld.Create(m,HandleR,HitboxR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100000381, 0.150003433, 0.350002706, 1, 0, 0, 0, 4.17232513e-07, 1.00000525, 0, -1.00000525, 4.1723257e-07))
  697.  
  698.  
  699.  
  700. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  701. sref.Anchored = true
  702.  
  703. EffectModel = Create("Model"){
  704. Parent = Character,
  705. Name = "Effects",
  706. }
  707.  
  708. Effects = {
  709. Block = {
  710. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  711. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  712. prt.Anchored = true
  713. prt.CFrame = cframe
  714. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  715. game:GetService("Debris"):AddItem(prt, 10)
  716. if Type == 1 or Type == nil then
  717. table.insert(Effects, {
  718. prt,
  719. "Block1",
  720. delay,
  721. x3,
  722. y3,
  723. z3,
  724. msh
  725. })
  726. elseif Type == 2 then
  727. table.insert(Effects, {
  728. prt,
  729. "Block2",
  730. delay,
  731. x3,
  732. y3,
  733. z3,
  734. msh
  735. })
  736. end
  737. end;
  738. };
  739.  
  740. Cylinder = {
  741. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  742. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  743. prt.Anchored = true
  744. prt.CFrame = cframe
  745. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  746. game:GetService("Debris"):AddItem(prt, 2)
  747. table.insert(Effects, {
  748. prt,
  749. "Cylinder",
  750. delay,
  751. x3,
  752. y3,
  753. z3,
  754. msh
  755. })
  756. end;
  757. };
  758.  
  759. Head = {
  760. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  761. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  762. prt.Anchored = true
  763. prt.CFrame = cframe
  764. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  765. game:GetService("Debris"):AddItem(prt, 10)
  766. table.insert(Effects, {
  767. prt,
  768. "Cylinder",
  769. delay,
  770. x3,
  771. y3,
  772. z3,
  773. msh
  774. })
  775. end;
  776. };
  777.  
  778. Sphere = {
  779. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  780. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  781. prt.Anchored = true
  782. prt.CFrame = cframe
  783. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  784. game:GetService("Debris"):AddItem(prt, 10)
  785. table.insert(Effects, {
  786. prt,
  787. "Cylinder",
  788. delay,
  789. x3,
  790. y3,
  791. z3,
  792. msh
  793. })
  794. end;
  795. };
  796.  
  797. Elect = {
  798. Create = function(cff, x, y, z)
  799. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(Torso.Color), "Part", Vector3.new(1, 1, 1))
  800. prt.Anchored = true
  801. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  802. prt.CFrame = CFrame.new(prt.Position)
  803. game:GetService("Debris"):AddItem(prt, 2)
  804. local xval = math.random() / 2
  805. local yval = math.random() / 2
  806. local zval = math.random() / 2
  807. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  808. table.insert(Effects, {
  809. prt,
  810. "Elec",
  811. 0.1,
  812. x,
  813. y,
  814. z,
  815. xval,
  816. yval,
  817. zval
  818. })
  819. end;
  820.  
  821. };
  822.  
  823. Ring = {
  824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  825. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  829. game:GetService("Debris"):AddItem(prt, 10)
  830. table.insert(Effects, {
  831. prt,
  832. "Cylinder",
  833. delay,
  834. x3,
  835. y3,
  836. z3,
  837. msh
  838. })
  839. end;
  840. };
  841.  
  842.  
  843. Wave = {
  844. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  845. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  846. prt.Anchored = true
  847. prt.CFrame = cframe
  848. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  849. game:GetService("Debris"):AddItem(prt, 10)
  850. table.insert(Effects, {
  851. prt,
  852. "Cylinder",
  853. delay,
  854. x3,
  855. y3,
  856. z3,
  857. msh
  858. })
  859. end;
  860. };
  861.  
  862. Break = {
  863. Create = function(brickcolor, cframe, x1, y1, z1)
  864. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  865. prt.Anchored = true
  866. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  867. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. local num = math.random(10, 50) / 1000
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {
  871. prt,
  872. "Shatter",
  873. num,
  874. prt.CFrame,
  875. math.random() - math.random(),
  876. 0,
  877. math.random(50, 100) / 100
  878. })
  879. end;
  880. };
  881.  
  882. Fire = {
  883. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  884. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  885. prt.Anchored = true
  886. prt.CFrame = cframe
  887. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  888. game:GetService("Debris"):AddItem(prt, 10)
  889. table.insert(Effects, {
  890. prt,
  891. "Fire",
  892. delay,
  893. 1,
  894. 1,
  895. 1,
  896. msh
  897. })
  898. end;
  899. };
  900.  
  901. FireWave = {
  902. Create = function(brickcolor, cframe, x1, y1, z1)
  903. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  904. prt.Anchored = true
  905. prt.CFrame = cframe
  906. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  907. local d = Create("Decal"){
  908. Parent = prt,
  909. Texture = "rbxassetid://26356434",
  910. Face = "Top",
  911. }
  912. local d = Create("Decal"){
  913. Parent = prt,
  914. Texture = "rbxassetid://26356434",
  915. Face = "Bottom",
  916. }
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "FireWave",
  921. 1,
  922. 30,
  923. math.random(400, 600) / 100,
  924. msh
  925. })
  926. end;
  927. };
  928.  
  929. Lightning = {
  930. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  931. local magz = (p0 - p1).magnitude
  932. local curpos = p0
  933. local trz = {
  934. -ofs,
  935. ofs
  936. }
  937. for i = 1, tym do
  938. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  939. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  940. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  941. li.Material = "Neon"
  942. if tym == i then
  943. local magz2 = (curpos - p1).magnitude
  944. li.Size = Vector3.new(th, th, magz2)
  945. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  946. table.insert(Effects, {
  947. li,
  948. "Disappear",
  949. last
  950. })
  951. else
  952. do
  953. do
  954. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  955. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  956. game.Debris:AddItem(li, 10)
  957. table.insert(Effects, {
  958. li,
  959. "Disappear",
  960. last
  961. })
  962. end
  963. end
  964. end
  965. end
  966. end
  967. };
  968.  
  969. EffectTemplate = {
  970.  
  971. };
  972. }
  973.  
  974.  
  975.  
  976. local stoppedParts = {}
  977.  
  978.  
  979. function getAllParts()
  980. local rtn = {}
  981.  
  982. local function recurse(object)
  983. for q,e in next, object:children() do
  984. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  985. table.insert(rtn, e)
  986. end
  987. recurse(e)
  988. end
  989. end
  990.  
  991. recurse(workspace)
  992. return rtn
  993. end
  994.  
  995. function stopParts(distance)
  996. stoppedParts = {}
  997. for nada, part in next, getAllParts() do
  998. local dist = (Torso.Position-part.Position).magnitude
  999. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  1000. table.insert(stoppedParts, part)
  1001. if part.Name ~= "Torso" and part.Anchored ~= true then
  1002. part.Anchored = true
  1003. end
  1004. end
  1005. end
  1006. end
  1007.  
  1008.  
  1009. function freeParts()
  1010. for q,e in next, stoppedParts do
  1011. stoppedParts[q] = nil
  1012. e.Anchored = false
  1013. end
  1014. end
  1015.  
  1016. local effect = Instance.new('ColorCorrectionEffect')
  1017. function TheWorld(Mode)
  1018. if Mode == "Time Start" then
  1019. Effects.Sphere.Create(BrickColor.new(Torso.Color), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  1020. for i = 1,50 do
  1021. if effect.Saturation <= 0 then
  1022. effect.Saturation = effect.Saturation + i/50
  1023. end
  1024. swait(1/30)
  1025. end
  1026. freeParts()
  1027. effect.Saturation = 0
  1028. effect.Contrast = 0
  1029. effect.Parent = nil
  1030. workspace.Gravity = 196.2
  1031. end
  1032. if Mode == "Quick Stop" then
  1033. CFuncs.Sound.Create("468760371", workspace, 1, 1)
  1034. swait(60)
  1035. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  1036. effect.Parent = game.Lighting
  1037. for i = 1,50 do
  1038. effect.Saturation = -(i/10)
  1039. swait()
  1040. end
  1041. stopParts(5555)
  1042. end
  1043. end
  1044.  
  1045. function PowerhouseSmash()
  1046. CFuncs.Sound.Create("782352632", Torso, 1, 1)
  1047. attack = true
  1048. gp = nil
  1049. con1 = Torso.Touched:connect(function(hit)
  1050. local ht = hit.Parent
  1051. local hum1 = ht:FindFirstChild("Humanoid")
  1052. if Grab == false then
  1053. if hum1 ~= nil and hit.Parent ~= Character then
  1054. hum1.PlatformStand = true
  1055. gp = ht
  1056. Grab = true
  1057. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1058. asd.Parent = RightArm
  1059. asd.Name = "asd"
  1060. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1061. CFuncs.Sound.Create("782352971", Torso, 1, 1)
  1062. elseif hum1 == nil then
  1063. con1:disconnect()
  1064. cooldown2=0
  1065. wait()
  1066. return
  1067. end
  1068. end
  1069. end)
  1070. for i = 0, 1, 0.2 do
  1071. swait()
  1072. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  1073. PlayAnimationFromTable({
  1074. CFrame.new(-1.08022243E-4, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1075. CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1076. CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1077. CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1078. CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1079. CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1080. }, 0.3, false)
  1081. end
  1082. for i = 0, 1, 0.1 do
  1083. swait()
  1084. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1085. PlayAnimationFromTable({
  1086. CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1087. CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1088. CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1089. CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1090. CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1092. }, 0.3, false)
  1093. end
  1094. cooldown2=0
  1095. if Grab == true then
  1096. cooldown1=5
  1097. cooldown2=7
  1098. for i = 1, 1 do
  1099. for i = 0, 1, 0.35 do
  1100. swait()
  1101. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  1102. PlayAnimationFromTable({
  1103. CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1104. CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1109. }, 0.4, false)
  1110. end
  1111. for i = 0, 1, 0.3 do
  1112. swait()
  1113. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1114. PlayAnimationFromTable({
  1115. CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1121. }, 0.7, false)
  1122. end
  1123. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1124. if hit ~= nil then
  1125. MagnitudeDamage(HitboxR, 5, 25, 35, 0, "Normal", "782354021", 1.3)
  1126. Effects.Wave.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  1127. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  1128. end
  1129. end
  1130. end
  1131. for i, v in pairs(RightArm:GetChildren()) do
  1132. if v.Name == "asd" and v:IsA("Weld") then
  1133. v:Remove()
  1134. end
  1135. end
  1136. Grab = false
  1137. con1:disconnect()
  1138. attack = false
  1139. end
  1140.  
  1141.  
  1142.  
  1143. function Overdrive()
  1144. frame = 1 / 20
  1145. bloodmode=true
  1146. skillcolorscheme = BrickColor.new("Crimson").Color
  1147. framesk1.BackgroundColor3 = skillcolorscheme
  1148. framesk2.BackgroundColor3 = skillcolorscheme
  1149. framesk3.BackgroundColor3 = skillcolorscheme
  1150. framesk4.BackgroundColor3 = skillcolorscheme
  1151. Humanoid.WalkSpeed = Humanoid.WalkSpeed/2 + 2
  1152. CFuncs.Sound.Create("889016272", Torso, 1, 1)
  1153. Humanoid.MaxHealth = Humanoid.MaxHealth + 200
  1154. Humanoid.Health = Humanoid.Health + 200
  1155. for i = 0,20,.25 do
  1156. wait(.1)
  1157. end
  1158. bloodmode=false
  1159. skillcolorscheme = BrickColor.new(Torso.Color).Color
  1160. framesk1.BackgroundColor3 = skillcolorscheme
  1161. framesk2.BackgroundColor3 = skillcolorscheme
  1162. framesk3.BackgroundColor3 = skillcolorscheme
  1163. framesk4.BackgroundColor3 = skillcolorscheme
  1164. Humanoid.WalkSpeed = 13
  1165. Humanoid.MaxHealth = Humanoid.MaxHealth - 200
  1166. Humanoid.Health = Humanoid.Health - 225
  1167. frame = 1 / 30
  1168. gp = nil
  1169. end
  1170.  
  1171.  
  1172. function LightOverdrive()
  1173. slowtime = Instance.new("ColorCorrectionEffect",workspace.CurrentCamera)
  1174. slowtime.Saturation = -1
  1175. frame = 1 / 100
  1176. flashmode = true
  1177. gay = true
  1178. skillcolorscheme = BrickColor.new("Gold").Color
  1179. framesk1.BackgroundColor3 = skillcolorscheme
  1180. framesk2.BackgroundColor3 = skillcolorscheme
  1181. framesk3.BackgroundColor3 = skillcolorscheme
  1182. framesk4.BackgroundColor3 = skillcolorscheme
  1183. Humanoid.WalkSpeed = Humanoid.WalkSpeed*2 - 2
  1184. CFuncs.Sound.Create("1208650519", Torso, 1, 1)
  1185. Character["Left Leg"].Transparency = .7
  1186. Character["Head"].Transparency = .7
  1187. Character["Right Leg"].Transparency = .7
  1188. Character["Torso"].Transparency = .7
  1189. Character["Left Arm"].Transparency = .7
  1190. Character["Right Arm"].Transparency = .7
  1191. for y,t in pairs(Character:GetChildren()) do
  1192. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1193. t.Handle.Transparency = .7
  1194. end
  1195. end
  1196. Character.Parent = workspace.Camera
  1197. local ch = Character:GetChildren()
  1198. for i = 1, 1 do
  1199. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1200. local trace = Instance.new("Part",game.Workspace)
  1201. trace.Size = ch[i].Size
  1202. trace.Material = "Neon"
  1203. trace.BrickColor = BrickColor.new(Torso.Color)
  1204. trace.Transparency = .3
  1205. trace.CanCollide = false
  1206. trace.Anchored = true
  1207. trace.CFrame = ch[i].CFrame
  1208. if ch[i].Name == "Head" then
  1209. mehs = Instance.new("CylinderMesh",trace)
  1210. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1211. end
  1212. Humanoid.Jump=true
  1213. wait(6)
  1214. Character.Parent = workspace
  1215. slowtime.Saturation = 0
  1216. slowtime:Destroy()
  1217. CFuncs.Sound.Create("535381634", Torso, 1, 1)
  1218. Character["Left Leg"].Transparency = 0
  1219. Character["Head"].Transparency = 0
  1220. Character["Right Leg"].Transparency = 0
  1221. Character["Torso"].Transparency = 0
  1222. Character["Left Arm"].Transparency = 0
  1223. Character["Right Arm"].Transparency = 0
  1224. for y,t in pairs(Character:GetChildren()) do
  1225. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1226. t.Handle.Transparency = 0
  1227. end
  1228. end
  1229. RootPart.CFrame=trace.CFrame
  1230. trace:destroy()
  1231. skillcolorscheme = BrickColor.new(Torso.Color).Color
  1232. framesk1.BackgroundColor3 = skillcolorscheme
  1233. framesk2.BackgroundColor3 = skillcolorscheme
  1234. framesk3.BackgroundColor3 = skillcolorscheme
  1235. framesk4.BackgroundColor3 = skillcolorscheme
  1236. Humanoid.WalkSpeed = currentspeed
  1237. frame = 1 / 60
  1238. gay = false
  1239. flashmode = false
  1240. gp = nil
  1241. end
  1242. end
  1243. end
  1244.  
  1245.  
  1246. function UpperGrab()
  1247. CFuncs.Sound.Create("782199941", Torso, 1, 1)
  1248. attack = true
  1249. gp = nil
  1250. con1 = HitboxR.Touched:connect(function(hit)
  1251. local ht = hit.Parent
  1252. local hum1 = ht:FindFirstChild("Humanoid")
  1253. if Grab == false then
  1254. if hum1 ~= nil and hit.Parent ~= Character then
  1255. hum1.PlatformStand = true
  1256. gp = ht
  1257. Grab = true
  1258. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1259. asd.Parent = RightArm
  1260. asd.Name = "asd"
  1261. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1262. CFuncs.Sound.Create("742818884", Torso, 1, 1)
  1263. elseif hum1 == nil then
  1264. con1:disconnect()
  1265. wait()
  1266. return
  1267. end
  1268. end
  1269. end)
  1270. for i = 0, 1, 0.2 do
  1271. swait()
  1272. PlayAnimationFromTable({
  1273. CFrame.new(-1.08022243E-4, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1274. CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1275. CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 2, 0),
  1276. CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1277. CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1278. CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1279. }, 0.3, false)
  1280. end
  1281. for i = 0, 1, 0.1 do
  1282. swait()
  1283. PlayAnimationFromTable({
  1284. CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1285. CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1286. CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1287. CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1288. CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1289. CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1290. }, 0.3, false)
  1291. end
  1292. if Grab == true then
  1293. Torso.Anchored=true
  1294. for i = 1, 15 do
  1295. for i = 0, 1, 1 do
  1296. MagnitudeDamage(HitboxR, 1, 2, 3, 0, "DarkUp", "506378123", 1.3)
  1297. Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(RootPart.Position,RootPart.Position,RootPart.Position), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  1298. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(RootPart.Position,RootPart.Position,RootPart.Position), 3, 3, 3, 5, 5, 5, 0.09)
  1299. wait(.05)
  1300. end
  1301. end
  1302. end
  1303. for i, v in pairs(RightArm:GetChildren()) do
  1304. if v.Name == "asd" and v:IsA("Weld") then
  1305. v:Remove()
  1306. end
  1307. end
  1308. Torso.Anchored=false
  1309. Grab = false
  1310. con1:disconnect()
  1311. attack = false
  1312. end
  1313.  
  1314.  
  1315. function PowerFist()
  1316. attack = true
  1317. Instance.new("DistortionSoundEffect", S2).Level = 0.8
  1318. for i = 0, 1, 0.1 do
  1319. swait()
  1320. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  1321. PlayAnimationFromTable({
  1322. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1323. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1324. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1325. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1326. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1327. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1328. }, 0.2, false)
  1329. end
  1330. for i = 0, 1, 0.08 do
  1331. swait()
  1332. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1333. PlayAnimationFromTable({
  1334. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1335. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1336. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1337. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1338. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1339. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1340. }, 0.6, false)
  1341. end
  1342. Effects.Wave.Create(BrickColor.new(Torso.Color), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  1343. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1344. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1345. attack = false
  1346. MagnitudeDamage(HitboxR, 20, 10, 15, 20, "DarkUp", "782352794", 1)
  1347. end
  1348.  
  1349. function ModeSwitch()
  1350. if bruisermode==true and attack == false then
  1351. print("Agressor Mode on")
  1352. text1.Text = "[Z]\n Power Dash"
  1353. text2.Text = "[X]\n Transposition"
  1354. text3.Text = "[C]\n Adrenaline"
  1355. text4.Text = "[V]\n Brawler Mode"
  1356. Humanoid.WalkSpeed= 20
  1357. currentspeed = 20
  1358. frame = 1 / 60
  1359. bruisermode=false
  1360. brawlermode=true
  1361. elseif bruisermode==false and attack == false then
  1362. print("Bruiser Mode on")
  1363. text1.Text = "[Z]\n Punishing Fist"
  1364. text2.Text = "[X]\n Vault Slam"
  1365. text3.Text = "[C]\n Double Time"
  1366. text4.Text = "[V]\n Bruiser Mode"
  1367. Humanoid.WalkSpeed= 13
  1368. currentspeed = 13
  1369. frame = 1 / 30
  1370. bruisermode=true
  1371. brawlermode=false
  1372. end
  1373. end
  1374.  
  1375.  
  1376. function PowerPunch()
  1377. attack = true
  1378. Instance.new("DistortionSoundEffect", S2).Level = 0.8
  1379. for i = 0, 1, 0.1 do
  1380. swait()
  1381. PlayAnimationFromTable({
  1382. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1383. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1384. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1385. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1386. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1387. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1388. }, 0.2, false)
  1389. end
  1390. CFuncs.Sound.Create("201858045", HitboxR, 1, 1)
  1391. wait(.5)
  1392. local Con1 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 2, 5, 0, "DarkUp", RootPart, 0, "260430117", 1) end)
  1393. MagnitudeDamage(HitboxR, 15, 25, 35, 15, "Normal", "782352794", 1)
  1394. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1395. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1396. for i = 0, 1, 0.08 do
  1397. swait()
  1398. PlayAnimationFromTable({
  1399. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1401. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1402. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1403. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1404. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1405. }, 0.6, false)
  1406. end
  1407. Con1:disconnect()
  1408. attack = false
  1409. end
  1410.  
  1411.  
  1412.  
  1413. function punchone()
  1414. attack = true
  1415. for i = 0, 1, 0.12 do
  1416. swait()
  1417. PlayAnimationFromTable({
  1418. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1419. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1420. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1421. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1422. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1423. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1424. }, 0.3, false)
  1425. end
  1426. MagnitudeDamage(HitboxR, 4, 15, 20, math.random(3, 5), "Normal", "260430079", 1)
  1427. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1428. for i = 0, 1, 0.11 do
  1429. swait()
  1430. PlayAnimationFromTable({
  1431. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1432. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1433. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1434. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1435. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1436. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1437. }, 0.45, false)
  1438. end
  1439. attack = false
  1440. end
  1441.  
  1442.  
  1443.  
  1444. function punchtwo()
  1445. attack = true
  1446. for i = 0, 1, 0.12 do
  1447. swait()
  1448. PlayAnimationFromTable({
  1449. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1450. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1451. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1452. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1453. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1454. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1455. }, 0.34, false)
  1456. end
  1457. MagnitudeDamage(HitboxL, 4, 15, 20, math.random(3, 5), "Normal", "260430079", 1.1)
  1458. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1459. for i = 0, 1, 0.12 do
  1460. swait()
  1461. PlayAnimationFromTable({
  1462. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1463. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1464. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1465. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1467. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1468. }, 0.45, false)
  1469. end
  1470. attack = false
  1471. end
  1472.  
  1473. Mouse.Button1Down:connect(function()
  1474. if attack == false and attackmode==1 then
  1475. attack=true
  1476. punchone()
  1477. attackmode=2
  1478. elseif attackmode==2 and attack==false then
  1479. attack=true
  1480. punchtwo()
  1481. attackmode=1
  1482. end
  1483. end)
  1484.  
  1485. local bodpos = Instance.new("BodyPosition")
  1486. bodpos.Position = Torso.Position
  1487.  
  1488.  
  1489. function Teleport()
  1490. CFuncs.Sound.Create("153613030", Torso, 1, 1)
  1491. local ch = Character:GetChildren()
  1492. for i = 1, #ch do
  1493. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1494. local trace = Instance.new("Part",game.Workspace)
  1495. trace.Size = ch[i].Size
  1496. trace.Material = "Neon"
  1497. trace.BrickColor = BrickColor.new(Torso.Color)
  1498. trace.Transparency = .3
  1499. trace.CanCollide = false
  1500. trace.Anchored = true
  1501. trace.CFrame = ch[i].CFrame
  1502. if ch[i].Name == "Head" then
  1503. mehs = Instance.new("CylinderMesh",trace)
  1504. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1505. end
  1506. tracedisappear = coroutine.wrap(function()
  1507. wait(.5)
  1508. for i = 1, 7 do
  1509. wait(.1)
  1510. trace.Transparency = trace.Transparency + .1
  1511. end
  1512. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(trace.Position,trace.Position,trace.Position), 3, 3, 3, 5, 5, 5, 0.09)
  1513. MagnitudeDamage(trace, 15, 3, 10, math.random(1, 2), "Normal", "260430079", 1)
  1514. trace:Destroy()
  1515. end)
  1516. tracedisappear()
  1517. end
  1518. end
  1519. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,25)
  1520. end
  1521.  
  1522.  
  1523.  
  1524.  
  1525. function BrightStep()
  1526. attack = true
  1527. gay=true
  1528. Character["Left Leg"].Transparency = 1
  1529. Character["Head"].Transparency = 1
  1530. Character["Right Leg"].Transparency = 1
  1531. Character["Torso"].Transparency = 1
  1532. Character["Left Arm"].Transparency = 1
  1533. Character["Right Arm"].Transparency = 1
  1534. for y,t in pairs(Character:GetChildren()) do
  1535. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1536. t.Handle.Transparency = 1
  1537. end
  1538. end
  1539. Humanoid.WalkSpeed = 18
  1540. Character.Parent = workspace.Camera
  1541. CFuncs.Sound.Create("153613030", Torso, 1, 1)
  1542. local ch = Character:GetChildren()
  1543. for i = 0, 3, 1 do
  1544. for i = 1, #ch do
  1545. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1546. local trace = Instance.new("Part",game.Workspace)
  1547. trace.Size = ch[i].Size
  1548. trace.Material = "Neon"
  1549. trace.BrickColor = BrickColor.new(Torso.Color)
  1550. trace.Transparency = .3
  1551. trace.CanCollide = false
  1552. trace.Anchored = true
  1553. trace.CFrame = ch[i].CFrame
  1554. if ch[i].Name == "Head" then
  1555. mehs = Instance.new("CylinderMesh",trace)
  1556. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1557. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,-2)
  1558. wait(.3)
  1559. end
  1560. tracedisappear = coroutine.wrap(function()
  1561. for i = 1, 7 do
  1562. wait(.1)
  1563. trace.Transparency = trace.Transparency + .1
  1564. end
  1565. MagnitudeDamage(trace, 10, 3, 8, math.random(0, 0), "Normal", " ", 1)
  1566. trace:Destroy()
  1567. end)
  1568. tracedisappear()
  1569. end
  1570. end
  1571. end
  1572. Character.Parent = workspace
  1573. Character["Left Leg"].Transparency = 0
  1574. Character["Head"].Transparency = 0
  1575. Character["Right Leg"].Transparency = 0
  1576. Character["Torso"].Transparency = 0
  1577. Character["Left Arm"].Transparency = 0
  1578. Character["Right Arm"].Transparency = 0
  1579. for y,t in pairs(Character:GetChildren()) do
  1580. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1581. t.Handle.Transparency = 0
  1582. end
  1583. end
  1584. Humanoid.WalkSpeed = 13
  1585. Humanoid.Jump = true
  1586. gay = false
  1587. attack = false
  1588. end
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594. function lightpunchone()
  1595. attack = true
  1596. for i = 0, 1, 0.12 do
  1597. swait()
  1598. PlayAnimationFromTable({
  1599. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1600. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1602. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1603. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1604. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1605. }, 0.3, false)
  1606. end
  1607. for i = 0, 1, 0.11 do
  1608. swait()
  1609. PlayAnimationFromTable({
  1610. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1611. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1612. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1613. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1614. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1616. }, 0.45, false)
  1617. end
  1618. MagnitudeDamage(HitboxL, 4, 5, 10, math.random(0, 2), "Normal", "260430079", 1.1)
  1619. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1620. attack = false
  1621. end
  1622.  
  1623.  
  1624.  
  1625. function lightpunchtwo()
  1626. attack = true
  1627. for i = 0, 1, 0.12 do
  1628. swait()
  1629. PlayAnimationFromTable({
  1630. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1631. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1632. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1633. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1634. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1635. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1636. }, 0.34, false)
  1637. end
  1638. for i = 0, 1, 0.12 do
  1639. swait()
  1640. PlayAnimationFromTable({
  1641. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1642. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1643. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1644. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1645. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1646. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1647. }, 0.45, false)
  1648. end
  1649. attack = false
  1650. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1651. MagnitudeDamage(HitboxL, 4, 5, 10, math.random(0, 2), "Normal", "260430079", 1.1)
  1652. end
  1653.  
  1654. function lightpunchlock2()
  1655. attack = true
  1656. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 2, 0, "Normal", RootPart, 0, "260430117", 1) end)
  1657. for i = 0, 1, 0.12 do
  1658. swait()
  1659. PlayAnimationFromTable({
  1660. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1661. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1662. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1663. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1664. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1665. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1666. }, 0.3, false)
  1667. end
  1668. for i = 0, 1, 0.11 do
  1669. swait()
  1670. PlayAnimationFromTable({
  1671. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1672. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1673. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1674. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1675. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1676. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1677. }, 0.45, false)
  1678. end
  1679. attack = false
  1680. Con2:disconnect()
  1681. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1682. end
  1683.  
  1684.  
  1685.  
  1686. function lightpunchlock1()
  1687. attack = true
  1688. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 2, 0, "Normal", RootPart, 0, "260430117", 1) end)
  1689. for i = 0, 1, 0.12 do
  1690. swait()
  1691. PlayAnimationFromTable({
  1692. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1693. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1694. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1695. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1696. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1697. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1698. }, 0.34, false)
  1699. end
  1700. for i = 0, 1, 0.12 do
  1701. swait()
  1702. PlayAnimationFromTable({
  1703. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1704. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1705. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1706. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1707. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1708. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1709. }, 0.45, false)
  1710. end
  1711. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1712. Con1:disconnect()
  1713. attack = false
  1714. end
  1715.  
  1716.  
  1717.  
  1718.  
  1719. function heavypunchlock2()
  1720. attack = true
  1721. for i = 0, 1, 0.12 do
  1722. swait()
  1723. PlayAnimationFromTable({
  1724. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1725. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1726. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1727. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1728. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1729. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1730. }, 0.3, false)
  1731. end
  1732. MagnitudeDamage(HitboxR, 6, 25, 45, math.random(0, 5), "Normal", "260430079", 1)
  1733. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1734. for i = 0, 1, 0.11 do
  1735. swait()
  1736. PlayAnimationFromTable({
  1737. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1738. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1739. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1740. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1741. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1743. }, 0.45, false)
  1744. end
  1745. attack = false
  1746. end
  1747.  
  1748.  
  1749.  
  1750. function heavypunchlock1()
  1751. attack = true
  1752. for i = 0, 1, 0.12 do
  1753. swait()
  1754. PlayAnimationFromTable({
  1755. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1758. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1759. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1760. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1761. }, 0.34, false)
  1762. end
  1763. MagnitudeDamage(HitboxL, 6, 25, 45, math.random(0, 5), "Normal", "260430079", 1.1)
  1764. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1765. for i = 0, 1, 0.12 do
  1766. swait()
  1767. PlayAnimationFromTable({
  1768. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1769. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1770. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1771. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1772. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1773. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1774. }, 0.45, false)
  1775. end
  1776. attack = false
  1777. end
  1778.  
  1779.  
  1780.  
  1781.  
  1782. Mouse.Button1Down:connect(function()
  1783.  
  1784.  
  1785. if attackmode==1 and bruisermode == true and bloodmode==false and brawlermode==false and flashmode==false and attack==false then
  1786. attack=true
  1787. punchone()
  1788. attackmode=2
  1789. elseif attackmode==2 and bruisermode == true and bloodmode==false and brawlermode==false and flashmode==false and attack==false then
  1790. attack=true
  1791. punchtwo()
  1792. attackmode=1
  1793.  
  1794.  
  1795. elseif attackmode==1 and bruisermode == false and bloodmode==false and brawlermode==true and flashmode==false and attack==false then
  1796. attack=true
  1797. lightpunchone()
  1798. attackmode=2
  1799. elseif attackmode==2 and bruisermode == false and bloodmode==false and brawlermode==true and flashmode==false and attack==false then
  1800. attack=true
  1801. lightpunchtwo()
  1802. attackmode=1
  1803.  
  1804.  
  1805. elseif attackmode==1 and bruisermode == false and brawlermode==true and flashmode==true and attack==false then
  1806. attack=true
  1807. lightpunchlock1()
  1808. attackmode=2
  1809. elseif attackmode==2 and bruisermode == false and brawlermode==true and flashmode==true and attack==false then
  1810. attack=true
  1811. lightpunchlock2()
  1812. attackmode=1
  1813.  
  1814.  
  1815. elseif attackmode==1 and bruisermode == true and bloodmode==true and brawlermode==false and flashmode==false and attack==false then
  1816. attack=true
  1817. heavypunchlock1()
  1818. attackmode=2
  1819. elseif attackmode==2 and bruisermode == true and bloodmode==true and brawlermode==false and flashmode==false and attack==false then
  1820. attack=true
  1821. heavypunchlock2()
  1822. attackmode=1
  1823.  
  1824.  
  1825. end
  1826. end)
  1827.  
  1828.  
  1829. Mouse.KeyDown:connect(function(k)
  1830. k = k:lower()
  1831. if attack == false and k == "z" and cooldown1 >=co1 and bruisermode==true then
  1832. PowerPunch()
  1833. cooldown1=0
  1834. elseif attack == false and k == "x" and cooldown2 >=co2 and bruisermode==true then
  1835. PowerhouseSmash()
  1836. elseif attack == false and k == "c" and cooldown3 >=co3 and bruisermode==true and bloodmode~=true then
  1837. cooldown3=0
  1838. BrightStep()
  1839. elseif attack == false and k == "v" and cooldown4 >=co4 and bruisermode==true and bloodmode~=true then
  1840. cooldown4=0
  1841. ModeSwitch()
  1842. ----------------------------------------
  1843. ----------------------------------------
  1844. ----------------------------------------
  1845. ----------------------------------------
  1846. elseif attack == false and k == "z" and cooldown1 >=co1 and bruisermode==false then
  1847. cooldown1=0
  1848. PowerFist()
  1849. elseif k == "x" and cooldown2 >=co2 and bruisermode==false then
  1850. cooldown2=0
  1851. Teleport()
  1852. elseif k == "c" and cooldown3 >=co3 and bruisermode==false and flashmode~=true then
  1853. cooldown3=0
  1854. LightOverdrive()
  1855. elseif attack == false and k == "v" and cooldown4 >=co4 and bruisermode==false and flashmode~=true then
  1856. cooldown4=0
  1857. ModeSwitch()
  1858. end
  1859. end)
  1860.  
  1861. function updateskills1()
  1862. if cooldown1 <= co1 then
  1863. cooldown1 = cooldown1 + 1 / 30
  1864. end
  1865. if cooldown2 <= co2 then
  1866. cooldown2 = cooldown2 + 1 / 30
  1867. end
  1868. if cooldown3 <= co3 and bloodmode ~= true and flashmode ~= true then
  1869. cooldown3 = cooldown3 + 1 / 30
  1870. end
  1871. if cooldown4 <= co4 then
  1872. cooldown4 = cooldown4 + 1 / 30
  1873. end
  1874. end
  1875.  
  1876.  
  1877. while true do
  1878. swait()
  1879. updateskills1()
  1880. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1881. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1882. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1883. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1884. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1885. for i, v in pairs(Character:GetChildren()) do
  1886. if v:IsA("Part") then
  1887. v.Material = "SmoothPlastic"
  1888. elseif v:IsA("Accessory") then
  1889. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1890. end
  1891. end
  1892. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1893. velocity = RootPart.Velocity.y
  1894. sine = sine + change
  1895. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1896. if RootPart.Velocity.y > 1 and hit == nil then
  1897. Anim = "Jump"
  1898. if attack == false then
  1899. PlayAnimationFromTable({
  1900. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1901. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1902. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1903. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1904. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1905. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1906. }, .3, false)
  1907. end
  1908. elseif RootPart.Velocity.y < -1 and hit == nil then
  1909. Anim = "Fall"
  1910. if attack == false then
  1911. PlayAnimationFromTable({
  1912. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1913. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1914. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1915. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1916. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1917. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1918. }, .3, false)
  1919. end
  1920. elseif Torsovelocity < 1 and hit ~= nil then
  1921. Anim = "Idle"
  1922. if attack == false then
  1923. change = 1
  1924. PlayAnimationFromTable({
  1925. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885, 0.965925872, 0, 0.258818984, 0, 1, 0, -0.258818984, 0, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1926. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007, 0.965925872, 0.02255762, -0.257834077, 0, 0.996194661, 0.087155968, 0.258818984, -0.0841862038, 0.962250173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1927. CFrame.new(1.18608475, 0.561332762, -0.668662548, 0.815707564, 0.397307515, 0.420437992, 0.567439079, -0.408345699, -0.71502924, -0.112402454, 0.821827531, -0.558538496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1928. CFrame.new(-1.18486226, 0.664583206, -0.703545451, 0.801997423, -0.384815574, -0.456855893, -0.595755875, -0.459863067, -0.658483863, 0.0433037281, 0.800276875, -0.598065078) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1929. CFrame.new(0.602607846, -1.89999723, -0.281901717, 0.938264608, -0.0318391919, -0.344450235, 0.0551190265, 0.996793628, 0.0580029301, 0.341499031, -0.0734078437, 0.937011182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1930. CFrame.new(-0.68740654, -1.99010217, 0.313043743, 0.998308659, 0.0566585623, -0.0130319893, -0.0526040196, 0.975744903, 0.212496698, 0.0247556716, -0.211451754, 0.977074862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1931. }, .3, false)
  1932. end
  1933. elseif Torsovelocity > 2 and hit ~= nil then
  1934. Anim = "Walk"
  1935. if attack == false then
  1936. change = 2
  1937. PlayAnimationFromTable({
  1938. CFrame.new(-0, -0.331043243, -0.246173918, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876) * CFrame.new(0, .1, 0) * CFrame.Angles(0, math.rad(-5 * math.cos(sine / 7)), 0),
  1939. CFrame.new(0, 1.4999913, 6.55651093e-007, 1, 0, 0, 0, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(5 * math.cos(sine / 7)), 0),
  1940. CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1941. CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1942. CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1943. CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1944. }, .3, false)
  1945. end
  1946. end
  1947. if 0 < #Effects then
  1948. for e = 1, #Effects do
  1949. if Effects[e] ~= nil then
  1950. local Thing = Effects[e]
  1951. if Thing ~= nil then
  1952. local Part = Thing[1]
  1953. local Mode = Thing[2]
  1954. local Delay = Thing[3]
  1955. local IncX = Thing[4]
  1956. local IncY = Thing[5]
  1957. local IncZ = Thing[6]
  1958. if Thing[2] == "Shoot" then
  1959. local Look = Thing[1]
  1960. local move = 5
  1961. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1962. if Thing[10] ~= nil then
  1963. da = pos
  1964. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1965. cfa = CFrame.new(Thing[4], pos)
  1966. tehCF = cfa:lerp(cf2, 0.2)
  1967. Thing[1] = tehCF.lookVector
  1968. end
  1969. local mag = (Thing[4] - pos).magnitude
  1970. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1971. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  1972. Thing[4] = Thing[4] + Look * move
  1973. Thing[3] = Thing[3] - 1
  1974. if 2 < Thing[5] then
  1975. Thing[5] = Thing[5] - 0.3
  1976. Thing[6] = Thing[6] - 0.3
  1977. end
  1978. if hit ~= nil then
  1979. Thing[3] = 0
  1980. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1981. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1982. ref.Anchored = true
  1983. ref.CFrame = CFrame.new(pos)
  1984. Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1985. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1986. game:GetService("Debris"):AddItem(ref, 1)
  1987. end
  1988. if Thing[3] <= 0 then
  1989. table.remove(Effects, e)
  1990. end
  1991. end
  1992. do
  1993. do
  1994. if Thing[2] == "FireWave" then
  1995. if Thing[3] <= Thing[4] then
  1996. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1997. Thing[3] = Thing[3] + 1
  1998. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1999. else
  2000. Part.Parent = nil
  2001. table.remove(Effects, e)
  2002. end
  2003. end
  2004. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2005. if Thing[1].Transparency <= 1 then
  2006. if Thing[2] == "Block1" then
  2007. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2008. Mesh = Thing[7]
  2009. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2010. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2011. else
  2012. if Thing[2] == "Block2" then
  2013. Thing[1].CFrame = Thing[1].CFrame
  2014. Mesh = Thing[7]
  2015. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2016. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2017. else
  2018. if Thing[2] == "Fire" then
  2019. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2020. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2021. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2022. else
  2023. if Thing[2] == "Cylinder" then
  2024. Mesh = Thing[7]
  2025. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2026. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2027. else
  2028. if Thing[2] == "Blood" then
  2029. Mesh = Thing[7]
  2030. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2031. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2032. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2033. else
  2034. if Thing[2] == "Elec" then
  2035. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  2036. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2037. else
  2038. if Thing[2] == "Disappear" then
  2039. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2040. end
  2041. end
  2042. end
  2043. end
  2044. end
  2045. end
  2046. end
  2047. else
  2048. Part.Parent = nil
  2049. table.remove(Effects, e)
  2050. end
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement