you get that error because the code written is for an xbox controller all you should have to do is change the command from rbutton to Q or just use a controller
but id say its not as useful anymore seeing that spotting has a cool-down timer now if you press it to many times