character hair colours aren't working how can it be fixed?
Asked by
5 years ago Edited 5 years ago
i've been making a closed community spinoff of rogue lineage for some friends and the hair colours always just become grey can anyone help me with this
01 | game.Players.PlayerAdded:Connect( function (player) |
02 | player.CharacterAdded:connect( function (character) |
04 | local Contents = character:GetChildren() |
05 | for _, v in pairs (Contents) do |
06 | if v:IsA( "Accessory" ) then |
07 | v:FindFirstChild( "Handle" ).Mesh.TextureId = 1 |
08 | if player.PlayerRace = = "Fischeran" then |
09 | v:FindFirstChild( "Handle" ).Color = Color 3. fromRGB( 159 , 243 , 233 ) |
10 | elseif player.PlayerRace = = "Livus" then |
11 | v:FindFirstChild( "Handle" ).Color = Color 3. fromRGB( 127 , 243 , 144 ) |
12 | elseif player.PlayerRace = = "Averan" then |
13 | v:FindFirstChild( "Handle" ).Color = Color 3. fromRGB( 253 , 234 , 141 ) |
14 | elseif player.PlayerRace = = "Spirus" then |
15 | if player.SpirusVariant = = 1 then |
16 | v:FindFirstChild( "Handle" ).Color = Color 3. fromRGB( 255 , 255 , 255 ) |
18 | v:FindFirstChild( "Handle" ).Color = Color 3. fromRGB( 0 , 0 , 0 ) |