If you want to see more resources like this, become a Patreon supporter!
No description entered
Dice.OverrideNextThrow(playerIndex, dieValues)
playerIndex
: A number indicating the index of the throwing playerdieValues
: A table of dice valuesnil
No description entered
Dice.RollDie(userId, dieEntityId, dieNumber)
userId
: A string representing the UUID of an entitydieEntityId
: UnknowndieNumber
: Unknownnil
No description entered
Dice.SetAIDifficulty(difficulty)
difficulty
: A number indicating the difficulty level of the AI player
nil
No description entered
local result = Dice.SetAIRiskTaking(riskTaking)
riskTaking
: A number indicating the AI player's propensity to take risks
nil
No description entered
Dice.SetAdvantage(playerIndex, advantage)
playerIndex
: A number indicating the index of the advantaged playeradvantage
: A number indicating the advantage of the playernil
No description entered
Dice.SetScore(player1Score, player2Score)
player1Score
: A number indicating the first player's scoreplayer2Score
: A number indicating the second player's scorenil
No description entered
Dice.ToggleHoldDie(userId, dieEntityId, dieNumber, hold)
userId
: A string representing the UUID of an entitydieEntityId
: UnknowndieNumber
: Unknownhold
: A boolean indicating whether the entity should holdnil