Advertisement
DrawingJhon

LoadLibrary

Jun 10th, 2020 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function LoadLibrary(idk)
  2. if idk == "RbxUtility" then
  3. return {Create = function(object)
  4. local ob = Instance.new(object)
  5. return function(properties)
  6. if typeof(properties) == "table" then
  7. for pr, val in pairs(properties) do
  8. ob[pr] = val
  9. end
  10. end
  11. return ob
  12. end
  13. end}
  14. else
  15. error("LoadLibrary other type detected")
  16. end
  17. end
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement