I'm probably missing something very simple here but this function is not working when I test the game.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local Humanoid = char:WaitForChild("Humanoid")
Humanoid.DisplayDistanceType = ("None")
Humanoid:RemoveAccessories()
end)
end)

2 comments
Would make sure to wait for the character appearance to load https://developer.roblox.com/en-us/api-reference/function/Humanoid/RemoveAccessories
Thanks