Both of the screen GUI's are located in Replicated Storage. Then I have a script in ServerScriptService, which clones the GUI's into the game after waiting for the PlayerGui. This works and loads in studio, but when I publish it and test it the screen gui won't load. I've tried many things but, as im a beginner I cant find a way to do it :P
local gui = game.ReplicatedStorage.StarterMenu
local menu = game.ReplicatedStorage.EggMenu
game.Players.PlayerAdded:connect(function(player)
player:WaitForChild("PlayerGui")
gui:Clone().Parent = player.PlayerGui
menu:Clone().Parent = player.PlayerGui
end)
