Why is the UI getting overlapped by roblox's default topbar?

So, I’ve got a menu UI I am currently scripting, however, the Roblox topbar is overlapping the UI, any way to fix it?
https://gyazo.com/c784baac3c28754f23ba9bfa80a34e34
I’ve tried disabling the topbar via a script with:

pcall(function()
	local starterGui = game:GetService('StarterGui')
	starterGui:SetCore("TopbarEnabled", false)
end)

however, it didn’t seem to work.
Thanks for reading :slight_smile:

You need to set PlayerGui:SetTopbarTransparency(1) and then create your own topbar gui frame in its place. I believe it is 36px tall and full black with 0.5 transparency.

Edit: You should set the ScreenGui’s ‘IgnoreGuiInset’ property to true for your UI.