Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why wont this chat message system work?

Asked by 3 years ago

Not sure what the problem with this script is but its not working

local function chat(message)
    game.StarterGui:SetCore("ChatMakeSystemMessage", {Text = message, Colour = Colour3.FromRgb(255, 255, 255), Font = Enum.Font.SourceSansBold})
end

local messages = {"Test"}

while true do
    wait(5)
    chat(messages[math.random(1, #messages)])
end
0
Remove the "u" in the word "Colour". Color = Color3.fromRGB() AProgrammR 398 — 3y
0
Make sure it is a localscript AProgrammR 398 — 3y
0
hmmm dosent seem to be working but it fixed a error Totallynot_Zenta 1 — 3y
0
fromRGB instead of FromRgb? RAFA1608 543 — 3y

Answer this question