Script wont make top bar nontransparent?

I wanted to make my topbar nontransparent to make a loading screen system, but it doesn’t seem to hide it?

My script is:

game:GetService('Players').LocalPlayer:WaitForChild('PlayerGui'):SetTopbarTransparency(0)

Place the local script inside of ReplicatedFirst

1 Like

I have it there.

30chaaaaaaaars

I just saw the problem…sigh, You want it to be invisible correct? then why did you put 0, 0 makes things visible

Solution:

game:GetService('Players').LocalPlayer:WaitForChild('PlayerGui'):SetTopbarTransparency(1)

Edit: Never mind i just re checked the post, let me see about this in studio

1 Like

:SetTopbarTransparency() has been deprecated since the new topbar replaced the old one.

2 Likes

SetTopbarTransparency() is deprecated, as stated in the announcement topic.

You’d have to make your own topbar, simply create a long horizontal UI that looks like a topbar, put it on the top, and enable IgnoreGuiInset.

2 Likes

Oh it did, wow i never knew
(character limit is annyoing)

1 Like

I think

is also deprecated, it doesn’t work for me anymore.

@Arcilios if you can’t reach the 30 character limit then you should just like the post.

This is because of the new update to Roblox Player Launcher changing the top bar style. Just adding to your post

Works fine for me?

2 Likes

That works still, I think, I use it :wink:

I never said it was deprecated. I just thought because some game’s gui’s don’t go through the top bar.