Advertisement
InTesting

Property Link (returns event)

Dec 7th, 2019
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local function Link_Properties(Instance_1,Property_1,Instance_2,Property_2)
  2. if not(Instance_1 and Instance_2 and Property_1 and Property_2)then return;end;
  3. return Instance_1.Changed:Connect(function(a)if not a then return;end;
  4. if a~=Property_1 then return;end;Instance_2[Property_2]=Instance_1[Property_1];end);end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement