You explained what you expect to happen but it would help to know what actually happens as well.
Do you have other interactables working? Seems like this snippet makes your player’s interaction area seldom active
make sure to paste script with proper formatting