Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this is made by AndrewGaming23_24 give credits to me if you put it on your video--
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local replacementAnimations = {
- [13376869471] = "rbxassetid://12296882427",
- [10466974800] = "rbxassetid://12273188754",
- [10471336737] = "rbxassetid://13294790250",
- [12510170988] = "rbxassetid://18179181663"
- }
- local function onAnimationPlayed(animationTrack)
- if player.Character and humanoid then
- local animationId = tonumber(animationTrack.Animation.AnimationId:match("%d+"))
- local replacementId = replacementAnimations[animationId]
- if replacementId then
- animationTrack:Stop()
- local newAnimation = Instance.new("Animation")
- newAnimation.AnimationId = replacementId
- local animator = humanoid:FindFirstChild("Animator")
- if not animator then
- animator = Instance.new("Animator")
- animator.Parent = humanoid
- end
- local newTrack = animator:LoadAnimation(newAnimation)
- newTrack:Play()
- end
- end
- end
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- player.CharacterAdded:Connect(function(newCharacter)
- character = newCharacter
- humanoid = newCharacter:WaitForChild("Humanoid")
- humanoid.AnimationPlayed:Connect(onAnimationPlayed)
- end)
- --move text--
- local player = game.Players.LocalPlayer
- local playerGui = player.PlayerGui
- local hotbar = playerGui:FindFirstChild("Hotbar")
- local backpack = hotbar:FindFirstChild("Backpack")
- local hotbarFrame = backpack:FindFirstChild("Hotbar")
- -- Button 1
- local baseButton1 = hotbarFrame:FindFirstChild("1").Base
- local ToolName1 = baseButton1.ToolName
- ToolName1.Text = "SLAP"
- -- Button 2
- local baseButton2 = hotbarFrame:FindFirstChild("2").Base
- local ToolName2 = baseButton2.ToolName
- ToolName2.Text = "CONSECUTIVE FLOWING PUNCHES"
- -- Button 3
- local baseButton3 = hotbarFrame:FindFirstChild("3").Base
- local ToolName3 = baseButton3.ToolName
- ToolName3.Text = "WHIRLWIND SHOVE"
- -- Button 4
- local baseButton4 = hotbarFrame:FindFirstChild("4").Base
- local ToolName4 = baseButton4.ToolName
- ToolName4.Text = "FLIP KICK JUMP"
- local function waitForGui()
- local player = game.Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- 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 = "ANDREWS MIXED UP POWERS"
- return
- end
- end
- end
- wait(1)
- end
- end
- waitForGui()
Advertisement
Add Comment
Please, Sign In to add comment