Talk:RobloxLocked (Property)

Add topic
There are no discussions on this page.

Names can be deceiving, this is not what RobloxLocked does at all.

Example
In the Command bar.
game.Workspace.Part.RobloxLocked = true
In a Script run thereafter.
game.Workspace.Part.Anchored = true

It works successfully. CamoyContribs (December 31 2010)

Well then what is it for? I see this when testing:

Example
In the command bar, I run
print( game.CoreGui.RobloxGui.RobloxLocked ) --> true
print( Workspace.RobloxLocked ) --> false
In a script, I run
print( game.CoreGui.RobloxGui:GetChildren() ) --> s RobloxGui
print( Workspace:GetChildren() ) --> table: xxxxx

--ArceusInator 18:00, 31 December 2010 (UTC)

Maybe RobloxLocked has to be, by default, true in order for it to work? --ArceusInator 18:01, 31 December 2010 (UTC)

No that can't be because some of the CoreGui scripts use RobloxLocked internally. CamoyContribs (December 31 2010)


RobloxLockedness is inherited from ascendants.

Script:
	game.CoreGui.RobloxGui:Remove() -- nope
Command:
	game.CoreGui.RobloxGui.RobloxLocked = false
Script:
	game.CoreGui.RobloxGui:Remove() -- nope
Command:
	game.CoreGui.RobloxLocked = false
Script:
	game.CoreGui.RobloxGui:Remove() -- yes!

--Anaminus 02:29, 1 January 2011 (UTC)

I think I'm gonna add that to the page. I'll also add that it's a locked property and cannot be assigned via Script/LocalScript.--ArceusInator 13:44, 6 January 2011 (UTC)
Return to "RobloxLocked (Property)" page.