Part is aparently nil

First time using the forum, so this is prolly gonna look messy:

At some point I tried making a game similar to Forsaken from ground zero and it turned out to be pretty fun so I fixed some optimization stuff and I’m now trying to finish its second ever update. The issue is, that when I added settings, “DisplayHitbox” doesn’t work. The issue is nor with DataStore or with the module that fires the function.

The way I made it was via a module:

And it fires a RemoteEvent that is then recieved from each client to be adjusted accordingly.

At first I thought the issue was with the fact that Invoking a database-getting function took too much time and the part could already fade into nil (as it is soon added to Debris Service). But the module prints out nil even the second the signal is recieved.

I’m stuck terribly and I’m losing motivation to continue really quickly, as this issue makes no sense to me. I have over 4 years of experience and they seem like nothing when facing this seemingly unimportant and simple issue.

Anyone, I’ll try any method you suggest. I just need this issue dealt with already, it’s been a month.

Part is not visible on client (streamed out).
I’d recommend you to read this:
https://create.roblox.com/docs/workspace/streaming

It is enabled, though. I presume there is more to this, in this case?

Just try to do quick test.
Disable streaming or Parent part to ReplicatedStorage, and check if problem occurs again.
If so, then you need to deal with streaming.

I disabled streaming. Everything worked like a charm. Cheers!