i have this script that is in workspace and its a normal script there is nothing wrong with it but it just doesn't do anything
players= game.Players:GetChildren()
for i = 1, #players do
script.GameOverScreen:Clone().Parent = players[i].PlayerGui
end

5 comments
is your script disabled
^
nope
is your screengui enabled
yes there is absolutely nothing wrong and my script works in my other games