Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local playerGui = player:WaitForChild("PlayerGui")
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- local buttonData = {
- {name = "1", text = "Black Flash", font = Enum.Font.Arcade},
- {name = "2", text = "Consecutive Hits", font = Enum.Font.Arcade},
- {name = "3", text = "Divergence!", font = Enum.Font.Arcade},
- {name = "4", text = "Grand Smash", font = Enum.Font.Arcade},
- }
- for _, data in pairs(buttonData) do
- local baseButton = hotbarFrame:FindFirstChild(data.name).Base
- local ToolName = baseButton.ToolName
- ToolName.Text = data.text
- ToolName.Font = data.font
- end
- local function waitForGui()
- while true do
- local screenGui = playerGui:FindFirstChild("ScreenGui")
- if screenGui then
- local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
- if magicHealthFrame then
- local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
- if textLabel then
- textLabel.Text = "ENRAGED!" -- //ULT NAME\\
- textLabel.Font = Enum.Font.Arcade --//TEXT ULT FONT 🅰ï¸\\
- return
- end
- end
- end
- wait(1)
- end
- end
- waitForGui()
- local replacementAnimations = {
- ["10468665991"] = {id = "rbxassetid://18716884610", startTime = 7, speed = 1},
- ["10466974800"] = {id = "rbxassetid://18897695481", startTime = 0, speed = 2},
- ["10471336737"] = {id = "rbxassetid://18716470698", startTime = 3, speed = 1},
- ["12510170988"] = {id = "rbxassetid://129651400898906", startTime = 0, speed = 1},
- ["12447707844"] = {id = "rbxassetid://106400765698758", startTime = 0, speed = 1},
- }
- local function applyVFX(animationId)
- local vfxAttachment, color, destroyTime --//VFX + UPDATE 🟣🔵🔴\\
- if animationId == "18715842262" then
- vfxAttachment = game.ReplicatedStorage.Resources.KJEffects.DropkickExtra.firstHit.Attachment
- elseif animationId == "18897695481" then
- local player = game.Players.LocalPlayer
- vfxAttachment = game.ReplicatedStorage.Emotes.VFX.RealAssets.RuthlessCombo.RuthlessComboPart.BigHit
- destroyTime = 1
- elseif animationId == "18716470698" then
- vfxAttachment = game.ReplicatedStorage.Resources.FiveSeasonsFX.CharFX.ArmEnabled
- color = Color3.fromRGB(0, 255, 255)
- destroyTime = 1
- else
- vfxAttachment = nil
- color = nil
- destroyTime = 2 --//default Vfx destroy time\\
- end
- if vfxAttachment then
- local vfxClone = vfxAttachment:Clone()
- vfxClone.Parent = character.HumanoidRootPart
- for _, child in ipairs(vfxClone:GetChildren()) do
- if child:IsA("ParticleEmitter") then
- child:Emit(15)
- child.Enabled = true
- end
- end
- wait(destroyTime)
- vfxClone:Destroy()
- end
- end
- local function updateGuiForUlt() --//Ult moves\\
- local updatedButtonData = {
- {name = "1", text = "Ult Move Name 1", font = Enum.Font.GothamBlack},
- {name = "2", text = "Ult Move Name 2", font = Enum.Font.SourceSansBold},
- {name = "3", text = "Ult Move Name 3", font = Enum.Font.Fantasy},
- {name = "4", text = "Ult Move Name 4", font = Enum.Font.Arcade},
- }
- for _, data in pairs(updatedButtonData) do
- local baseButton = hotbarFrame:FindFirstChild(data.name).Base
- local ToolName = baseButton.ToolName
- ToolName.Text = data.text
- ToolName.Font = data.font
- end
- local screenGui = playerGui:FindFirstChild("ScreenGui")
- if screenGui then
- local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
- if magicHealthFrame then
- local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
- if textLabel then
- textLabel.Text = "Ult Name again" --//Again ult name if u want too\\
- textLabel.Font = Enum.Font.GothamBold --//Text font style 🅱ï¸\\
- end
- end
- end
- end
- local function onAnimationPlayed(animationTrack)
- local animationId = animationTrack.Animation.AnimationId:match("%d+")
- local replacementData = replacementAnimations[animationId]
- applyVFX(animationId)
- if replacementData then
- animationTrack:Stop()
- local newAnimation = Instance.new("Animation")
- newAnimation.AnimationId = replacementData.id
- local newTrack = humanoid:LoadAnimation(newAnimation)
- newTrack.TimePosition = replacementData.startTime or 0
- newTrack:Play()
- newTrack:AdjustSpeed(replacementData.speed or 1)
- if replacementData.id == "rbxassetid://18897695481" then
- wait(2)
- newTrack:Stop(.75)
- end
- end
- if animationId == "Ult Animation Id here" then
- wait(2) --//When the ult moves will come after the ult awakening done\\
- updateGuiForUlt()
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- player.CharacterAdded:Connect(function(newCharacter)
- character = newCharacter
- humanoid = newCharacter:WaitForChild("Humanoid")
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement