please help me the code is
game.Players.PlayerRemoving:Connect(function(player)
datastore:SetAsync(player.UserId, player.leaderstats.Milk.Value)
datastore:SetAsync(player.UserId, player.leaderstats.Coins.Value)
end)
please help me the code is
game.Players.PlayerRemoving:Connect(function(player)
datastore:SetAsync(player.UserId, player.leaderstats.Milk.Value)
datastore:SetAsync(player.UserId, player.leaderstats.Coins.Value)
end)
Basically, you have to go to team create and make sure your the owner, if you're not, then you cannot use datastores.
Make sure you publish the game.
ok
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Go to your game settings and enable API Services