Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local function ApplyBaseNames()
- 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 = "Revenge Strike"
- 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 = "Hateful Fury"
- 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 = "Clean Strike"
- 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 = "Vengeful Smash"
- end
- ApplyBaseNames()
- 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 = "Im done being the dummy."
- end
- end
- end
- end
- playerGui.DescendantAdded:Connect(findGuiAndSetText)
- findGuiAndSetText()
- local animationId = 10468665991
- 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
- -- First move
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18440406788"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 1.1
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- task.wait(.88)
- Anim:Stop(.75)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10466974800
- 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
- -- second move
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://16945550029"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 1.42
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1.4)
- task.wait(1.5)
- Anim:Stop(.75)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10471336737
- 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
- -- third move
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://15391323441"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 5.3
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(2.9)
- delay(1.8, function()
- Anim:Stop()
- end)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12510170988
- 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
- -- fourth move (last move)
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18179181663"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.1
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 11343318134
- 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
- -- serious punch
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://12983333733"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 2
- Anim:Play()
- ApplyBaseNames()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.5)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 15955393872
- 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
- -- Wallcombo
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://18440406788"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 2.2
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12983333733
- 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
- -- death counter
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://13073745835"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.3
- Anim:Play()
- ApplyBaseNames()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.2)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 12447707844
- 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
- -- ult anim
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://17292505729"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10479335397
- 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
- -- Dash anim
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://17838006839"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.120
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(0.7)
- delay(1.2, function()
- Anim:Stop()
- end)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10503381238
- 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
- -- Uppercut anim
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://14001963401"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.2
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 13813955149
- 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
- -- trashcan throw
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://13073745835"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1.5)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 10470104242
- 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
- -- Downslam anim
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://17858878027 "
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0.1120
- wait(0.2)
- Anim:Play()
- Anim:AdjustSpeed(0.10)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- local animationId = 17120966975
- 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
- -- change emotes change
- local AnimAnim = Instance.new("Animation")
- AnimAnim.AnimationId = "rbxassetid://100255267749203"
- local Anim = Humanoid:LoadAnimation(AnimAnim)
- local startTime = 0
- Anim:Play()
- Anim:AdjustSpeed(0)
- Anim.TimePosition = startTime
- Anim:AdjustSpeed(1)
- end
- end
- 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")
- -- Saitama m1s
- local animationIdsToStop = {
- [10469493270] = true,
- [10469630950] = true,
- [10469639222] = true,
- [10469643643] = true,
- }
- -- rechange m1s
- local replacementAnimations = {
- ["10469643643"] = "rbxassetid://13491635433 ",
- ["10469639222"] = "rbxassetid://13295919399",
- ["10469630950"] = "rbxassetid://17889461810",
- ["10469493270"] = "rbxassetid://17889458563",
- }
- local queue = {}
- local isAnimating = false
- local function playReplacementAnimation(animationId)
- if isAnimating then
- table.insert(queue, animationId)
- return
- end
- 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)
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local function updateBarColor()
- local screenGui = playerGui:FindFirstChild("ScreenGui")
- if not screenGui then return end
- local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
- if not magicHealthFrame then return end
- local healthFrame = magicHealthFrame:FindFirstChild("Health")
- if not healthFrame then return end
- local barFrame = healthFrame:FindFirstChild("Bar")
- if not barFrame then return end
- local imageLabel = barFrame:FindFirstChild("Bar")
- if not imageLabel or not imageLabel:IsA("ImageLabel") then return end
- imageLabel.ImageColor3 = Color3.fromRGB(1, 1, 1)
- end
- local function onCharacterAdded(character)
- updateBarColor()
- end
- local function onPlayerAdded()
- local character = player.Character or player.CharacterAdded:Wait()
- onCharacterAdded(character)
- player.CharacterAdded:Connect(onCharacterAdded)
- end
- function sendMsg(msg)
- local textchannel = game:GetService("TextChatService").TextChannels:WaitForChild("RBXGeneral")
- local message = msg
- textchannel:SendAsync(message)
- end
- Players.PlayerAdded:Connect(onPlayerAdded)
- if player then
- onPlayerAdded()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement