Log in to vote
0

How to remove GUIs ?

Asked by 7 years ago

How do i remove basic Roblox GUIs, such as the Player List, Health, the annoying Toolset, etc. ?

1 answer

Log in to vote
0
Answered by 7 years ago

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

Ad

Answer this question