local coreCall do
local MAX_RETRIES = 8
local StarterGui = game:GetService('StarterGui')
local RunService = game:GetService('RunService')
function coreCall(method, ...)
local result = {}
for retries = 1, MAX_RETRIES do
result = {pcall(StarterGui[method], StarterGui, ...)}
if result[1] then
break
end
RunService.Stepped:Wait()
end
return unpack(result)
end
end
coreCall('SetCore', 'All', false)
task.wait(0.001)
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
The problem is that this is an ongoing ROBLOX issue, which can’t usually be solved. ReplicatedFirst isn’t a solution, but rather a service that shouldn’t be used. Any SetCoreGuiEnabled scripts SHOULD be in StarterGui.