I’m using this script here to make my Gui show up, but it seems to be making the background leave a space up top when ran. (Gui leaves no gap when game is not running)
local plrs = game.Players
plrs.CharacterAutoLoads = false
local respawnTime = 5
plrs.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
char:FindFirstChild("Humanoid").Died:Connect(function()
plr.PlayerGui.RespawnGui.Background.RespawnTime.Text = "Respawning in " .. respawnTime .. " seconds..."
plr.PlayerGui.RespawnGui.Background.Visible = true
for i = respawnTime, 0, -1 do
plr.PlayerGui.RespawnGui.Background.RespawnTime.Text = "Respawning in " .. i .. " seconds..."
wait(1)
end
plr.PlayerGui.RespawnGui.Background.Visible = false
plr:LoadCharacter()
end)
end)
plr:LoadCharacter()
end)