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

How to get "backpack" inventory to save across universe?

Asked by 4 years ago

So, I been digging around the internet to figure out how to use datastore to save inventory across the universe

example: user gets the item from server 1, then teleport's to another server "same universe" the user keeps his inventory from server 1 and can use it on server 2, vice versa.

Does anyone know to save inventory across a universe, that a user can keep across servers?

Thanks, everyone!

0
Do you mean the players default backpack or a custom inventory? 0b1w 13 — 4y
0
player defaults backpack, sorry about that confusion Dis_chat 0 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

You can use DataStore to save values off of different weapons. What I mean:
If the player got a sword, that value would be 1
if the player got a gun, that value would be 2
if the player got a duck, that value would be 3.and so on and so on. Just create values for weapons, then save them to a datastore.

Ad

Answer this question