this is what I have but I'm not sure what to make the parent as to put it into there humanoid if they join
local function onPlayerAdded(player)
local animation = Instance.new("Animation")
animation.Parent =
animation.Name = "Animation"
animation.AnimationId = "https://www.roblox.com/catalog/1222831397"
end
game.Players.PlayerAdded:connect(onPlayerAdded)
