How to change a Attribute Value?

local TestAttribute = script.Parent:GetAttribute("Text")

print(TestAttribute)

if TestAttribute == "Hello" then
	script.Parent:SetAttribute("Text", "Hi")
end

Hope this helped. :grinning:

8 Likes