-- palys anim

function module.play2(anim,hum)
	local animation = hum.Animator:LoadAnimation(anim)
	animation:Play()

end

function module.loadAnimId(id, data)
	local anim = data.anim or nil
	if anim then
		anim.AnimationId = id
	end
	
	
	return anim
end


function module.loadnPlay(id, anim, hum)
	anim.AnimationId = id 
	local animation = hum.Animator:LoadAnimation(anim)
	animation:Play()
	
end

