Change ResetOnSpawn to false on the ScreenGui.
Also, your loop doesn’t even do that. It stops once the DevGui is parented.
If you want to clone the GUI every time the player respawns:
-- This code is better than any of the other posts in this thread
local devs = {1998082358, 302070682, 1403193781, 105842946, 1467262997, 70025961}
local gui = game:GetService('ServerStorage').DevGui
local function playerAdded(plr)
if table.find(devs, plr) then
gui:Clone().Parent = plr.PlayerGui
if gui.ResetOnSpawn then
plr.CharacterAdded:Connect(function()
gui:Clone().Parent = plr.PlayerGui
end)
end
end
end
local players = game:GetService('Players')
players.PlayerAdded:Connect(playerAdded)
for _, player in ipairs(players:GetPlayers()) do
playerAdded(player)
end