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)