Advertisement
GreatestLime4K

MARTIAL ARTIST TO MAHITO TSB

Dec 26th, 2024
1,400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.71 KB | None | 0 0
  1.  
  2. -- sgui
  3. local sG = Instance.new("ScreenGui")
  4. sG.Name = "UIContainer"
  5. sG.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  6.  
  7. -- txlabel
  8. local tL = Instance.new("TextLabel")
  9. tL.Size = UDim2.new(1, 0, 0, 16) -- smaller size
  10. tL.Position = UDim2.new(0, 0, 0, 0) -- Top
  11. tL.BackgroundTransparency = 1 -- by
  12. tL.Text = "MAHITO Made By strange_computer ON DISCORD. NOBODY ELSE!" -- put the credit name
  13. tL.TextColor3 = Color3.new(1, 1, 1) -- clr
  14. tL.Font = Enum.Font.Arcade
  15. tL.TextScaled = true -- scale
  16. tL.TextTransparency = 0.5 -- opaque
  17. tL.Parent = sG
  18.  
  19. -- Ensure this script is placed in a LocalScript under the character or StarterPlayerScripts.
  20.  
  21. local Players = game:GetService("Players")
  22. local player = Players.LocalPlayer
  23. local character = player.Character or player.CharacterAdded:Wait()
  24. local humanoid = character:WaitForChild("Humanoid")
  25.  
  26. -- Animation IDs
  27. local firstAnimationId = "rbxassetid://94020267622363"
  28. local secondAnimationId = "rbxassetid://13497875049"
  29. local thirdAnimationId = "rbxassetid://12510170988"
  30.  
  31. -- Audio ID
  32. local blackFlashAudioId = "rbxassetid://17534790625"
  33.  
  34. -- Load animations
  35. local firstAnimation = Instance.new("Animation")
  36. firstAnimation.AnimationId = firstAnimationId
  37.  
  38. local secondAnimation = Instance.new("Animation")
  39. secondAnimation.AnimationId = secondAnimationId
  40.  
  41. local thirdAnimation = Instance.new("Animation")
  42. thirdAnimation.AnimationId = thirdAnimationId
  43.  
  44. local firstAnimationTrack = humanoid:LoadAnimation(firstAnimation)
  45. local secondAnimationTrack = humanoid:LoadAnimation(secondAnimation)
  46. local thirdAnimationTrack = humanoid:LoadAnimation(thirdAnimation)
  47.  
  48. -- Ensure this script is placed in a LocalScript under the character or StarterPlayerScripts.
  49.  
  50. local Players = game:GetService("Players")
  51. local player = Players.LocalPlayer
  52. local character = player.Character or player.CharacterAdded:Wait()
  53. local humanoid = character:WaitForChild("Humanoid")
  54.  
  55. -- Animation IDs
  56. local firstAnimationId = "rbxassetid://94020267622363"
  57. local secondAnimationId = "rbxassetid://13497875049"
  58. local thirdAnimationId = "rbxassetid://12510170988"
  59.  
  60. -- Audio ID
  61. local blackFlashAudioId = "rbxassetid://17534790625"
  62.  
  63. -- Load animations
  64. local firstAnimation = Instance.new("Animation")
  65. firstAnimation.AnimationId = firstAnimationId
  66.  
  67. local secondAnimation = Instance.new("Animation")
  68. secondAnimation.AnimationId = secondAnimationId
  69.  
  70. local thirdAnimation = Instance.new("Animation")
  71. thirdAnimation.AnimationId = thirdAnimationId
  72.  
  73. local firstAnimationTrack = humanoid:LoadAnimation(firstAnimation)
  74. local secondAnimationTrack = humanoid:LoadAnimation(secondAnimation)
  75. local thirdAnimationTrack = humanoid:LoadAnimation(thirdAnimation)
  76.  
  77. -- Black flash function
  78. local function playBlackFlash()
  79. local Test = game.ReplicatedStorage:FindFirstChild("Resources") and
  80. game.ReplicatedStorage.Resources:FindFirstChild("KJEffects") and
  81. game.ReplicatedStorage.Resources.KJEffects:FindFirstChild("KJWallCombo") and
  82. game.ReplicatedStorage.Resources.KJEffects.KJWallCombo:FindFirstChild("FinalImpact") and
  83. game.ReplicatedStorage.Resources.KJEffects.KJWallCombo.FinalImpact:FindFirstChild("Attachment")
  84.  
  85. if not Test then
  86. warn("Black flash asset not found.")
  87. return
  88. end
  89.  
  90. local test = Test:Clone()
  91. test.Parent = character:WaitForChild("HumanoidRootPart")
  92.  
  93. -- Play audio
  94. local sound = Instance.new("Sound")
  95. sound.SoundId = blackFlashAudioId
  96. sound.Volume = 1
  97. sound.Parent = character:WaitForChild("HumanoidRootPart")
  98. sound:Play()
  99.  
  100. for _, child in ipairs(test:GetChildren()) do
  101. if child:IsA("ParticleEmitter") then
  102. -- Adjust the particle emitter orientation to ensure it faces upwards
  103. child.Orientation = Vector3.new(90, 0, 0) -- Change the value to face upwards
  104. child:Emit(15)
  105. child.Enabled = true
  106. end
  107. end
  108.  
  109. -- Stop the effect and destroy the sound after 1 second
  110. task.wait(1)
  111. test:Destroy()
  112. sound:Destroy()
  113. end
  114.  
  115. -- Detect whenever the first animation starts playing
  116. humanoid.AnimationPlayed:Connect(function(animationTrack)
  117. if animationTrack.Animation.AnimationId == firstAnimationId then
  118. task.wait(0) -- Wait for 1 second
  119. secondAnimationTrack:Play()
  120. end
  121. end)
  122.  
  123. -- Detect whenever the second animation stops
  124. secondAnimationTrack.Stopped:Connect(function()
  125. task.wait(0.3) -- Wait for 1 second
  126. thirdAnimationTrack:Play()
  127.  
  128. -- Start the black flash function 1 second after third animation begins
  129. task.spawn(function()
  130. task.wait(0.6)
  131. playBlackFlash()
  132. end)
  133. end)
  134.  
  135.  
  136. --Move & Ultimate Names
  137.  
  138. local player = game.Players.LocalPlayer
  139.  
  140. local playerGui = player.PlayerGui
  141.  
  142. local hotbar = playerGui:FindFirstChild("Hotbar")
  143.  
  144. local backpack = hotbar:FindFirstChild("Backpack")
  145.  
  146. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  147.  
  148. local baseButton = hotbarFrame:FindFirstChild("1").Base
  149.  
  150. local ToolName = baseButton.ToolName
  151.  
  152.  
  153. ToolName.Text = "Idle Transfiguration"
  154.  
  155.  
  156. local player = game.Players.LocalPlayer
  157.  
  158. local playerGui = player.PlayerGui
  159.  
  160. local hotbar = playerGui:FindFirstChild("Hotbar")
  161.  
  162. local backpack = hotbar:FindFirstChild("Backpack")
  163.  
  164. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  165.  
  166. local baseButton = hotbarFrame:FindFirstChild("2").Base
  167.  
  168. local ToolName = baseButton.ToolName
  169.  
  170.  
  171. ToolName.Text = "Focus Strike"
  172.  
  173.  
  174. local player = game.Players.LocalPlayer
  175.  
  176. local playerGui = player.PlayerGui
  177.  
  178. local hotbar = playerGui:FindFirstChild("Hotbar")
  179.  
  180. local backpack = hotbar:FindFirstChild("Backpack")
  181.  
  182. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  183.  
  184. local baseButton = hotbarFrame:FindFirstChild("3").Base
  185.  
  186. local ToolName = baseButton.ToolName
  187.  
  188.  
  189. ToolName.Text = "Rushing Smash"
  190.  
  191.  
  192. local player = game.Players.LocalPlayer
  193.  
  194. local playerGui = player.PlayerGui
  195.  
  196. local hotbar = playerGui:FindFirstChild("Hotbar")
  197.  
  198. local backpack = hotbar:FindFirstChild("Backpack")
  199.  
  200. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  201.  
  202. local baseButton = hotbarFrame:FindFirstChild("4").Base
  203.  
  204. local ToolName = baseButton.ToolName
  205.  
  206.  
  207. ToolName.Text = "Hammer Fist"
  208.  
  209.  
  210. local Players = game:GetService("Players")
  211.  
  212. local player = Players.LocalPlayer
  213.  
  214. local playerGui = player:WaitForChild("PlayerGui")
  215.  
  216.  
  217. local function findGuiAndSetText()
  218.  
  219. local screenGui = playerGui:FindFirstChild("ScreenGui")
  220.  
  221. if screenGui then
  222.  
  223. local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
  224.  
  225. if magicHealthFrame then
  226.  
  227. local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
  228.  
  229. if textLabel then
  230.  
  231. textLabel.Text = "PERFECTION"
  232.  
  233. end
  234.  
  235. end
  236.  
  237. end
  238.  
  239. end
  240.  
  241.  
  242. playerGui.DescendantAdded:Connect(findGuiAndSetText)
  243.  
  244. findGuiAndSetText()
  245.  
  246. --[[Animations]]
  247.  
  248. --[[Move 1]]
  249.  
  250. local animationId = 17799224866
  251.  
  252.  
  253. local player = game.Players.LocalPlayer
  254.  
  255. local character = player.Character or player.CharacterAdded:Wait()
  256.  
  257. local humanoid = character:WaitForChild("Humanoid")
  258.  
  259.  
  260. local function onAnimationPlayed(animationTrack)
  261.  
  262. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  263.  
  264.  
  265. local p = game.Players.LocalPlayer
  266.  
  267. local Humanoid = p.Character:WaitForChild("Humanoid")
  268.  
  269.  
  270. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  271.  
  272. animTrack:Stop()
  273.  
  274. end
  275.  
  276.  
  277. local AnimAnim = Instance.new("Animation")
  278.  
  279. AnimAnim.AnimationId = "rbxassetid://93125757361125"
  280.  
  281. local Anim = Humanoid:LoadAnimation(AnimAnim)
  282.  
  283.  
  284. local startTime = 2
  285.  
  286.  
  287. Anim:Play()
  288.  
  289. Anim:AdjustSpeed(0.1)
  290.  
  291. Anim.TimePosition = startTime
  292.  
  293. Anim:AdjustSpeed(1.3)
  294.  
  295.  
  296. end
  297.  
  298. end
  299.  
  300. --[[END OF MOVE 1 ANIM]]
  301.  
  302. --[[Move 2]]
  303.  
  304.  
  305. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  306.  
  307.  
  308. local animationId = 17838006839
  309.  
  310.  
  311. local player = game.Players.LocalPlayer
  312.  
  313. local character = player.Character or player.CharacterAdded:Wait()
  314.  
  315. local humanoid = character:WaitForChild("Humanoid")
  316.  
  317.  
  318. local function onAnimationPlayed(animationTrack)
  319.  
  320. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  321.  
  322.  
  323. local p = game.Players.LocalPlayer
  324.  
  325. local Humanoid = p.Character:WaitForChild("Humanoid")
  326.  
  327.  
  328. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  329.  
  330. animTrack:Stop()
  331.  
  332. end
  333.  
  334.  
  335. local AnimAnim = Instance.new("Animation")
  336.  
  337. AnimAnim.AnimationId = "rbxassetid://140164642047188"
  338.  
  339. local Anim = Humanoid:LoadAnimation(AnimAnim)
  340.  
  341.  
  342. local startTime = 6.1
  343.  
  344.  
  345. Anim:Play()
  346.  
  347. Anim:AdjustSpeed(1)
  348.  
  349. Anim.TimePosition = startTime
  350.  
  351. Anim:AdjustSpeed(2.7)
  352.  
  353.  
  354. end
  355.  
  356. end
  357.  
  358. --[[END OF MOVE 2 ANIM]]
  359.  
  360. --[[Move 2 Second Use]]
  361.  
  362.  
  363. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  364.  
  365.  
  366. local animationId = 17838619895
  367.  
  368.  
  369. local player = game.Players.LocalPlayer
  370.  
  371. local character = player.Character or player.CharacterAdded:Wait()
  372.  
  373. local humanoid = character:WaitForChild("Humanoid")
  374.  
  375.  
  376. local function onAnimationPlayed(animationTrack)
  377.  
  378. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  379.  
  380.  
  381. local p = game.Players.LocalPlayer
  382.  
  383. local Humanoid = p.Character:WaitForChild("Humanoid")
  384.  
  385.  
  386. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  387.  
  388. animTrack:Stop()
  389.  
  390. end
  391.  
  392.  
  393. local AnimAnim = Instance.new("Animation")
  394.  
  395. AnimAnim.AnimationId = "rbxassetid://79761806706382"
  396.  
  397. local Anim = Humanoid:LoadAnimation(AnimAnim)
  398.  
  399.  
  400. local startTime = 1
  401.  
  402.  
  403. Anim:Play()
  404.  
  405. Anim:AdjustSpeed(1)
  406.  
  407. Anim.TimePosition = startTime
  408.  
  409. Anim:AdjustSpeed(2)
  410.  
  411.  
  412. end
  413.  
  414. end
  415.  
  416. --[[END OF MOVE 2 SECOND USE ANIM]]
  417.  
  418. --[[Move 3]]
  419.  
  420.  
  421. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  422.  
  423.  
  424. local animationId = 17857788598
  425.  
  426.  
  427. local player = game.Players.LocalPlayer
  428.  
  429. local character = player.Character or player.CharacterAdded:Wait()
  430.  
  431. local humanoid = character:WaitForChild("Humanoid")
  432.  
  433.  
  434. local function onAnimationPlayed(animationTrack)
  435.  
  436. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  437.  
  438.  
  439. local p = game.Players.LocalPlayer
  440.  
  441. local Humanoid = p.Character:WaitForChild("Humanoid")
  442.  
  443.  
  444. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  445.  
  446. animTrack:Stop()
  447.  
  448. end
  449.  
  450.  
  451. local AnimAnim = Instance.new("Animation")
  452.  
  453. AnimAnim.AnimationId = "rbxassetid://14701242661"
  454.  
  455. local Anim = Humanoid:LoadAnimation(AnimAnim)
  456.  
  457.  
  458. local startTime = 8.1
  459.  
  460.  
  461. Anim:Play()
  462.  
  463. Anim:AdjustSpeed(0)
  464.  
  465. Anim.TimePosition = startTime
  466.  
  467. Anim:AdjustSpeed(2)
  468.  
  469.  
  470. delay(0.75, function()
  471.  
  472. Anim:Stop()
  473.  
  474. end)
  475.  
  476.  
  477. end
  478.  
  479. end
  480.  
  481. --[[END OF MOVE 3 ANIM]]
  482.  
  483. --[[Move 4]]
  484.  
  485.  
  486. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  487.  
  488.  
  489. local animationId = 18179181663
  490.  
  491.  
  492. local player = game.Players.LocalPlayer
  493.  
  494. local character = player.Character or player.CharacterAdded:Wait()
  495.  
  496. local humanoid = character:WaitForChild("Humanoid")
  497.  
  498.  
  499. local function onAnimationPlayed(animationTrack)
  500.  
  501. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  502.  
  503. local p = game.Players.LocalPlayer
  504.  
  505. local Humanoid = p.Character:WaitForChild("Humanoid")
  506.  
  507.  
  508. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  509.  
  510. animTrack:Stop()
  511.  
  512. end
  513.  
  514.  
  515. local AnimAnim = Instance.new("Animation")
  516.  
  517. AnimAnim.AnimationId = "rbxassetid://14900168720"
  518.  
  519. local Anim = Humanoid:LoadAnimation(AnimAnim)
  520.  
  521.  
  522. local startTime = 1.4
  523.  
  524.  
  525. Anim:Play()
  526.  
  527. Anim:AdjustSpeed(0)
  528.  
  529. Anim.TimePosition = startTime
  530.  
  531. Anim:AdjustSpeed(1)
  532.  
  533.  
  534. delay(1.5, function()
  535.  
  536. Anim:Stop()
  537.  
  538. end)
  539.  
  540.  
  541. end
  542.  
  543. end
  544.  
  545. --[[END OF MOVE 4 ANIM]]
  546.  
  547. --[[Move 4 hit]]
  548.  
  549.  
  550. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  551.  
  552.  
  553. local animationId = 18182425133
  554.  
  555.  
  556. local player = game.Players.LocalPlayer
  557.  
  558. local character = player.Character or player.CharacterAdded:Wait()
  559.  
  560. local humanoid = character:WaitForChild("Humanoid")
  561.  
  562.  
  563. local function onAnimationPlayed(animationTrack)
  564.  
  565. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  566.  
  567. local p = game.Players.LocalPlayer
  568.  
  569. local Humanoid = p.Character:WaitForChild("Humanoid")
  570.  
  571.  
  572. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  573.  
  574. animTrack:Stop()
  575.  
  576. end
  577.  
  578.  
  579. local AnimAnim = Instance.new("Animation")
  580.  
  581. AnimAnim.AnimationId = "rbxassetid://94020267622363"
  582.  
  583. local Anim = Humanoid:LoadAnimation(AnimAnim)
  584.  
  585.  
  586. local startTime = 2
  587.  
  588.  
  589. Anim:Play()
  590.  
  591. Anim:AdjustSpeed(0)
  592.  
  593. Anim.TimePosition = startTime
  594.  
  595. Anim:AdjustSpeed(1.5)
  596.  
  597.  
  598. delay(1.2, function()
  599.  
  600. Anim:Stop()
  601.  
  602. end)
  603.  
  604.  
  605. end
  606.  
  607. end
  608.  
  609. --[[END OF MOVE 4 HIT ANIM]]
  610.  
  611. --[[Wall combo]]
  612.  
  613. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  614.  
  615. local animationId = 15955393872
  616.  
  617.  
  618. local player = game.Players.LocalPlayer
  619.  
  620. local character = player.Character or player.CharacterAdded:Wait()
  621.  
  622. local humanoid = character:WaitForChild("Humanoid")
  623.  
  624.  
  625. local function onAnimationPlayed(animationTrack)
  626.  
  627. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  628.  
  629. local p = game.Players.LocalPlayer
  630.  
  631. local Humanoid = p.Character:WaitForChild("Humanoid")
  632.  
  633.  
  634. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  635.  
  636. animTrack:Stop()
  637.  
  638. end
  639.  
  640.  
  641. local AnimAnim = Instance.new("Animation")
  642.  
  643. AnimAnim.AnimationId = "rbxassetid://131492147325921"
  644.  
  645. local Anim = Humanoid:LoadAnimation(AnimAnim)
  646.  
  647.  
  648. local startTime = 0
  649.  
  650.  
  651. Anim:Play()
  652.  
  653. Anim:AdjustSpeed(0)
  654.  
  655. Anim.TimePosition = startTime
  656.  
  657. Anim:AdjustSpeed(0.75)
  658.  
  659.  
  660. end
  661.  
  662. end
  663.  
  664. --[[END OF WALL COMBO ANIM]]
  665.  
  666. --[[Ult Activation]]
  667.  
  668. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  669.  
  670.  
  671. local animationId = 18435383478
  672.  
  673.  
  674. local player = game.Players.LocalPlayer
  675.  
  676. local character = player.Character or player.CharacterAdded:Wait()
  677.  
  678. local humanoid = character:WaitForChild("Humanoid")
  679.  
  680.  
  681. local function onAnimationPlayed(animationTrack)
  682.  
  683. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  684.  
  685. local p = game.Players.LocalPlayer
  686.  
  687. local Humanoid = p.Character:WaitForChild("Humanoid")
  688.  
  689.  
  690. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  691.  
  692. animTrack:Stop()
  693.  
  694. end
  695.  
  696.  
  697. local AnimAnim = Instance.new("Animation")
  698.  
  699. AnimAnim.AnimationId = "rbxassetid://106128760138039"
  700.  
  701. local Anim = Humanoid:LoadAnimation(AnimAnim)
  702.  
  703.  
  704. local startTime = 0
  705.  
  706.  
  707. Anim:Play()
  708.  
  709. Anim:AdjustSpeed(0)
  710.  
  711. Anim.TimePosition = startTime
  712.  
  713. Anim:AdjustSpeed(1)
  714.  
  715. end
  716.  
  717. end
  718. --[[END OF ULT ACTIVATION ANIM]]
  719.  
  720. --[[Dash]]
  721.  
  722. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  723.  
  724.  
  725. local animationId = 10479335397
  726.  
  727.  
  728. local player = game.Players.LocalPlayer
  729.  
  730. local character = player.Character or player.CharacterAdded:Wait()
  731.  
  732. local humanoid = character:WaitForChild("Humanoid")
  733.  
  734.  
  735. local function onAnimationPlayed(animationTrack)
  736.  
  737. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  738.  
  739. local p = game.Players.LocalPlayer
  740.  
  741. local Humanoid = p.Character:WaitForChild("Humanoid")
  742.  
  743.  
  744. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  745.  
  746. animTrack:Stop()
  747.  
  748. end
  749.  
  750.  
  751. local AnimAnim = Instance.new("Animation")
  752.  
  753. AnimAnim.AnimationId = "rbxassetid://112620365240235"
  754.  
  755. local Anim = Humanoid:LoadAnimation(AnimAnim)
  756.  
  757.  
  758. local startTime = 0.7
  759.  
  760.  
  761. Anim:Play()
  762.  
  763. Anim:AdjustSpeed(0)
  764.  
  765. Anim.TimePosition = startTime
  766.  
  767. Anim:AdjustSpeed(0.8)
  768.  
  769.  
  770. delay(0.8, function()
  771.  
  772. Anim:Stop()
  773.  
  774. end)
  775.  
  776.  
  777. end
  778.  
  779. end
  780.  
  781. --[[END OF DASH ANIM]]
  782.  
  783. --[[Uppercut]]
  784. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  785.  
  786.  
  787. local animationId = 10503381238
  788.  
  789.  
  790. local player = game.Players.LocalPlayer
  791.  
  792. local character = player.Character or player.CharacterAdded:Wait()
  793.  
  794. local humanoid = character:WaitForChild("Humanoid")
  795.  
  796.  
  797. local function onAnimationPlayed(animationTrack)
  798.  
  799. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  800.  
  801. local p = game.Players.LocalPlayer
  802.  
  803. local Humanoid = p.Character:WaitForChild("Humanoid")
  804.  
  805.  
  806. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  807.  
  808. animTrack:Stop()
  809.  
  810. end
  811.  
  812.  
  813. local AnimAnim = Instance.new("Animation")
  814.  
  815. AnimAnim.AnimationId = "rbxassetid://15436465829"
  816.  
  817. local Anim = Humanoid:LoadAnimation(AnimAnim)
  818.  
  819.  
  820. local startTime = 0
  821.  
  822.  
  823. Anim:Play()
  824.  
  825. Anim:AdjustSpeed(0)
  826.  
  827. Anim.TimePosition = startTime
  828.  
  829. Anim:AdjustSpeed(0.7)
  830.  
  831.  
  832. delay(0.7, function()
  833.  
  834. Anim:Stop()
  835.  
  836. end)
  837.  
  838.  
  839. end
  840.  
  841. end
  842.  
  843. --[[END OF UPPERCUT ANIM]]
  844.  
  845. --[[Downslam]]
  846.  
  847. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  848.  
  849.  
  850. local animationId = 10470104242
  851.  
  852.  
  853. local player = game.Players.LocalPlayer
  854.  
  855. local character = player.Character or player.CharacterAdded:Wait()
  856.  
  857. local humanoid = character:WaitForChild("Humanoid")
  858.  
  859.  
  860. local function onAnimationPlayed(animationTrack)
  861.  
  862. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  863.  
  864. local p = game.Players.LocalPlayer
  865.  
  866. local Humanoid = p.Character:WaitForChild("Humanoid")
  867.  
  868.  
  869. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  870.  
  871. animTrack:Stop()
  872.  
  873. end
  874.  
  875.  
  876. local AnimAnim = Instance.new("Animation")
  877.  
  878. AnimAnim.AnimationId = "rbxassetid://13294790250"
  879.  
  880. local Anim = Humanoid:LoadAnimation(AnimAnim)
  881.  
  882.  
  883. local startTime = 0.5
  884.  
  885.  
  886. wait(0.2)
  887.  
  888. Anim:Play()
  889.  
  890. Anim:AdjustSpeed(0)
  891.  
  892. Anim.TimePosition = startTime
  893.  
  894. Anim:AdjustSpeed(2)
  895.  
  896.  
  897. end
  898.  
  899. end
  900.  
  901. --[[END OF DOWNSLAM ANIM]]
  902.  
  903. --[[Punch anims]]
  904.  
  905. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  906.  
  907.  
  908. local Players = game:GetService("Players")
  909.  
  910. local player = Players.LocalPlayer
  911.  
  912. local character = player.Character or player.CharacterAdded:Wait()
  913.  
  914. local humanoid = character:WaitForChild("Humanoid")
  915.  
  916.  
  917. local animationIdsToStop = {
  918.  
  919. [17859015788] = true, --downslam finisher
  920.  
  921. [10469493270] = true, --punch1
  922.  
  923. [10469630950] = true, --punch2
  924.  
  925. [10469639222] = true, --punch3
  926.  
  927. [10469643643] = true, --punch4
  928.  
  929. }
  930.  
  931.  
  932. local replacementAnimations = {
  933.  
  934. ["10469493270"] = "rbxassetid://17889458563", --punch1
  935.  
  936. ["10469630950"] = "rbxassetid://17889461810", --punch2
  937.  
  938. ["10469639222"] = "rbxassetid://17889471098", --punch3
  939.  
  940. ["10469643643"] = "rbxassetid://17889290569", --punch4
  941.  
  942. ["17859015788"] = "rbxassetid://12684185971", --downslam finisher
  943.  
  944. ["11365563255"] = "rbxassetid://14516273501" --punch idk
  945.  
  946. }
  947.  
  948.  
  949. local queue = {}
  950.  
  951. local isAnimating = false
  952.  
  953.  
  954. local function playReplacementAnimation(animationId)
  955.  
  956. if isAnimating then
  957.  
  958. table.insert(queue, animationId)
  959.  
  960. return
  961.  
  962. end
  963.  
  964.  
  965.  
  966. isAnimating = true
  967.  
  968. local replacementAnimationId = replacementAnimations[tostring(animationId)]
  969.  
  970. if replacementAnimationId then
  971.  
  972. local AnimAnim = Instance.new("Animation")
  973.  
  974. AnimAnim.AnimationId = replacementAnimationId
  975.  
  976. local Anim = humanoid:LoadAnimation(AnimAnim)
  977.  
  978. Anim:Play()
  979.  
  980.  
  981.  
  982. Anim.Stopped:Connect(function()
  983.  
  984. isAnimating = false
  985.  
  986. if #queue > 0 then
  987.  
  988. local nextAnimationId = table.remove(queue, 1)
  989.  
  990. playReplacementAnimation(nextAnimationId)
  991.  
  992. end
  993.  
  994. end)
  995.  
  996. else
  997.  
  998. isAnimating = false
  999.  
  1000. end
  1001.  
  1002. end
  1003.  
  1004.  
  1005. local function stopSpecificAnimations()
  1006.  
  1007. for _, track in ipairs(humanoid:GetPlayingAnimationTracks()) do
  1008.  
  1009. local animationId = tonumber(track.Animation.AnimationId:match("%d+"))
  1010.  
  1011. if animationIdsToStop[animationId] then
  1012.  
  1013. track:Stop()
  1014.  
  1015. end
  1016.  
  1017. end
  1018.  
  1019. end
  1020.  
  1021.  
  1022. local function onAnimationPlayed(animationTrack)
  1023.  
  1024. local animationId = tonumber(animationTrack.Animation.AnimationId:match("%d+"))
  1025.  
  1026. if animationIdsToStop[animationId] then
  1027.  
  1028. stopSpecificAnimations()
  1029.  
  1030. animationTrack:Stop()
  1031.  
  1032.  
  1033.  
  1034. local replacementAnimationId = replacementAnimations[tostring(animationId)]
  1035.  
  1036. if replacementAnimationId then
  1037.  
  1038. playReplacementAnimation(animationId)
  1039.  
  1040. end
  1041.  
  1042. end
  1043.  
  1044. end
  1045.  
  1046.  
  1047. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1048.  
  1049.  
  1050. local player = game.Players.LocalPlayer
  1051.  
  1052. local character = player.Character or player.CharacterAdded:Wait()
  1053.  
  1054. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  1055.  
  1056.  
  1057. local function onBodyVelocityAdded(bodyVelocity)
  1058.  
  1059. if bodyVelocity:IsA("BodyVelocity") then
  1060.  
  1061. bodyVelocity.Velocity = Vector3.new(bodyVelocity.Velocity.X, 0, bodyVelocity.Velocity.Z)
  1062.  
  1063. end
  1064.  
  1065. end
  1066.  
  1067.  
  1068. character.DescendantAdded:Connect(onBodyVelocityAdded)
  1069.  
  1070.  
  1071. for _, descendant in pairs(character:GetDescendants()) do
  1072.  
  1073. onBodyVelocityAdded(descendant)
  1074.  
  1075. end
  1076.  
  1077.  
  1078. player.CharacterAdded:Connect(function(newCharacter)
  1079.  
  1080. character = newCharacter
  1081.  
  1082. humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  1083.  
  1084. character.DescendantAdded:Connect(onBodyVelocityAdded)
  1085.  
  1086.  
  1087.  
  1088. for _, descendant in pairs(character:GetDescendants()) do
  1089.  
  1090. onBodyVelocityAdded(descendant)
  1091.  
  1092. end
  1093.  
  1094. end)
  1095.  
  1096. --[[Move 1]]
  1097.  
  1098. local animationId = 129651400898906
  1099.  
  1100.  
  1101. local player = game.Players.LocalPlayer
  1102.  
  1103. local character = player.Character or player.CharacterAdded:Wait()
  1104.  
  1105. local humanoid = character:WaitForChild("Humanoid")
  1106.  
  1107.  
  1108. local function onAnimationPlayed(animationTrack)
  1109.  
  1110. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1111.  
  1112.  
  1113. local p = game.Players.LocalPlayer
  1114.  
  1115. local Humanoid = p.Character:WaitForChild("Humanoid")
  1116.  
  1117.  
  1118. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1119.  
  1120. animTrack:Stop()
  1121.  
  1122. end
  1123.  
  1124.  
  1125. local AnimAnim = Instance.new("Animation")
  1126.  
  1127. AnimAnim.AnimationId = "rbxassetid://100558589307006"
  1128.  
  1129. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1130.  
  1131.  
  1132. local startTime = 0
  1133.  
  1134.  
  1135. Anim:Play()
  1136.  
  1137. Anim:AdjustSpeed(0.1)
  1138.  
  1139. Anim.TimePosition = startTime
  1140.  
  1141. Anim:AdjustSpeed(0.9)
  1142.  
  1143.  
  1144. end
  1145.  
  1146. end
  1147.  
  1148. --[[END OF MOVE 1 ANIM]]
  1149.  
  1150. --[[Move 2]]
  1151.  
  1152.  
  1153. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1154.  
  1155.  
  1156. local animationId = 18896229321
  1157.  
  1158.  
  1159. local player = game.Players.LocalPlayer
  1160.  
  1161. local character = player.Character or player.CharacterAdded:Wait()
  1162.  
  1163. local humanoid = character:WaitForChild("Humanoid")
  1164.  
  1165.  
  1166. local function onAnimationPlayed(animationTrack)
  1167.  
  1168. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1169.  
  1170.  
  1171. local p = game.Players.LocalPlayer
  1172.  
  1173. local Humanoid = p.Character:WaitForChild("Humanoid")
  1174.  
  1175.  
  1176. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1177.  
  1178. animTrack:Stop()
  1179.  
  1180. end
  1181.  
  1182.  
  1183. local AnimAnim = Instance.new("Animation")
  1184.  
  1185. AnimAnim.AnimationId = "rbxassetid://76530443909428"
  1186.  
  1187. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1188.  
  1189.  
  1190. local startTime = 0
  1191.  
  1192.  
  1193. Anim:Play()
  1194.  
  1195. Anim:AdjustSpeed(1)
  1196.  
  1197. Anim.TimePosition = startTime
  1198.  
  1199. Anim:AdjustSpeed(1.5)
  1200.  
  1201.  
  1202. delay(4, function()
  1203.  
  1204. Anim:Stop()
  1205.  
  1206. end)
  1207.  
  1208.  
  1209. end
  1210.  
  1211. end
  1212.  
  1213. --[[END OF MOVE 2 ANIM]]
  1214.  
  1215. --[[Move 2 miss]]
  1216.  
  1217.  
  1218. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1219.  
  1220.  
  1221. local animationId = 18896232119
  1222.  
  1223.  
  1224. local player = game.Players.LocalPlayer
  1225.  
  1226. local character = player.Character or player.CharacterAdded:Wait()
  1227.  
  1228. local humanoid = character:WaitForChild("Humanoid")
  1229.  
  1230.  
  1231. local function onAnimationPlayed(animationTrack)
  1232.  
  1233. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1234.  
  1235.  
  1236. local p = game.Players.LocalPlayer
  1237.  
  1238. local Humanoid = p.Character:WaitForChild("Humanoid")
  1239.  
  1240.  
  1241. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1242.  
  1243. animTrack:Stop()
  1244.  
  1245. end
  1246.  
  1247.  
  1248. local AnimAnim = Instance.new("Animation")
  1249.  
  1250. AnimAnim.AnimationId = "rbxassetid://82694531595019"
  1251.  
  1252. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1253.  
  1254.  
  1255. local startTime = 0.5
  1256.  
  1257.  
  1258. Anim:Play()
  1259.  
  1260. Anim:AdjustSpeed(1)
  1261.  
  1262. Anim.TimePosition = startTime
  1263.  
  1264. Anim:AdjustSpeed(1.5)
  1265.  
  1266.  
  1267. delay(3, function()
  1268.  
  1269. Anim:Stop()
  1270.  
  1271. end)
  1272.  
  1273.  
  1274. end
  1275.  
  1276. end
  1277.  
  1278. --[[END OF MOVE 2 MISS ANIM]]
  1279.  
  1280. --[[Move 3]]
  1281.  
  1282.  
  1283. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1284.  
  1285.  
  1286. local animationId = 18897119503
  1287.  
  1288.  
  1289. local player = game.Players.LocalPlayer
  1290.  
  1291. local character = player.Character or player.CharacterAdded:Wait()
  1292.  
  1293. local humanoid = character:WaitForChild("Humanoid")
  1294.  
  1295.  
  1296. local function onAnimationPlayed(animationTrack)
  1297.  
  1298. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1299.  
  1300.  
  1301. local p = game.Players.LocalPlayer
  1302.  
  1303. local Humanoid = p.Character:WaitForChild("Humanoid")
  1304.  
  1305.  
  1306. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1307.  
  1308. animTrack:Stop()
  1309.  
  1310. end
  1311.  
  1312.  
  1313. local AnimAnim = Instance.new("Animation")
  1314.  
  1315. AnimAnim.AnimationId = "rbxassetid://16746824621"
  1316.  
  1317. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1318.  
  1319.  
  1320. local startTime = 0
  1321.  
  1322.  
  1323. Anim:Play()
  1324.  
  1325. Anim:AdjustSpeed(1)
  1326.  
  1327. Anim.TimePosition = startTime
  1328.  
  1329. Anim:AdjustSpeed(4)
  1330.  
  1331.  
  1332. end
  1333.  
  1334. end
  1335.  
  1336. --[[END OF MOVE 3 ANIM]]
  1337.  
  1338. --[[Move 3 run]]
  1339.  
  1340.  
  1341. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1342.  
  1343.  
  1344. local animationId = 18897115785
  1345.  
  1346.  
  1347. local player = game.Players.LocalPlayer
  1348.  
  1349. local character = player.Character or player.CharacterAdded:Wait()
  1350.  
  1351. local humanoid = character:WaitForChild("Humanoid")
  1352.  
  1353.  
  1354. local function onAnimationPlayed(animationTrack)
  1355.  
  1356. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1357.  
  1358.  
  1359. local p = game.Players.LocalPlayer
  1360.  
  1361. local Humanoid = p.Character:WaitForChild("Humanoid")
  1362.  
  1363.  
  1364. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1365.  
  1366. animTrack:Stop()
  1367.  
  1368. end
  1369.  
  1370.  
  1371. local AnimAnim = Instance.new("Animation")
  1372.  
  1373. AnimAnim.AnimationId = "rbxassetid://18897700236"
  1374.  
  1375. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1376.  
  1377.  
  1378. local startTime = 0
  1379.  
  1380.  
  1381. Anim:Play()
  1382.  
  1383. Anim:AdjustSpeed(1)
  1384.  
  1385. Anim.TimePosition = startTime
  1386.  
  1387. Anim:AdjustSpeed(1)
  1388.  
  1389.  
  1390. delay(2, function()
  1391.  
  1392. Anim:Stop()
  1393.  
  1394. end)
  1395.  
  1396.  
  1397. end
  1398.  
  1399. end
  1400.  
  1401. --[[END OF MOVE 3 RUN ANIM]]
  1402.  
  1403. --[[Move 3 punch]]
  1404.  
  1405.  
  1406. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1407.  
  1408.  
  1409. local animationId = 18897118507
  1410.  
  1411.  
  1412. local player = game.Players.LocalPlayer
  1413.  
  1414. local character = player.Character or player.CharacterAdded:Wait()
  1415.  
  1416. local humanoid = character:WaitForChild("Humanoid")
  1417.  
  1418.  
  1419. local function onAnimationPlayed(animationTrack)
  1420.  
  1421. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1422.  
  1423.  
  1424. local p = game.Players.LocalPlayer
  1425.  
  1426. local Humanoid = p.Character:WaitForChild("Humanoid")
  1427.  
  1428.  
  1429. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1430.  
  1431. animTrack:Stop()
  1432.  
  1433. end
  1434.  
  1435.  
  1436. local AnimAnim = Instance.new("Animation")
  1437.  
  1438. AnimAnim.AnimationId = "rbxassetid://105811521074269"
  1439.  
  1440. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1441.  
  1442.  
  1443. local startTime = 1
  1444.  
  1445.  
  1446. Anim:Play()
  1447.  
  1448. Anim:AdjustSpeed(1)
  1449.  
  1450. Anim.TimePosition = startTime
  1451.  
  1452. Anim:AdjustSpeed(0.6)
  1453.  
  1454.  
  1455. delay(2, function()
  1456.  
  1457. Anim:Stop()
  1458.  
  1459. end)
  1460.  
  1461.  
  1462. end
  1463.  
  1464. end
  1465.  
  1466. --[[END OF MOVE 3 PUNCH ANIM]]
  1467.  
  1468. --[[Move 4]]
  1469.  
  1470.  
  1471. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  1472.  
  1473.  
  1474. local animationId = 106755459092436
  1475.  
  1476.  
  1477. local player = game.Players.LocalPlayer
  1478.  
  1479. local character = player.Character or player.CharacterAdded:Wait()
  1480.  
  1481. local humanoid = character:WaitForChild("Humanoid")
  1482.  
  1483.  
  1484. local function onAnimationPlayed(animationTrack)
  1485.  
  1486. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  1487.  
  1488. local p = game.Players.LocalPlayer
  1489.  
  1490. local Humanoid = p.Character:WaitForChild("Humanoid")
  1491.  
  1492.  
  1493. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1494.  
  1495. animTrack:Stop()
  1496.  
  1497. end
  1498.  
  1499.  
  1500. local AnimAnim = Instance.new("Animation")
  1501.  
  1502. AnimAnim.AnimationId = "rbxassetid://113876851900426"
  1503.  
  1504. local Anim = Humanoid:LoadAnimation(AnimAnim)
  1505.  
  1506.  
  1507. local startTime = 0
  1508.  
  1509.  
  1510. Anim:Play()
  1511.  
  1512. Anim:AdjustSpeed(0)
  1513.  
  1514. Anim.TimePosition = startTime
  1515.  
  1516. Anim:AdjustSpeed(1)
  1517.  
  1518.  
  1519. end
  1520.  
  1521. end
  1522.  
  1523. --[[END OF MOVE 4 ANIM]]
  1524.  
  1525. -- Animation IDs
  1526. local firstAnimationID = "rbxassetid://76530443909428"
  1527. local secondAnimationID = "rbxassetid://105811521074269"
  1528. local cancelAnimationID = "rbxassetid://95000469063288"
  1529.  
  1530. -- Create the Animation objects
  1531. local firstAnimation = Instance.new("Animation")
  1532. firstAnimation.AnimationId = firstAnimationID
  1533.  
  1534. local secondAnimation = Instance.new("Animation")
  1535. secondAnimation.AnimationId = secondAnimationID
  1536.  
  1537. local cancelAnimation = Instance.new("Animation")
  1538. cancelAnimation.AnimationId = cancelAnimationID
  1539.  
  1540. -- Assuming the player is the one running the animation (you can adjust this for other characters if needed)
  1541. local player = game.Players.LocalPlayer
  1542. local character = player.Character or player.CharacterAdded:Wait()
  1543. local humanoid = character:WaitForChild("Humanoid")
  1544.  
  1545. -- Variables to keep track of animations
  1546. local firstAnimTrack = nil
  1547. local secondAnimTrack = nil
  1548. local cancelAnimTrack = nil
  1549. local cancelTriggered = false -- To track if cancel animation has already interrupted
  1550.  
  1551. -- Function to play the second animation after the first ends
  1552. local function playSecondAnimation()
  1553. -- Stop the second animation if it's already playing
  1554. if secondAnimTrack and secondAnimTrack.IsPlaying then
  1555. secondAnimTrack:Stop()
  1556. end
  1557.  
  1558. -- Play the second animation
  1559. secondAnimTrack = humanoid:LoadAnimation(secondAnimation)
  1560. secondAnimTrack:Play()
  1561. end
  1562.  
  1563. -- Function to detect if the first animation is playing
  1564. local function detectFirstAnimation()
  1565. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1566. if track.Animation.AnimationId == firstAnimationID then
  1567. -- First animation detected, start tracking it
  1568. if not firstAnimTrack or not firstAnimTrack.IsPlaying then
  1569. firstAnimTrack = track
  1570. track.Stopped:Connect(function()
  1571. -- When the first animation stops, play the second animation again
  1572. playSecondAnimation()
  1573. end)
  1574. end
  1575. break
  1576. end
  1577. end
  1578. end
  1579.  
  1580. -- Function to monitor cancel animation (only cancels once)
  1581. local function detectCancelAnimation()
  1582. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1583. if track.Animation.AnimationId == cancelAnimationID then
  1584. -- If cancel animation is playing and it hasn't triggered yet
  1585. if not cancelTriggered then
  1586. cancelTriggered = true -- Mark cancel as triggered
  1587. -- Stop the second animation if it's playing
  1588. if secondAnimTrack and secondAnimTrack.IsPlaying then
  1589. secondAnimTrack:Stop()
  1590. end
  1591. end
  1592. break
  1593. end
  1594. end
  1595. end
  1596.  
  1597. -- Run detection continuously
  1598. game:GetService("RunService").Heartbeat:Connect(function()
  1599. -- Continuously detect the first animation
  1600. detectFirstAnimation()
  1601.  
  1602. -- Continuously check if the cancel animation is playing
  1603. detectCancelAnimation()
  1604.  
  1605. -- Reset cancelTriggered flag if no cancel animation is playing
  1606. local cancelPlaying = false
  1607. for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1608. if track.Animation.AnimationId == cancelAnimationID then
  1609. cancelPlaying = true
  1610. break
  1611. end
  1612. end
  1613.  
  1614. -- Reset the cancelTriggered flag if the cancel animation is no longer playing
  1615. if not cancelPlaying then
  1616. cancelTriggered = false
  1617. end
  1618. end)
  1619.  
  1620. local OriginalName1_1 = "Bullet Barrage"
  1621. local OriginalName2_1 = "Vanishing Kick"
  1622. local OriginalName3_1 = "Whirlwind Drop"
  1623. local OriginalName4_1 = "Head First"
  1624.  
  1625. local BaseMovesetName1 = "Idle Transfiguration"
  1626. local BaseMovesetName2 = "Focus Strike"
  1627. local BaseMovesetName3 = "Rushing Smash"
  1628. local BaseMovesetName4 = "Hammer Fist"
  1629.  
  1630. local OriginalName1_2 = "Grand Fissure"
  1631. local OriginalName2_2 = "Twin Fangs"
  1632. local OriginalName3_2 = "Earth Splitting Strike"
  1633. local OriginalName4_2 = "Last Breath"
  1634.  
  1635. local UltMovesetName1 = "Body Repel"
  1636. local UltMovesetName2 = "Widespread Strikes"
  1637. local UltMovesetName3 = "Black Flash"
  1638. local UltMovesetName4 = "Instant Spirit Fist of Eradication"
  1639.  
  1640. -- don't change
  1641. local player = game.Players.LocalPlayer
  1642. local playerGui = player.PlayerGui
  1643. local character = player.Character or player.CharacterAdded:Wait() -- Get character
  1644.  
  1645. local toolNamesToReplace = {
  1646. ["1"] = {
  1647. {original = OriginalName1_1, new = BaseMovesetName1},
  1648. {original = OriginalName1_2, new = UltMovesetName1}
  1649. },
  1650. ["2"] = {
  1651. {original = OriginalName2_1, new = BaseMovesetName2},
  1652. {original = OriginalName2_2, new = UltMovesetName2}
  1653. },
  1654. ["3"] = {
  1655. {original = OriginalName3_1, new = BaseMovesetName3},
  1656. {original = OriginalName3_2, new = UltMovesetName3}
  1657. },
  1658. ["4"] = {
  1659. {original = OriginalName4_1, new = BaseMovesetName4},
  1660. {original = OriginalName4_2, new = UltMovesetName4}
  1661. }
  1662. }
  1663.  
  1664. local function checkAndReplaceToolName()
  1665. while character.Humanoid.Health > 0 do
  1666. local hotbar = playerGui:FindFirstChild("Hotbar")
  1667. if hotbar then
  1668. local backpack = hotbar:FindFirstChild("Backpack")
  1669. if backpack then
  1670. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  1671. if hotbarFrame then
  1672. for buttonName, toolDataList in pairs(toolNamesToReplace) do
  1673. for _, toolData in ipairs(toolDataList) do
  1674. local baseButton = hotbarFrame:FindFirstChild(buttonName) and hotbarFrame[buttonName]:FindFirstChild("Base")
  1675. if baseButton then
  1676. local toolName = baseButton:FindFirstChild("ToolName")
  1677. if toolName and toolName.Text == toolData.original then
  1678. toolName.Text = toolData.new
  1679. end
  1680. end
  1681. end
  1682. end
  1683. end
  1684. end
  1685. end
  1686. wait()
  1687. end
  1688. end
  1689.  
  1690. checkAndReplaceToolName()
  1691.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement