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

How can I make a place saving function?

Asked by 6 years ago

I am looking for help making or finding a plugin/script that will have the player re spawn at his last location. Say a player starts at spawn, then moves to another region, then leaves the game for a break. I need help on how that player will re spawn after rejoining at the region that he left at. (kind of like the apocalypse rising thing where it saves your location.)

0
You can use 'PlayerRemoving' event and save the player's torso CFrame into a data store. awesomeipod 607 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You will have to save the last position of the player upon leaving on data store

Ad

Answer this question