Why does permission.UserHasGroup(player.UserIDString, "red") continue to return true even after the player has been removed from the group?"
Let me know if you'd like any more details or help with the issue!
The issue occurred because the image URL arrays were declared inside the class rather than inside the method. As a result, the image references remained unchanged between method calls, and Rust UI cached them, preventing proper UI element removal.
By moving the array declarations inside the method, we ensured they are recreated on each call, preventing incorrect caching in Rust UI and ensuring proper UI cleanup. This took me 12 hours to figure out, and now I'm finally going to sleep. 😴