im dumb dont mind this post kjdsfh,szbsdf
i tried this:
print("Started")
game.Players.PlayerAdded:Connect(function(plr)
print("1")
local mss = game:GetService("MemoryStoreService")
print("2")
local data = mss:GetQueue(" "..tostring(plr.UserId), 30):ReadAsync(1)[1]
print("3")
if data ~= nil then
print(data)
print("4")
for i, v in pairs(data) do
print(v)
if game.Workspace:FindFirstChild(v) then
print("Item found.")
local item = game.Workspace[v]:Clone()
print("Item cloned.")
item.Parent = plr.Backpack
print("Item moved.")
end
end
end
end)
and it worked, up until
if game.Workspace:FindFirstChild(v) then
cuz print(v) prints AlmondWater but even when AlmondWater is in the workspace it doesnt work
well now its printing everything but it doesnt give me my item for some reason
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.