I'm using the GetButton function of ContextActionService to get a button. The issue is, for some reason I don't understand, is that the function yields until it finds the button. If you know how CAS works, you'll know the button won't exist on non-mobile devices which will then lead to the script yielding.
Basically, i'm getting the button using the GetButton function to then rescale it based on the user's screen size. If the user is for example on PC, the script will then yield.