Hello! For some reason, while still working on my custom characters following up this topic, Roblox default animate script that you find in players’ character does not work at all with custom characters, it just plays no animation while walking, holding tools etc. I searched quite a lot but the best result I got is GnomeCode’s Custom Characters’s animation script, which looks like this:
-- Very basic walking animation script by GnomeCode
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
-- Remeber to select the animtion object and set the id to your own!
local walkAnim = script:WaitForChild("Walk")
local walkAnimTrack = humanoid.Animator:LoadAnimation(walkAnim)
local idleAnim = script:WaitForChild("Idle")
local idleAnimTrack = humanoid.Animator:LoadAnimation(idleAnim)
humanoid.Running:Connect(function(speed)
if speed > 0 then
if not walkAnimTrack.IsPlaying and idleAnimTrack.IsPlaying then
idleAnimTrack:Stop()
walkAnimTrack:Play(0.100000001, 1, 1.2)
end
else
if walkAnimTrack.IsPlaying and not idleAnimTrack.IsPlaying then
idleAnimTrack:Play()
walkAnimTrack:Stop()
end
end
end)
idleAnimTrack:Play()
but even if it works, it’s just for walking. Also, this is not the main thing: the main thing is that there’s wind outside the running animation’s speed is not being sped up by the WalkSpeed property of the Humanoid, now, you would say that I only have to copy and paste the part where this is set, BUT, it’s literally 60% of the script if not more, I already tried so don’t tell me I’m wrong.
So, to summarize this, I need to find a way to make the running animation’s speed property changes on the Humanoid’s WalkSpeed property, just like it does by default and if possible, make the jumping working (not necessary at all).
The rig is a R15 rig, my character’s rig is R15 also, but the animation is like broken.
The walk one is broken. Is their a way to fix this? I already tried make my own walk animation but there are some issues with it sadly.