I have gui that clones yourself to playergui when player joining but when my character resetting gui dont appears
game.Players.PlayerAdded:Connect(function(Player)
local GUI = game.ReplicatedStorage.Storage.AdminBar
----------
local Alex = Player.Name == "AIexR32"
local Clemaek = Player.Name == "Clemaek"
----------
if Alex or Clemaek then
Player:WaitForChild("PlayerGui")
GUI:Clone().Parent = Player.PlayerGui
end
end)
i need check if character loaded in workspace then clone gui to playergui

3 comments
Yes i know about ids but gui still does not appears after humanoid death. I think i need characteradded but i dont know how to use it. Also i made mistake when i typed characteradded (in first line of code) instead of playeradded, my bad
What do you mean it doesn't appear after the die/reset?
oh i fixed it! i just placed wait between GUI variable and userid check!