hi im making a game that have game teleport in it. theres also tool in the game. id like to know how do you make it so that the player's backpack item will still be in the player's backpack when he or she teleported to the other game? (im still new to the whole scripting stuff)
✓ ANSWER ACCEPTED
How to save item when teleporting?
1 answer
✓ Accepted answer
You can achieve this by doing 2 things:
if it's a tool that EVERY player has just make a simple script like this in the game you teleport to:
game.Players.PlayerAdded:Connect(function(player)
game.Lighting.TOOL:Clone().Parent = player.Backpack
end)
or you can use the DataStoreService to save data and load data in the new game.
: https://developer.roblox.com/en-us/api-reference/class/DataStoreService
1 comment
0
thanks
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You will need to make a game universe. Under your main place, create a new place. You will need to go into studio to actually make a place that correlates with the first place. You then can call the same datastore and your data is transferable between both places