( I answered this myself fell free to check out what I did and use it in your game if you like ) Right now I'm trying to make a script that makes a starting screen appear for players in the lobby team it works but if the player resets or dies the GUI is not loaded in again if they are at the lobby team. Here is the script fell free to ask me any questions about it
local Players = game:GetService("Players")
local teams = game:GetService("Teams")
local function onCharacterAdded(character)
print(character.Name .. " has spawned")
local respawning_player = game.Players:FindFirstChild(character.Name)
print("player has been found")
if respawning_player.Team == teams.Lobby then
print(character.Name .. " is in the lobby")
local Starting_Screen = game.ServerStorage.UI.StartingScreen:Clone()
Starting_Screen.Parent = respawning_player.PlayerGui
print(character.Name .. " now can see the starting screen")
end
end
local function onCharacterRemoving(character)
print(character.Name .. " is despawning")
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
player.CharacterRemoving:Connect(onCharacterRemoving)
end
Players.PlayerAdded:Connect(onPlayerAdded)

2 comments
Try setting the ResetOnSpawn property of your GUI to true.
Its already set to true