local chatstorage = game.Workspace.ChatHistory
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(ChatSender)
local StringValue = Instance.new("StringValue", chatstorage)
local ColorVal = Instance.new("Color3Value", StringValue)
if plr.Name == "LetterSlayer" then
StringValue.Value = plr.Name.." : "..ChatSender..
ColorVal.Value = (20/255, 20/255, 20/255) --Error
else
StringValue.Value = plr.Name.." : "..ChatSender..
ColorVal.Value = (255/255, 255/255, 255/255) --Error
end
end)
end)
Why does this not work? Line 8) "Expected identifier, got '='" Line 11 is the same way, but I don't understand what is wrong with it.

2 comments
Use Color3.new() with the nums in the parentheses
It's still giving the same error.