Socket
Book a DemoInstallSign in
Socket

@rbxts/zone-plus

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbxts/zone-plus

Typings for ForeverHD's ZonePlus v3 module

3.2.0
latest
Source
npmnpm
Version published
Weekly downloads
624
403.23%
Maintainers
1
Weekly downloads
 
Created
Source

@rbxts/zone-plus

Typings for ForeverHD's ZonePlus v3 module

Installation

npm i @rbxts/zone-plus

Example Usage

import { Zone } from "@rbxts/zone-plus";
import { CollectionService } from "@rbxts/services";

for (const zonePart of CollectionService.GetTagged("Zone")) {
	if (!zonePart.IsA("BasePart")) {
		continue;
	}

	const zone = new Zone(zonePart);

	zone.playerEntered.Connect((player) => {
		print(`${player.Name} entered the zone!`);
	});

	zone.playerExited.Connect((player) => {
		print(`${player.Name} exited the zone!`);
	});	
}

Keywords

roblox

FAQs

Package last updated on 10 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.