Advertisement
plytalent

cs map loader

Oct 23rd, 2019
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. InsertService = game:GetService("InsertService")
  2. crits = {
  3. 2234704844,
  4. 2216209626,
  5. 2216208755,
  6. 2201823188,
  7. 2218924272,
  8. 2183865717,
  9. 2180724963,
  10. 2168735039,
  11. 2161917439,
  12. 2161193659}
  13. for i,v in pairs(crits)do
  14. local success, model = pcall(function ()
  15. return InsertService:LoadAsset(crits[i])
  16. end)
  17. if success then
  18. print(tostring(i).." Model loaded!")
  19. model.Parent = workspace
  20. else
  21. print(tostring(i).." Model failed to load: "..model)
  22. end
  23. wait(1)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement