TeleporterDestination
Destination that Teleporter with the same TeleportId will randomly pick
and teleport.
TeleporterDestination = { -- Attributes TeleporterId: std.Attribute<string>, TeleporterOffset: std.Attribute<number | Vector3 | CFrame>, -- API idToDestination: std.MapArray<string, BasePart>,}Attributes
Section titled “Attributes”TeleporterId
Section titled “TeleporterId”TeleporterDestination.TeleporterId: std.Attribute<string>The associated group of teleporters.
TeleporterOffset
Section titled “TeleporterOffset”TeleporterDestination.TeleporterOffset: std.Attribute<number | Vector3 | CFrame>How far from the center the player will be teleported to. Can be used to
shift players from clipping into the ground with a TeleportDestination on
the ground.
Properties
Section titled “Properties”idToDestination
Section titled “idToDestination”TeleporterDestination.idToDestination: std.MapArray<string, BasePart>A MapArray from TeleporterId to TeleporterDestinations with that id.