Preferably no scripting, Will memorize this and use it for now on to whoever helps. Even AI messed it up even though this seems like a pretty simple question Anyone know the way?
so the button is in the middle of the screen on pc, ps, mobile, ipad etc and even roblox studio if possible
Setting Position to {0.5, 0},{0.5, 0} puts the GuiObject to the center of the Screen from the AnchorPoint.
Using Scale and not Offset is important because;
making this wouldn’t be possible because Offset uses pixels, so it doesn’t respect the ratio of the screen.
i did this and in roblox studio it went to the top corner of my screen so i tried it in roblox and the same thing, even more far from the middle. Top right corner lol
if you don’t want that, then it is probably best to separate them.
take the frame you are trying to center out and parent it under the ScreenGui instead of the TextButton.
If you parent a centered frame(Frame) to a non-centered frame(ParentFrame), “Frame” will be on the center of their parent frame and not in the center of the screen because like I said it takes the parent as the base scale:
You would have to parent the frame to something that covers the whole screen of the device in order to make it centered respectively to the screen, that probably would be the ScreenGui itself instead of anything else because it represents the whole screen of the users device.