Can you change topbar transparency anymore?

Hi, I’m wondering the question above. I tried to do it and I’m not sure if it’s me or if it’s just not possible anymore???

game:GetService('Players').LocalPlayer:WaitForChild('PlayerGui'):SetTopbarTransparency(0.5)
script.Parent.Sound.Playing = true

(My script)

From the announcement of the new topbar:

I ran into this problem as well. However, I was able to find this code on the DevHub to create a fake topbar:

-- Custom topbar style
local TOPBAR_COLOR = Color3.fromRGB(0, 0, 127)
local TOPBAR_TRANSPARENCY = 0
 
local playerGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
 
-- Hide the topbar
playerGui:SetTopbarTransparency(1)
 
-- Create a "Fake" replacement topbar with a ScreenGui and Frame
local screenGui = Instance.new("ScreenGui")
local frame = Instance.new("Frame")
 
-- Move (0, 0) to the actual top left corner of the screen, instead of under the topbar
screenGui.IgnoreGuiInset = true
-- The topbar is 36 pixels tall, and spans the entire width of the screen
frame.Size = UDim2.new(1, 0, 0, 36) 
-- Style the topbar
frame.BackgroundColor3 = TOPBAR_COLOR
frame.BackgroundTransparency = TOPBAR_TRANSPARENCY
frame.BorderSizePixel = 0
 
frame.Parent = screenGui
screenGui.Parent = playerGui

(Source)