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

How to fix this force character appearance script?

Asked by
F_lipe 135
9 years ago

I have no idea on where to start with debugging this and need help

game.Workspace.ChildAdded:connect(function(plr)
    local name = plr.Name
    local playerinplayers = game.Players:FindFirstChild(plr.Name)
    if playerinplayers ~= nil then 
        playerinplayers.CanLoadCharacterAppearance = false
        plr.Head.face.Texture = "rbxassetid://286266375"
        local bodycolors = Instance.new("BodyColors",plr)
        bodycolors.RightArmColor = BrickColor.new("Really black")
        bodycolors.LeftArmColor = BrickColor.new("Really black")
        bodycolors.RightLegColor = BrickColor.new("Really black")
        bodycolors.LeftLegColor = BrickColor.new("Really black")
        bodycolors.TorsoColor = BrickColor.new("Really black")
        bodycolors.HeadColor = Brickcolor.new("Really black")

    end

end
0
Here's output: 21:37:18.192 - Auto-Saving... Loaded gloo library. Type _G.gloo.Help() for help. 21:37:19.696 - Workspace.Script:17: ')' expected (to close '(' at line 1) near '<eof>' F_lipe 135 — 9y

Answer this question