Advertisement
AssortedBrunoz

Untitled

Sep 21st, 2018
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.83 KB | None | 0 0
  1. wait(1 / 60)
  2.  
  3. warn("Really old shit from when I had no idea how to animate anything. Pretty much repulse without the gloves and two modes. --SezHu")
  4.  
  5. Effects = { }
  6. Player = owner
  7. local Character = Player.Character
  8. local Humanoid = Character.Humanoid
  9. Humanoid.WalkSpeed = 16
  10. local LeftArm = Character["Left Arm"]
  11. local RightArm = Character["Right Arm"]
  12. local LeftLeg = Character["Left Leg"]
  13. local RightLeg = Character["Right Leg"]
  14. local Head = Character.Head
  15. local Torso = Character.Torso
  16. local Camera = game.Workspace.CurrentCamera
  17. local RootPart = Character.HumanoidRootPart
  18. local RootJoint = RootPart.RootJoint
  19. local attack = false
  20. local Anim = 'Idle'
  21. local attacktype = 1
  22. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  23. local velocity = RootPart.Velocity.y
  24. local sine = 1
  25. local change = 1
  26. local Create = LoadLibrary("RbxUtility").Create
  27. local gay = false
  28. attack = false
  29. attackmode=1
  30. bruisermode=true
  31. cf=CFrame.new
  32. angles=CFrame.Angles
  33. bloodmode=false
  34. brawlermode=false
  35. currentspeed = 13
  36. flashmode=false
  37. local cn = CFrame.new
  38. beaty = Instance.new("Sound", Player.PlayerGui)
  39. beaty.SoundId = "http://www.roblox.com/asset/?id=1208650519"
  40. beaty.Volume = 1
  41. beaty.Looped = false
  42.  
  43.  
  44.  
  45. local co1 = 5
  46. local co2 = 10
  47. local co3 = 20
  48. local co4 = 0
  49.  
  50. local cooldown1 = 0
  51. local cooldown2 = 0
  52. local cooldown3 = 0
  53. local cooldown4 = 0
  54.  
  55. skillcolorscheme = BrickColor.new(Torso.Color).Color
  56.  
  57. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  58. function makeframe(par, trans, pos, size, color)
  59. local frame = Instance.new('Frame', par)
  60. frame.BackgroundTransparency = trans
  61. frame.BorderSizePixel = 0
  62. frame.Position = pos
  63. frame.Size = size
  64. frame.BackgroundColor3 = color
  65. return frame
  66. end
  67.  
  68. local m = Create("Model"){
  69. Parent = Character,
  70. Name = "WeaponModel",
  71. }
  72.  
  73. Humanoid.Animator.Parent = nil
  74. Character.Animate.Parent = nil
  75.  
  76. local newMotor = function(part0, part1, c0, c1)
  77. local w = Create('Motor'){
  78. Parent = part0,
  79. Part0 = part0,
  80. Part1 = part1,
  81. C0 = c0,
  82. C1 = c1,
  83. }
  84. return w
  85. end
  86.  
  87. function clerp(a, b, t)
  88. return a:lerp(b, t)
  89. end
  90.  
  91.  
  92. framesk1 = makeframe(scrn, .1, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  93. framesk2 = makeframe(scrn, .3, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  94. framesk3 = makeframe(scrn, .3, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  95. framesk4 = makeframe(scrn, .3, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
  96.  
  97. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  98. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  99. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  100. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  101. text1 = Instance.new('TextLabel', framesk1)
  102. text1.BackgroundTransparency = 1
  103. text1.Size = UDim2.new(1, 0, 1, 0)
  104. text1.Position = UDim2.new(0, 0, 0, 0)
  105. text1.TextColor3 = Color3.new(255, 255, 255)
  106. text1.TextStrokeTransparency = 0
  107. text1.FontSize = Enum.FontSize.Size18
  108. text1.Font = Enum.Font.Garamond
  109. text1.BorderSizePixel = 0
  110. text1.TextScaled = true
  111. text1.Text = "[Z]\n "
  112. text2 = Instance.new('TextLabel', framesk2)
  113. text2.BackgroundTransparency = 1
  114. text2.Size = UDim2.new(1, 0, 1, 0)
  115. text2.Position = UDim2.new(0, 0, 0, 0)
  116. text2.TextColor3 = Color3.new(255, 255, 255)
  117. text2.TextStrokeTransparency = 0
  118. text2.FontSize = Enum.FontSize.Size18
  119. text2.Font = Enum.Font.Garamond
  120. text2.BorderSizePixel = 0
  121. text2.TextScaled = true
  122. text2.Text = "[X]\n Crushing Grasp"
  123. text3 = Instance.new('TextLabel', framesk3)
  124. text3.BackgroundTransparency = 1
  125. text3.Size = UDim2.new(1, 0, 1, 0)
  126. text3.Position = UDim2.new(0, 0, 0, 0)
  127. text3.TextColor3 = Color3.new(255, 255, 255)
  128. text3.TextStrokeTransparency = 0
  129. text3.FontSize = Enum.FontSize.Size18
  130. text3.Font = Enum.Font.Garamond
  131. text3.BorderSizePixel = 0
  132. text3.TextScaled = false
  133. text3.Text = "[C]\n Shredding Grasp"
  134. text4 = Instance.new('TextLabel', framesk4)
  135. text4.BackgroundTransparency = 1
  136. text4.Size = UDim2.new(1, 0, 1, 0)
  137. text4.Position = UDim2.new(0, 0, 0, 0)
  138. text4.TextColor3 = Color3.new(255, 255, 255)
  139. text4.TextStrokeTransparency = 0
  140. text4.FontSize = Enum.FontSize.Size18
  141. text4.Font = Enum.Font.Garamond
  142. text4.BorderSizePixel = 0
  143. text4.TextScaled = true
  144. text1.Text = "[Z]\n Punishing Fist"
  145. text2.Text = "[X]\n Vault Slam"
  146. text3.Text = "[C]\n Double Time"
  147. text4.Text = "[V]\n Bruiser Mode"
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  155. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  156.  
  157. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  158. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  159. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  160. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  161. RootJoint.C1 = CFrame.new(0, 0, 0)
  162. RootJoint.C0 = CFrame.new(0, 0, 0)
  163. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  164. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  165.  
  166. local rarmc1 = RW.C1
  167. local larmc1 = LW.C1
  168. local rlegc1 = RH.C1
  169. local llegc1 = LH.C1
  170. local resetc1 = false
  171.  
  172.  
  173. function weld5(part0, part1, c0, c1)
  174. local weeld = Instance.new("Weld", part0)
  175. weeld.Part0 = part0
  176. weeld.Part1 = part1
  177. weeld.C0 = c0
  178. weeld.C1 = c1
  179. return weeld
  180. end
  181.  
  182.  
  183. function PlayAnimationFromTable(table, speed, bool)
  184. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  185. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  186. RW.C0 = clerp(RW.C0, table[3], speed)
  187. LW.C0 = clerp(LW.C0, table[4], speed)
  188. RH.C0 = clerp(RH.C0, table[5], speed)
  189. LH.C0 = clerp(LH.C0, table[6], speed)
  190. if bool == true then
  191. if resetc1 == false then
  192. resetc1 = true
  193. RootJoint.C1 = RootJoint.C1
  194. Torso.Neck.C1 = Torso.Neck.C1
  195. RW.C1 = rarmc1
  196. LW.C1 = larmc1
  197. RH.C1 = rlegc1
  198. LH.C1 = llegc1
  199. end
  200. end
  201. end
  202.  
  203. ArtificialHB = Create("BindableEvent", script){
  204. Parent = script,
  205. Name = "Heartbeat",
  206. }
  207.  
  208. script:WaitForChild("Heartbeat")
  209.  
  210. frame = 1 / 30
  211. tf = 0
  212. allowframeloss = false
  213. tossremainder = false
  214. lastframe = tick()
  215. script.Heartbeat:Fire()
  216.  
  217. game:GetService("RunService").Heartbeat:connect(function(s, p)
  218. tf = tf + s
  219. if tf >= frame then
  220. if allowframeloss then
  221. script.Heartbeat:Fire()
  222. lastframe = tick()
  223. else
  224. for i = 1, math.floor(tf / frame) do
  225. script.Heartbeat:Fire()
  226. end
  227. lastframe = tick()
  228. end
  229. if tossremainder then
  230. tf = 0
  231. else
  232. tf = tf - frame * math.floor(tf / frame)
  233. end
  234. end
  235. end)
  236.  
  237. function swait(num)
  238. if num == 0 or num == nil then
  239. ArtificialHB.Event:wait()
  240. else
  241. for i = 0, num do
  242. ArtificialHB.Event:wait()
  243. end
  244. end
  245. end
  246.  
  247. function RemoveOutlines(part)
  248. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  249. end
  250.  
  251. CFuncs = {
  252. Part = {
  253. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  254. local Part = Create("Part"){
  255. Parent = Parent,
  256. Reflectance = Reflectance,
  257. Transparency = Transparency,
  258. CanCollide = false,
  259. Locked = true,
  260. BrickColor = BrickColor.new(tostring(BColor)),
  261. Name = Name,
  262. Size = Size,
  263. Material = Material,
  264. }
  265. RemoveOutlines(Part)
  266. return Part
  267. end;
  268. };
  269.  
  270. Mesh = {
  271. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  272. local Msh = Create(Mesh){
  273. Parent = Part,
  274. Offset = OffSet,
  275. Scale = Scale,
  276. }
  277. if Mesh == "SpecialMesh" then
  278. Msh.MeshType = MeshType
  279. Msh.MeshId = MeshId
  280. end
  281. return Msh
  282. end;
  283. };
  284.  
  285. Weld = {
  286. Create = function(Parent, Part0, Part1, C0, C1)
  287. local Weld = Create("Weld"){
  288. Parent = Parent,
  289. Part0 = Part0,
  290. Part1 = Part1,
  291. C0 = C0,
  292. C1 = C1,
  293. }
  294. return Weld
  295. end;
  296. };
  297.  
  298. Sound = {
  299. Create = function(id, par, vol, pit)
  300. local Sound = Create("Sound"){
  301. Volume = vol,
  302. Pitch = pit or 1,
  303. SoundId = "rbxassetid://" .. id,
  304. Parent = par or workspace,
  305. }
  306. Sound:play()
  307. return Sound
  308. end;
  309. };
  310.  
  311. Decal = {
  312. Create = function(Color, Texture, Transparency, Name, Parent)
  313. local Decal = Create("Decal"){
  314. Color3 = Color,
  315. Texture = "rbxassetid://" .. Texture,
  316. Transparency = Transparency,
  317. Name = Name,
  318. Parent = Parent,
  319. }
  320. return Decal
  321. end;
  322. };
  323.  
  324. BillboardGui = {
  325. Create = function(Parent, Image, Position, Size)
  326. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  327. BillPar.CFrame = CFrame.new(Position)
  328. local Bill = Create("BillboardGui"){
  329. Parent = BillPar,
  330. Adornee = BillPar,
  331. Size = UDim2.new(1, 0, 1, 0),
  332. SizeOffset = Vector2.new(Size, Size),
  333. }
  334. local d = Create("ImageLabel", Bill){
  335. Parent = Bill,
  336. BackgroundTransparency = 1,
  337. Size = UDim2.new(1, 0, 1, 0),
  338. Image = "rbxassetid://" .. Image,
  339. }
  340. return BillPar
  341. end
  342. };
  343.  
  344. ParticleEmitter = {
  345. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  346. local Particle = Create("ParticleEmitter"){
  347. Parent = Parent,
  348. Color = ColorSequence.new(Color1, Color2),
  349. LightEmission = LightEmission,
  350. Size = Size,
  351. Texture = Texture,
  352. Transparency = Transparency,
  353. ZOffset = ZOffset,
  354. Acceleration = Accel,
  355. Drag = Drag,
  356. LockedToPart = LockedToPart,
  357. VelocityInheritance = VelocityInheritance,
  358. EmissionDirection = EmissionDirection,
  359. Enabled = Enabled,
  360. Lifetime = LifeTime,
  361. Rate = Rate,
  362. Rotation = Rotation,
  363. RotSpeed = RotSpeed,
  364. Speed = Speed,
  365. VelocitySpread = VelocitySpread,
  366. }
  367. return Particle
  368. end;
  369. };
  370.  
  371. CreateTemplate = {
  372.  
  373. };
  374. }
  375.  
  376. function rayCast(Position, Direction, Range, Ignore)
  377. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  378. end
  379.  
  380. function FindNearestTorso(Position, Distance, SinglePlayer)
  381. if SinglePlayer then
  382. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  383. end
  384. local List = {}
  385. for i, v in pairs(workspace:GetChildren()) do
  386. if v:IsA("Model") then
  387. if v:findFirstChild("Torso") then
  388. if v ~= Character then
  389. if (v.Torso.Position - Position).magnitude <= Distance then
  390. table.insert(List, v)
  391. end
  392. end
  393. end
  394. end
  395. end
  396. return List
  397. end
  398.  
  399. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  400. if hit.Parent == nil then
  401. return
  402. end
  403. local h = hit.Parent:FindFirstChild("Humanoid")
  404. for _, v in pairs(hit.Parent:children()) do
  405. if v:IsA("Humanoid") then
  406. h = v
  407. if h.Health >= 101 then
  408. h.Health = 0
  409. end
  410. end
  411. end
  412.  
  413. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  414. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  415. if hit.Parent.DebounceHit.Value == true then
  416. return
  417. end
  418. end
  419. local c = Create("ObjectValue"){
  420. Name = "creator",
  421. Value = game:service("Players").LocalPlayer,
  422. Parent = h,
  423. }
  424. game:GetService("Debris"):AddItem(c, .5)
  425. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  426. local Damage = math.random(minim, maxim)
  427. local blocked = false
  428. local block = hit.Parent:findFirstChild("Block")
  429. if block ~= nil then
  430. if block.className == "IntValue" then
  431. if block.Value > 0 then
  432. blocked = true
  433. block.Value = block.Value - 1
  434. print(block.Value)
  435. end
  436. end
  437. end
  438.  
  439. if gay == false then
  440. h.Health = h.Health - Damage
  441. 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)
  442. elseif gay == true then
  443. repeat wait() until gay == false
  444. h.Health = h.Health - (Damage / 2.5)
  445. 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)
  446. end
  447. if Type == "Knockdown" then
  448. local hum = hit.Parent.Humanoid
  449. hum.PlatformStand = true
  450. coroutine.resume(coroutine.create(function(HHumanoid)
  451. swait(1)
  452. HHumanoid.PlatformStand = false
  453. end), hum)
  454. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  455. local bodvol = Create("BodyVelocity"){
  456. velocity = angle * knockback,
  457. P = 5000,
  458. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  459. Parent = hit,
  460. }
  461. local rl = Create("BodyAngularVelocity"){
  462. P = 3000,
  463. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  464. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  465. Parent = hit,
  466. }
  467. game:GetService("Debris"):AddItem(bodvol, .5)
  468. game:GetService("Debris"):AddItem(rl, .5)
  469. elseif Type == "Normal" then
  470. local vp = Create("BodyVelocity"){
  471. P = 500,
  472. maxForce = Vector3.new(math.huge, 0, math.huge),
  473. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  474. }
  475. if knockback > 0 then
  476. vp.Parent = hit.Parent.Torso
  477. end
  478. game:GetService("Debris"):AddItem(vp, .5)
  479. elseif Type == "Up" then
  480. local bodyVelocity = Create("BodyVelocity"){
  481. velocity = Vector3.new(0, 40, 0),
  482. P = 5000,
  483. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  484. Parent = hit,
  485. }
  486. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  487. elseif Type == "DarkUp" then
  488. coroutine.resume(coroutine.create(function()
  489. for i = 0, 3, 0.1 do
  490. swait()
  491. Effects.Block.Create(BrickColor.random(), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  492. end
  493. end))
  494. local bodyVelocity = Create("BodyVelocity"){
  495. velocity = Vector3.new(0, 20, 0),
  496. P = 5000,
  497. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  498. Parent = hit,
  499. }
  500. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  501. elseif Type == "Snare" then
  502. local bp = Create("BodyPosition"){
  503. P = 2000,
  504. D = 100,
  505. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  506. position = hit.Parent.Torso.Position,
  507. Parent = hit.Parent.Torso,
  508. }
  509. game:GetService("Debris"):AddItem(bp, 1)
  510. elseif Type == "Freeze" then
  511. local BodPos = Create("BodyPosition"){
  512. P = 50000,
  513. D = 1000,
  514. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  515. position = hit.Parent.Torso.Position,
  516. Parent = hit.Parent.Torso,
  517. }
  518. local BodGy = Create("BodyGyro") {
  519. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  520. P = 20e+003,
  521. Parent = hit.Parent.Torso,
  522. cframe = hit.Parent.Torso.CFrame,
  523. }
  524. hit.Parent.Torso.Anchored = true
  525. coroutine.resume(coroutine.create(function(Part)
  526. swait(1.5)
  527. Part.Anchored = false
  528. end), hit.Parent.Torso)
  529. game:GetService("Debris"):AddItem(BodPos, 3)
  530. game:GetService("Debris"):AddItem(BodGy, 3)
  531. end
  532. local debounce = Create("BoolValue"){
  533. Name = "DebounceHit",
  534. Parent = hit.Parent,
  535. Value = true,
  536. }
  537. game:GetService("Debris"):AddItem(debounce, Delay)
  538. c = Create("ObjectValue"){
  539. Name = "creator",
  540. Value = Player,
  541. Parent = h,
  542. }
  543. game:GetService("Debris"):AddItem(c, .5)
  544. end
  545. end
  546.  
  547. function ShowDamage(Pos, Text, Time, Color)
  548. local Rate = (1 / 30)
  549. local Pos = (Pos or Vector3.new(0, 0, 0))
  550. local Text = (Text or "")
  551. local Time = (Time or 2)
  552. local Color = (Color or Color3.new(1, 0, 1))
  553. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  554. EffectPart.Anchored = true
  555. local BillboardGui = Create("BillboardGui"){
  556. Size = UDim2.new(3, 0, 3, 0),
  557. Adornee = EffectPart,
  558. Parent = EffectPart,
  559. }
  560. local TextLabel = Create("TextLabel"){
  561. BackgroundTransparency = 1,
  562. Size = UDim2.new(1, 0, 1, 0),
  563. Text = Text,
  564. Font = "Garamond",
  565. TextColor3 = Torso.Color,
  566. TextScaled = true,
  567. Parent = BillboardGui,
  568. }
  569. game.Debris:AddItem(EffectPart, (Time))
  570. EffectPart.Parent = game:GetService("Workspace")
  571. delay(0, function()
  572. local Frames = (Time / Rate)
  573. for Frame = 1, Frames do
  574. wait(Rate)
  575. local Percent = (Frame / Frames)
  576. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  577. TextLabel.TextTransparency = Percent
  578. end
  579. if EffectPart and EffectPart.Parent then
  580. EffectPart:Destroy()
  581. end
  582. end)
  583. end
  584.  
  585. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  586. for _, c in pairs(workspace:children()) do
  587. local hum = c:findFirstChild("Humanoid")
  588. if hum ~= nil then
  589. local head = c:findFirstChild("Torso")
  590. if head ~= nil then
  591. local targ = head.Position - Part.Position
  592. local mag = targ.magnitude
  593. if mag <= Magnitude and c.Name ~= Player.Name then
  594. CFuncs.Sound.Create("324867021", head, 1, 1)
  595. Effects.Sphere.Create(BrickColor.new(Torso.Color), head.CFrame, 2, .2, 2, 2, 2, 2, .05)
  596. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  597. end
  598. end
  599. end
  600. end
  601. end
  602.  
  603. HandleL=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HandleL",Vector3.new(0.500000954, 0.399999917, 0.0999997109))
  604. 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))
  605. HitboxL=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HitboxL",Vector3.new(1.29999995, 2.4000001, 0.299999684))
  606. 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))
  607. HandleR=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HandleR",Vector3.new(0.500000954, 0.399999917, 0.0999997109))
  608. 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))
  609. HitboxR=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","HitboxR",Vector3.new(1.29999995, 2.4000001, 0.299999684))
  610. 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))
  611.  
  612.  
  613.  
  614. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  615. sref.Anchored = true
  616.  
  617. EffectModel = Create("Model"){
  618. Parent = Character,
  619. Name = "Effects",
  620. }
  621.  
  622. Effects = {
  623. Block = {
  624. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  625. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  626. prt.Anchored = true
  627. prt.CFrame = cframe
  628. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  629. game:GetService("Debris"):AddItem(prt, 10)
  630. if Type == 1 or Type == nil then
  631. table.insert(Effects, {
  632. prt,
  633. "Block1",
  634. delay,
  635. x3,
  636. y3,
  637. z3,
  638. msh
  639. })
  640. elseif Type == 2 then
  641. table.insert(Effects, {
  642. prt,
  643. "Block2",
  644. delay,
  645. x3,
  646. y3,
  647. z3,
  648. msh
  649. })
  650. end
  651. end;
  652. };
  653.  
  654. Cylinder = {
  655. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  656. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  657. prt.Anchored = true
  658. prt.CFrame = cframe
  659. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  660. game:GetService("Debris"):AddItem(prt, 2)
  661. table.insert(Effects, {
  662. prt,
  663. "Cylinder",
  664. delay,
  665. x3,
  666. y3,
  667. z3,
  668. msh
  669. })
  670. end;
  671. };
  672.  
  673. Head = {
  674. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  676. prt.Anchored = true
  677. prt.CFrame = cframe
  678. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  679. game:GetService("Debris"):AddItem(prt, 10)
  680. table.insert(Effects, {
  681. prt,
  682. "Cylinder",
  683. delay,
  684. x3,
  685. y3,
  686. z3,
  687. msh
  688. })
  689. end;
  690. };
  691.  
  692. Sphere = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. table.insert(Effects, {
  700. prt,
  701. "Cylinder",
  702. delay,
  703. x3,
  704. y3,
  705. z3,
  706. msh
  707. })
  708. end;
  709. };
  710.  
  711. Elect = {
  712. Create = function(cff, x, y, z)
  713. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(Torso.Color), "Part", Vector3.new(1, 1, 1))
  714. prt.Anchored = true
  715. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  716. prt.CFrame = CFrame.new(prt.Position)
  717. game:GetService("Debris"):AddItem(prt, 2)
  718. local xval = math.random() / 2
  719. local yval = math.random() / 2
  720. local zval = math.random() / 2
  721. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  722. table.insert(Effects, {
  723. prt,
  724. "Elec",
  725. 0.1,
  726. x,
  727. y,
  728. z,
  729. xval,
  730. yval,
  731. zval
  732. })
  733. end;
  734.  
  735. };
  736.  
  737. Ring = {
  738. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  739. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  740. prt.Anchored = true
  741. prt.CFrame = cframe
  742. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  743. game:GetService("Debris"):AddItem(prt, 10)
  744. table.insert(Effects, {
  745. prt,
  746. "Cylinder",
  747. delay,
  748. x3,
  749. y3,
  750. z3,
  751. msh
  752. })
  753. end;
  754. };
  755.  
  756.  
  757. Wave = {
  758. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  759. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  760. prt.Anchored = true
  761. prt.CFrame = cframe
  762. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  763. game:GetService("Debris"):AddItem(prt, 10)
  764. table.insert(Effects, {
  765. prt,
  766. "Cylinder",
  767. delay,
  768. x3,
  769. y3,
  770. z3,
  771. msh
  772. })
  773. end;
  774. };
  775.  
  776. Break = {
  777. Create = function(brickcolor, cframe, x1, y1, z1)
  778. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  779. prt.Anchored = true
  780. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  781. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. local num = math.random(10, 50) / 1000
  783. game:GetService("Debris"):AddItem(prt, 10)
  784. table.insert(Effects, {
  785. prt,
  786. "Shatter",
  787. num,
  788. prt.CFrame,
  789. math.random() - math.random(),
  790. 0,
  791. math.random(50, 100) / 100
  792. })
  793. end;
  794. };
  795.  
  796. Fire = {
  797. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  798. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  799. prt.Anchored = true
  800. prt.CFrame = cframe
  801. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  802. game:GetService("Debris"):AddItem(prt, 10)
  803. table.insert(Effects, {
  804. prt,
  805. "Fire",
  806. delay,
  807. 1,
  808. 1,
  809. 1,
  810. msh
  811. })
  812. end;
  813. };
  814.  
  815. FireWave = {
  816. Create = function(brickcolor, cframe, x1, y1, z1)
  817. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  818. prt.Anchored = true
  819. prt.CFrame = cframe
  820. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  821. local d = Create("Decal"){
  822. Parent = prt,
  823. Texture = "rbxassetid://26356434",
  824. Face = "Top",
  825. }
  826. local d = Create("Decal"){
  827. Parent = prt,
  828. Texture = "rbxassetid://26356434",
  829. Face = "Bottom",
  830. }
  831. game:GetService("Debris"):AddItem(prt, 10)
  832. table.insert(Effects, {
  833. prt,
  834. "FireWave",
  835. 1,
  836. 30,
  837. math.random(400, 600) / 100,
  838. msh
  839. })
  840. end;
  841. };
  842.  
  843. Lightning = {
  844. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  845. local magz = (p0 - p1).magnitude
  846. local curpos = p0
  847. local trz = {
  848. -ofs,
  849. ofs
  850. }
  851. for i = 1, tym do
  852. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  853. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  854. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  855. li.Material = "Neon"
  856. if tym == i then
  857. local magz2 = (curpos - p1).magnitude
  858. li.Size = Vector3.new(th, th, magz2)
  859. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  860. table.insert(Effects, {
  861. li,
  862. "Disappear",
  863. last
  864. })
  865. else
  866. do
  867. do
  868. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  869. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  870. game.Debris:AddItem(li, 10)
  871. table.insert(Effects, {
  872. li,
  873. "Disappear",
  874. last
  875. })
  876. end
  877. end
  878. end
  879. end
  880. end
  881. };
  882.  
  883. EffectTemplate = {
  884.  
  885. };
  886. }
  887.  
  888.  
  889.  
  890. local stoppedParts = {}
  891.  
  892.  
  893. function getAllParts()
  894. local rtn = {}
  895.  
  896. local function recurse(object)
  897. for q,e in next, object:children() do
  898. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  899. table.insert(rtn, e)
  900. end
  901. recurse(e)
  902. end
  903. end
  904.  
  905. recurse(workspace)
  906. return rtn
  907. end
  908.  
  909. function stopParts(distance)
  910. stoppedParts = {}
  911. for nada, part in next, getAllParts() do
  912. local dist = (Torso.Position-part.Position).magnitude
  913. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  914. table.insert(stoppedParts, part)
  915. if part.Name ~= "Torso" and part.Anchored ~= true then
  916. part.Anchored = true
  917. end
  918. end
  919. end
  920. end
  921.  
  922.  
  923. function freeParts()
  924. for q,e in next, stoppedParts do
  925. stoppedParts[q] = nil
  926. e.Anchored = false
  927. end
  928. end
  929.  
  930. local effect = Instance.new('ColorCorrectionEffect')
  931. function TheWorld(Mode)
  932. if Mode == "Time Start" then
  933. Effects.Sphere.Create(BrickColor.new(Torso.Color), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  934. for i = 1,50 do
  935. if effect.Saturation <= 0 then
  936. effect.Saturation = effect.Saturation + i/50
  937. end
  938. swait(1/30)
  939. end
  940. freeParts()
  941. effect.Saturation = 0
  942. effect.Contrast = 0
  943. effect.Parent = nil
  944. workspace.Gravity = 196.2
  945. end
  946. if Mode == "Quick Stop" then
  947. CFuncs.Sound.Create("468760371", workspace, 1, 1)
  948. swait(60)
  949. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  950. effect.Parent = game.Lighting
  951. for i = 1,50 do
  952. effect.Saturation = -(i/10)
  953. swait()
  954. end
  955. stopParts(5555)
  956. end
  957. end
  958.  
  959. function PowerhouseSmash()
  960. CFuncs.Sound.Create("782352632", Torso, 1, 1)
  961. attack = true
  962. gp = nil
  963. con1 = Torso.Touched:connect(function(hit)
  964. local ht = hit.Parent
  965. local hum1 = ht:FindFirstChild("Humanoid")
  966. if Grab == false then
  967. if hum1 ~= nil and hit.Parent ~= Character then
  968. hum1.PlatformStand = true
  969. gp = ht
  970. Grab = true
  971. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  972. asd.Parent = RightArm
  973. asd.Name = "asd"
  974. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  975. CFuncs.Sound.Create("782352971", Torso, 1, 1)
  976. elseif hum1 == nil then
  977. con1:disconnect()
  978. cooldown2=0
  979. wait()
  980. return
  981. end
  982. end
  983. end)
  984. for i = 0, 1, 0.2 do
  985. swait()
  986. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  987. PlayAnimationFromTable({
  988. 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),
  989. 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),
  990. 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),
  991. 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),
  992. 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),
  993. 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)
  994. }, 0.3, false)
  995. end
  996. for i = 0, 1, 0.1 do
  997. swait()
  998. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  999. PlayAnimationFromTable({
  1000. 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),
  1001. 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),
  1002. 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),
  1003. 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),
  1004. 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),
  1005. 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)
  1006. }, 0.3, false)
  1007. end
  1008. cooldown2=0
  1009. if Grab == true then
  1010. cooldown1=5
  1011. cooldown2=7
  1012. for i = 1, 1 do
  1013. for i = 0, 1, 0.35 do
  1014. swait()
  1015. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  1016. PlayAnimationFromTable({
  1017. 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),
  1018. 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),
  1019. 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),
  1020. 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),
  1021. 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),
  1022. 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)
  1023. }, 0.4, false)
  1024. end
  1025. for i = 0, 1, 0.3 do
  1026. swait()
  1027. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1028. PlayAnimationFromTable({
  1029. 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),
  1030. 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),
  1031. 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),
  1032. 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),
  1033. 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),
  1034. 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)
  1035. }, 0.7, false)
  1036. end
  1037. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1038. if hit ~= nil then
  1039. MagnitudeDamage(HitboxR, 5, 25, 35, 0, "Normal", "782354021", 1.3)
  1040. Effects.Wave.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  1041. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  1042. end
  1043. end
  1044. end
  1045. for i, v in pairs(RightArm:GetChildren()) do
  1046. if v.Name == "asd" and v:IsA("Weld") then
  1047. v:Remove()
  1048. end
  1049. end
  1050. Grab = false
  1051. con1:disconnect()
  1052. attack = false
  1053. end
  1054.  
  1055.  
  1056.  
  1057. function Overdrive()
  1058. frame = 1 / 20
  1059. bloodmode=true
  1060. skillcolorscheme = BrickColor.new("Crimson").Color
  1061. framesk1.BackgroundColor3 = skillcolorscheme
  1062. framesk2.BackgroundColor3 = skillcolorscheme
  1063. framesk3.BackgroundColor3 = skillcolorscheme
  1064. framesk4.BackgroundColor3 = skillcolorscheme
  1065. Humanoid.WalkSpeed = Humanoid.WalkSpeed/2 + 2
  1066. CFuncs.Sound.Create("889016272", Torso, 1, 1)
  1067. Humanoid.MaxHealth = Humanoid.MaxHealth + 200
  1068. Humanoid.Health = Humanoid.Health + 200
  1069. for i = 0,20,.25 do
  1070. wait(.1)
  1071. end
  1072. bloodmode=false
  1073. skillcolorscheme = BrickColor.new(Torso.Color).Color
  1074. framesk1.BackgroundColor3 = skillcolorscheme
  1075. framesk2.BackgroundColor3 = skillcolorscheme
  1076. framesk3.BackgroundColor3 = skillcolorscheme
  1077. framesk4.BackgroundColor3 = skillcolorscheme
  1078. Humanoid.WalkSpeed = 13
  1079. Humanoid.MaxHealth = Humanoid.MaxHealth - 200
  1080. Humanoid.Health = Humanoid.Health - 225
  1081. frame = 1 / 30
  1082. gp = nil
  1083. end
  1084.  
  1085.  
  1086. function LightOverdrive()
  1087. slowtime = Instance.new("ColorCorrectionEffect",workspace.CurrentCamera)
  1088. slowtime.Saturation = -1
  1089. frame = 1 / 100
  1090. flashmode = true
  1091. gay = true
  1092. skillcolorscheme = BrickColor.new("Gold").Color
  1093. framesk1.BackgroundColor3 = skillcolorscheme
  1094. framesk2.BackgroundColor3 = skillcolorscheme
  1095. framesk3.BackgroundColor3 = skillcolorscheme
  1096. framesk4.BackgroundColor3 = skillcolorscheme
  1097. Humanoid.WalkSpeed = Humanoid.WalkSpeed*2 - 2
  1098. CFuncs.Sound.Create("1208650519", Torso, 1, 1)
  1099. Character["Left Leg"].Transparency = .7
  1100. Character["Head"].Transparency = .7
  1101. Character["Right Leg"].Transparency = .7
  1102. Character["Torso"].Transparency = .7
  1103. Character["Left Arm"].Transparency = .7
  1104. Character["Right Arm"].Transparency = .7
  1105. for y,t in pairs(Character:GetChildren()) do
  1106. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1107. t.Handle.Transparency = .7
  1108. end
  1109. end
  1110. Character.Parent = workspace.Camera
  1111. local ch = Character:GetChildren()
  1112. for i = 1, 1 do
  1113. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1114. local trace = Instance.new("Part",game.Workspace)
  1115. trace.Size = ch[i].Size
  1116. trace.Material = "Neon"
  1117. trace.BrickColor = BrickColor.new(Torso.Color)
  1118. trace.Transparency = .3
  1119. trace.CanCollide = false
  1120. trace.Anchored = true
  1121. trace.CFrame = ch[i].CFrame
  1122. if ch[i].Name == "Head" then
  1123. mehs = Instance.new("CylinderMesh",trace)
  1124. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1125. end
  1126. Humanoid.Jump=true
  1127. wait(6)
  1128. Character.Parent = workspace
  1129. slowtime.Saturation = 0
  1130. slowtime:Destroy()
  1131. CFuncs.Sound.Create("535381634", Torso, 1, 1)
  1132. Character["Left Leg"].Transparency = 0
  1133. Character["Head"].Transparency = 0
  1134. Character["Right Leg"].Transparency = 0
  1135. Character["Torso"].Transparency = 0
  1136. Character["Left Arm"].Transparency = 0
  1137. Character["Right Arm"].Transparency = 0
  1138. for y,t in pairs(Character:GetChildren()) do
  1139. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1140. t.Handle.Transparency = 0
  1141. end
  1142. end
  1143. RootPart.CFrame=trace.CFrame
  1144. trace:destroy()
  1145. skillcolorscheme = BrickColor.new(Torso.Color).Color
  1146. framesk1.BackgroundColor3 = skillcolorscheme
  1147. framesk2.BackgroundColor3 = skillcolorscheme
  1148. framesk3.BackgroundColor3 = skillcolorscheme
  1149. framesk4.BackgroundColor3 = skillcolorscheme
  1150. Humanoid.WalkSpeed = currentspeed
  1151. frame = 1 / 60
  1152. gay = false
  1153. flashmode = false
  1154. gp = nil
  1155. end
  1156. end
  1157. end
  1158.  
  1159.  
  1160. function UpperGrab()
  1161. CFuncs.Sound.Create("782199941", Torso, 1, 1)
  1162. attack = true
  1163. gp = nil
  1164. con1 = HitboxR.Touched:connect(function(hit)
  1165. local ht = hit.Parent
  1166. local hum1 = ht:FindFirstChild("Humanoid")
  1167. if Grab == false then
  1168. if hum1 ~= nil and hit.Parent ~= Character then
  1169. hum1.PlatformStand = true
  1170. gp = ht
  1171. Grab = true
  1172. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1173. asd.Parent = RightArm
  1174. asd.Name = "asd"
  1175. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1176. CFuncs.Sound.Create("742818884", Torso, 1, 1)
  1177. elseif hum1 == nil then
  1178. con1:disconnect()
  1179. wait()
  1180. return
  1181. end
  1182. end
  1183. end)
  1184. for i = 0, 1, 0.2 do
  1185. swait()
  1186. PlayAnimationFromTable({
  1187. 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),
  1188. 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),
  1189. 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),
  1190. 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),
  1191. 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),
  1192. 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)
  1193. }, 0.3, false)
  1194. end
  1195. for i = 0, 1, 0.1 do
  1196. swait()
  1197. PlayAnimationFromTable({
  1198. 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),
  1199. 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),
  1200. 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),
  1201. 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),
  1202. 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),
  1203. 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)
  1204. }, 0.3, false)
  1205. end
  1206. if Grab == true then
  1207. Torso.Anchored=true
  1208. for i = 1, 15 do
  1209. for i = 0, 1, 1 do
  1210. MagnitudeDamage(HitboxR, 1, 2, 3, 0, "DarkUp", "506378123", 1.3)
  1211. 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)
  1212. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(RootPart.Position,RootPart.Position,RootPart.Position), 3, 3, 3, 5, 5, 5, 0.09)
  1213. wait(.05)
  1214. end
  1215. end
  1216. end
  1217. for i, v in pairs(RightArm:GetChildren()) do
  1218. if v.Name == "asd" and v:IsA("Weld") then
  1219. v:Remove()
  1220. end
  1221. end
  1222. Torso.Anchored=false
  1223. Grab = false
  1224. con1:disconnect()
  1225. attack = false
  1226. end
  1227.  
  1228.  
  1229. function PowerFist()
  1230. attack = true
  1231. Instance.new("DistortionSoundEffect", S2).Level = 0.8
  1232. for i = 0, 1, 0.1 do
  1233. swait()
  1234. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  1235. PlayAnimationFromTable({
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. 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),
  1241. 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)
  1242. }, 0.2, false)
  1243. end
  1244. for i = 0, 1, 0.08 do
  1245. swait()
  1246. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1247. PlayAnimationFromTable({
  1248. 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),
  1249. 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),
  1250. 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),
  1251. 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),
  1252. 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),
  1253. 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)
  1254. }, 0.6, false)
  1255. end
  1256. 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)
  1257. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1258. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1259. attack = false
  1260. MagnitudeDamage(HitboxR, 20, 10, 15, 20, "DarkUp", "782352794", 1)
  1261. end
  1262.  
  1263. function ModeSwitch()
  1264. if bruisermode==true and attack == false then
  1265. print("Agressor Mode on")
  1266. text1.Text = "[Z]\n Power Dash"
  1267. text2.Text = "[X]\n Transposition"
  1268. text3.Text = "[C]\n Adrenaline"
  1269. text4.Text = "[V]\n Brawler Mode"
  1270. Humanoid.WalkSpeed= 20
  1271. currentspeed = 20
  1272. frame = 1 / 60
  1273. bruisermode=false
  1274. brawlermode=true
  1275. elseif bruisermode==false and attack == false then
  1276. print("Bruiser Mode on")
  1277. text1.Text = "[Z]\n Punishing Fist"
  1278. text2.Text = "[X]\n Vault Slam"
  1279. text3.Text = "[C]\n Double Time"
  1280. text4.Text = "[V]\n Bruiser Mode"
  1281. Humanoid.WalkSpeed= 13
  1282. currentspeed = 13
  1283. frame = 1 / 30
  1284. bruisermode=true
  1285. brawlermode=false
  1286. end
  1287. end
  1288.  
  1289.  
  1290. function PowerPunch()
  1291. attack = true
  1292. Instance.new("DistortionSoundEffect", S2).Level = 0.8
  1293. for i = 0, 1, 0.1 do
  1294. swait()
  1295. PlayAnimationFromTable({
  1296. 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),
  1297. 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),
  1298. 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),
  1299. 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),
  1300. 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),
  1301. 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)
  1302. }, 0.2, false)
  1303. end
  1304. CFuncs.Sound.Create("201858045", HitboxR, 1, 1)
  1305. wait(.5)
  1306. local Con1 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 2, 5, 0, "DarkUp", RootPart, 0, "260430117", 1) end)
  1307. MagnitudeDamage(HitboxR, 15, 25, 35, 15, "Normal", "782352794", 1)
  1308. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1309. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1310. for i = 0, 1, 0.08 do
  1311. swait()
  1312. PlayAnimationFromTable({
  1313. 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),
  1314. 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),
  1315. 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),
  1316. 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),
  1317. 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),
  1318. 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)
  1319. }, 0.6, false)
  1320. end
  1321. Con1:disconnect()
  1322. attack = false
  1323. end
  1324.  
  1325.  
  1326.  
  1327. function punchone()
  1328. attack = true
  1329. for i = 0, 1, 0.12 do
  1330. swait()
  1331. PlayAnimationFromTable({
  1332. 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),
  1333. 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),
  1334. 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),
  1335. 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),
  1336. 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),
  1337. 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)
  1338. }, 0.3, false)
  1339. end
  1340. MagnitudeDamage(HitboxR, 4, 15, 20, math.random(3, 5), "Normal", "260430079", 1)
  1341. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1342. for i = 0, 1, 0.11 do
  1343. swait()
  1344. PlayAnimationFromTable({
  1345. 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),
  1346. 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),
  1347. 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),
  1348. 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),
  1349. 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),
  1350. 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)
  1351. }, 0.45, false)
  1352. end
  1353. attack = false
  1354. end
  1355.  
  1356.  
  1357.  
  1358. function punchtwo()
  1359. attack = true
  1360. for i = 0, 1, 0.12 do
  1361. swait()
  1362. PlayAnimationFromTable({
  1363. 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),
  1364. 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),
  1365. 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),
  1366. 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),
  1367. 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),
  1368. 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)
  1369. }, 0.34, false)
  1370. end
  1371. MagnitudeDamage(HitboxL, 4, 15, 20, math.random(3, 5), "Normal", "260430079", 1.1)
  1372. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1373. for i = 0, 1, 0.12 do
  1374. swait()
  1375. PlayAnimationFromTable({
  1376. 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),
  1377. 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),
  1378. 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),
  1379. 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),
  1380. 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),
  1381. 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)
  1382. }, 0.45, false)
  1383. end
  1384. attack = false
  1385. end
  1386.  
  1387. Mouse.Button1Down:connect(function()
  1388. if attack == false and attackmode==1 then
  1389. attack=true
  1390. punchone()
  1391. attackmode=2
  1392. elseif attackmode==2 and attack==false then
  1393. attack=true
  1394. punchtwo()
  1395. attackmode=1
  1396. end
  1397. end)
  1398.  
  1399. local bodpos = Instance.new("BodyPosition")
  1400. bodpos.Position = Torso.Position
  1401.  
  1402.  
  1403. function Teleport()
  1404. CFuncs.Sound.Create("153613030", Torso, 1, 1)
  1405. local ch = Character:GetChildren()
  1406. for i = 1, #ch do
  1407. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1408. local trace = Instance.new("Part",game.Workspace)
  1409. trace.Size = ch[i].Size
  1410. trace.Material = "Neon"
  1411. trace.BrickColor = BrickColor.new(Torso.Color)
  1412. trace.Transparency = .3
  1413. trace.CanCollide = false
  1414. trace.Anchored = true
  1415. trace.CFrame = ch[i].CFrame
  1416. if ch[i].Name == "Head" then
  1417. mehs = Instance.new("CylinderMesh",trace)
  1418. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1419. end
  1420. tracedisappear = coroutine.wrap(function()
  1421. wait(.5)
  1422. for i = 1, 7 do
  1423. wait(.1)
  1424. trace.Transparency = trace.Transparency + .1
  1425. end
  1426. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(trace.Position,trace.Position,trace.Position), 3, 3, 3, 5, 5, 5, 0.09)
  1427. MagnitudeDamage(trace, 15, 3, 10, math.random(1, 2), "Normal", "260430079", 1)
  1428. trace:Destroy()
  1429. end)
  1430. tracedisappear()
  1431. end
  1432. end
  1433. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,25)
  1434. end
  1435.  
  1436.  
  1437.  
  1438.  
  1439. function BrightStep()
  1440. attack = true
  1441. gay=true
  1442. Character["Left Leg"].Transparency = 1
  1443. Character["Head"].Transparency = 1
  1444. Character["Right Leg"].Transparency = 1
  1445. Character["Torso"].Transparency = 1
  1446. Character["Left Arm"].Transparency = 1
  1447. Character["Right Arm"].Transparency = 1
  1448. for y,t in pairs(Character:GetChildren()) do
  1449. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1450. t.Handle.Transparency = 1
  1451. end
  1452. end
  1453. Humanoid.WalkSpeed = 18
  1454. Character.Parent = workspace.Camera
  1455. CFuncs.Sound.Create("153613030", Torso, 1, 1)
  1456. local ch = Character:GetChildren()
  1457. for i = 0, 3, 1 do
  1458. for i = 1, #ch do
  1459. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  1460. local trace = Instance.new("Part",game.Workspace)
  1461. trace.Size = ch[i].Size
  1462. trace.Material = "Neon"
  1463. trace.BrickColor = BrickColor.new(Torso.Color)
  1464. trace.Transparency = .3
  1465. trace.CanCollide = false
  1466. trace.Anchored = true
  1467. trace.CFrame = ch[i].CFrame
  1468. if ch[i].Name == "Head" then
  1469. mehs = Instance.new("CylinderMesh",trace)
  1470. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1471. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,-2)
  1472. wait(.3)
  1473. end
  1474. tracedisappear = coroutine.wrap(function()
  1475. for i = 1, 7 do
  1476. wait(.1)
  1477. trace.Transparency = trace.Transparency + .1
  1478. end
  1479. MagnitudeDamage(trace, 10, 3, 8, math.random(0, 0), "Normal", " ", 1)
  1480. trace:Destroy()
  1481. end)
  1482. tracedisappear()
  1483. end
  1484. end
  1485. end
  1486. Character.Parent = workspace
  1487. Character["Left Leg"].Transparency = 0
  1488. Character["Head"].Transparency = 0
  1489. Character["Right Leg"].Transparency = 0
  1490. Character["Torso"].Transparency = 0
  1491. Character["Left Arm"].Transparency = 0
  1492. Character["Right Arm"].Transparency = 0
  1493. for y,t in pairs(Character:GetChildren()) do
  1494. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1495. t.Handle.Transparency = 0
  1496. end
  1497. end
  1498. Humanoid.WalkSpeed = 13
  1499. Humanoid.Jump = true
  1500. gay = false
  1501. attack = false
  1502. end
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508. function lightpunchone()
  1509. attack = true
  1510. for i = 0, 1, 0.12 do
  1511. swait()
  1512. PlayAnimationFromTable({
  1513. 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),
  1514. 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),
  1515. 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),
  1516. 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),
  1517. 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),
  1518. 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)
  1519. }, 0.3, false)
  1520. end
  1521. for i = 0, 1, 0.11 do
  1522. swait()
  1523. PlayAnimationFromTable({
  1524. 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),
  1525. 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),
  1526. 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),
  1527. 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),
  1528. 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),
  1529. 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)
  1530. }, 0.45, false)
  1531. end
  1532. MagnitudeDamage(HitboxL, 4, 5, 10, math.random(0, 2), "Normal", "260430079", 1.1)
  1533. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1534. attack = false
  1535. end
  1536.  
  1537.  
  1538.  
  1539. function lightpunchtwo()
  1540. attack = true
  1541. for i = 0, 1, 0.12 do
  1542. swait()
  1543. PlayAnimationFromTable({
  1544. 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),
  1545. 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),
  1546. 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),
  1547. 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),
  1548. 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),
  1549. 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)
  1550. }, 0.34, false)
  1551. end
  1552. for i = 0, 1, 0.12 do
  1553. swait()
  1554. PlayAnimationFromTable({
  1555. 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),
  1556. 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),
  1557. 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),
  1558. 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),
  1559. 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),
  1560. 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)
  1561. }, 0.45, false)
  1562. end
  1563. attack = false
  1564. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1565. MagnitudeDamage(HitboxL, 4, 5, 10, math.random(0, 2), "Normal", "260430079", 1.1)
  1566. end
  1567.  
  1568. function lightpunchlock2()
  1569. attack = true
  1570. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 2, 0, "Normal", RootPart, 0, "260430117", 1) end)
  1571. for i = 0, 1, 0.12 do
  1572. swait()
  1573. PlayAnimationFromTable({
  1574. 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),
  1575. 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),
  1576. 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),
  1577. 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),
  1578. 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),
  1579. 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)
  1580. }, 0.3, false)
  1581. end
  1582. for i = 0, 1, 0.11 do
  1583. swait()
  1584. PlayAnimationFromTable({
  1585. 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),
  1586. 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),
  1587. 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),
  1588. 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),
  1589. 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),
  1590. 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)
  1591. }, 0.45, false)
  1592. end
  1593. attack = false
  1594. Con2:disconnect()
  1595. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1596. end
  1597.  
  1598.  
  1599.  
  1600. function lightpunchlock1()
  1601. attack = true
  1602. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 2, 0, "Normal", RootPart, 0, "260430117", 1) end)
  1603. for i = 0, 1, 0.12 do
  1604. swait()
  1605. PlayAnimationFromTable({
  1606. 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),
  1607. 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),
  1608. 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),
  1609. 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),
  1610. 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),
  1611. 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)
  1612. }, 0.34, false)
  1613. end
  1614. for i = 0, 1, 0.12 do
  1615. swait()
  1616. PlayAnimationFromTable({
  1617. 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),
  1618. 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),
  1619. 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),
  1620. 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),
  1621. 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),
  1622. 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)
  1623. }, 0.45, false)
  1624. end
  1625. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1626. Con1:disconnect()
  1627. attack = false
  1628. end
  1629.  
  1630.  
  1631.  
  1632.  
  1633. function heavypunchlock2()
  1634. attack = true
  1635. for i = 0, 1, 0.12 do
  1636. swait()
  1637. PlayAnimationFromTable({
  1638. 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),
  1639. 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),
  1640. 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),
  1641. 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),
  1642. 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),
  1643. 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)
  1644. }, 0.3, false)
  1645. end
  1646. MagnitudeDamage(HitboxR, 6, 25, 45, math.random(0, 5), "Normal", "260430079", 1)
  1647. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1648. for i = 0, 1, 0.11 do
  1649. swait()
  1650. PlayAnimationFromTable({
  1651. 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),
  1652. 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),
  1653. 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),
  1654. 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),
  1655. 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),
  1656. 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)
  1657. }, 0.45, false)
  1658. end
  1659. attack = false
  1660. end
  1661.  
  1662.  
  1663.  
  1664. function heavypunchlock1()
  1665. attack = true
  1666. for i = 0, 1, 0.12 do
  1667. swait()
  1668. PlayAnimationFromTable({
  1669. 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),
  1670. 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),
  1671. 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),
  1672. 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),
  1673. 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),
  1674. 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)
  1675. }, 0.34, false)
  1676. end
  1677. MagnitudeDamage(HitboxL, 6, 25, 45, math.random(0, 5), "Normal", "260430079", 1.1)
  1678. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1679. for i = 0, 1, 0.12 do
  1680. swait()
  1681. PlayAnimationFromTable({
  1682. 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),
  1683. 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),
  1684. 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),
  1685. 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),
  1686. 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),
  1687. 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)
  1688. }, 0.45, false)
  1689. end
  1690. attack = false
  1691. end
  1692.  
  1693.  
  1694.  
  1695.  
  1696. Mouse.Button1Down:connect(function()
  1697.  
  1698.  
  1699. if attackmode==1 and bruisermode == true and bloodmode==false and brawlermode==false and flashmode==false and attack==false then
  1700. attack=true
  1701. punchone()
  1702. attackmode=2
  1703. elseif attackmode==2 and bruisermode == true and bloodmode==false and brawlermode==false and flashmode==false and attack==false then
  1704. attack=true
  1705. punchtwo()
  1706. attackmode=1
  1707.  
  1708.  
  1709. elseif attackmode==1 and bruisermode == false and bloodmode==false and brawlermode==true and flashmode==false and attack==false then
  1710. attack=true
  1711. lightpunchone()
  1712. attackmode=2
  1713. elseif attackmode==2 and bruisermode == false and bloodmode==false and brawlermode==true and flashmode==false and attack==false then
  1714. attack=true
  1715. lightpunchtwo()
  1716. attackmode=1
  1717.  
  1718.  
  1719. elseif attackmode==1 and bruisermode == false and brawlermode==true and flashmode==true and attack==false then
  1720. attack=true
  1721. lightpunchlock1()
  1722. attackmode=2
  1723. elseif attackmode==2 and bruisermode == false and brawlermode==true and flashmode==true and attack==false then
  1724. attack=true
  1725. lightpunchlock2()
  1726. attackmode=1
  1727.  
  1728.  
  1729. elseif attackmode==1 and bruisermode == true and bloodmode==true and brawlermode==false and flashmode==false and attack==false then
  1730. attack=true
  1731. heavypunchlock1()
  1732. attackmode=2
  1733. elseif attackmode==2 and bruisermode == true and bloodmode==true and brawlermode==false and flashmode==false and attack==false then
  1734. attack=true
  1735. heavypunchlock2()
  1736. attackmode=1
  1737.  
  1738.  
  1739. end
  1740. end)
  1741.  
  1742.  
  1743. Mouse.KeyDown:connect(function(k)
  1744. k = k:lower()
  1745. if attack == false and k == "z" and cooldown1 >=co1 and bruisermode==true then
  1746. PowerPunch()
  1747. cooldown1=0
  1748. elseif attack == false and k == "x" and cooldown2 >=co2 and bruisermode==true then
  1749. PowerhouseSmash()
  1750. elseif attack == false and k == "c" and cooldown3 >=co3 and bruisermode==true and bloodmode~=true then
  1751. cooldown3=0
  1752. BrightStep()
  1753. elseif attack == false and k == "v" and cooldown4 >=co4 and bruisermode==true and bloodmode~=true then
  1754. cooldown4=0
  1755. ModeSwitch()
  1756. ----------------------------------------
  1757. ----------------------------------------
  1758. ----------------------------------------
  1759. ----------------------------------------
  1760. elseif attack == false and k == "z" and cooldown1 >=co1 and bruisermode==false then
  1761. cooldown1=0
  1762. PowerFist()
  1763. elseif k == "x" and cooldown2 >=co2 and bruisermode==false then
  1764. cooldown2=0
  1765. Teleport()
  1766. elseif k == "c" and cooldown3 >=co3 and bruisermode==false and flashmode~=true then
  1767. cooldown3=0
  1768. LightOverdrive()
  1769. elseif attack == false and k == "v" and cooldown4 >=co4 and bruisermode==false and flashmode~=true then
  1770. cooldown4=0
  1771. ModeSwitch()
  1772. end
  1773. end)
  1774.  
  1775. function updateskills1()
  1776. if cooldown1 <= co1 then
  1777. cooldown1 = cooldown1 + 1 / 30
  1778. end
  1779. if cooldown2 <= co2 then
  1780. cooldown2 = cooldown2 + 1 / 30
  1781. end
  1782. if cooldown3 <= co3 and bloodmode ~= true and flashmode ~= true then
  1783. cooldown3 = cooldown3 + 1 / 30
  1784. end
  1785. if cooldown4 <= co4 then
  1786. cooldown4 = cooldown4 + 1 / 30
  1787. end
  1788. end
  1789.  
  1790.  
  1791. while true do
  1792. swait()
  1793. updateskills1()
  1794. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1795. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1796. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1797. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1798. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1799. for i, v in pairs(Character:GetChildren()) do
  1800. if v:IsA("Part") then
  1801. v.Material = "SmoothPlastic"
  1802. elseif v:IsA("Accessory") then
  1803. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1804. end
  1805. end
  1806. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1807. velocity = RootPart.Velocity.y
  1808. sine = sine + change
  1809. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1810. if RootPart.Velocity.y > 1 and hit == nil then
  1811. Anim = "Jump"
  1812. if attack == false then
  1813. PlayAnimationFromTable({
  1814. 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),
  1815. 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),
  1816. 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),
  1817. 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),
  1818. 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),
  1819. 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),
  1820. }, .3, false)
  1821. end
  1822. elseif RootPart.Velocity.y < -1 and hit == nil then
  1823. Anim = "Fall"
  1824. if attack == false then
  1825. PlayAnimationFromTable({
  1826. 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),
  1827. 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),
  1828. 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),
  1829. 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),
  1830. 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),
  1831. 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),
  1832. }, .3, false)
  1833. end
  1834. elseif Torsovelocity < 1 and hit ~= nil then
  1835. Anim = "Idle"
  1836. if attack == false then
  1837. change = 1
  1838. PlayAnimationFromTable({
  1839. 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),
  1840. 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),
  1841. 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),
  1842. 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),
  1843. 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),
  1844. 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),
  1845. }, .3, false)
  1846. end
  1847. elseif Torsovelocity > 2 and hit ~= nil then
  1848. Anim = "Walk"
  1849. if attack == false then
  1850. change = 2
  1851. PlayAnimationFromTable({
  1852. 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),
  1853. 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),
  1854. 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),
  1855. 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),
  1856. 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)),
  1857. 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)),
  1858. }, .3, false)
  1859. end
  1860. end
  1861. if 0 < #Effects then
  1862. for e = 1, #Effects do
  1863. if Effects[e] ~= nil then
  1864. local Thing = Effects[e]
  1865. if Thing ~= nil then
  1866. local Part = Thing[1]
  1867. local Mode = Thing[2]
  1868. local Delay = Thing[3]
  1869. local IncX = Thing[4]
  1870. local IncY = Thing[5]
  1871. local IncZ = Thing[6]
  1872. if Thing[2] == "Shoot" then
  1873. local Look = Thing[1]
  1874. local move = 5
  1875. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1876. if Thing[10] ~= nil then
  1877. da = pos
  1878. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1879. cfa = CFrame.new(Thing[4], pos)
  1880. tehCF = cfa:lerp(cf2, 0.2)
  1881. Thing[1] = tehCF.lookVector
  1882. end
  1883. local mag = (Thing[4] - pos).magnitude
  1884. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1885. 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)
  1886. Thing[4] = Thing[4] + Look * move
  1887. Thing[3] = Thing[3] - 1
  1888. if 2 < Thing[5] then
  1889. Thing[5] = Thing[5] - 0.3
  1890. Thing[6] = Thing[6] - 0.3
  1891. end
  1892. if hit ~= nil then
  1893. Thing[3] = 0
  1894. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1895. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1896. ref.Anchored = true
  1897. ref.CFrame = CFrame.new(pos)
  1898. Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1899. Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1900. game:GetService("Debris"):AddItem(ref, 1)
  1901. end
  1902. if Thing[3] <= 0 then
  1903. table.remove(Effects, e)
  1904. end
  1905. end
  1906. do
  1907. do
  1908. if Thing[2] == "FireWave" then
  1909. if Thing[3] <= Thing[4] then
  1910. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1911. Thing[3] = Thing[3] + 1
  1912. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1913. else
  1914. Part.Parent = nil
  1915. table.remove(Effects, e)
  1916. end
  1917. end
  1918. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1919. if Thing[1].Transparency <= 1 then
  1920. if Thing[2] == "Block1" then
  1921. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1922. Mesh = Thing[7]
  1923. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1924. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1925. else
  1926. if Thing[2] == "Block2" then
  1927. Thing[1].CFrame = Thing[1].CFrame
  1928. Mesh = Thing[7]
  1929. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1930. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1931. else
  1932. if Thing[2] == "Fire" then
  1933. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1934. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1935. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1936. else
  1937. if Thing[2] == "Cylinder" then
  1938. Mesh = Thing[7]
  1939. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1940. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1941. else
  1942. if Thing[2] == "Blood" then
  1943. Mesh = Thing[7]
  1944. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1945. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1946. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1947. else
  1948. if Thing[2] == "Elec" then
  1949. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1950. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1951. else
  1952. if Thing[2] == "Disappear" then
  1953. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1954. end
  1955. end
  1956. end
  1957. end
  1958. end
  1959. end
  1960. end
  1961. else
  1962. Part.Parent = nil
  1963. table.remove(Effects, e)
  1964. end
  1965. end
  1966. end
  1967. end
  1968. end
  1969. end
  1970. end
  1971. end
  1972. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement