No matter how many local scripts I disable, debug or change completely I still run into the issue with hats appearing in first person, even after deleting these hats with explorer or a local script they still remain on my character even though they do not exist. I’ve also tried to fix this by temporarily moving the hats elsewhere while zoomed in but It fixed absolutely nothing.
put in starter character scripts, real script not a local script:
local char = script.Parent
for i,v in pairs(char:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
end
char.DescendantAdded:Connect(function(obj)
if obj:IsA("Accessory") then
obj:Destroy()
end
end)
local char = script.Parent
for i,v in pairs(char:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
end
local me = char.DescendantAdded:Connect(function(obj)
if obj:IsA("Accessory") then
obj:Destroy()
end
end)
wait(0.6)
me:disconnect()
me = nil
local player = game.Players:GetPlayerFromCharacter(script.Parent)
local userid = player.UserId
local char = script.Parent
local AppModel = game.Players:GetCharacterAppearanceAsync(userid)
for _, Object in next, AppModel:GetChildren() do
if Object:IsA('Accessory') then
Object.Parent = char
end
end
script:Destroy()