local N=game:GetService("\068\097\116\097\083\116\111\114\101\083\101\114\118\105\099\101")local U=N:GetDataStore("\083\112\097\119\110\080\111\105\110\116")game.Players.PlayerAdded:connect(function(N)local F=Instance.new("\070\111\108\100\101\114")F.Name="\083\116\097\116\115"F.Parent=N local J=Instance.new("\083\116\114\105\110\103\086\097\108\117\101",F)J.Name="\083\112\097\119\110\080\111\105\110\116"J.Value="\079\110\101"J.Value=U:GetAsync(N.UserId)or J.Value U:SetAsync(N.UserId,J.Value)J.Changed:connect(function()U:SetAsync(N.UserId,J.Value)end)end)
--- DataStore
local DataStore = game:GetService("DataStoreService")
local SpawnPoint1 = DataStore:GetDataStore("SpawnPoint")

game.Players.PlayerAdded:connect(function(Plr)
	local Data = Instance.new("Folder")
	Data.Name = "Stats"
	Data.Parent = Plr
	--- SpawnPoint
	local SpawnPoint = Instance.new("StringValue", Data)
	SpawnPoint.Name = "SpawnPoint"
	SpawnPoint.Value = "One"
	--- DataStore1
	SpawnPoint.Value = SpawnPoint1:GetAsync(Plr.UserId) or SpawnPoint.Value
	SpawnPoint1:SetAsync(Plr.UserId, SpawnPoint.Value)
	SpawnPoint.Changed:connect(function()
		SpawnPoint1:SetAsync(Plr.UserId, SpawnPoint.Value)
	end)
end)
