✓ Accepted answer
If you're not too bothered about the player name and age remaining at the top right, you can instead use PlayerGui:SetTopbarTransparency, which sets the transparency of the topbar to a number between 0 (opaque) and 1 (transparent), and StarterGui:SetCoreGuiEnabled, which allows you to disable specific parts of the core GUI.
We can make the topbar transparent and disable the player list, health, and backpack, leaving only the chat (and the player name and age, which can only be removed using StarterGui:SetCore):
local starter_gui = game:GetService("StarterGui")
local players = game:GetService("Players")
local local_player = players.LocalPlayer
local player_gui = local_player:WaitForChild("PlayerGui")
player_gui:SetTopbarTransparency(1)
starter_gui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
starter_gui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
starter_gui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
1 comment
Thx!