split dice library from roll script