Using .TouchEnded is pretty glitchy. Try using Regions instead of .TouchEnded event also do not do this on server. You might want to fire a remote to client to do changes for their PlayerGui.
Here’s an open sourced module for Regions, pretty useful and easy to use: