#Animation Walking Script
1 messages · Page 1 of 1 (latest)
you can replace default animate script
-- ServerScript in ServerScriptService
local Players = game:GetService("Players")
local WALK_ANIMATION_ID = "rbxassetid://YOUR_ANIMATION_ID" -- custom walk animation id
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
local animate = character:WaitForChild("Animate")
-- replace the walk animation
animate.walk.WalkAnim.AnimationId = WALK_ANIMATION_ID
-- optional replace run animation too
-- animate.run.RunAnim.AnimationId = WALK_ANIMATION_ID
end)
end)
you can also do custom animation system
-- LocalScript in StarterPlayerScripts
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local WALK_ANIMATION_ID = "rbxassetid://YOUR_ANIMATION_ID"
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
local walkAnimation = Instance.new("Animation")
walkAnimation.AnimationId = WALK_ANIMATION_ID
local walkTrack = humanoid.Animator:LoadAnimation(walkAnimation)
humanoid.Running:Connect(function(speed)
if speed > 0 then
if not walkTrack.IsPlaying then
walkTrack:Play()
end
else
walkTrack:Stop()
end
end)
end)
but in which Object do I put this like
which script
mb its down ther
thx
?
what do I need to do
I did the second thing you say but the first I don't understand
the second do nothing when I launch
you replaced the animation id?
in the script yes
use this one

-- ServerScript in ServerScriptService
local Players = game:GetService("Players")
local WALK_ANIMATION_ID = "rbxassetid://YOUR_ANIMATION_ID"
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
local animate = character:WaitForChild("Animate")
animate.walk.WalkAnim.AnimationId = WALK_ANIMATION_ID
animate.run.RunAnim.AnimationId = WALK_ANIMATION_ID
end)
end)
make sure animation is uploaded by you + use correct rig type + use serverscript notlocal script
but there's no serverscript
** You are now Level 1! **
use normal script...
mb
just my skin Rig is R6 but when i join its automatically a R15
how do I change this
i had that exact same problem yesterday. i'm new to all this too but doing this took me all of yesterday
so basically all the tutorials are outdated because roblox just updated where the avatar changes are
This took me a bit to find so hopefully this helps you out if you couldn't figure it out! I hope you have a great rest of your day/night!!
You should check out my UGC👀: https://www.roblox.com/catalog/17167549475/Darkened-Red-Void-Crown
Follow me on Roblox: https://www.roblox.com/users/3717754024/profile
Family Friendly Discord Server: http...
dang THX
I think you just saved a long of my time
glad i could help because i was banging my head against a wall for hours yesterday
** You are now Level 1! **
unless your script works. follow what this guy does starting at 2:25 https://www.youtube.com/watch?v=cOzAqBIKEFI
A simple tutorial to show you how to make custom walk/run animations in Roblox Studio. I Hope you enjoyed the video! If you are a bit confused what to do please ask your questions in the comments! 📩
☕ wanna support me? u can always buy me a coffee at: https://buymeacoffee.com/rxbldev
🚀 Join the discord server at: https://discord.gg/29UF...
like it works but its not looped
hm
do its a problem with my animation ?
that's what i'd think but idk
i'm not a scripting expert by any means that's what i'm trying to figure out today but it could be that the code just makes the animation play once. i honestly would just try replacing the default animations like the video showed
Watch . by hexadron1293 and millions of other Roblox Studio videos on Medal. Tags: roblox studio
like this
code?
** You are now Level 23! **
can you ping me if you find how to figure I'll search too
if you're still going to use a script, you might need to use a loop thing.
this is what chatgpt says cause i cant script
local Players = game:GetService("Players")
local WALK_ANIMATION_ID = "rbxassetid://YOUR_ANIMATION_ID"
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
local walkAnim = Instance.new("Animation")
walkAnim.AnimationId = WALK_ANIMATION_ID
local track = humanoid:LoadAnimation(walkAnim)
track.Looped = true
track:Play()
end)
end)
dang I just used your technic
oh does that not work
you dont have to replace any scripts, i have a game with custom animations in it too
You just havent set a animation priority
or looped it in the animator
omg
** You are now Level 2! **
glad i could help!

@eternal goblet I love you
i love you too gang
** You are now Level 9! **
do you know why my friend don't have the animation when he walk ?
are you using a custom characteR?
also, if you’re using team play it won’t work
it has to be on actual Roblox
like in team play you mean in studio
I use mine like idk ?
yes
that doesn’t work for animations
it has to be an actual Roblox game for the animations to work
they don’t work for everyone in studio
just you
ok so its ok if they don't see it
