Editing RenderFidelity from script

Hi! I’ve been trying since a few hours and searched for an answer here and on the wiki but can’t find any similar issues so here I am. I’m doing ingame settings and for a performance setting, I’m trying to add the possibility to change RenderFidelity. The script should works well in my opinion but when joining, the console is saying “Script write access is restricted” and idk the issue, RenderFidelity is supposed to be editable with scripts, right?

for i, v in pairs(game.Workspace:GetDescendants()) do    
if v:IsA("MeshPart") or v:IsA("UnionOperation") then        
v.RenderFidelity = Enum.RenderFidelity.Automatic    
end
end
3 Likes

Short answer is, no you cannot.

3 Likes