If you rename Humanoid in a Character, a core script related to Self View (selfie view) will error from time to time:
Error message/details
16:53:29.653 CoreGui.RobloxGui.Modules.SelfieView.Utils.ModelUtils:92: attempt to index nil with 'IsA' - Client
16:53:29.653 Stack Begin - Studio
16:53:29.653 Script 'CoreGui.RobloxGui.Modules.SelfieView.Utils.ModelUtils', Line 92 - function getAnimator - Studio
16:53:29.653 Script 'CoreGui.RobloxGui.Modules.SelfieView.Components.FaceClone', Line 212 - function updateClone - Studio
16:53:29.653 Script 'CoreGui.RobloxGui.Modules.SelfieView.Components.FaceClone', Line 846 - Studio
16:53:29.654 Stack End - Studio
Repro
- Use this serversided script (or rename it through the Explorer):
Code
local Players = game:GetService("Players")
local function PlayerAdded(player: Player): ()
local function CharacterAdded(character: Model): ()
local humanoid = character:FindFirstChildOfClass("Humanoid")
humanoid.Name = "Core"
end
player.CharacterAdded:Connect(CharacterAdded)
local character = player.Character
if (character) then
task.spawn(CharacterAdded, character)
end
end
Players.PlayerAdded:Connect(PlayerAdded)
for _, player: Player in Players:GetPlayers() do
task.spawn(PlayerAdded, player)
end
- Spawn in-game and wait a bit.
- Errors will start to appear in the console output from a core-script in CoreGui.
Demonstration