Code (cpp):
/replaceitem entity @a[0,64,0,64,m=2,score_win_min=15] slot.hotbar.4 minecraft:written_book 1 0 {author:"§6M§elakuss§r",title:"§a§lReplica§r",pages:["[{text:'§2Welcome in Replica§r\n\n'},{text:'Rules',bold:true},{text:'\nCopy the picture in front of you on the floor as fast as possible.\nThe last player who did not finish to copy the picture lose a life.\nEach round last 3 minutes max.'}]","[{text:'§4Powerups§r\n\n'},{text:'The chest in front of you contain powerups.\nYou can use one per round.\n'},{text:'* Upgraded Pickaxe\n',hoverEvent:{action:'show_text',value:'Destroy blocks faster\n\u00A71Permanent!'}},{text:'* Instant Copy\n',hoverEvent:{action:'show_text',value:'Copy a part of the picture instantly'}},{text:'* Protection\n',hoverEvent:{action:'show_text',value:'You\'re immune to other\'s attack for 2 turns'}},{text:'* Designer\n',hoverEvent:{action:'show_text',value:'You will be the next player to draw the picture\n\u00A77Only the last player who use this powerup will get it'}},{text:'* Ink Attack\n',hoverEvent:{action:'show_text',value:'Turn blocks black near your opponents'}},{text:'* Nausea ',hoverEvent:{action:'show_text',value:'Give nausea for 30 seconds to your opponents'}},{text:'| Freeze\n',hoverEvent:{action:'show_text',value:'Freeze all players for 10 seconds'}},{text:'* Speed Up!\n',hoverEvent:{action:'show_text',value:'Set the timer to 30 seconds'}}]","[{text:'§aStatistics§r\n\nPlayer: '},{selector:'@p'},{text:'\nScore: '},{score:{objective:'win',name:'@p'}},{text:'\n\n§3Particles§r: '},{text:'ON',hoverEvent:{action:'show_text',value:'Click to activate your particles'},clickEvent:{action:'run_command',value:'/trigger particle set 1'}},{text:'/'},{text:'OFF',hoverEvent:{action:'show_text',value:'Click to hide your particles'},clickEvent:{action:'run_command',value:'/trigger particle set 0'}},{text:'\n§6§lHat§r [?]\n',hoverEvent:{action:'show_text',value:'Click a hat to select it'}},{text:'Dropper Style\n',hoverEvent:{action:'show_text',value:'Dropper'},clickEvent:{action:'run_command',value:'/trigger hat set 1'}},{text:'Bouncy Head\n',hoverEvent:{action:'show_text',value:'Slime Block'},clickEvent:{action:'run_command',value:'/trigger hat set 2'}},{text:'Space\n',hoverEvent:{action:'show_text',value:'Glass Block'},clickEvent:{action:'run_command',value:'/trigger hat set 3'}},{text:'Brillant\n',hoverEvent:{action:'show_text',value:'Sea Lantern'},clickEvent:{action:'run_command',value:'/trigger hat set 4'}},{text:'Frozen\n',hoverEvent:{action:'show_text',value:'Ice Block'},clickEvent:{action:'run_command',value:'/trigger hat set 5'}},{text:'Ninja Style\n',hoverEvent:{action:'show_text',value:'Leaves Block'},clickEvent:{action:'run_command',value:'/trigger hat set 6'}}]"]}