Hey! So, my current system’s animations play for the person locally, but not for anyone else.
Code:
local animationPath = game.ReplicatedStorage.ServerAnimations[class]
local undequipIdle = humanoid:LoadAnimation(animationPath.UNEQUIP_Idle)
local equipIdle = humanoid:LoadAnimation(animationPath.EQUIP_Idle)
local weaponToggle = humanoid:LoadAnimation(animationPath.WEAPON_Toggle)
local weaponBlocking = humanoid:LoadAnimation(animationPath.BLOCK_Idle)
local Attack1 = humanoid:LoadAnimation(animationPath.ATTACK_1)
local Attack2 = humanoid:LoadAnimation(animationPath.ATTACK_2)
local Attack3 = humanoid:LoadAnimation(animationPath.ATTACK_3)
Attack 1, 2 and 3 play for whoever uses the script, but don’t show for anyone else, their priority is Action, and the equip idle is Movement.
Script that runs it:
if combo == 1 then
Attack1:Play(0.1)
if combo == 3 then Attack1:AdjustSpeed(1.25) else Attack1:AdjustSpeed(1) end
local waitT = Attack1.Length - 0.05
wait(waitT)
event:FireServer("toggleWeaponTrailOff",weaponFolder)
canHit = false
isAttacking = false
elseif combo == 2 then
Attack2:Play(0.1)
if combo == 3 then Attack2:AdjustSpeed(1.25) else Attack2:AdjustSpeed(1) end
local waitT = Attack2.Length - 0.05
wait(waitT)
event:FireServer("toggleWeaponTrailOff",weaponFolder)
canHit = false
isAttacking = false
elseif combo == 3 then
Attack3:Play(0.1)
if combo == 3 then Attack3:AdjustSpeed(1.25) else Attack3:AdjustSpeed(1) end
local waitT = Attack3.Length - 0.05
wait(waitT)
event:FireServer("toggleWeaponTrailOff",weaponFolder)
canHit = false
isAttacking = false
end
yes I know it’s messy, but I need help asap! thank you!