I want people to have a random colored body but it doesn't work?
Asked by
3 years ago Edited 3 years ago
I am trying to make it so your torso, legs, arms, and everything is randomly colored but it isn't working
01 | local RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
03 | local Player = game:GetService( "Players" ) |
04 | Player.PlayerAdded:Connect( function (player) |
05 | player.CharacterAdded:Connect( function (character) |
06 | local RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
07 | character.Head.Color = RGB |
08 | RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
09 | character.LeftUpperLeg.Color = RGB |
10 | RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
11 | character.LowerTorso.Color = RGB |
12 | RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
13 | character.RightLowerArm.Color = RGB |
14 | RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
15 | character.LeftFoot.Color = RGB |
16 | RGB = Color 3. new(math.random( 0 , 255 ), math.random( 0 , 255 ), math.random( 0 , 255 )) |
17 | character.LeftFoot.Color = RGB |