i know that this topic have been answered but the answers aren’t clear they are answering the question but interpreting the answer in their script
i need a clear answer
what i have tried is the following
game.Players.LocalPlayer.character:WaitForChild("Animate").walk.WalkAnim.AnimationId = 'AnimationId' -- this line will be changed to the animation that i will use
but it keeps bringing me an error
" Invalid animation id ‘<error: unknown AssetId protocol>’: "
never mind my script was right lol but its the way i have set the animationid
instead of saying
game.Players.LocalPlayer.character:WaitForChild("Animate").walk.WalkAnim.AnimationId = '34243312332' -- for example i will use a random number
i should use
game.Players.LocalPlayer.character:WaitForChild("Animate").walk.WalkAnim.AnimationId = 'http://www.roblox.com/asset/?id=34243312332' -- for example i will use a random number
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
character:WaitForChild("Animate"):WaitForChild("run"):WaitForChild("RunAnim").AnimationId = "Put here your animation id"