Hello, I am making a custom character and I’m encountering this problem: the character’s legs collide with the ground, which makes it wobble and slow due to the friction.
How to I fix that?
The default Roblox character does not tip to a side every time a leg leaves the ground.
Any help is appreciated
local WalkAnim = script:WaitForChild("Walk")
local Char = script.Parent
local Humanoid: Humanoid = Char.Humanoid
local Animator: Animator = Humanoid.Animator
local AnimTrack: AnimationTrack = Animator:LoadAnimation(WalkAnim)
AnimTrack.Looped = true
Humanoid.Running:Connect(function(speed)
print(speed)
if speed > 1 then
if not AnimTrack.IsPlaying then
AnimTrack:Play()
end
else
if AnimTrack.IsPlaying then
AnimTrack:Stop()
end
end
end)
