I am trying to change the default R15 run animation of a player when they join but it is not working.
I’ve tried setting the animation priority to Action, Core, and Movement but it did not fix the issue.
Here is the code:
local runAnimation = "rbxassetid://ourid"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
animateScript.run.WalkAnim.AnimationId = runAnimation
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(function(player)
LoadData(player)
player:LoadCharacter()
onPlayerAdded(player)
end)
Players are forced to use the R15 avatar, so people joining with R6 wouldn’t be an issue. Any potential fixes?
Clone the actual animate script from the character and put it into StarterCharacterScripts and replace the animation id in the script and the animation object id under the script and it should work
you need to manually do this by script after the recent update to studio. Pretty simple; set the animation weight on the animate script child running animation to 0. Something like “character.Animate.Running.Animation2.Weight = 0” (check the actual directory). Or you could replace the animation ID with your own by script,
I also made a post about this showcasing how it no longer functions like it used to.