ZonePlus not firing it's events after dying

Hey people of the forums, I’m having a major issue with the ZonePlus module at the moment, and posted this topic hoping someone could help.

Before your character dies, all of the zones work as expected. The instant you die and respawn, all of the zones break.

I’ve tried using the module’s janitor to destroy the zones with my gui, printing to see if the zones even exist, added prints to the events themselves, searched up topics on the same thing, to no avail. The closest topic was this, but it the solution there most likely won’t help my usecase.

My goal here today is to find out of this is a bug with the module itself, or if it’s my code, and if it can be fixed.

With all that being said, here’s an example place, walk though any zones you want, and then reset and try walking through them again. Observe there’s no prints being made in the output after resetting.
ZonePlus Breaking Repro.rbxl (80.6 KB)

I believe it’s just a matter of how the module handles the LocalPlayer. After resetting, the character model gets deleted and re-added into the workspace, and I don’t think ZonePlus accounts for that.

Here’s the file you provided, except handled on the Server. Replace the LocalScript in ReplicatedFirst with a Server Script inside of ServerScriptService, and it’s as good as new!
ZonePlus_Breaking_Repro.rbxl (80.6 KB)

1 Like

Quick update: I found out how to fix my issue without needing to transfer zones to the server.

All you need to do is destroy the previous zones when you die

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.