Advertisement
TheSkibidiOne1

.

Feb 24th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.85 KB | None | 0 0
  1. --HAKARI MASTERY MOVESET SCRIPT--
  2.  
  3. --Local Stuff
  4. local skillOne = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Reserve Ball'].ItemName
  5. local skillTwo = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Shutter Doors'].ItemName
  6. local skillThree = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Rough Energy'].ItemName
  7. local skillThreeTip = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Divergent Fist'].Tip
  8. local skillFour = game.Players.LocalPlayer.PlayerGui.Main.Moveset['Fever Breaker'].ItemName
  9.  
  10. local ultTitle = game.Players.LocalPlayer.PlayerGui.Main.Ultimate.Title
  11.  
  12. --Skill names
  13. skillOne.Text = "Conserve Chunk"
  14. skillTwo.Text = "Splitting Doors"
  15. skillThree.Text = "Pulverizing Energy"
  16. skillThreeTip.Text = "EZ"
  17. skillFour.Text = "Shutter Combo"
  18. ultTitle.Text = "Gamble"
  19. -- SKILL 1 --
  20.  
  21. local Players = game:GetService("Players")
  22. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  23. local ChatService = game:GetService("Chat")
  24.  
  25. -- Animation references
  26. local cursedStrikesANIM = ReplicatedStorage.Animations.Itadori.CursedStrike
  27. local wideStrikeANIM = ReplicatedStorage.Animations.Gojo.RedMaximum
  28.  
  29. -- Configurable parameters
  30. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  31. local PLAY_DURATION = 1.2 -- Total duration of animation sequence
  32.  
  33. -- Prevent multiple triggers
  34. local isAnimationSequenceActive = false
  35.  
  36. local function sendChatMessage(message)
  37. if not CONFIG.EnableChatMessages then return end
  38.  
  39. local function playAnimationSequence(player)
  40. -- Ensure we don't trigger multiple times
  41. if isAnimationSequenceActive then return end
  42. isAnimationSequenceActive = true
  43.  
  44. local character = player.Character
  45. if not character then return end
  46.  
  47. local humanoid = character:FindFirstChildOfClass("Humanoid")
  48. if not humanoid then return end
  49.  
  50. -- Create animation instances
  51. local animations = {
  52. maxRed = Instance.new("Animation")
  53. }
  54.  
  55. -- Set animation IDs
  56. animations.wideStrike.AnimationId = wideStrikeANIM.AnimationId
  57. animations.overLuck.AnimationId = overLuckANIM.AnimationId
  58.  
  59. -- Load animations
  60. local animTracks = {
  61. wideStrike = humanoid:LoadAnimation(animations.wideStrike),
  62. overLuck = humanoid:LoadAnimation(animations.overLuck)
  63. }
  64.  
  65. -- Stop any existing animations
  66. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  67. track:Stop()
  68. end
  69.  
  70. -- Play animation sequence
  71. task.spawn(function()
  72. animTracks.overLuck:Play()
  73. animTracks.overLuck.TimePosition = 1.5
  74. animTracks.overLuck:AdjustSpeed(1.4)
  75. task.wait(0.4)
  76. animTracks.overLuck:Stop()
  77. animTracks.wideStrike:Play()
  78. animTracks.wideStrike.TimePosition = 4.5
  79.  
  80. -- Send chat message when ultimate animation plays
  81. sendChatMessage({
  82. JP = "Hello sir, Would you like to play a game?",
  83. EN = "Hello sir, Would you like to play a game?"
  84. })
  85.  
  86. task.wait(2.4)
  87. animTracks.wideStrike:Stop()
  88.  
  89. -- Reset flag after sequence
  90. task.wait(PLAY_DURATION)
  91. isAnimationSequenceActive = false
  92.  
  93. -- Stop all animations
  94. for _, track in pairs(animTracks) do
  95. track:Stop()
  96. end
  97. end)
  98. end
  99.  
  100. -- Event handler for animation played
  101. local function onAnimationPlayed(animationTrack)
  102. -- Check if the animation matches Lapse Blue
  103. if animationTrack.Animation.AnimationId == cursedStrikesANIM.AnimationId then
  104. playAnimationSequence(Players.LocalPlayer)
  105. end
  106. end
  107.  
  108. -- Connect to local player's character
  109. local player = Players.LocalPlayer
  110. local character = player.Character or player.CharacterAdded:Wait()
  111. local humanoid = character:WaitForChild("Humanoid")
  112.  
  113. -- Connect animation played event
  114. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  115.  
  116. -- SKILL 2 --
  117.  
  118. local Players = game:GetService("Players")
  119. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  120.  
  121. -- Animation references
  122. local crushingBlowANIM = ReplicatedStorage.Animations.Itadori.CrushingBlow
  123. local wideStrikeANIM = ReplicatedStorage.Animations.Mahito.WideStrike
  124. local chosoMelee4ANIM = ReplicatedStorage.Animations.Choso.Melee.Melee4
  125.  
  126. -- Configurable parameters
  127. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  128. local PLAY_DURATION = 1.2 -- Total duration of animation sequence
  129.  
  130. -- Prevent multiple triggers
  131. local isAnimationSequenceActive = false
  132.  
  133. local function playAnimationSequence(player)
  134. -- Ensure we don't trigger multiple times
  135. if isAnimationSequenceActive then return end
  136. isAnimationSequenceActive = true
  137.  
  138. local character = player.Character
  139. if not character then return end
  140.  
  141. local humanoid = character:FindFirstChildOfClass("Humanoid")
  142. if not humanoid then return end
  143.  
  144. -- Create animation instances
  145. local animations = {
  146. chosoMelee4 = Instance.new("Animation"),
  147. wideStrike = Instance.new("Animation")
  148. }
  149.  
  150. -- Set animation IDs
  151. animations.chosoMelee4.AnimationId = chosoMelee4ANIM.AnimationId
  152. animations.wideStrike.AnimationId = wideStrikeANIM.AnimationId
  153.  
  154. -- Load animations
  155. local animTracks = {
  156. chosoMelee4 = humanoid:LoadAnimation(animations.chosoMelee4),
  157. wideStrike = humanoid:LoadAnimation(animations.wideStrike)
  158. }
  159.  
  160. -- Stop any existing animations
  161. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  162. track:Stop()
  163. end
  164.  
  165. -- Play animation sequence
  166. task.spawn(function()
  167. animTracks.wideStrike:Play()
  168. animTracks.wideStrike.TimePosition = 0.5
  169. sendChatMessage({
  170. JP = "This isn't really fair, Is it?",
  171. EN = "This isn't really fair, Is it?"
  172. })
  173. task.wait(0.6)
  174. animTracks.wideStrike:Stop()
  175. animTracks.chosoMelee4:Play()
  176. animTracks.chosoMelee4:AdjustSpeed(0.7)
  177. task.wait(0.6)
  178. animTracks.chosoMelee4:Stop()
  179.  
  180. -- Reset flag after sequence
  181. task.wait(PLAY_DURATION)
  182. isAnimationSequenceActive = false
  183.  
  184. -- Stop all animations
  185. for _, track in pairs(animTracks) do
  186. track:Stop()
  187. end
  188. end)
  189. end
  190.  
  191. -- Event handler for animation played
  192. local function onAnimationPlayed(animationTrack)
  193. -- Check if the animation matches Cursed Strike
  194. if animationTrack.Animation.AnimationId == crushingBlowANIM.AnimationId then
  195. playAnimationSequence(Players.LocalPlayer)
  196. end
  197. end
  198.  
  199. -- Connect to local player's character
  200. local player = Players.LocalPlayer
  201. local character = player.Character or player.CharacterAdded:Wait()
  202. local humanoid = character:WaitForChild("Humanoid")
  203.  
  204. -- Connect animation played event
  205. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  206.  
  207. -- SKILL 3 --
  208.  
  209. -- Easing function for smooth acceleration
  210. local function EasingFunction(t, style, direction)
  211. local styles = {
  212. Linear = function(p) return p end,
  213. Cubic = function(p)
  214. if direction == "Out" then
  215. return 1 - math.pow(1 - p, 3)
  216. end
  217. return p * p * p
  218. end
  219. }
  220.  
  221. local easingFunc = styles[style] or styles["Linear"]
  222. return easingFunc(t)
  223. end
  224.  
  225. -- Function to apply boost
  226. local function ApplyBoost(character, direction, boostSpeed)
  227. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  228. local humanoid = character:FindFirstChild("Humanoid")
  229. local camera = workspace.CurrentCamera
  230.  
  231. if humanoidRootPart and humanoid then
  232. local isCurrentlyBoosting = true
  233. local startTime = tick()
  234.  
  235. local boostConnection
  236. boostConnection = game:GetService("RunService").Heartbeat:Connect(function()
  237. if not isCurrentlyBoosting then
  238. boostConnection:Disconnect()
  239. return
  240. end
  241.  
  242. local elapsed = tick() - startTime
  243. local progress = math.min(elapsed / CONFIG.BoostDuration, 1)
  244.  
  245. local easedProgress = EasingFunction(progress, "Cubic", "Out")
  246.  
  247. -- Apply boost in specified direction
  248. local boostForce = direction * (boostSpeed * easedProgress)
  249.  
  250. humanoidRootPart.Velocity = boostForce
  251.  
  252. if progress >= 1 then
  253. isCurrentlyBoosting = false
  254. boostConnection:Disconnect()
  255. humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  256. end
  257. end)
  258. end
  259. end
  260.  
  261.  
  262.  
  263. local Players = game:GetService("Players")
  264. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  265.  
  266. -- Animation references
  267. local divergentFistANIM = ReplicatedStorage.Animations.Itadori.Variants.DivergentFist1
  268. local mahitoUltANIM = ReplicatedStorage.Animations.Mahito.Ultimate2
  269. local cleaveFrANIM = ReplicatedStorage.Animations.Itadori.Cleave
  270.  
  271. -- Configurable parameters
  272. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  273. local PLAY_DURATION = 0.7 -- Total duration of animation sequence
  274.  
  275. -- Prevent multiple triggers
  276. local isAnimationSequenceActive = false
  277.  
  278. local function playAnimationSequence(player)
  279. -- Ensure we don't trigger multiple times
  280. if isAnimationSequenceActive then return end
  281. isAnimationSequenceActive = true
  282.  
  283. local character = player.Character
  284. if not character then return end
  285.  
  286. local humanoid = character:FindFirstChildOfClass("Humanoid")
  287. if not humanoid then return end
  288.  
  289. -- Create animation instances
  290. local animations = {
  291. mahitoUlt = Instance.new("Animation"),
  292. cleaveFr = Instance.new("Animation")
  293. }
  294.  
  295. -- Set animation IDs
  296. animations.mahitoUlt.AnimationId = mahitoUltANIM.AnimationId
  297. animations.cleaveFr.AnimationId = cleaveFrANIM.AnimationId
  298.  
  299. -- Load animations
  300. local animTracks = {
  301. mahitoUlt = humanoid:LoadAnimation(animations.mahitoUlt),
  302. cleaveFr = humanoid:LoadAnimation(animations.cleaveFr)
  303. }
  304.  
  305. -- Stop any existing animations
  306. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  307. track:Stop()
  308. end
  309.  
  310. -- Play animation sequence
  311. task.spawn(function()
  312. -- Existing animations
  313. local character = player.Character
  314. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  315. local lookVector = humanoidRootPart.CFrame.LookVector
  316. local boostDirection = Vector3.new(lookVector.X, 0, lookVector.Z).Unit
  317.  
  318. animTracks.mahitoUlt:Play()
  319. animTracks.mahitoUlt:AdjustSpeed(1.4)
  320. ApplyBoost(character, boostDirection, CONFIG.FrontDashBoostSpeed)
  321. sendChatMessage({
  322. JP = "YOU are WORTHLESS",
  323. EN = "YOU are WORTHLESS"
  324. })
  325. task.wait(0.32)
  326. animTracks.mahitoUlt:Stop()
  327.  
  328. animTracks.cleaveFr:Play()
  329. animTracks.cleaveFr.TimePosition = 0.27
  330. animTracks.cleaveFr:AdjustSpeed(1.12)
  331. task.wait(0.5)
  332. animTracks.cleaveFr:Stop()
  333.  
  334. -- Reset flag after sequence
  335. task.wait(PLAY_DURATION)
  336. isAnimationSequenceActive = false
  337.  
  338. -- Stop all animations
  339. for _, track in pairs(animTracks) do
  340. track:Stop()
  341. end
  342. end)
  343. end
  344.  
  345. -- Event handler for animation played
  346. local function onAnimationPlayed(animationTrack)
  347. -- Check if the animation matches Cursed Strike
  348. if animationTrack.Animation.AnimationId == divergentFistANIM.AnimationId then
  349. playAnimationSequence(Players.LocalPlayer)
  350. end
  351. end
  352.  
  353. -- Connect to local player's character
  354. local player = Players.LocalPlayer
  355. local character = player.Character or player.CharacterAdded:Wait()
  356. local humanoid = character:WaitForChild("Humanoid")
  357.  
  358. -- Connect animation played event
  359. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  360.  
  361. -- SKILL 4 --
  362.  
  363. local Players = game:GetService("Players")
  364. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  365.  
  366. -- Animation references
  367. local manjiKickANIM = ReplicatedStorage.Animations.Itadori.ManjiKick
  368. local hakariCounterANIM = ReplicatedStorage.Animations.Hakari.Counter
  369.  
  370. -- Configurable parameters
  371. local SWAP_DELAY = 0.01 -- Delay before swapping animations (in seconds)
  372. local PLAY_DURATION = 1.4 -- Total duration of animation sequence
  373.  
  374. -- Prevent multiple triggers
  375. local isAnimationSequenceActive = false
  376.  
  377. local function playAnimationSequence(player)
  378. -- Ensure we don't trigger multiple times
  379. if isAnimationSequenceActive then return end
  380. isAnimationSequenceActive = true
  381.  
  382. local character = player.Character
  383. if not character then return end
  384.  
  385. local humanoid = character:FindFirstChildOfClass("Humanoid")
  386. if not humanoid then return end
  387.  
  388. -- Create animation instances
  389. local animations = {
  390. hakariCounter = Instance.new("Animation")
  391. }
  392.  
  393. -- Set animation IDs
  394. animations.hakariCounter.AnimationId = hakariCounterANIM.AnimationId
  395.  
  396. -- Load animations
  397. local animTracks = {
  398. hakariCounter = humanoid:LoadAnimation(animations.hakariCounter)
  399. }
  400.  
  401. -- Stop any existing animations
  402. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  403. track:Stop()
  404. end
  405.  
  406. -- Play animation sequence
  407. task.spawn(function()
  408. local character = player.Character
  409. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  410. local rightVector = humanoidRootPart.CFrame.RightVector
  411. local boostDirection = Vector3.new(rightVector.X, 0, rightVector.Z).Unit
  412.  
  413. animTracks.hakariCounter:Play()
  414. ApplyBoost(character, boostDirection, CONFIG.SideDashBoostSpeed)
  415. sendChatMessage({
  416. JP = "YOU MADE IT FROM THE DUMPSTER BEACUSE YOU GOT LUCKY..",
  417. EN = "YOU MADE IT FROM THE DUMPSTER BEACUSE YOU GOT LUCKY.."
  418. })
  419. task.wait(1)
  420. animTracks.hakariCounter:Stop()
  421.  
  422. -- Reset flag after sequence
  423. task.wait(PLAY_DURATION)
  424. isAnimationSequenceActive = false
  425.  
  426. -- Stop all animations
  427. for _, track in pairs(animTracks) do
  428. track:Stop()
  429. end
  430. end)
  431. end
  432.  
  433. -- Event handler for animation played
  434. local function onAnimationPlayed(animationTrack)
  435. -- Check if the animation matches Cursed Strike
  436. if animationTrack.Animation.AnimationId == manjiKickANIM.AnimationId then
  437. playAnimationSequence(Players.LocalPlayer)
  438. end
  439. end
  440.  
  441. -- Connect to local player's character
  442. local player = Players.LocalPlayer
  443. local character = player.Character or player.CharacterAdded:Wait()
  444. local humanoid = character:WaitForChild("Humanoid")
  445.  
  446. -- Connect animation played event
  447. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement