How do i remove basic Roblox GUIs, such as the Player List, Health, the annoying Toolset, etc. ?
COMMUNITY QUESTION
How to remove GUIs ?
1 answer
each remover will be different scripts the first 1 is the health gui which the script to remove is
while true do
for inx, val in pairs(game.Players:GetPlayers()) do --finds health gui
if val:FindFirstChild("PlayerGui") then
if val.PlayerGui:FindFirstChild("HealthGUI") then
val.PlayerGui.HealthGUI:Remove() --removes health gui
end
end
end
wait(0)--time to wait
end
next is the remove player list which is
game.Players.PlayerAdded:connect(function(player)
local stats = Instance.new("IntValue", player)
stats.Name = "leaderstats"
local list = Instance.new("BoolValue", stats)
list.Name = "List"
end)
now the toolset gui is
function onEnter(player)
wait(1) --time to wait till remove
game.StarterPack:Remove()
end
game.Players.PlayerAdded:connect(onEnter)
hope it helps
This discussion is preserved as it was. New answers, comments, and votes are closed.
