Using animations in Studio

How do I use an asset ID in Roblox Studio?

Updated Apr 18, 2026·3 min read·Print

When you purchase an animation, we deliver an asset ID that looks like this: rbxassetid://1234567890. This ID is how Roblox Studio loads the animation into your game. Here's how to use it.

Quick version: Copy the asset ID from your library, paste it into a LocalScript inside StarterCharacterScripts, and play the animation on the character's Humanoid. Full code below.

Step 1: Copy your asset ID

Go to your library and find the animation you purchased. Click the asset ID pill — it copies to your clipboard automatically. The full string looks like rbxassetid://1234567890.

If you bought a multi-animation pack (like a parkour pack with run, jump, and land animations), you'll see a separate asset ID for each one, labeled by function.

Step 2: Add a LocalScript to StarterCharacterScripts

In Roblox Studio's Explorer panel:

  1. Find StarterPlayer in the hierarchy
  2. Expand it and locate StarterCharacterScripts
  3. Right-click and select Insert Object → LocalScript
  4. Open the new script in the editor

Step 3: Paste the integration code

Replace the contents of the LocalScript with this:

-- Replace with your actual asset IDlocal humanoid = script.Parent:WaitForChild("Humanoid") local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://1234567890"local track = humanoid:LoadAnimation(anim) track:Play()

Replace 1234567890 with the number portion of your asset ID. Press Play in Studio — your character should now use the new animation.

Looping animations

Most idles, walks, and emotes are designed to loop seamlessly. To make sure your animation loops, set Looped on the AnimationTrack:

local track = humanoid:LoadAnimation(anim) track.Looped = truetrack:Play()

Replacing default animations

If you want to replace Roblox's default idle, walk, or run animations, you'll need to use the Animate script that comes with the player character. The simplest approach is to find the existing Animate LocalScript inside the character and update its animation IDs directly.

Pro tip: For full control, copy Roblox's default Animate script into StarterCharacterScripts and modify the asset IDs inside it. This way every character spawns with your custom animations from the start.

Troubleshooting

The animation isn't playing

  • Confirm the asset ID is correct — typos in the number portion are the most common issue
  • Make sure the script is a LocalScript, not a Server Script
  • Check that it's inside StarterCharacterScripts, not elsewhere
  • Open the Output panel in Studio to check for errors

The animation loads but looks wrong

  • Check that you're using an animation built for your character's rig type. R6 animations don't work on R15 characters and vice versa.
  • Make sure your character isn't using a custom rig that differs from the standard Roblox rig structure.

Still stuck?

If you've tried the above and the animation still isn't working, our support team can help. Email support@robloxanimations.com with:

  • The asset ID you're trying to use
  • A screenshot of your script
  • Any errors from the Output panel

We typically respond within a few hours during business days.

Was this article helpful?

Your feedback helps us improve the help center.