game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = hit.Parent.Name.." has unboxed green sparkles!";
Font = Enum.Font.Arial;
Color = Color3.fromRGB(0, 255, 0);
})
I have included the "hit" part in the script but that part is working perfectly, it's just the chat part.
I am making a mystery box that spawns, and it is in server storage. When it spawns it goes into workspace obviously lol.
But it doesn't work, every time I make a chat script it never shows up, only on roblox studio.
I am using a normal script, by the way.
Can somebody please help me because I keep trying to search how to fix it but even AlvinBlox's tutorial doesn't seem to work.

2 comments
Oh yeah, and it MUST BE A LOCAL SCRIPT INSIDE OF THE STARTERPLAYERSCRIPTS INSIDE THE STARTERPLAYER FOLDER.
Oh, thanks!