Social media, especially Twitter, has developed into an important tool for people to share their opinions and feelings widely. Users often use hashtags to share messages related to certain topics. Some of the issues that lead to the need for sentiment analysis of the Draft Criminal Code are social impact, Public disapproval, Potential legal uncertainty, Potential abuse, Support and criticism. By conducting a sentiment analysis of the draft Penal Code, the government and policymakers can better understand the views of the public, identify possible problems and address them, and make necessary improvements or clarifications to the draft law. This can help ensure that the draft Penal Code has greater public support and adheres to good legal principles. The classification of public responses to this hashtag provides a significant snapshot of public attitudes and perspectives. This study aims to classify public sentiment towards the RUUKUHP hashtag on the Twitter platform using the C4.5 algorithm. This study uses a collection of tweets with the hashtag RUUKUHP which are manually categorized into two and three sentiment categories, namely positive, negative and positive, negative and neutral. In this study, data preprocessing is carried out before training the model which includes removing links, special characters, removing stopwords, and word tokenization. Furthermore, this research uses text representation methods such as TF-IDF to extract features from the tweet text and convert them into numerical vectors used by the C4.5 algorithm. After training the classification model using the C4.5 algorithm with the classified dataset, it evaluates the performance of the model with the metrics of accuracy, recall, precision, and F1 score. Experimental results using 2 categories of Negative and Positive show that the model applied with the C4.5 algorithm achieved an accuracy of 96.6% with a recall of 96.6%, a percision of 97.1% and an F1 score of 96.8. And experiments using 3 categories of Negative, Positive and Neutral achieved an accuracy of 67%, a recall of 67%, a precision of 65%, and an F1 score of 66%. Thus it can be concluded that the results of the RUUKUHP hashtag sentiment classification with 2 class predictions are more relevant than 3 sentiment class predictions with a value reaching 96.6%.