So, I’m trying to make it when people join a game it sends a notification to everyone. I have a server script firing the event, that has no errors. But when the script:
game.ReplicatedStorage.Notify.OnClientEvent:Connect(function(player)
game.StarterGui:SetCore("SendNotification", {
Title = player.." joined!";
Text = "Welcome "..player.." to the game!";
Duration = 5;
Button1 = "Ok!";
})
This means the core scripts haven’t finished loading yet. You will have to wrap setcore in a pcall and keep trying until it doesn’t error and goes through.