Animation Profiles
note
This is only for replacing the default RBX animations! ("swim", "climb", "fall", "idle", etc.)
First create a module inside of the Animations\Deps\AnimationProfiles folder. Its name will be the name of the animation profile:
Inside the Zombie module is an animation profile for an R15 character (animation ids found here):
return {
[Enum.HumanoidRigType.R15] = {
run = 616163682,
walk = 616168032,
jump = 616161997,
idle = {
Animation1 = 616158929,
Animation2 = 616160636
},
fall = 616157476,
swim = 616165109,
swimIdle = 616166655,
climb = 616156119
},
[Enum.HumanoidRigType.R6] = nil -- You can have an R6 profile here too if you have R6 animations
}
Now you can apply the Zombie animation profile to your R15 character (client-side example):
Animations:ApplyAnimationProfile("Zombie")