Yes, yes there is.
onActivate -> Client -> VCE_modVariable -> Chance -> Set -> 1 (This is the beginning number in X through Y.)
onActivate -> Client -> VCE_modVariable -> Chance -> Rand -> 6 (This is the end number, Y.)
onActivate -> Self -> VCE_ifValue -> <var:cl:Chance> -> Equals -> 6 (3 3)
onVariableTrue -> Client -> CenterPrnt -> You rolled a 6! Congratulations!
You can do two checks to see if it's in a range. >= 5, <= 10 would be any numbers between 5 and 10.