Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. local Change = {
  2. new = function(Part)
  3. if Part == nil then return end
  4. return function(Table)
  5. spawn(function()
  6. Table = Table or {} -- Just to double check
  7. for k, v in pairs(Table) do
  8. if type(k) == 'string' or type(k) == 'number' then
  9. Part[k] = v
  10. end
  11.  
  12. wait()
  13. end
  14. end)
  15. return Part
  16. end
  17. end;
  18. connect = function(Part, Connect, Co_Index)
  19. if Part == nil then return end
  20. return function(Function)
  21. if type(Function) ~= 'string' then
  22. Part[Connect]:connect(Function)
  23. else
  24. Part[Connect]:wait()
  25. end
  26. end
  27. end;
  28. }
  29.  
  30. return Change
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement