SetAttribute() doesn't work

in the properties window, no. if i print it, yes

Maybe you just have a studio bug

but as i said in the older versions of the script it worked (which i dont have anymore)

idk what happened, I see no reason for it not to work.

pls someone help me idk whats the problem

1 Like

Can you send the model/place file? (you can in DM). Because I really don’t understand why.

1 Like

I don’t know if this has been solved yet, but the only reasons I can think of that is causing this is either:
The script is a localscript and you are looking at the serverside in the editor.
The script is updating a different part than the one you are looking at, possibly the original instead of the clone (or vice versa), or that potentially the attributes exist only on the client’s part.
As this would explain why you can print the getAttribute results correctly but not see them in the editor.

1 Like