This is my code, I believe that the reason this is not working is because of the access to Roblox
game:GetService("CoreGui").RobloxGui.TopBarContainer.BackgroundTransparency = 1
wait() pcall(function() local starterGui = game:GetService('StarterGui') starterGui:SetCore("TopbarEnabled", false) end)
Please accept and upvote this answer if it helped you.