I am trying to make it so your torso, legs, arms, and everything is randomly colored but it isn't working
local RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
local Player = game:GetService("Players")
Player.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.Head.Color = RGB
RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.LeftUpperLeg.Color = RGB
RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.LowerTorso.Color = RGB
RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.RightLowerArm.Color = RGB
RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.LeftFoot.Color = RGB
RGB = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
character.LeftFoot.Color = RGB
end)
end)

2 comments
replace Color3.new with Color3.fromRGB or divide each of the random value by 255
it doesnt work