Attempt to call a table value

Getting a error “attempt to call a table value”
I have no clue how to fix it ive been searching for the error for a while

local info = {
	CColor={
		White={
			Color=Color3.fromRGB(117,0,0) --I know thats not white
		}
	}
}
local config = script:FindFirstChild(plr.Name.."_"..tostring(plr.UserId))
beam.Color=ColorSequence(info.CColor[config.EquipedCColor.Value]["Color"])

Its Supposed to be ColorSequence.new() to Create a ColorSequence, You are calling the the Table that holds it.

1 Like

Im now just getting another error “ColorSequence.new(): table expected.”, just me kinda not smart for forgeting .new

Mind showing what you are doing?

What in particular? Or just the entire script?

I manadged to fix it.
jjjjjjjjjjjjjjjjjjjjj

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.