The script is essentially doing the exact same thing as shown in the video. The only difference is that the server owner is expected to do mine, which will affect all players that join the server, and the one that you are showing is a hacky way of affecting only one client. It will also likely not work with pure mode.