3.2.0 • Published 10 months ago

@rbxts/zone-plus v3.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 months ago

@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!`);
	});	
}
3.2.0

10 months ago

2.2.3

3 years ago

2.0.0

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

3 years ago