-
What do you want to achieve? Keep it simple and clear!
I want to fix this line of code. -
What is the issue? Include screenshots / videos if possible!
Whenever I want to change the HumanoidDisplayDistanceType this will show. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes, I could not find the solution anywhere, but it is odd as it worked few days ago.
Code:
for _,v in pairs(person.Character:GetChildren()) do
if v:IsA("Script") or v:IsA("LocalScript") or v:IsA("ModuleScript") then
continue
elseif v:IsA("Humanoid") then
pcall(function()
v.HumanoidDisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
end)
--- Below this I am not manipulating with HumanoidDisplayDistanceType.