Hello developers! I need some help trying to change a attributes value (string specifically) For more details heres my code below with messages.
local TestAttribute = script.Parent:GetAttribute("Text")
print(TestAttribute)
--It should print Hello but I really want to change the value in-game
--So heres my wierd and confusing attempt:
if TestAttribute == "Hello" then
TestAttribute = "Hi"
end
--I tried my best I even read the Attribute Page but it wasn't that much information and I got confused.
If somebody could help then that would be great.