Hi, I want to add a variable to an object and I didn't know how. For Example:
local button = Instance.new("TextButton")
button.info = {}
It gives me an error.
Hi, I want to add a variable to an object and I didn't know how. For Example:
local button = Instance.new("TextButton")
button.info = {}
It gives me an error.
local Value = VALUE HERE
Value.Value = NEW VALUE HERE
local Value = VALUE HERE
Value.Value = NEW VALUE HERE
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Actually, you can do that. There's something new called 'SetAttribute'
oh