I’ve been trying to make a starter character that can walk and run in R15. It can already run normally, but I want to change the animation to one of the roblox catalog animations. e.g The Heavy Run 3236849826. Please help if you know how to do it
Replace the animation by using the HummanoidDescription
object.
local Game = game
local Players = Game:GetService("Players")
local function OnPlayerAdded(Player)
local function OnCharacterAdded(Character)
if not Player:HasAppearanceLoaded() then Player.CharacterAppearanceLoaded:Wait() end
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
if not Humanoid then return end
local HumanoidDescription = Humanoid:GetAppliedDescription()
HumanoidDescription.RunAnimation = 3236849826
task.wait()
Humanoid:ApplyDescription(HumanoidDescription)
end
Player.CharacterAdded:Connect(OnCharacterAdded)
end
Players.PlayerAdded:Connect(OnPlayerAdded)