RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"increment data store when a player joins the game"
-- server script game.Players.PlayerAdded:Connect(function(player) local value = game.DataStore:GetAsync("VisitorCount") or 0 game.DataStore:SetAsync("VisitorCount", value 1) end)