SetCore: SendNotification has not been registered by the CoreScripts

No clue what the problem is. Trying to make a notification pop up, of the name of a certain limited, price and icon. “SetCore: SendNotification has not been registered by the CoreScripts - Client - LocalScript:9”

local StarterGui = game:GetService("StarterGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LimitedItemsModule = require(ReplicatedStorage:WaitForChild("LimitedItemsModule"))

-- Function to send a notification for each item
local function NotifyLimitedItems(items)
	for _, item in ipairs(items) do
		print(item.Name)
		StarterGui:SetCore("SendNotification", {
			Title = item.Name,
			Text = "Price: " .. tostring(item.Price) .. " Robux",
			Icon = item.Icon,
			Duration = 5
		})
		wait(6)
	end
end


NotifyLimitedItems(LimitedItemsModule)

EDIT: Found out it only works in joining a roblox game, not in studio!

It works just fine in Studio, you’re doing it too quickly.
Try pcalling it in a loop with a small wait and then breaking when success is true.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.