SimpleZone | A simple, fast and new Zone module!

unfortunately package auto update doesn’t work, so rip. time to start a github

1 Like

The latest module is available on the marketplace, however Roblox, in their infinite wisdom, has decided i am not trustable enough to distribute updateable modules :sob:

Yeah ill probably start a github once i get my laptop back… starting to see the benefits now

Is this the module? Unfortunately I am not allowed to access it.

Yes, itis the module, look at this:

I have no idea how to fix it.

Yeah, just as UltraInstinct said, I’m not able to update the package.
I cant find it on the Creator Store, and if I try to do “Get Latest Package” I get an error saying?

Package update error: Request Failed

I’m stuck on the version in your download file
This is the PlayerLookup file I have

local Players = game:GetService('Players')

-- A lookup table to store the body parts of every player
local characterObjects = {}
-- A lookup table to store what bodyparts for a player are stored
-- in characterObjects
local playerOwned = {}

-- Fast player lookup table
local function onPlayerAdded(player)
	local character = player.Character or player.CharacterAdded:Wait()

	local descendants = character:GetDescendants()
	local parts = {}

	for _, v in descendants do
		if not v:IsA("BasePart") then continue end

		characterObjects[v] = player

		table.insert(parts, v)
	end

	playerOwned[player] = parts
	
	player.CharacterAdded:Connect(function(character: Model)
		for _, part in playerOwned[player] do
			characterObjects[part] = nil
		end
		local descendants = character:GetDescendants()
		local parts = {}

		for _, v in descendants do
			if not v:IsA("BasePart") then continue end

			characterObjects[v] = player

			table.insert(parts, v)
		end
		
		playerOwned[player] = parts
	end)
end

local function onPlayerRemoving(player)
	if not playerOwned[player] then return end

	for _, v in playerOwned[player] do
		characterObjects[v] = nil
	end
end

Players.PlayerAdded:Connect(onPlayerAdded)
Players.PlayerRemoving:Connect(onPlayerRemoving)

for _, player in Players:GetPlayers() do
	onPlayerAdded(player)
end

return characterObjects

:sob: :sob: im so defeated bro ahhhhhhh

1 Like

Yes this is indeed the old PlayerLookup which had issues on it, only version 47 has the new one

1 Like

I think the only solution at this point is to setup a Github repository to prevent future things like this, which i wont be able to do until i get a functioning laptop :////////

1 Like

Ah damn, oh well
It is what it is hahaha

If you ever manage to fix it (or if you manage to publish the latest version)
Let us know!

1 Like

My dumbass was out here trying to use Zones when normal Touched events work just fine…
I remember a few years when I tried doing Roblox that there were some issues with the Touched event cuz of which I transitioned to Zone, but at the moment I don’t see any issues, so I guess Touched it is!

I was going for the whole “change song intensity in different areas” vibe

1 Like

Lol, totally understandable. Im glad you were able to fix it :slight_smile:

1 Like

Does this work with meshparts?

Yes, it does. 30charlimit_________

you have to be authorized for this?

Yeah, i dunno why.
Also:

Still locked afterall :frowning:

1 Like

roblox doesn’t support publishing packages yet (you converted the modulescript to a package for versioning)

instead you have to publish the modulescripts by themselves

Ohhh, the asset must’ve been taken down for some reason. I owned it before, so I can still use it.

1 Like

A bit too late for that as my laptop is broken and I can’t reconfigure it :sob: :face_with_symbols_over_mouth:

If you have access to package version 47 id appreciate if you can send it in my dms so i can update the module download link

1 Like

I’ve updated the download on the post to be the newest one you gave me, if you didn’t backdoor the module (you wouldn’t!!) it should be working now :slight_smile:

1 Like