Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Change = {
- new = function(Part)
- if Part == nil then return end
- return function(Table)
- spawn(function()
- Table = Table or {} -- Just to double check
- for k, v in pairs(Table) do
- if type(k) == 'string' or type(k) == 'number' then
- Part[k] = v
- end
- wait()
- end
- end)
- return Part
- end
- end;
- connect = function(Part, Connect, Co_Index)
- if Part == nil then return end
- return function(Function)
- if type(Function) ~= 'string' then
- Part[Connect]:connect(Function)
- else
- Part[Connect]:wait()
- end
- end
- end;
- }
- return Change
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement