Changes to RobloxLocked?

So recently I’ve noticed that there have been made some changes to the RobloxLocked property.
Firstly, trying to set it has no effect - it will always be false:
image
Secondly, it’s now by default false for everything, including stuff such as CoreGui:
image
Although despite that fact, normal scripts still error as usually when trying to index those objects:
image

So I’m curious, is roblox removing the property and replacing the trigger for the “Class security check” system (which used to be the RobloxLocked property) with something else? Is it an anti exploit measure?

(and no I don’t really have any use for this, I’m simply curious, as I asked around but nobody knows anything)

7 Likes

This has been the case for a few years now. The setter for the RobloxLocked property intentionally doesn’t do anything. This was done so that RobloxLocked can’t be modified through Lua exploits, and it wasn’t given a [ReadOnly] tag just in case any CoreScripts were still referencing it.

Can’t be. I’m 100% sure it was still working a month ago (I checked).

I am not sure what you mean, I’ve tried this like 1-2 months ago and it was working.

Setting the value of RobloxLocked and it not doing anything in response? No I’m pretty sure I looked into this a year ago and it was the case. Maybe they’ve been messing with it recently? I’ll look into it.

1 Like