local zoneModule = require(game:GetService("ServerStorage"):WaitForChild("SimpleZone"))
local zone = zoneModule.new(script.Parent)
zone:ListenTo("Player", "Entered", function(player)
player:RemoveTag("StikeableByLightning")
print(("%s entered the zone!"):format(player.Name))
end)
SimpleZoneVSZonePlusMeshPartTest.rbxl (149.0 KB)
Here is a place file showing what I am talking about. You might need to go to different parts of the dome to see the difference clearly which is why I’ve added in a magic carpet.
I have been able to work around the issue by using a smaller dome within that dome as it seems your module just makes a slightly larger zone than zoneplus. EDIT: i had to use maths because neither zoneplus nor simple zone was sufficient.
Hi, this is an issue with SimpleSignal version 68 and below, please make sure the SimpleSignal dependency is at version 69 by updating it or downloading the latest SimpleZone release
I dunno if I’m gonna put it on Wally since because I do all development on Studio it’d require me to port the module to typescript (iirc) for current and all future updates, which I honestly can’t be bothered to do
Hello, would it be possible to add a method, zone:Getplayers(), it returns the players who are currently in the zone and also make an option to avoid making everything bug, I explain when I stick two zones side by side for example, two biomes and I put listen to Entered and Exited, the function which will be executed first when it will go to the other zone will be PlayerEntered, and after the function Player Existed which was in the starting zone will fire, which will make that the players will end up in no biome while he is in the other biome, yes zoneplus had these options I changed because it has a lot of bugs and it only worked 1 time out of 3
I’m working on a building system for my warehouse game and I’m using SimpleZone to get whether the user is in a buildzone or not and the issue I’m having right now is the zones aren’t using the right scale it seems. Whenver the frames in the top-left corner appear that’s when the zone registers I’m in it & the objects underlined are the parts with the AllowBuilding tag
local BuildMenu = {}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local PlayerService = game:GetService("Players")
local Player = PlayerService.LocalPlayer
local CollectionService = game:GetService("CollectionService")
local SimpleZone = require(ReplicatedStorage.Modules.SimpleZone)
local Options = SimpleZone.QueryOptions.new()
Options.AcceptMetadata = true
local EnterBuildZone = SimpleZone.fromParts(CollectionService:GetTagged("AllowBuilding"), Options)
EnterBuildZone:BindToHeartbeat()
function BuildMenu:Sync(Frame)
EnterBuildZone:ListenTo("LocalPlayer", "Entered", function(player: Player, other)
print(player, "entered a zone?")
print(other)
Frame.Visible = true
end)
EnterBuildZone:ListenTo("LocalPlayer", "Exited", function(player: Player, other)
Frame.Visible = false
end)
end
return BuildMenu