My cloned gui won't clone itself again after i died, how do I fix it? Here's the script
local ployor = {"WINDOWS10XPRO"}
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
for i,v in pairs(ployor) do
if player.Name == v then
local clone = script.ScreenGui:Clone()
clone.Parent = player:WaitForChild("PlayerGui")
character:WaitForChild("Humanoid").Died:Connect(function(die)
wait(4.75)
clone.Parent = player:WaitForChild("PlayerGui")
end)
end
end
end)
end)
for some reason, it doesn't appear again after i died, can somebody help me?

3 comments
u literally just copy pasting my script
press the screengui, then enable resetonspawn so it appears again
no im not lol