Let’s say 100 different players have played my game. 80% of them died within the first 5 minutes of gameplay. I want to create a system that can log when a player dies and then save said data to the game—allowing me to later retrieve the data via admin panel UI, webhook, etc.
Is this possible on the Roblox platform or would I have to use an external storage method? If it’s possible, how would I go about doing so? (would I be able to use DataStore2?) If it’s not possible, does anyone have any recommendations for an offsite solution?
I tried to search the web for solutions, but I couldn’t find any relating to this issue. Maybe my wording is off? I’m notoriously bad with datastores so any advice, tips, or tricks are greatly appreciated!
DataStores already don’t directly save data to a specific player, when you make data save for a player it is basically making its own subsection of a DataStore, so you can just not use a specific player to save the data to for a sort of global DataStore.
You could create a table, and if a player dies within the first 5 minutes, add them to that table on the server. Then, every couple of minutes, get the current datastore table, add the new table content, commit the new full table to the datastore, clear the table and rinse and repeat.
Do you not understand what a DataStore is? How do you think a DataStore is created? You have to script it. I won’t be responding to you any longer because I can’t tell if you’re just unknowledgeable or if you’re trying to troll me.
This place isn’t only for fixing existing scripts. He’s not asking us to write him a script, he just needs a little guidance, and he’s skilled enough to take care of the rest. It’s not a requirement that he shows a script.