SetCore not working?

So I’m working on a game, I’ve made a preloading script a long time ago, it always worked in my game. But all of a sudden when my friend tries the game, weird things start to happen.
For me the output is clear, no script errors.
For my friend it’s messy, not because of my scripts, but because of roblox’s scripts; https://cdn.discordapp.com/attachments/569884673191182344/670984005734236190/unknown.png
The resetbuttoncallback script is inside the preload script, this means infinite preload.
Also, here’s the preload script (localscript);

game:GetService("ReplicatedFirst"):RemoveDefaultLoadingScreen()

game.Lighting.Loadinggui:Clone().Parent = game.Players.LocalPlayer.PlayerGui

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)
game.StarterGui:SetCore("ResetButtonCallback",false)

for i,v in pairs(workspace:WaitForChild("GlobalSounds"):WaitForChild("AmbienceMusic"):GetChildren()) do
	v.Volume = 0
end

for i,v in pairs(game:GetChildren()) do
	pcall(function()
		contentprovider:PreloadAsync({v})
	end)
end

game.Players.LocalPlayer.PlayerGui.Loadinggui:Destroy()
game.ReplicatedStorage.DoneLoading:FireServer()```
2 Likes

There is many duplicate posts of what you’d posted, I’d recommend taking a look at them before posting.

2 Likes