Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make the hotbar at the top of the screen transparent?

Asked by 6 years ago

I really hate the grey bar at the top of the screen while I play the game. Is there any way I could get rid of the bar or make the bar clear?

0
Isn't it technically partially transparent? DeceptiveCaster 3761 — 6y
0
Yeah, but in games like Murder Mystery 2 and Roblox Deathrun, they figured out how to make the bar completely transparent. HimoutoUmaruDomaChan 20 — 6y

2 answers

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Use SetTopbarTransparency:

for _,p in pairs(game.Players:GetPlayers()) do
    if p.Name == "FrostandFireGaming" then
        p.PlayerGui:SetTopbarTransparency(0.5)
    end
end
0
"0.5" can be any number you want from 0 to 1. DeceptiveCaster 3761 — 6y
0
Thank you so much, it works! HimoutoUmaruDomaChan 20 — 6y
Ad
Log in to vote
0
Answered by
Amiaa16 3227 Moderation Voter Community Moderator
6 years ago

If you want to change the transparency of the topbar, use PlayerGui:SetTopbarTransparency() as MCAndRobloxUnited suggested.

However if you want to completly hide it, use StarterGui:SetCore() along with TopbarEnabled. Set it to false, like so:

game:GetService("StarterGui"):SetCore("TopbarEnabled", false)
0
Doesn't that also delete the Menu button? Or no? DeceptiveCaster 3761 — 6y
0
Yeah I was gonna say that. HimoutoUmaruDomaChan 20 — 6y

Answer this question