local Players = game:GetService("Players") local StarterGui = game:GetService("StarterGui") local player = Players.LocalPlayer -- Sends the "activef" notification StarterGui:SetCore("SendNotification", { Title = "Script Status", Text = "truedownslam = true", Duration = 3 }) -- The specific M1 Animation IDs local targetAnimationIds = { ["13532562418"] = true, -- 1st M1 ["13532600125"] = true, -- 2nd M1 ["13532604085"] = true -- 3rd M1 } -- The Fake Jump function local function executeFakeJump(character, humanoid) local hrp = character:FindFirstChild("HumanoidRootPart") if hrp then -- 1. Force the character upward (50 is the standard Roblox jump velocity) hrp.AssemblyLinearVelocity = Vector3.new(hrp.AssemblyLinearVelocity.X, 50, hrp.AssemblyLinearVelocity.Z) -- 2. Force the Humanoid into the Jumping state so the jump animation plays perfectly humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end -- Function to handle the auto-jump when a matching animation plays local function onAnimationPlayed(animationTrack) local animId = tostring(animationTrack.Animation.AnimationId) local extractedId = string.match(animId, "%d+") if targetAnimationIds[extractedId] then local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then executeFakeJump(character, humanoid) end end end end -- Connects the animation listener to the character's Animator local function setupCharacter(character) local humanoid = character:WaitForChild("Humanoid", 5) if humanoid then local animator = humanoid:WaitForChild("Animator", 5) if animator then animator.AnimationPlayed:Connect(onAnimationPlayed) end end end -- Run setup for the current character if player.Character then setupCharacter(player.Character) end -- Ensure it keeps working if you die and respawn player.CharacterAdded:Connect(setupCharacter)