local K=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\076\111\097\100\101\114"))local U=game:GetService("\080\108\097\121\101\114\115")local u=U.LocalPlayer local e=K("\068\097\116\097\083\121\110\099")local M=e.GetStore("\080\108\097\121\101\114\068\097\116\097")local X=M:GetFile()print(X:GetData("\077\111\110\101\121"))M:Subscribe(u.UserId,{"\077\111\110\101\121"},function(K)print(K.Stat.."\058",K.Value)end)
-- require loader
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Loader"))

local Players = game:GetService("Players")
local Player = Players.LocalPlayer

-- grab DataSync and a store
local DataSync = require("DataSync") -- get DataSync
local Store = DataSync.GetStore("PlayerData") -- grab the store, this will connect your DataStore to the server
local File = Store:GetFile() -- no need to put a user ID if you're getting the local players data

print(File:GetData("Money")) -- print the initial cash amount they have

Store:Subscribe(Player.UserId, { "Money" }, function(data) -- print the money of your store live
	print(data.Stat .. ":", data.Value)
end)
