An asset ID is the Roblox-hosted number used in a string like rbxassetid://1234567890. robloxanimations.com delivers the animation file; Roblox Studio gives you the asset ID after you import and upload that animation.
Quick version: Download the animation from your library, import it into Studio, upload it to Roblox, then paste the generated asset ID into a LocalScript inside StarterCharacterScripts.
Step 1: Download the animation file
Open your library, find the animation, and click Download. The file will be an .rbxm or .rbxmx package containing one or more KeyframeSequence animations.
Step 2: Import and upload in Studio
In Roblox Studio, import the downloaded file into your project. Open the Animation Editor for the target rig, load the KeyframeSequence you want, and publish it to Roblox. Studio will give you the numeric asset ID after upload.
Step 3: Add a LocalScript
In Explorer, place a LocalScript inside StarterPlayer -> StarterCharacterScripts. Replace its contents with this:
-- Replace YOUR_ASSET_ID with the ID Roblox gives you after upload
local humanoid = script.Parent:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://YOUR_ASSET_ID"
local track = humanoid:LoadAnimation(anim)
track:Play()Replace YOUR_ASSET_ID with the number from Roblox Studio. Keep the rbxassetid:// prefix.
Looping animations
Most idles, walks, and emotes are designed to loop. Set Looped on the AnimationTrack before playing it:
local track = humanoid:LoadAnimation(anim) track.Looped = true track:Play()
Replacing default animations
To replace Roblox's default idle, walk, or run animations, copy Roblox's default Animate LocalScript into StarterCharacterScripts and update the animation IDs inside that script.
Rig check: R6 animations should be used with R6 rigs, and R15 animations with R15 rigs. A mismatch is the most common reason an animation looks wrong.
Troubleshooting
The animation is not playing
- Confirm the asset ID is published and copied exactly.
- Make sure the script is a LocalScript.
- Check that the LocalScript is inside
StarterCharacterScripts. - Open the Output panel in Studio and fix any script errors.
The animation loads but looks wrong
- Confirm the animation matches the character rig type.
- Make sure your custom rig follows Roblox's standard joint structure.
- Try the animation on a fresh default rig to isolate project-specific issues.
Still stuck?
Email support@robloxanimations.com with the animation slug, your Studio asset ID, a screenshot of your script, and any Output errors.