I am trying to make a custom jump animation but I kept getting the error “JumpAnim is not a valid member of string value”
This is my code
local Players = game:GetService("Players")
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
for _, playingTracks in pairs(humanoid:GetPlayingAnimationTracks()) do
playingTracks:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
animateScript.jump.JumpAnim.AnimationId = "rbxassetid://4887469260"
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
I looked at the Animate script in game and I found this

None of the other animations have !ID! as a child, only the jump animation and I have no idea why.