I wrote a local script that displays what was unboxed but unfortunately it only displays for the client
local rs = game:GetService("ReplicatedStorage")
local unboxEvent = rs:WaitForChild("UnboxDisplayer")
local legendaries = {
"Angel of Angels", "Endless Void", "Witch Companion"
}
local epics = {
"Burning Sensation", "Clover Companion"
}
local rares = {
"Glitter Companion", "Pink Cyborg"
}
local uncommons = {
"Triangular Companion", "Orange Dash"
}
local commons = {
"Blu Companion", "Blue Ripples"
}
unboxEvent.OnClientEvent:Connect(function(itemChosen)
local color
if table.find(legendaries, itemChosen) then
color = Color3.fromRGB(255, 152, 25) -- Orange color for legendaries
elseif table.find(epics, itemChosen) then
color = Color3.fromRGB(240, 74, 146) -- Purple color for epics
elseif table.find(rares, itemChosen) then
color = Color3.fromRGB(102, 54, 247) -- Blue color for rares
elseif table.find(uncommons, itemChosen) then
color = Color3.fromRGB(33, 233, 255) -- Yellow color for uncommons
else
color = Color3.fromRGB(124, 227, 55) -- Cyan color for commons
end
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = itemChosen .. " has just been unboxed by " .. tostring(game.Players.LocalPlayer) .. "!",
Color = color,
Font = Enum.Font.SourceSansBold,
TextSize = 18,
})
end)
yeah, if u want everyone to get the event then use :FireAllClients(). using just :FireClient(plr) will fire it to only one person. (unless u use a for loop but fireallclients would be easier)
I’m also pretty sure Roblox doesnt register callbacks for “ChatMakeSystemMessage” anymore if you’re using the new chat, i think Roblox uses :DisplaySystemMessage() now.