Fudge not setting is often caused by the fudge mixture not getting hot enough or not being cooked for long enough. If it’s really soft, you can try to reheat it, adding a little more milk. Bring it slowly back to a boil then try again - it should set firmer.