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

How to keep the character the same even if they respawn?

Asked by 3 years ago

The morph is just black, nothing else:

script.Parent.Humanoid.Died:connect(function()
    local player = game.Players:GetPlayerFromCharacter(script.Parent)
    if player.Team == game.Teams.SCP then
        wait(game.Players.RespawnTime + 1)
        local Scripts = game.ReplicatedStorage.Scripts:Clone()
        Scripts.Parent = player.Character
        for i,v in pairs(player.Character:GetChildren()) do
            if v:IsA("Part") or v:IsA("MeshPart") then
                v.BrickColor = BrickColor.new("Really black")
            end
        end
        for i,v in pairs(player.Character:GetChildren()) do
            if v:IsA("Accessory") or v:IsA("Clothing") then
                v:Destroy()
            end
        end 
end
end)
0
A quick correction: its supposed to be black jedistuff2 89 — 3y
0
yield until the character is fully loaded again greatneil80 2647 — 3y
0
how do i do that? jedistuff2 89 — 3y

Answer this question