local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char.Humanoid
local UIS = game:GetService("UserInputService")
local PunchRID = "http://www.roblox.com/asset/?id=5082260922"
UIS.InputBegan:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.E then
local PunchRightAnim = Instance.new("Animation")
PunchRightAnim.AnimationId = PunchRID
local LoadRAnim = hum:LoadAnimation(PunchRightAnim)
LoadRAnim:Play()
end
end)
Where are you testing from? You own the animation so it should load in any places you’re developing on your profile. If this code is in a group game, you will not be able to use it. I otherwise cannot discern any actual problem here other than ownership and testing environment.
The asset id link is still proper in the OP. rbxassetid://x is the ContentId shorthand for https://www.roblox.com/asset/?id=x. They aren’t using the improper link.