local Players = game:GetService("Players")
local character = Players.LocalPlayer.Character
if not character then
character = Players.LocalPlayer.CharacterAdded:Wait()
end
local humanoid = character:WaitForChild("Humanoid")
local walkAnim = Instance.new("Animation")
walkAnim.AnimationId = "rbxassetid://4547055626"
local walkAnimTrack = humanoid:LoadAnimation(walkAnim)
walkAnimTrack:GetMarkerReachedSignal("FootStep"):Connect(function(paramString)
-- Perform desired action such as playing a custom footstep sound
print(paramString)
end)
I need help, ¿what's wrong?

2 comments
Is the animation owned/published by the owner of the game or to the group(if a group game)?
I'm the owner of this animation.