If you have a way to keep track of who's turn it is currently you could store the result in a variable corresponding to that player.
Example:
Player 1 Dice Roll Result
Player 2 Dice Roll Result
Player 3 Dice Roll Result
Player 4 Dice Roll Result
After which you can try this script in a "script call" which will give you the index of the player who won.
Example: If the highest roll was 12 and player 2 rolled that then you will get index 2.
JavaScript:
// Change the following variable ids (9, 10, 11, 12, 13)
// to the variable ids of your choice.
const diceRolls = [
$gameVariables.value(9), // player 1 dice roll result
$gameVariables.value(10), // player 2 dice roll result
$gameVariables.value(11), // player 3 dice roll result
$gameVariables.value(12), // player 4 dice roll result
]
const highestRoll = Math.max(...diceRolls);
const playerIndex = diceRolls.indexOf(highestRoll) + 1;
// Afterwards you can store the index of the player
// who won in a variable and use it in a conditional branch.
$gameVariables.setValue(13, playerIndex);