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

DataModel was not available?

Asked by 4 years ago
Edited 4 years ago

Hi, I have a question. Everything looks good before Humanoid.Died, but when Humanoid.Died Fired Humanoid:ApplyDescription() gives Error: Humanoid::ApplyDescription() DataModel was not available

    Humanoid.Died:Connect(function()
        Player.CharacterAdded:wait()
        if Player.Character.Humanoid then
            local NewHumanoid = Player.Character.Humanoid
        if Team == BrickColor.new("Black") then
            NewHumanoid:ApplyDescription(MafiaDes)
        elseif Team == BrickColor.new("Lapis") then
            NewHumanoid:ApplyDescription(PoliceDes)
            else
                return
        end
        end
    end)
end)

Answer this question