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

Color3 Table help (QUICK RESPONSE)?

Asked by
iLegitus 130
9 years ago
local colors = {
    Color3.new(20/59, 255/41, 20/255)
    Color3.new(20/255, 255/255, 20/255) 
}

17:22:07.429 - Players.Player.PlayerGui.IntroGUI.LocalScript:23: '}' expected (to close '{' at line 21) near 'Color3'

Its correct but,It says that error..

1 answer

Log in to vote
4
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
9 years ago

QUICK FIX -had to do that

You're missing a comma by the first entry.

local colors = {
    Color3.new(20/59, 255/41, 20/255), -- forgot comma, or semicolon here.
    Color3.new(20/255, 255/255, 20/255) 
}

If it still doesn't work, then you have not given us enough of the script to work with.

Ad

Answer this question