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

How do you transfer leaderstats from one game to another?

Asked by 3 years ago

Hello i'm making a obby type game where you can enter various difficulties of obbies. And if you beat one you get a certain amount of Zoreens (my point system). I want to make it so when you finish an obby you get the Zoreens and instantly get teleported back. I've done the teleporting part but do not know how to transfer leaderstats from one game to another. For example i beat easy obby and when i come back to the game i will have gained +5 zoreens :). Can someone please help me? And i made sure the places are all in asset manager > places.

0
I thought devs are not aloud to travel players through there own places. I do not under stand how you are even able to do this. xxaxxaz 42 — 3y
0
You have to enable player game teleportation or something in settings. brodywth 97 — 3y
0
use the same datastore in the other place, make sure each place is within the same game to ensure the same datastore can be used throughout the game greatneil80 2647 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago

You overcomplicated this a bit, I think. You could simply add all the difficulties in the same place, and just teleport players to the lobby when they finish a difficulty. There, there could be multiple difficulties of obbies branching off in different directions, or simply a teleport that teleports you to a different place in the SAME GAME. Having the data being transferred from place to place is way too much work, unless if there is a specific reason you can't do it, in which case you weren't being detailed enough in your question.

Ad
Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

You need to know python, using an api you can use the Discord API and communicate with each other with that. To me, that is the most simple way.

(Basically make 2 discord bots that chat and read messages, I would watch this video: https://www.youtube.com/watch?v=nW8c7vT6Hl4&ab_channel=Lucas )

Edit: (Simple way to explain) Use a discord script in Roblox to talk in Discord, then use Python and make a bot to transfer it to another game

Answer this question