Is it possible to have disabled or enabled state in a specific region3 so it's unable to be used in that specific region?
✓ ANSWER ACCEPTED
Can you disable a script / localscript inside a Region3?
1 answer
✓ Accepted answer
I think using FindPartsInRegion3 and disabling would work. Note: I don't have much experience with Region3, so there's probably a much more efficient way to do this.
while wait() do
for _, v in pairs (game.Workspace:FindPartsInRegion3(NameOfRegion, nil, 100)) do
if v.Name == player.Name then
NameOfScript.Disabled = true
break
end
NameOfScript.Disabled = false
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
