Overriding the ACS Animations on the server side

I was recetly trying to modify the animations of my game where I added the ACS (Advanced Combat System is a system wich adds weapons well made in Roblox) and it ads a running system but the animations are kind of overriding themselves in that way :
image

Do you have an idea to manage the animations in a better way ?

Here’s the code (part of the original Animate Roblox Code) :

function onRunning(speed)
	
	if speed > 0.75 then
		if script.Running.Value == true then
			local scale = 20
			playAnimation("run", 0.2, Humanoid)
			setAnimationSpeed(speed/scale)
			pose = "Running"
		else
			local scale = 20
			playAnimation("walk", 0.2, Humanoid)
			setAnimationSpeed(speed/scale)
			pose = "Walking"
		end
	else
		if emoteNames[currentAnim] == nil and not currentlyPlayingEmote then
			playAnimation("idle", 0.2, Humanoid)
			pose = "Standing"
		end
	end
end

Also, the animations are working wierd (like the walking animation does’nt work while the running animation does) on the server side and I don’t know why… (It would help if I knew where the animations of the Animate Script are played on the server side)

hey isnt that my clan’s uniform

1 Like