It has become increasingly troublesome to prevent premature removal of instances from causing errors and disabling connections. Whether by fall height, players leaving the game, or accidental deletions this issue forces developers to write out constant checks for instances which makes code verbose and more often than not reappears as unexpected bugs. The worst of this being character deletion upon players leaving the game since its entirely unavoidable.
Right now I have to reparent the character back into workspace and redo connections- it would be much easier to have a property (or some other method) for ensuring that the character has not been reparented or destroyed. I understand that this wouldn’t be an easy implementation considering streaming- so at the very least rather than having an instance property, there could be a players service property preventing character deletion when players leave.
Yes, you could always wrap logic in a pcall- but its become excessive enough to warrant a feature request.
Let me know if this is relatable.
there is no way to consistently access the character once the player has left since half the time it’s been destroyed by the time you get to run your code. ( Somewhat of a response to @PeZsmistic and @InsanityFE4R )
For what you referenced, the normal solution would be to make a clone of the character early so you can use it after normal destruction. This feels like a niche usecase that doesn’t need a special case property for. Correct me if you think I am wrong.