Can I create one script that multiple places run on?

Hi, I’m making a robbery game where there are multiple places added to it to teleport players with TeleportService. Now my question is, is it possible to create 1 script and then have multiple places use that script for certain subjects?

It seems useful to me to use 1 script for a certain subjects of each place, so I can change code more easily if necessary.

I haven’t tried anything yet, because I really have no idea how to do this.

Roblox packages allow you to create object hierarchies once and re-use them in as many games as you’d like.
Roblox Packages – Reusable Game Assets

Try using modulescripts and packages

2 Likes