Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- saitama
- -- base tool name
- local player = game.Players.LocalPlayer
- local playerGui = player.PlayerGui
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- local baseButton = hotbarFrame:FindFirstChild("1").Base
- local ToolName = baseButton.ToolName
- ToolName.Text = "dummy punch" -- put the name of the base move 1
- local player = game.Players.LocalPlayer
- local playerGui = player.PlayerGui
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- local baseButton = hotbarFrame:FindFirstChild("2").Base
- local ToolName = baseButton.ToolName
- ToolName.Text = "dummy barrage" -- put the name of the base move 2
- local player = game.Players.LocalPlayer
- local playerGui = player.PlayerGui
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- local baseButton = hotbarFrame:FindFirstChild("3").Base
- local ToolName = baseButton.ToolName
- ToolName.Text = "dummy counter" -- put the name of the base move 3
- local player = game.Players.LocalPlayer
- local playerGui = player.PlayerGui
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- local baseButton = hotbarFrame:FindFirstChild("4").Base
- local ToolName = baseButton.ToolName
- ToolName.Text = "dummy the hunt" -- put the name of the base move 4
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local function findGuiAndSetText()
- 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 = "weakest???" -- put the name of the ult name ultimate text
- end
- end
- end
- end
- -- move 1
- playerGui.DescendantAdded:Connect(findGuiAndSetText)
- findGuiAndSetText()
- local animationId = 10468665991 -- the anim that will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12618271998" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed for specific
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- end of move 1
- -- move 2
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10466974800 -- the move that it will track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18716581594" -- the specific move ur gonna replace
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed for the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1.3)
- end
- end
- -- end of move 2
- -- move 3
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10471336737 -- the anim that will track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18440389930" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed for specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- delay(1.8, function()
- Anim:Stop()
- end)
- end
- end
- -- end of move 3
- -- move 4
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12510170988 -- the specific anim that will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12467789963" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- the speed for the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- end of move 4
- -- death counter
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 11343318134 -- the anim will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18440389930" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed for specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.5)
- end
- end
- -- end of death counter
- -- wall combo
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 15955393872 -- the anim that will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18716893399" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.05 -- speed for the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- end of wall combo
- -- serious punch
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12983333733 -- the anim will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12983333733" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed of specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.2)
- end
- end
- -- end of serious punch
- -- tableflip
- local animationId = 11365563255 -- the anim that will get tracked
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12618271998" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- speed for the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0.5)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1.2)
- end
- end
- -- end of table flip
- -- ult anim
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12447707844 -- the anim will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18435303746" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- the end of ult anim
- -- front dash
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10479335397 -- the anim will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://14046756619" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- the specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.7)
- delay(1.2, function()
- Anim:Stop()
- end)
- end
- end
- -- end of front dash
- -- mini uppercut
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10503381238 -- the anim will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://14900168720" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 1.3 -- the speed for specific anim
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- end of mini upper cut
- -- downslam
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10470104242 -- the anim that will get track
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function onAnimationPlayed(animationTrack)
- if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
- local p = game.Players.LocalPlayer
- local Humanoid = p.Character:WaitForChild("Humanoid")
- for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
- animTrack:Stop()
- end
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12684185971" -- the specific anim
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0 -- the speed for specific anim
- wait(0.2)
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- -- end of downslam
- -- m1's
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- -- the anim that will get track
- local animationIdsToStop = {
- [10469493270] = true,
- [10469630950] = true,
- [10469639222] = true,
- [10469643643] = true,
- }
- -- the specific anim
- local replacementAnimations = {
- ["10469643643"] = "rbxassetid://17889290569", -- 4th m1's dont change the [12345678910] change the rbxassetid://123..
- ["10469639222"] = "rbxassetid://17889471098", -- 3rd m1's dont change the [12345678910] change the rbxassetid://123..
- ["10469630950"] = "rbxassetid://17889461810", -- 2nd m1's dont change the [12345678910] change the rbxassetid://123..
- ["10469493270"] = "rbxassetid://17889458563", -- 1st m1's dont change the [12345678910] change the rbxassetid://123..
- }
- local queue = {}
- local isAnimating = false
- local function playReplacementAnimation(animationId)
- if isAnimating then
- table.insert(queue, animationId)
- return
- end
- -- end of m1s
- -- ignore
- isAnimating = true
- local replacementAnimationId = replacementAnimations[tostring(animationId)]
- if replacementAnimationId then
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = replacementAnimationId
- local Anim = humanoid:LoadAnimation(AnimAnim)
- Anim:Play()
- Anim.Stopped:Connect(function()
- isAnimating = false
- if #queue > 0 then
- local nextAnimationId = table.remove(queue, 1)
- playReplacementAnimation(nextAnimationId)
- end
- end)
- else
- isAnimating = false
- end
- end
- local function stopSpecificAnimations()
- for _, track in ipairs(humanoid:GetPlayingAnimationTracks()) do
- local animationId = tonumber(track.Animation.AnimationId:match("%d+"))
- if animationIdsToStop[animationId] then
- track:Stop()
- end
- end
- end
- local function onAnimationPlayed(animationTrack)
- local animationId = tonumber(animationTrack.Animation.AnimationId:match("%d+"))
- if animationIdsToStop[animationId] then
- stopSpecificAnimations()
- animationTrack:Stop()
- local replacementAnimationId = replacementAnimations[tostring(animationId)]
- if replacementAnimationId then
- playReplacementAnimation(animationId)
- end
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
- local function onBodyVelocityAdded(bodyVelocity)
- if bodyVelocity:IsA("BodyVelocity") then
- bodyVelocity.Velocity = Vector3.new(bodyVelocity.Velocity.X, 0, bodyVelocity.Velocity.Z)
- end
- end
- character.DescendantAdded:Connect(onBodyVelocityAdded)
- for _, descendant in pairs(character:GetDescendants()) do
- onBodyVelocityAdded(descendant)
- end
- player.CharacterAdded:Connect(function(newCharacter)
- character = newCharacter
- humanoidRootPart = character:WaitForChild("HumanoidRootPart")
- character.DescendantAdded:Connect(onBodyVelocityAdded)
- for _, descendant in pairs(character:GetDescendants()) do
- onBodyVelocityAdded(descendant)
- end
- end)
- --[[ ult name changer made by Owner of Aztech ]]
- -- // DEATH COUNTER //
- local player = game.Players.LocalPlayer
- local function detectAndRenameTool()
- local tool = player.Backpack:FindFirstChild("Death Counter") or player.Character:FindFirstChild("Table Flip")
- if tool then
- tool.Name = "dummy counter" -- Change the ult name
- end
- end
- player.CharacterAdded:Connect(function()
- task.wait(1)
- detectAndRenameTool()
- end)
- player.Backpack.ChildAdded:Connect(function(child)
- if child.Name == "Death Counter" then
- detectAndRenameTool()
- end
- end)
- detectAndRenameTool()
- -- // SERIOUS PUNCH //
- local player = game.Players.LocalPlayer
- local function detectAndRenameTool()
- local tool = player.Backpack:FindFirstChild("Serious Punch") or player.Character:FindFirstChild("Table Flip")
- if tool then
- tool.Name = "dummy destroyed" -- Change the ult name
- end
- end
- player.CharacterAdded:Connect(function()
- task.wait(1)
- detectAndRenameTool()
- end)
- player.Backpack.ChildAdded:Connect(function(child)
- if child.Name == "Serious Punch" then
- detectAndRenameTool()
- end
- end)
- detectAndRenameTool()
- -- // TABLE FLIP //
- local player = game.Players.LocalPlayer
- local function detectAndRenameTool()
- local tool = player.Backpack:FindFirstChild("Table Flip") or player.Character:FindFirstChild("Table Flip")
- if tool then
- tool.Name = "im weakest?" -- Change the ult name
- end
- end
- player.CharacterAdded:Connect(function()
- task.wait(1)
- detectAndRenameTool()
- end)
- player.Backpack.ChildAdded:Connect(function(child)
- if child.Name == "Table Flip" then
- detectAndRenameTool()
- end
- end)
- detectAndRenameTool()
- -- // OMNI DIRECTIONAL PUNCH //
- local player = game.Players.LocalPlayer
- local function detectAndRenameTool()
- local tool = player.Backpack:FindFirstChild("Omni Directional Punch") or player.Character:FindFirstChild("Table Flip")
- if tool then
- tool.Name = "dummy multiple blows" -- Change the ult name
- end
- end
- player.CharacterAdded:Connect(function()
- task.wait(1)
- detectAndRenameTool()
- end)
- player.Backpack.ChildAdded:Connect(function(child)
- if child.Name == "Omni Directional Punch" then
- detectAndRenameTool()
- end
- end)
- detectAndRenameTool()
- -- Services
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- -- Local Player
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- -- GUI and color adjustment function
- local function updateBarColor()
- -- Find the ScreenGui on the screen
- local screenGui = playerGui:FindFirstChild("ScreenGui")
- if not screenGui then return end
- -- Find the MagicHealth Frame
- local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
- if not magicHealthFrame then return end
- -- Find the Health Frame
- local healthFrame = magicHealthFrame:FindFirstChild("Health")
- if not healthFrame then return end
- -- Find the Bar Frame
- local barFrame = healthFrame:FindFirstChild("Bar")
- if not barFrame then return end
- -- Find the ImageLabel with ImageColor3 property inside the Bar Frame
- local imageLabel = barFrame:FindFirstChild("Bar")
- if not imageLabel or not imageLabel:IsA("ImageLabel") then return end
- -- Set the color to yellow
- imageLabel.ImageColor3 = Color3.fromRGB(0, 0, 0) -- Yellow
- end
- -- Check the GUI again when the character resets
- local function onCharacterAdded(character)
- -- Update the GUI
- updateBarColor()
- end
- -- Check the local player's character
- local function onPlayerAdded()
- local character = player.Character or player.CharacterAdded:Wait()
- onCharacterAdded(character)
- -- Check again when the character changes
- player.CharacterAdded:Connect(onCharacterAdded)
- end
- -- Check when the player is added
- Players.PlayerAdded:Connect(onPlayerAdded)
- if player then
- onPlayerAdded()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement