Is this possible?

Hey guys! I’ve been wondering something. If I technically wanted to give a player an attribute, how would I go about doing this? I’ve been looking for properties that could create an attribute with names like :AddAttribute possibly, but I’ve seen nothing like that, which leads me to this question: “Is it possible to create an attribute through a script?” (I’m not asking for scripts by the way. Just if you know any properties that could allow me to add an attribute through script, I’d appreciate that. :smiley:)

1 Like
Instance:SetAttribute("Example", Data)
-- Sets an Attribute
-- If the Attribute does not exist, it will create it.

Instance:SetAttribute("Example", nil)
-- Removes the Attribute

I believe roblox also says this in their Docs

1 Like

@xGOA7x Wow, that was fast. Thanks for the help! That worked perfectly.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.