My server message isn’t appearing
local function donateButtonClicked(donateButton)
local itemId = donateButton.Value.Value
local itemPrice = donateButton.Price.Value
MarketPlaceService:PromptPurchase(loser, itemId)
MarketPlaceService.PromptPurchaseFinished:Connect(function(loser, itemId, was_purchased)
if was_purchased then
loser.leaderstats.Donated.Value += itemPrice
local playerId = loser.UserId
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "[SYSTEM] "..loser.." donated "..itemPrice.." robux to "..winnerName;
Font = Enum.Font.Cartoon;
Color = Color3.new(0,255,0);
FontSize = Enum.FontSize.Size96;
})
end
end)
end