Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I go about saving a player's place when joining a game?

Basically, what i'm trying to achieve is a script that is placed in the main place of a game. And when that script detects a player, it will send that player to a different place of said game if they logged out there before. Is this even possible, and if it is, how would I even start a script like this?

1 answer

simply make a value in a datastore with the current place id of where the player is. then save the data when they leave. once they rejoin the game simply have the data load and check the place id, if the place id is one that matches a place in your game, teleport them to the place.

This discussion is preserved as it was. New answers, comments, and votes are closed.