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 5 years ago
Edited 5 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

01    Humanoid.Died:Connect(function()
02        Player.CharacterAdded:wait()
03        if Player.Character.Humanoid then
04            local NewHumanoid = Player.Character.Humanoid
05        if Team == BrickColor.new("Black") then
06            NewHumanoid:ApplyDescription(MafiaDes)
07        elseif Team == BrickColor.new("Lapis") then
08            NewHumanoid:ApplyDescription(PoliceDes)
09            else
10                return
11        end
12        end
13    end)
14end)

Answer this question