I do not know whats wrong with this It'll be Much Appreciated if Helped
local DataStore = game:GetService("DataStoreService") local ds1 = DataStore:GetDataStore("ExpDataStore") game.Players.PlayerAdded:connect(function(plr) local leader = Instance.new("Folder", plr) leader.Name = "leaderstats" local stats = Instance.new("IntValue", leader) stats.Name = "stats" stats.Value = ds1:GteAsync(plr.UserId) or 1 ds1:SetAsync(plr.UserId, stats.Value) stats.Changed:connect(function() print(plr.UserId.."s Data Of"..stats.Value.." "..stats.Name.." has been saved") end) end)
heres the output
10:02:33.115 - HTTP 0 (HTTP 403 (HTTP/1.1 403 You do not have permission to manage this place. You don't have edit permissions.)) 10:02:33.116 - Stack Begin 10:02:33.117 - Script 'ServerScriptService.DataStoreController', Line 10 10:02:33.117 - Stack End
Thanks For Everything