Using spaces in script

Hello, i’m making script that gets character from Server Storage and changes it’s legs, arms, torso color to (pants, shirt) problem is Character uses space Left Arm i know about ["Space1 Space2"] but that doesn't work in this case if i use a.["Left Arm] i get this error:

Is there way to use Left Arm without removing spaces?

Script:

local a = game.ServerStorage.Characters.CHR_Male:Clone()
a.Parent = game.Workspace
local shirt = Color3.fromRGB(math.random(0, 255), 0, math.random(0, 255))
local pants = Color3.fromRGB(math.random(0, 255), 0, math.random(0, 255))
a.["RightArm"].Color3 = shirt

yes just skip dot and u should be fine, also not sure if the property is called “Color3”

1 Like

Oh i completly forgot about that dot, thanks!

1 Like