Talk:RobloxLocked (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator hmmm |
>ArceusInator reply to Anaminus -- The smartest robloxian to ever live. |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 13: | Line 13: | ||
print( game.CoreGui.RobloxGui:GetChildren() ) --> s RobloxGui | print( game.CoreGui.RobloxGui:GetChildren() ) --> s RobloxGui | ||
print( Workspace:GetChildren() ) --> table: xxxxx</pre>}}--[[User:ArceusInator|ArceusInator]] 18:00, 31 December 2010 (UTC) | 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]] • [[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 = trueIn a Script run thereafter.
game.Workspace.Part.Anchored = true
It works successfully. Camoy • Contribs (December 31 2010)
Well then what is it for? I see this when testing:
Example
In the command bar, I runprint( game.CoreGui.RobloxGui.RobloxLocked ) --> true print( Workspace.RobloxLocked ) --> falseIn 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)
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)