i figured out that i can just get the players running animation id and then play it on loop when the player is platformstanding
--works on r6 and on r15
local hum = script.Parent.Humanoid
local anim = hum:LoadAnimation(script.Parent.Animate.run.RunAnim)
anim.Priority = Enum.AnimationPriority.Action3
anim.Looped = true
hum:GetPropertyChangedSignal("PlatformStand"):Connect(function()
if hum.PlatformStand == true then
anim:Play()
else
anim:Stop()
end
end)