GUi & Topbar issue

Hello! I’m trying to make a GUI appear when a button is clicked, this GUI is gonna fill the whole screen. How would I go about making it fit in the top bar?

I tried the following

local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")

play.MouseButton1Click:Connect(function() -- On click function
	PlayerGui:SetTopbarTransparency(1)
end) 

And it didn’t work.

This is all in StarterGui, by the way.
(ps. sorry if this is in the wrong topic)

Please search before posting.

3 Likes