I created a function with this command unside
/scoreboard players set Objectif slime.k 5000
The objective exists and the command works in game.
But the function doesn't work.
My function pack is fine, all the others functions files function normaly.
(in the functions file of the function pack, the function is statsetup2 )