Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Keeping inventory using TeleportService?

Asked by
gitrog 326 Moderation Voter
6 years ago

Is there a way that when a player teleports from one place in the same game as another place the items in that player's inventory stay? If there isn't an easy way to do this, I'm sure I could write a script that takes everything in their inventory and gives it to them again, but I want to know if there is an easier way first, and how.

1 answer

Log in to vote
0
Answered by 6 years ago

You could use datastores and save the player's inventory from the teleport place. Once the player is in the second place then request the data from it and use a script to give the players items.

If you wish I'll gladly help you with scripting.

0
Ah. That's what I was thinking I'd have to do. Just wanted to make sure there wasn't a simpler method. Thank you though. gitrog 326 — 6y
Ad

Answer this question