Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Custom Character face change gets overriden by Player's actual Character face?

Asked by 5 years ago
Edited 5 years ago

I'm trying to change the Player's Character face, but it seems that it gets overriden by the Player's actual Character face shortly after Player spawns.

local teams = game.Teams

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
        if plr.Team == teams.Infected then
            local head = char:WaitForChild("Head")
            head.face.Texture = "rbxassetid://168332015"
        end
    end)
end)

It technically works, but gets overriden shortly after as i stated above, i've tried using "wait(1)" under the head variable and before the texture change, and it works as i want, but i'm trying to find another solution that rather instantly applies the face i want to but i can't find one.

Sorry if my english is messy.

Answer this question