search/
Start typing to search packages!
package_2
datastore-light
By @kimpure
Roblox
MirroredDataStoreLight
Install
wally.toml
datastore-light = "kimpure/datastore-light@^0.2.2"
How To Use
--!strict
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local datastorelight = require(path to) --// path (Instance)
Players.PlayerAdded:Connect(function(player)
local newDataStore=datastorelight.new(player.UserId)
print(newDataStore:get('___coin'))
newDataStore:set('___coin' , 300)
player.Destroying:Once(function()
newDataStore:save()
end)
end)
Package Details
Install command (Click to copy)
Version
0.3.2
License
MIT
Safe for commercial use
Automated license review — not legal advice.
