Script is breaking and I have no idea why

So heres the problem: I want to have a rank system (with group ranks) to show what rank someone might be in my group, however, on group ID it expects the closed bracket.

    {	
		name = "Flashbacks Studios",
		color = Color3.fromRGB(0, 234, 255)
		groupId = 4659668
	},

Heres the whole of the script if that helps

return {
	{	
		name = "Flashbacks Studios",
		color = Color3.fromRGB(0, 234, 255)
		groupId = 4659668
	},
	{
		name = "Dank",
		color = Color3.fromRGB(161, 191, 127)
		groupId = 2629950
	},
}

but yeah, this script is breaking my entire rank gui.

I tried to reorganize the code, and even delete the space between the open bracket and the name so that they were on the same line, but it seems to just be the third line in the bracket, since I just swapped the color and groupId and now color is the one acting up

It seems you arent using commas after each table entry, put commas.

1 Like

Forgot commas where required and forgot to use them I guess, thanks

2 Likes

LETS GO! I GOT MY FIRST SOLUTION EVER!, never actually have solved someone’s problem.

2 Likes