SendNotification seems working but it does not show in player’s screen. SCRIPT:
local notification = game.ReplicatedStorage.SendNotification
local startergui = game.StarterGui
notification.OnClientEvent:Connect(function(gunname, gunprice)
local success, result = pcall(function()
startergui:SetCore("SendNotification", {
Title = "Bought: "..gunname.." for "..gunprice;
Duration = 3;
})
end)
if success == true then
print("SendNotification")
else
warn(result)
end
end)
I think it’s due to the “Text” argument/key which required for SendNotification
local success, result = pcall(function()
startergui:SetCore("SendNotification", {
Title = "Bought: "..gunname.." for "..gunprice;
Text = "Text goes here";
Duration = 3;
})
end)