#Help my game plss
1 messages · Page 1 of 1 (latest)
Use "DataStoreService"
What is it
** You are now Level 1! **
local DataStoreService = game:GetService("DataStoreService")
it store data for your game
Player_Data = DataStoreService:GetDataStore("Player_Data")
this is for the name of dataset.
GetAsync(key)
this is to get the data
SetAsync(key, newdata)
this is to save new data
Player_Data:GetAsync(Key) --Key == "string"
you can name the key. like player name or player userid or both combine
Player_Data:SetAsync(key, newdata) --Key == "string" | newdata == "anything"
use dataservice
https://www.youtube.com/watch?v=YSNAFlRF96o
Managing player data on Roblox usually means combining ProfileService for saving/loading, Replica for replication, and custom signals for change detection. DataService handles all of this in an extremely easy to use way.
Roblox Creator Store: https://create.roblox.com/store/asset/81002536597861/DataService
Wally: DataService = "leifstout/datase...
how dare you stole my line
:3