You can't do //undo in creative, when you try it says "You are not permitted to do that. Are you in the right mode?"