#tables help
1 messages · Page 1 of 1 (latest)
Color3FromRgb() or smth?
noo
U sent ss of nothing
i want it to look like this
i want it to look like this
BRO
i want it to look like this
instead of this
@stuck aurora
ill send script
Oh I see
local code = script.Code.Value
local tableCode = game:GetService("HttpService"):JSONDecode(code)
local a = {
["RGB"]={0,0,0}
}
for i,v in pairs(a) do
b = v
end
for i,v in pairs(tableCode) do
print(b)
table.insert(v[3],b)
end
print(tableCode)
ignore terrible variable names
its a game with a code system and i want to colour a whole build
the codes look like this
Also u don't need to use [""]
Something like [“RGB”] = {red=25, green=117, blue=2}
Am on phone so cant see
Try that
[["Connector",[["5","1",6]],{"RGB":[137,99,97],"OrientationY":22.5}],["Connector",[["5","3",6]],{"RGB":[222,94,90],"OrientationY":22.5}],["Connector",[["5","6",6]],{"RGB":[84,186,163],"OrientationY":22.5}],["Connector",[["5","4",6]],{"RGB":[175,71,77],"OrientationY":22.5}],["Connector",[["5","2",6]],{"RGB":[184,151,133],"OrientationY":22.5}],["Connector",[],{"RGB":[127,174,153]}]]
thats what the codes look like
no the game dosent read it like that
What
did u read what i said earlier 😭
no but u dont understand
Wym color a whole building
its a code system in a game
???
I’m trying to help u dude
and in the game u can save ur builds as codes