Advertisement
Minionsarethebest

aaa

Feb 12th, 2025 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local player = Players.LocalPlayer
  3. local character = player.Character or player.CharacterAdded:Wait()
  4. local humanoid = character:WaitForChild("Humanoid")
  5.  
  6. local playerGui = player:WaitForChild("PlayerGui")
  7. local hotbar = playerGui:FindFirstChild("Hotbar")
  8. local backpack = hotbar:FindFirstChild("Backpack")
  9. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  10.  
  11. local buttonData = {
  12. {name = "1", text = "Black Flash", font = Enum.Font.Arcade},
  13. {name = "2", text = "Consecutive Hits", font = Enum.Font.Arcade},
  14. {name = "3", text = "Divergence!", font = Enum.Font.Arcade},
  15. {name = "4", text = "Grand Smash", font = Enum.Font.Arcade},
  16. }
  17.  
  18. for _, data in pairs(buttonData) do
  19. local baseButton = hotbarFrame:FindFirstChild(data.name).Base
  20. local ToolName = baseButton.ToolName
  21. ToolName.Text = data.text
  22. ToolName.Font = data.font
  23. end
  24.  
  25. local function waitForGui()
  26. while true do
  27. local screenGui = playerGui:FindFirstChild("ScreenGui")
  28. if screenGui then
  29. local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
  30. if magicHealthFrame then
  31. local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
  32. if textLabel then
  33. textLabel.Text = "ENRAGED!" -- //ULT NAME\\
  34. textLabel.Font = Enum.Font.Arcade --//TEXT ULT FONT 🅰️\\
  35. return
  36. end
  37. end
  38. end
  39. wait(1)
  40. end
  41. end
  42.  
  43. waitForGui()
  44.  
  45. local replacementAnimations = {
  46. ["10468665991"] = {id = "rbxassetid://18716884610", startTime = 7, speed = 1},
  47. ["10466974800"] = {id = "rbxassetid://18897695481", startTime = 0, speed = 2},
  48. ["10471336737"] = {id = "rbxassetid://18716470698", startTime = 3, speed = 1},
  49. ["12510170988"] = {id = "rbxassetid://129651400898906", startTime = 0, speed = 1},
  50. ["12447707844"] = {id = "rbxassetid://106400765698758", startTime = 0, speed = 1},
  51. }
  52.  
  53. local function applyVFX(animationId)
  54. local vfxAttachment, color, destroyTime --//VFX + UPDATE 🟣🔵🔴\\
  55. if animationId == "18715842262" then
  56. vfxAttachment = game.ReplicatedStorage.Resources.KJEffects.DropkickExtra.firstHit.Attachment
  57. elseif animationId == "18897695481" then
  58. local player = game.Players.LocalPlayer
  59. vfxAttachment = game.ReplicatedStorage.Emotes.VFX.RealAssets.RuthlessCombo.RuthlessComboPart.BigHit
  60. destroyTime = 1
  61. elseif animationId == "18716470698" then
  62. vfxAttachment = game.ReplicatedStorage.Resources.FiveSeasonsFX.CharFX.ArmEnabled
  63. color = Color3.fromRGB(0, 255, 255)
  64. destroyTime = 1
  65. else
  66. vfxAttachment = nil
  67. color = nil
  68. destroyTime = 2 --//default Vfx destroy time\\
  69. end
  70.  
  71. if vfxAttachment then
  72. local vfxClone = vfxAttachment:Clone()
  73. vfxClone.Parent = character.HumanoidRootPart
  74.  
  75. for _, child in ipairs(vfxClone:GetChildren()) do
  76. if child:IsA("ParticleEmitter") then
  77. child:Emit(15)
  78. child.Enabled = true
  79. end
  80. end
  81.  
  82. wait(destroyTime)
  83. vfxClone:Destroy()
  84. end
  85. end
  86.  
  87. local function updateGuiForUlt() --//Ult moves\\
  88. local updatedButtonData = {
  89. {name = "1", text = "Ult Move Name 1", font = Enum.Font.GothamBlack},
  90. {name = "2", text = "Ult Move Name 2", font = Enum.Font.SourceSansBold},
  91. {name = "3", text = "Ult Move Name 3", font = Enum.Font.Fantasy},
  92. {name = "4", text = "Ult Move Name 4", font = Enum.Font.Arcade},
  93. }
  94.  
  95. for _, data in pairs(updatedButtonData) do
  96. local baseButton = hotbarFrame:FindFirstChild(data.name).Base
  97. local ToolName = baseButton.ToolName
  98. ToolName.Text = data.text
  99. ToolName.Font = data.font
  100. end
  101.  
  102. local screenGui = playerGui:FindFirstChild("ScreenGui")
  103. if screenGui then
  104. local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
  105. if magicHealthFrame then
  106. local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
  107. if textLabel then
  108. textLabel.Text = "Ult Name again" --//Again ult name if u want too\\
  109. textLabel.Font = Enum.Font.GothamBold --//Text font style 🅱️\\
  110. end
  111. end
  112. end
  113. end
  114.  
  115. local function onAnimationPlayed(animationTrack)
  116. local animationId = animationTrack.Animation.AnimationId:match("%d+")
  117. local replacementData = replacementAnimations[animationId]
  118.  
  119. applyVFX(animationId)
  120.  
  121. if replacementData then
  122. animationTrack:Stop()
  123. local newAnimation = Instance.new("Animation")
  124. newAnimation.AnimationId = replacementData.id
  125. local newTrack = humanoid:LoadAnimation(newAnimation)
  126.  
  127. newTrack.TimePosition = replacementData.startTime or 0
  128. newTrack:Play()
  129.  
  130. newTrack:AdjustSpeed(replacementData.speed or 1)
  131.  
  132. if replacementData.id == "rbxassetid://18897695481" then
  133. wait(2)
  134. newTrack:Stop(.75)
  135. end
  136. end
  137.  
  138. if animationId == "Ult Animation Id here" then
  139. wait(2) --//When the ult moves will come after the ult awakening done\\
  140. updateGuiForUlt()
  141. end
  142. end
  143.  
  144. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  145.  
  146. player.CharacterAdded:Connect(function(newCharacter)
  147. character = newCharacter
  148. humanoid = newCharacter:WaitForChild("Humanoid")
  149. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  150. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement