generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: One question

Previous Thread :: Next Thread 
immortallife14 is not online. immortallife14
Joined: 05 May 2012
Total Posts: 6
16 Aug 2013 11:50 PM
What is the only way to robloxlock using a script or localscript?
Report Abuse
immortallife14 is not online. immortallife14
Joined: 05 May 2012
Total Posts: 6
16 Aug 2013 11:54 PM
B1
Report Abuse
TheTerminator01 is not online. TheTerminator01
Joined: 05 May 2009
Total Posts: 97
17 Aug 2013 12:03 AM
Let's say you have a part in the workspace that you want to lock:
workspace.Part.RobloxLocked = true

Now let's check:
if workspace.Part.RobloxLocked then
print("Object is locked!")
else
print("Object is not locked!")
end
Report Abuse
thewhiteshark is not online. thewhiteshark
Joined: 14 Jun 2012
Total Posts: 212
17 Aug 2013 12:25 AM
How do you set it to false if scripts don`t work on it anymore? D:
Report Abuse
snowboarder199 is not online. snowboarder199
Joined: 15 Aug 2009
Total Posts: 2703
17 Aug 2013 12:26 AM
Locked just means you cant edit it manually, scripts will still effect the part
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
17 Aug 2013 12:28 AM
No, RobloxLocked is different from Locked.

You cannot edit it with script or any other way.
Report Abuse
thewhiteshark is not online. thewhiteshark
Joined: 14 Jun 2012
Total Posts: 212
17 Aug 2013 12:29 AM
I didn`t even know what this was until I looked on the wiki.
Report Abuse
snowboarder199 is not online. snowboarder199
Joined: 15 Aug 2009
Total Posts: 2703
17 Aug 2013 12:30 AM
Well based on what he said
(game.Workspace.Part.RobloxLocked = true)
RobloxLocked isn't a property of a part so i assumed he meant Locked. Pretty sure you cant toggle robloxlocked as its only for objects, properties, and other things, but im not 100% sure about that.
Report Abuse
canada1232111 is not online. canada1232111
Joined: 16 Jan 2013
Total Posts: 863
17 Aug 2013 12:33 AM
You can @snowboarder199


and @OP

You need to have a higher scripting access to use RobloxLocked since it's protected.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image