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)