Talk:RobloxLocked (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
New page: Names can be deceiving, this is not what RobloxLocked does at all. {{Example|In the Command bar.<pre> game.Workspace.Part.RobloxLocked = true</pre>In a Script run thereafter.<pre> ...
>ArceusInator
reply to Anaminus -- The smartest robloxian to ever live.
 
(9 intermediate revisions by 3 users not shown)
Line 4: Line 4:
game.Workspace.Part.Anchored = true</pre>}}
game.Workspace.Part.Anchored = true</pre>}}
It works successfully. <span style="font-size:xx-small; vertical-align:top; color: grey">[[Camoy]] &bull; [[Special:Contributions/Camoy|Contribs]] (December 31 2010)</span>
It works successfully. <span style="font-size:xx-small; vertical-align:top; color: grey">[[Camoy]] &bull; [[Special:Contributions/Camoy|Contribs]] (December 31 2010)</span>
Well then what is it for?  I see this when testing:
{{Example|
In the command bar, I run<pre>
print( game.CoreGui.RobloxGui.RobloxLocked ) --> true
print( Workspace.RobloxLocked ) --> false</pre>
In a script, I run<pre>
print( game.CoreGui.RobloxGui:GetChildren() ) --> s RobloxGui
print( Workspace:GetChildren() ) --> table: xxxxx</pre>}}--[[User:ArceusInator|ArceusInator]] 18:00, 31 December 2010 (UTC)
Maybe RobloxLocked has to be, by default, true in order for it to work? --[[User:ArceusInator|ArceusInator]] 18:01, 31 December 2010 (UTC)
::No that can't be because some of the CoreGui scripts use RobloxLocked internally. <span style="font-size:xx-small; vertical-align:top; color: grey">[[Camoy]] &bull; [[Special:Contributions/Camoy|Contribs]] (December 31 2010)</span>
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!
[[User:Anaminus|--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.--[[User:ArceusInator|ArceusInator]] 13:44, 6 January 2011 (UTC)

Latest revision as of 13:44, 6 January 2011

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)