Watch Untitled by TheTayRbx and millions of other Roblox Studio videos on Medal. Tags: Roblox Studio
#Help with walking animation
1 messages · Page 1 of 1 (latest)
where do i check
how do u expect us to fucking review ur code
output
Where do I open output
slow down twin
oh thats it
Watch Untitled by TheTayRbx and millions of other Roblox Studio videos on Medal. Tags: Roblox Studio
go to view and click that
output there
I didnt make a script
I just put the id
in the walking animation and
the walking script
do you own the animations?
Yes its mine
so uhh
theres multiple places
where you have to insert ids into
in the "Animate" script
also those
Walk is the animation
When the player
is REALLY slow
you can spot that easily in mobile
insert the walk id to run too
same thing happened...
the animate?
wait lemme make one
yep
ok and its set to R6 in studio?
yes
because i think they made it default R15 only
ok so here is a script i have for R6 i tested it it works
put it in startercharacterscripts "print("Custom walk animation script started")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
-- Disable Animate script
local animateScript = character:FindFirstChild("Animate")
if animateScript then
animateScript.Disabled = true
print("Animate script disabled")
else
print("No Animate script found")
end
-- Animation setup
local walkAnim = Instance.new("Animation")
-- Use the same animation for both R6 and R15
-- Replace this with your animation ID
walkAnim.AnimationId = "rbxassetid://96208968525324"
-- R15 uses Animator, R6 uses Humanoid directly
local walkTrack
if humanoid.RigType == Enum.HumanoidRigType.R15 then
print("RigType: R15")
local animator = humanoid:WaitForChild("Animator")
walkTrack = animator:LoadAnimation(walkAnim)
elseif humanoid.RigType == Enum.HumanoidRigType.R6 then
print("RigType: R6")
walkTrack = humanoid:LoadAnimation(walkAnim)
else
warn("Unknown rig type:", humanoid.RigType)
return
end
print("Walk animation loaded")
-- Play/stop the walk animation based on speed
humanoid.Running:Connect(function(speed)
print("Running event. Speed:", speed)
if speed > 0 then
if not walkTrack.IsPlaying then
walkTrack:Play()
print("Walk animation started")
end
else
if walkTrack.IsPlaying then
walkTrack:Stop()
print("Walk animation stopped")
end
end
end)
" also yes its ai but it works
just make sure to replace the animation id with urs
Wait
do i add
local script
or script
Thanks dude
it works
Just 1 problem
😭
the footstep sound
isnt matching
ok lets try fix it