local s = Instance.new("Script") s.Name = "_GiveCrafts" s.Source = [[ local PD = require(game.ServerScriptService.OrnamentPlayerData) local C = require(game.ReplicatedStorage.OrnamentMachine.Config) local out = {} for _, plr in game.Players:GetPlayers() do local t0 = os.clock() repeat task.wait(0.5) until PD.Get(plr) or os.clock() - t0 > 30 for _, c in C.CRAFTS do table.insert(out, c.Id .. "=" .. tostring(PD.AddCraft(plr, c.Id))) end end workspace:SetAttribute("_GiveResult", table.concat(out, " ")) script:Destroy() ]] s.Parent = game.ServerScriptService local t0 = os.clock() repeat task.wait(0.5) until workspace:GetAttribute("_GiveResult") or os.clock() - t0 > 40 return workspace:GetAttribute("_GiveResult") or "no result"