Can I use the CoreGui Icon to resize my GUI?

I’m trying to resize/reposition my GUI based on the icon size and position. I’m currently using a local script in the StarterPlayerScripts, and I’m struggling to get the icon’s size and position, which I’ll demonstrate over here. :point_down:

Screenshot (6)

--//Local script from StarterPlayerScripts
--// This is the GUI that I want to resize and position using Roblox's icon on the top right
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local safeZone = playerGui.safeZone.TextLabel

local preferredSize = game.CoreGui.RobloxGui
-- I'm not sure how to get the icon size and position :/

The answer is no, you can’t. Because you can’t index CoreGui service in a running game with basescripts otherwise script will throw error due to insufficient permission.